SNES

From OLPC
Revision as of 18:41, 10 August 2011 by 190.108.30.124 (talk) (Network play)
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 and http://www.freelikegnu.org/?p=14 )

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. (640x480 and larger resolutions depend on having OpenGL)
  • You can center the display by going to Config -> Video and selecting "640x480 DR F".


nol

lo bajes

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

Problems

  • It is not possible to increase the screen resolution, as 640x480 and larger resolutions depend on having OpenGL. The image thus is only at most one third of the screens width.
  • At least on release 656, it is not practically possible to use the control keys next to the screen for playing, since only one of those can ever succesfully be pressed at a time (e.g. you cannot jump and run).

Andrew