Rakashazi / emu-ex-plus-alpha

Multi-platform computer & game console emulation system including supporting code (EmuFramework) and core engine (Imagine)
GNU General Public License v3.0
600 stars 145 forks source link

Saturn.emu shared save file #1582

Open Jandzrmax opened 2 months ago

Jandzrmax commented 2 months ago

Describe your question

Hello ! I'm trying to load shining force 3 save file from one scenario to the other ,but doesn't work It seems each game has it's own storage ,not avaible to other games Is there a way to share them ? Thank you

Add screenshots

No response

Rakashazi commented 2 months ago

Hi, the easiest way is to create an m3u file listing all 3 discs named something like Shining Force 3 Trilogy.m3u. Then the emulator will create a single save file and you can swap between each scenario from the Console Options -> Disc menu.

Jandzrmax commented 2 months ago

Thank you ! First time doing that ,So i am missing something somewhere When i launch the .m3u ,it says ,no such file or directory I've copied pasted the names with extensions ,but where is it searching ? Sorry for the noob question

Rakashazi commented 2 months ago

No problem, it's correct that you pasted the filenames one per line. It looks like I messed up and only tested the m3u code with the current working directory and inside archive files, but with Android scoped storage it needs the full file URI appended to the file names. I just committed the fix and will release version 1.5.79 soon after some more testing. If you try out the nightly build let me know if it's working properly for you.

Jandzrmax commented 2 months ago

For now ,the nightly version is doing the same Question ,there is no way to share the memory between the games , like using only one console ? Maybe I'm missing something Thank for your answers ,saturn.emu is perfect ,just except for this little problem ,since it is the only game that transfer saves from one game to the other ...

Rakashazi commented 2 months ago

Thanks for letting me know. What is the exact setup you're using? Is it scoped storage on Android 11+ or with the storage permission on older versions? What are the exact filenames listed in your .m3u file?

Jandzrmax commented 2 months ago

Storage permission The filenames are copy/paste of the .chd i use Shining Force III - Scenario I.chd And same with Scenario II and III Something strange ,i tried to rename the save file of sc. I to sc. II but it doesn't see it either I don't understand the way it uses save file ... Édit I'm on Android 13 but it ask for file access permission Question If the m3u file is working ,will i be able to rename my existing save file to be recognized or will i have to start all over ?

Rakashazi commented 2 months ago

Since you're on Android 13, use File Locations -> Browse For Folder, select the game's folder and then the m3u file from the app's own file browser.

It's possible to continue from where you left off by copying the .bkr file between games as long as the filenames match up. Set Autosave Launch Mode to Main Slot (No State) so the previous save state doesn't overwrite the backup memory with the old content.

Jandzrmax commented 2 months ago

I can't make it work :/ I'm using the same folder with beetle saturn core on retroarch and it is good I'm doing something wrong here with saturn.emu

Rakashazi commented 2 months ago

I think Beetle Saturn doesn't print the MD5 checksum in the filenames (the long string of letters & numbers before the .bkr) so if you want to share a saves between them try setting System -> Save Filename Type -> No MD5. Then the save filename just becomes "Shining Force III - Scenario I.bkr" for example. Be sure to backup your save files before doing this just in case.

Jandzrmax commented 2 months ago

After trying almost everything ,i can't make the m3u file working (but it is working in retroarch with the exact same configuration) And i can't make à renamed save file to be recognized aswell ,and tbh ,i don't have a clue why ....something must be written in it that make it reckognizable Sorry to other just for one game ,but saturn.emu is the only emulator that plays it perfectly....

Rakashazi commented 2 months ago

Let's try to solve the .m3u problem first. Try making a .zip file containing the .chd files along with the .m3u (SFIII.zip for example). Then try opening that in Saturn.emu and see if it works. Note it may take a little while to load since it has to unzip everything into memory.

Rakashazi commented 1 month ago

Actually, test again with the .m3u file as-is in the newest nightly. There was an issue with parsing the m3u if the file was saved on a Windows system due to the line end characters.