SNES

From OLPC
Revision as of 03:41, 21 February 2008 by Ixo (talk | contribs) (via binaries)
Jump to: navigation, search

Introduction

Various methods of running SNES related software on the XO.

ZNES (via source)

(per http://sartak-stuff.blogspot.com/2007/12/zsnes-on-xo.html )

In Terminal, do the following:

1. Download ZSNES

$ wget 'http://sourceforge.net/project/downloading.php?groupname=zsnes&filename=zsnes151src.tar.bz2&use_mirror=easynews'

2. Extract it.

$ tar jxvf zsnes151src.tar.bz2

3. Go into the source directory.

$ cd zsnes_1_51/src/

4. Open up a root shell to install dependencies (click on the 'become root' icon):

5. Install dependencies:

$ yum install gcc gcc-g++ make nasm zlib SDL-devel

6. Leave the root shell:

$ exit

7. Build ZSNES. These are two separate lines:

$ ./configure --disable-debugger --disable-opengl
$ make

8. Run it!

$ ./zsnes

Notes:

  • Not able to increase the screen resolution. (Larger resolutions depend on having OpenGL)
  • You can center the display by going to Config -> Video and selecting "640x480 DR F".

ZNES (via binaries)

Some pre-compiled binaries..

$ wget http://eclecti.cc/files/zsnes.bz2
$ bzip2 -d zsnes.bz2

You're probably going to need to install some other dependcies for it to work.

$ yum install nasm zlib