P
PyBoythis hour
thatguy

Is there a way to convert a pyboy .state file to an mgba save state?

The Gemini Plays Pokemon dev uses mGBA. It'd be convenient if I could give him my pyboy save states for play testing.
4 Replies
Bækalfen
Bækalfenthis hour
I can’t imagine it’s possible to convert the state. But a .ram/.sav file is easy
thatguy
thatguyOP23h ago
Is there an easy way to script the conversion of .state to .ram/.sav? Do I need to write a "save the game" script?
Bækalfen
Bækalfen23h ago
You can transfer the progress of the game by saving, turning off PyBoy (.stop(True)) and then copy the .ram to .sav and open mGBA. Then you can open up the game where PyBoy was. But your RNG etc. will vary. And even if you force set all RNG, just slightly different timings will quickly desync them (if it matters)
Sky
Sky20h ago
For RL purposes, without the need for replay consistency, this is enough. Already done that flawlessly

Did you find this page helpful?