RetroUnity
RetroUnity copied to clipboard
Game Saving
Regular game-saving seems like it's not working, Also the possibility to save and load states?
I have saves and save states fully working on my fork of this https://github.com/Hokage3211/RetroUnity, but the pull request to here is botched and I gave up because the dev here doesn't want to even look at my code if the pull isn't correct, and I've already fixed a ton of other stuff that isn't specific to game saves only, like rendering problems too on sega genesis.
well fully as in games that use the normal/expected save addresses, I couldn't decipher the special cases documentation, if they don't then save states will still work though.
Regular saves require the implementation of one or several of these environments (will depend on what the core asks for):
- RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY
- RETRO_ENVIRONMENT_GET_LIBRETRO_PATH
- RETRO_ENVIRONMENT_GET_CORE_ASSETS_DIRECTORY
- RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY
Save/load states only work if the core supports them, I've had mostly good results for these in my frontend implementation but sometimes the audio glitches, or some other weird thing happening.