Page 1 of 3

Any way to get VBA save file behavior?

Posted: Mon Oct 20, 2008 11:00 pm
by nathan

Hi,

 

In VBA, the default (I believe) behavior was for the .sav files to go in the same directory as the image. This makes a suspicious amount of sense to me, but I can't see this behavior as an option in gvbam svn 773 under Linux/KDE. I tried setting the save path to the current directory, but this didn't do it.

 

I realize I could copy my .sav files to one directory, but I kind of like having everything related to a game in one place so if I want to copy the directory around I know I'm getting everything.

 

Thanks.


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 3:23 am
by spacy51

I personally don't like it, when my pure ROM collection gets bloated with save games and other stuff. clrmamepro deletes those files anyway.


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 8:26 am
by Squall Leonhart

The default behavior is to do that yes.

 

Spacy, can we change it to use Relative Paths by default, it makes sense since thats the default behavior of most other emulators.


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 3:04 pm
by spacy51

done, SVN774

 

VBA-M will now default to the ".\battery" and ".\savestates" directories. They will be created if necessary.

 

I think the ROM directories should stay empty as they are, but what about screenshots? exe dir, Desktop, My Pictures?


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 3:09 pm
by Squall Leonhart

i think it should by default generate any folders it uses in the folder the executable is in.


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 3:46 pm
by spacy51

done, ".\screenshots", SVN775


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 4:30 pm
by Hard Core Rikki

VBA-M will now default to the ".\battery" and ".\savestates" directories. They will be created if necessary.

Finally ;p


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 8:13 pm
by nathan

Just so I understand, will ./battery be relative to the directory I ran gvbam from, or from the rom directory?

 

Thanks!


Any way to get VBA save file behavior?

Posted: Tue Oct 21, 2008 11:03 pm
by slacker

please keep this windows only for Linux it really should be separated otherwise you'll get permission problems galore.


Any way to get VBA save file behavior?

Posted: Wed Oct 22, 2008 8:11 am
by spacy51

Oh, I'm so sorry, I completely overread nathan was talking about the Linux build -_-"

Actually, I improved the Windows build :angel: