Coder Social home page Coder Social logo

Install Issues about retro HOT 7 CLOSED

openai avatar openai commented on June 30, 2024 2
Install Issues

from retro.

Comments (7)

onaclov2000 avatar onaclov2000 commented on June 30, 2024 2

Just wanting to document some install issues here too for others: I tried inserting this from the user guide but the roms arent installed:

import retro
env = retro.make(game='SonicTheHedgehog-Genesis', state='GreenHillZone.Act1')

Specifically this error returned (well last line)

FileNotFoundError: Game not found: SonicTheHedgehog-Genesis. Did you make sure to import the ROM?

I do see now (from the discord forum) that we need to go buy the roms from Steam, this is not obvious on the install instructions, I suspect a reference of that should be there.

Also where to place the roms would be nice to know, same directory?

from retro.

endrift avatar endrift commented on June 30, 2024 2

Use the Steam downloader script, it puts the ROMs in the right place. Otherwise you need to use the import script manually.

from retro.

RMKD avatar RMKD commented on June 30, 2024

retro will load roms you already own if they are stored in site-packages/retro/data/<game-title>/rom.md (i.e. .pyenv/versions/3.6.2/lib/python3.6/site-packages/retro/data/SonicAndKnuckles3-Genesis/rom.md)

what is the import script referred to above? why not just expose RETRO_DATA_PATH as an argument or readable from the env - or is that what this line is doing?

const char* envDir = getenv("RETRO_DATA_PATH");

from retro.

endrift avatar endrift commented on June 30, 2024

RETRO_DATA_PATH lets you swap out everything from site-packages/retro/data, but you still need <game-title>/rom.md folder structure. There is currently no way to have the ROMs loose and autodetected.

from retro.

deadpahn avatar deadpahn commented on June 30, 2024

I am also having issues with the error in OPs original post.
gym_retro-0.5.3-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform

I am running linux mint. Currently trying your fix, so far so good.

from retro.

endrift avatar endrift commented on June 30, 2024

I've updated the documentation to specify the right version of pip to use.

from retro.

ccarterc avatar ccarterc commented on June 30, 2024

I bought Sonic on Steam and installed it even though it said it was for Windows only (I run PopOS an Ubuntu variant). Right click on game name in library on Steam client. Look at properties then local files. There should be a Sega Classics folder with an uncompressed ROMs folder which has a file SONIC_W.68K. This file should be copied to a convenient location and renamed with file extension .md. Then run python3 -m retro.import /path/to/your/ROMs/directory/ Game gets imported and then you can run retro.make(game='SonicTheHedgehog-Genesis', state='GreenHillZone.Act1') in your python script and it should work.

from retro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.