predefined set of directories

Post Reply
Hard Core Rikki
Member
Posts: 78
Joined: Tue Apr 08, 2008 12:26 pm

predefined set of directories

Post by Hard Core Rikki »

how about a predefined set of paths for the directories (to be created if they dont exist yet, though it could bring an issue on read-only filesystems, unless precreated in the zips already) ?

 

 

for example

 

Roms (with maybe subfolders GBA/GBC/GB )

Batteries

Saves

Screenshots (or Capture)

 

Explicit enough, I suppose ;P

SCHUMI4EVER
Member
Posts: 109
Joined: Tue Mar 18, 2008 6:48 pm

predefined set of directories

Post by SCHUMI4EVER »

It seems such a directory dialog has already been made, just that the person descides where they want everything to go. Options -> Emulator -> Directories.

spacy51
Senior Member
Posts: 371
Joined: Tue Mar 18, 2008 4:59 pm

predefined set of directories

Post by spacy51 »

I'd just leave the default values to being the directory where the exe is in, or else VBA will create subfolders that the user has to delete if he doesn't like the default.

 

Just create yourself a ini file with the defaults you like and save it somewhere.

 

The related strings in the ini are:

"romdir="

"gbcromdir="

"gbromdir="

"batteryDir="

"saveDir="

and "captureDir="

 

So your default ini file would look like this:

[preferences]
"romdir=.\roms\gba"

"gbcromdir=.\roms\gbc"

"gbromdir=.\roms\gb"

"batteryDir=.\saves\battery"

"saveDir=.\saves\state"

"captureDir=.\screenshots"

 

We could also ship something like that with VBA ^^"

Last edited by spacy51 on Wed Apr 16, 2008 8:26 am, edited 1 time in total.
Hard Core Rikki
Member
Posts: 78
Joined: Tue Apr 08, 2008 12:26 pm

predefined set of directories

Post by Hard Core Rikki »

It seems such a directory dialog has already been made, just that the person descides where they want everything to go. Options -> Emulator -> Directories.

 

Glad to see you found it, venerable master of the obvious ;P

People do not really have an idea of what folders to create. For all we know, they could just use folders named 1, 2, 3... ;P hence why a bit of standardization looks alright

SCHUMI4EVER
Member
Posts: 109
Joined: Tue Mar 18, 2008 6:48 pm

predefined set of directories

Post by SCHUMI4EVER »

You have a point...and Spacy's default ini suggestion is a good one.

Last edited by SCHUMI4EVER on Wed Apr 16, 2008 9:29 am, edited 1 time in total.
Post Reply