jtothebell / fake-08

A Pico-8 player/emulator for console homebrew
Other
559 stars 49 forks source link

Request: INI setting for "_cartDirectory"... #181

Open vonmillhausen opened 1 year ago

vonmillhausen commented 1 year ago

Currently, _cartDirectory is (mostly) hard-coded to be the folder p8carts in the root of whatever storage medium is being used by Fake-08. It would be nice if there were an INI setting that allowed this to be changed to an arbitrary storage location instead - this would allow PICO-8 cart images to be stored in "/roms/PICO-8" or "/Games/Fantasy Consoles/Pico-8" or wherever someone might want to keep their games on their media.

If the setting isn't present in the INI file, or if it's present but doesn't point to a valid folder, you can fall back to the hard-coded path. This would make the setting optional for anyone who wants to customise/tidy up their game storage, without breaking anything for folks who are happy with the way things are today.