ricoheller/pisnes
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
=PiSNES for Raspberry Pi by Squid= *INTRODUCTION* This is a SNES Emulator port based on SNES9X 1.39. This is an old version of SNES9X but was chosen as it runs mostly at full speed on the Raspberry Pi unlike the more recent versions of SNES9X. Game support is therefore not as good as the newer SNES9X versions and graphics & sound is not as accurate. Games that will not work, for example, are Yoshi's Island, Street Fighter Alpha 2, Star Fox. This port supports keyboard and USB joystick input and are configurable. It uses the bare metal Dispmanx graphics API so can run equally well in the Console or under X-Windows. The audio uses the ALSA API and SDL is used for input. Download it from the official Raspberry Pi Store App: http://store.raspberrypi.com/projects/pisnes Or Download the manual install verson here: http://pisnes.googlecode.com/git/pisnes.zip Web page for news, source, additional information: http://code.google.com/p/pisnes/ (No asking for ROMS, problems with ROMS) *CONTROLS* Keyboard controls: {{{ 'up arrow' Up direction 'down arrow' Down direction 'left arrow' Left direction 'right arrow' Right direction 's' X button 'x' Y button 'd' A button 'c' B button 'a' TL button 'f' TR button 'return' Start button 'tab' Select button 'backspace' Turbo 'escape' Quit F1-F4 Quickload 1-4 Shift F1-F4 Quicksave 1-4 }}} The joystick layout defaults to Saitek P380 button layout. Additionally to quit with the joystick you can press SELECT+START. All controls are configurable by editing the "snes9x.cfg" file. Quickload and Quicksave, load and save snapshots of the game. Game saves are automatically loaded and saved when PiSNES starts and quits. *INSTALLATION* {{{ snes9x -> Game binary snes9x.gui -> Frontend binary snes9x.cfg -> MAME configuration file, limited support to only the options in the supplied file (not the full MAME settings). roms/ -> ROMs directory (Put your game ROMs in here) skins/ -> Frontend skins directory $HOME/.snes96_snapshots/ -> SRM and snapshot saves are stored here }}} To run PiSNES simple run the "snes9x.gui" executable. At the command line "./snes9x.gui". This runs the GUI frontend. To simply run PiSNES without the GUI enter "./snes9x roms/{gamerom}" where "{gamerom}" is the game rom filename to run. It will work in X-Windows or in the Console. *Pi CONFIGURATION* I highly recommend overclocking your Raspberry Pi to gain maximum performance as PiSNES is very CPU intensive and overclocking will make most games run at full speed. My overclocking settings which work well, (/boot/config.txt) {{{ arm_freq=900 sdram_freq=500 }}} NOTE: Make sure overclocking is actually working by checking "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" should be "ondemand". Later kernels appear to set it to "powersave" by default. If your sound is too quiet then do the following to fix that: {{{ First get the playback device, type "amixer controls" This will show the numid for the playback device, probably 3. Now set the volume, type "amixer cset numid=3 90%". Then reboot to make it permanent. }}} If you're having problems with HDMI audio then it is likely PulseAudio is causing the issues as it has problems with the ALSA drivers. To fix this simply remove PulseAudio: {{{ sudo apt-get --purge remove pulseaudio sudo apt-get autoremove }}} If you're getting a black screen when running in Console mode with Composite output, try removing/commenting out the "overscan_" parameters from "/boot/config.txt" as follows (using disable_overscan doesn't appear to fix it): {{{ #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 }}} *GRAPHICS EFFECTS* Postprocessing can be enabled by setting "DisplayEffect" in snes9x.cfg. In addition you can disable anti-aliasing smoothing ("DisplaySmoothStretch" in snes9x.cfg). The postprocessing "phospher" effect does not run at full speed - i.e. it taxes the Pi GPU a little too much. *ORIGINAL CREDITS* * The SNES9X team for their wonderful emulator (http://www.snes9x.com/) *PORT CREDITS* * Ported to Raspberry Pi by Squid. * Based on the Dingoo SDL version of SNES9X v1.39 *CHANGE LOG* _August 15, 2013:_ * Joystick axis are now configurable. _May 25, 2013:_ * Graphics backend rewritten to use GLES2 instead of Dispmanx, to enable GPU postprocessing. * Graphics smoothing (anti-aliasing) can be disabled. * Added postprocessing graphics effects, i.e. scanlines, phospher. * Vsync support is better meaning less stuttering. _May 11, 2013:_ * Added joystick button presses SELECT+TL quickload, SELECT+TR quicksave. * Fixed potential corruption to quicksaves using joystick. _May 08, 2013:_ * Added more configuration to the snes9x.cfg for graphics and sound. * Added options for aspect ratio, stretching and video border. * Pass command line options from frontend to runtime snes9x. * Fix config file not being read when calling snes9x binary outside of CWD. _May 02, 2013:_ * Added two joystick support. * The joystick buttons SELECT+START now quit. * Reduced sensitivity of the analog joystick. _April 24, 2013:_ * Initial release.
Releases
No releases published
Languages
- C++ 72.2%
- C 21.5%
- Assembly 6.0%
- Other 0.3%