Unable to load save states from RetroArch
jyrance opened this issue · 2 comments
Issue summary
I am unable to load save states generated from RetroArch.
I have tried the steps mentioned at #33, which include creating a save state using RetroArch, gzipping them while preserving the .state extension. I have also loaded the cores from site-packages/retro/cores into RetroArch. However, states generated in this manner cannot be loaded by the Integration UI or through retro.make.
While I am able to load states generated using the Integration UI, this means I would have to play the game until the desired state through the Integration UI and save the state then. This is problematic if the state is only accessible later into the game. Ideally, I would like to load an existing save file through RetroArch, create a save state there then port it to gym retro.
System information
- Windows 10
- Python 3.7.10
- gym-retro 0.8.0
Have the same issue.
When I try to load my states made via RetroArch I have this error
OSError: Not a gzipped file (b'#R')
on the line with retro.make
function
You need to gzip them first @kalashnikovisme