Run the only ROM inside a folder without entering it
could you include folders as being considered like a filename
example:
/usr/games/nintendo/Top-Gun-US.nes/Top-Gun-US.nes
the first Top-Gun-US.nes be listed as the game, or even the second, doesnt matter.
This paves the way for a cleaner system structure for roms (a la Higan) like /usr/games/Top-Gun.nes/program.rom /usr/games/Top-Gun.nes/cheats.bml /usr/games/Top-Gun.nes/screenshot-0001.png /usr/games/Top-Gun.nes/state-1.bst /usr/games/Top-Gun.nes/save.ram
If we begin supporting the structure then it makes for a much better project that is becoming its own distribution entirely.
This should already work. I use ES with Higan myself.
Yes, it's already working.
So I confirmed it does display the game properly with a folder with the appropriate extension. but is there an easy way to execute a rom located inside the directory for those emulators that don't support this? as in
does this make sense?
I had a related request #231
Currently I do it like pathtoemulator "%ROM_RAW%\%BASENAME%.fileextention" as a workaround.
So what we need is a function which executes the ROM inside a folder... assuming there is only one ROM inside the folder ...without entering the folder. Right?
Yes, I think that's correct!
@Aloshi, can you evaluate this?
there should be only one executable file in the folder, but there is also game specific stuff in there too. like the saves, cover-art, source-code or whatever.
so like ./nilsbyte.nes/nilsbyte.nes would be (in this example) the ROM, and then there is also ./nilsbyte.nes/gamesave.save and screenshots and whatever other ancillary stuff goes with each game separately.
Yep i understand, you can put whatever you like there. ES doesn't care (and it has nothing to do with it). You will have to configure your emulators to save screenshots and saves to this folder (shouldn't be a problem).
The option is important (or very useful)
In Sega CD es typical have a bin+cue+audio files, so is good have a folder for every game, but this implies in ES enter in one forlder to only pres again in one file (the file of the game)
Agreed. This would be nice to have. Especially for Wii and Gamecube game rips.