Google
GONE WITH MY WIND: SNES on the XO!

Friday, February 29, 2008

SNES on the XO!


I got this great tutorial from here. I only edited the code as it was incorrect on the site.

The next few days I'll be putting up a few hacks and tricks for the XO!



First Open a terminal and paste this...

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

Then extract it:
tar jxvf zsnes151src.tar.bz2

Go into the source directory:
cd zsnes_1_51/src/

Open up a root shell to install dependencies (the XO doesn't come with sudo):
su

Install dependencies:
yum install gcc gcc-c++ make nasm zlib-devel SDL-devel

Leave the root shell:
exit

Build ZSNES. These are two separate lines:
./configure --disable-debugger --disable-opengl
make

Run it!
./zsnes

Unfortunately I haven't been able to increase the screen resolution. Larger resolutions depend on having OpenGL, which didn't work. It started up, and the display showed up for a split second, but then the screen went black and ZSNES had to be killed. You can at least center the display by going to Config -> Video and selecting "640x480 DR F".

1 comment:

Anonymous said...

i trie to unzip but it say no such file or directory.(this forsome reason hapens alot)