-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
- Python 2.7, PyGTK, Pygame, NumPy.
- At the time of this writing, anyone incapable of setting those up on their own should turn back now, lest they overheat trying to make sense of this messy hackjob of a setup.
- Windows users might find http://www.lfd.uci.edu/~gohlke/pythonlibs/ very useful.
- You need a libretro binary to load. For SNES, I recommend snes9x for now. The binary must match the Python environment you're using (so 32-bit Python needs 32-bit binaries, even on a 64-bit CPU, and naturally, 64-bit Python needs 64-bit binaries).
- Win32 and Win64 binaries: http://themaister.net/retroarch-dl/
- AUR for Arch Linux: https://aur.archlinux.org/packages.php?O=0&K=libretro&do_Search=Go
-
You need a ROM dump of the game to run.
-
if you have a cartridge, copy it to your computer with a Retrode
-
SNES ROMs dumped with older copiers (in SMC format, for example) must be converted to raw SFC format, so run it through snespurify
-
If you have a Virtual Console copy on a Wii, you may be able to extract the original game from the channel's package, but this is a completely different can of worms that I won't touch here because 1. I've not done it myself and 2. from what I've heard, VC releases are sometimes modified.
-
It also wouldn't hurt to have a savestate for the start of the level you want to try, so plug the libretro you're using into RetroArch and make a savestate for the beginning of the level.
Here's how I have the files laid out within the Optiness project's root directory:
data/snes9x.dll
data/smw/smw_1-1.state9x
data/smw/smw_1-2.state9x
data/smw.sfc
The current default values for file paths reflect this. Until a better and smarter GUI interface is made, this is the most convenient way to run Optiness. At the time of this writing, the only GUI is very developer-oriented and user-hostile (which may be appropriate for the current state of the code anyway). When I run Optiness on Linux, I tend to just ln -s /usr/lib/libretro/libretro-snes9x.so data/snes9x.dll
.
Note: I named the snes9x savestate files ".state9x" to distinguish them from other emulator cores, which have different savestate formats.
python gui-gtk.py
- More detailed instructions can be found on the usage page.