Skip to content
lifning edited this page Aug 4, 2012 · 10 revisions

Traditional dependencies

  • 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.

Stuff we can link to legally

Stuff you need to get on your own

  • 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.

Structure

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.

Run

  • python gui-gtk.py
  • More detailed instructions can be found on the usage page.
Clone this wiki locally