P
PyBoy7mo ago
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.
6 Replies
Bækalfen
Bækalfen7mo ago
I can’t imagine it’s possible to convert the state. But a .ram/.sav file is easy
thatguy
thatguyOP7mo 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ækalfen7mo 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
Sky7mo ago
For RL purposes, without the need for replay consistency, this is enough. Already done that flawlessly
scudfpv
scudfpv5mo ago
guys, please a help needed: I'm trying to load "sav" in any emulator: mGBA, visualboyadvance, bgb, without any succes. I tried exporting the "ram" file and renaming it to "sav". What am I doing wrong?
Bækalfen
Bækalfen5mo ago
Really depends on the other emulator. Check if it's loading or how it normally names a file

Did you find this page helpful?