Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Visualboy fails to load exept from fat
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Mon Feb 23, 2004 1:38 pm    Post subject: Visualboy fails to load exept from fat Reply with quote

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
View user's profile Send private message
skunkworx
Guru
Guru


Joined: 02 Feb 2003
Posts: 420
Location: Planet Houston

PostPosted: Mon Feb 23, 2004 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Mon Feb 23, 2004 9:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
skunkworx
Guru
Guru


Joined: 02 Feb 2003
Posts: 420
Location: Planet Houston

PostPosted: Tue Feb 24, 2004 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Tue Feb 24, 2004 9:28 pm    Post subject: Reply with quote

I just never experienced absolute path as a necessity before. Was the last thing I would thought of. I'm richer in experience now. 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum