ClusterM / retroarch-clover

GNU General Public License v3.0
321 stars 50 forks source link

N64 games not retaining save file #61

Open HD-Brian opened 7 years ago

HD-Brian commented 7 years ago

I have only tried Zelda OoT, but when I use the in game save, then exit the game and start it up again, all 3 save slots are empty. This wouldn't be a big issue if the NES Mini save states worked for N64 games.

pcm720 commented 7 years ago

That's caused by --ra-nosaves flag in launch scripts of mupen64plus.hmod/glupen64.hmod. /bin/n64:

#!/bin/sh
exec retroarch-clover glupen64 "$@" --ra-nosaves

Try removing it. It should look like this:

#!/bin/sh
exec retroarch-clover glupen64 "$@"

I guess we need to modify retroarch-clover script so it would pack and move the battery saves even if that flag is set while ignoring savestates.

HD-Brian commented 7 years ago

Where would I go to modify flags in launch scripts?

dabeanmonger commented 7 years ago

It's probably better to change the code, but an alternative solution is to upload the game uncompressed. It doesn't seem to impact space much but it will enable saves for some reason.

pcm720 commented 7 years ago

@HD-Brian , try this one. glupen64.zip Don't forget to unzip it before dropping the hmod into Hakchi2.

HD-Brian commented 7 years ago

Un-checking "compress non-NES games" fixed ti! I can now save! Thank you.

HD-Brian commented 7 years ago

Should I uninstall the original hmod before adding this new one?

pcm720 commented 7 years ago

It doesn't matter

ClusterM commented 7 years ago

@pcm720 --ra-nosaves disables only save-states, buttery saving should work. Seems like @HD-Brian just using very old version which has saving issue with compressed games.

kaosushijin commented 6 years ago

@ClusterM This could be related to what I found investigating another issue:

https://github.com/ClusterM/retroarch-clover/issues/80