Comments (7)
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.
Use the Steam downloader script, it puts the ROMs in the right place. Otherwise you need to use the import script manually.
from retro.
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?
Line 140 in 8a20c0f
from retro.
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.
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.
I've updated the documentation to specify the right version of pip
to use.
from retro.
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)
- End environment after a level is complete
- can we have a tutorial video for adding custom cores ? HOT 3
- Rom Import
- Create Save State HOT 1
- UnboundLocalError: local variable 'ext' referenced before assignment HOT 3
- I get errors when i try to install gym-retro how do i solve this issues HOT 4
- SimpleImageViewer Import not found HOT 2
- Playback_Movie: [WinError 2] The system cannot find the file specified HOT 1
- Installation fail on Mac M1 HOT 11
- Hexadecimal memory locations for data.json HOT 1
- AttributeError: 'RetroEnv' object has no attribute 'em' HOT 4
- Can't install on Debian 11
- Can't load roms in gym HOT 3
- Variables constantly changing when they shouldn't? HOT 1
- two agent competing environment
- Add support for Python 3.9
- Issue with installing gym-retro (python 3.8) HOT 1
- support double dragon Neo-Geo(MAME Emulator) or PS ? HOT 2
- Sonic Down from steam store HOT 1
- subprocess.CalledProcessError: Command '['/usr/bin/make', '-j12', 'retro']' returned non-zero exit status 2. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retro.