rsn8887 / uae4all2

A fast and optimized Amiga Emulator for Vita and Switch
GNU General Public License v2.0
83 stars 10 forks source link

A way to change default savestate location #10

Closed GrethTom closed 6 years ago

GrethTom commented 6 years ago

This is more of a question than an issue. Is there a way of changing the default savestate location? They are currently being saved in the ROMs folder. I see a Saves folder by default but it’s currently unused. My ROMs folder is pretty large and looking to move the savestates so it’s a bit cleaner (if possible).

rsn8887 commented 6 years ago

Currently it always puts savestates in the same directory where the .adf (or .hdf) is located. It doesn't have to be ROMS, it depends on where the game file itself is located.

I suggest using subdirectories like roms/adf/gamebase/a/,roms/adf/gamebase/b/, ..., and roms/hdf etc. to de-clutter your roms folder and to sort the roms in meaningful subfolders. The save states should then always end in the same subfolder as the rom.

I will try to add an option to force the emulator to always use the ux0:data/uae4all/saves folder for all savestates. It should be an option the user can enable or not. The code for it is trivial. The real problem is finding some room for this option in the crowded menu system where the user can turn it on or off :)

rsn8887 commented 6 years ago

I think I already have what you suggested working. So it will be included in the next release.

GrethTom commented 6 years ago

You are a complete legend, many thanks!

rsn8887 commented 6 years ago

This will be fixed in next release, closing the issue.