Installing PiSNES (Intermediate)

This task will describe how to install PiSNES through the Raspberry Pi Store, and how to install PiSNES from the Google Code site. It will go on to explain how to run it from both the Graphical User Interface (GUI) and the Command Line Interface (CLI), and how to add games.

Getting ready

You will need:

  • A Raspberry Pi
  • An SD card with the official Raspberry Pi OS, Raspbian, properly loaded
  • A USB keyboard
  • A USB mouse
  • A 5V 1A power supply with Micro-USB connector
  • A network connection
  • And a screen hooked up to your Raspberry Pi

How to do it...

How to do it...

For installing PiSNES from the Pi Store, perform the following steps:

  1. From the command line, enter startx to launch the desktop environment.
  2. From the desktop, launch the Pi Store application by double-clicking on the Pi Store icon.
  3. At the top-right of the application, there will be a Log In link. Click on the link and log in with your registered account.
  4. Type pisnes in the search bar and press Enter.
  5. Click on the PiSNES result.
  6. At the application info page, click on the Download button on the right-hand side of the screen.
  7. PiSNES will automatically start the download process, and a window will appear showing the installation process.
  8. Press any button to close the window once it has finished installation.
  9. PiSNES will look for your game files in the /usr/local/bin/indiecity/InstalledApps/pisnes/Full/roms directory.

For running PiSNES from the Pi Store, perform the following steps:

  1. From the desktop, launch the Pi Store application by double-clicking on the Pi Store icon.
  2. At the top right of the application, there will be a login link. Click on the link and log in with your registered account.
  3. Click on the My Library tab.
  4. Click on PiSNES and then click on Launch.

For running PiSNES from the command line, perform the following steps:

  1. Type cd /usr/local/bin/indiecity/InstalledApps/pisnes/Full and press Enter.
  2. Type ./snes9x.gui and press Enter to launch PiSNES.

For installing and running PiSNES from Google Code, perform the following steps:

  1. At the command line, type wget https://pisnes.googlecode.com/files/pisnes%202013-05-25.zip -o pisnes.zip.
  2. Type unzip pisnes.zip and press Enter.
  3. Type cd pisnes and press Enter to enter the PiSNES directory.
  4. Move your game files into the rom folder in the pisnes directory.
  5. Type ./snes9x.gui and press Enter to launch PiSNES.

How it works...

PiSNES is a Super Nintendo Entertainment System emulator, based on the SNES9x project, and optimized to use the Raspberry Pi graphics processor. PiSNES uses an older version of the SNES9x codebase, which means that games which require emulation of the SuperFX will not run. The reason for this is that the newer versions of SNES9x have sacrificed speed for accuracy. When emulators are written, it usually starts off by getting a system running well enough to play, and as new versions are released, bugs are squashed, accuracy is improved, and more computing power is needed to emulate the hardware at full speed. By using an older version of SNES9x code, PiSNES is able to play a large amount of games at full speed, with a small chance that the audio and graphics may be a bit on the lower side.

The default controls for PiSNES are:

  • Arrow Keys: These are equal to the D-pad
  • return: This is equal to the start button
  • Tab: This is equal to the select button
  • Esc: This is equal to quit
  • D: This is equal to the a button
  • C: This is equal to the b button
  • S: This is equal to the x button
  • X: This is equal to the y button
  • A: This is equal to the left bumper button
  • F: This is equal to the right bumper button

You can modify these keys and other configuration options by editing the snes9x.cfg file.

There's more...

A few useful reference links:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.159.10