Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load save states from RetroArch #247

Open
jyrance opened this issue Jul 3, 2021 · 2 comments
Open

Unable to load save states from RetroArch #247

jyrance opened this issue Jul 3, 2021 · 2 comments

Comments

@jyrance
Copy link

jyrance commented Jul 3, 2021

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
@kalashnikovisme
Copy link

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

@endrift
Copy link
Contributor

endrift commented Jan 22, 2022

You need to gzip them first @kalashnikovisme

squishyhuman pushed a commit to RetroAI/retro3 that referenced this issue Mar 2, 2023
squishyhuman pushed a commit to RetroAI/retro3 that referenced this issue Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants