View previous topic :: View next topic |
Author |
Message |
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Mon Feb 23, 2004 1:38 pm Post subject: Visualboy fails to load exept from fat |
|
|
I tried all the versions of that gba emulator. All of them refuses to load rom files from my reiser disk. When moving the roms over to my fat32 partition the emulator can load the files, very weird!
Code: |
bash-2.05b$ ls -l nexus.gba
-rw-r--r-- 1 ranger users 825760 Mar 15 2002 nexus.gba
bash-2.05b$ visualboyadvance nexus.gba <--- This doesn't work.
VisualBoyAdvance-SDL version 1.7.1
Linux version
Seaching for file VisualBoyAdvance.cfg
Searching current dir: /home/ranger/.VisualBoyAdvance
Seaching home directory: /home/ranger
Searching executable directory
Configuration file NOT FOUND (using defaults)
Error opening image nexus.gba
Failed to load file nexus.gba
bash-2.05b$ visualboyadvance /mnt/fatdisc/roms/nexus.gba <--- This works
VisualBoyAdvance-SDL version 1.7.1
Linux version
Seaching for file VisualBoyAdvance.cfg
Searching current dir: /home/ranger/.VisualBoyAdvance
Seaching home directory: /home/ranger
Searching executable directory
Configuration file NOT FOUND (using defaults)
Seaching for file vba-over.ini
Searching current dir: /home/ranger/.VisualBoyAdvance
Seaching home directory: /home/ranger
Searching executable directory
vba-over.ini NOT FOUND (using emulator settings)
Color depth: 32
Shutting down
|
I've tried to chmod 777 the file, but it doesn't help.
Any ideas what the problem could be? |
|
Back to top |
|
|
skunkworx Guru
Joined: 02 Feb 2003 Posts: 420 Location: Planet Houston
|
Posted: Mon Feb 23, 2004 3:47 pm Post subject: |
|
|
Have you tried giving VisualBoyAdvance an absolute path when the ROM image is in your home directory, that is, like this?
Code: | bash-2.05b$ visualboyadvance /home/ranger/nexus.gba |
I haven't played with VisualBoyAdvance, at least not the linux version, but perhaps the program assumes the games are in something other than the current directory when you don't give it an absolute path.
If that doesn't work, and you're feeling brave, there's always strace. _________________ Proud to be a... eh, forget it.
"Everyday is just one day." -- not the Traveling Wilburys |
|
Back to top |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Mon Feb 23, 2004 9:15 pm Post subject: |
|
|
I feel stupid now. The absolute path as argument worked. I didn't thought that could be an issue as bash or ?? should point to the same file in both situations?
Thanks for the help. |
|
Back to top |
|
|
skunkworx Guru
Joined: 02 Feb 2003 Posts: 420 Location: Planet Houston
|
Posted: Tue Feb 24, 2004 4:48 pm Post subject: |
|
|
RangerDude wrote: | I feel stupid now. The absolute path as argument worked. I didn't thought that could be an issue as bash or ?? should point to the same file in both situations? |
It's true that most programs assume the current directory is the starting point when you give a relative path or a file name. The shell doesn't dictate this behavior, however, and not all programs treat relative paths and file names the same way. Sometimes you just have to make a guess, or read the documentation if you're into that sort of thing. _________________ Proud to be a... eh, forget it.
"Everyday is just one day." -- not the Traveling Wilburys |
|
Back to top |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Tue Feb 24, 2004 9:28 pm Post subject: |
|
|
I just never experienced absolute path as a necessity before. Was the last thing I would thought of. I'm richer in experience now. |
|
Back to top |
|
|
|