Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
Go to file
2010-12-30 02:52:02 +01:00
audio Fixes... Add driver ident and remove some config.h deps. 2010-12-29 20:05:57 +01:00
conf Add licensing info 2010-12-30 01:50:37 +01:00
gfx Add stuff to detect filters. 2010-12-30 01:33:40 +01:00
hqflt Add licensing info 2010-12-30 01:50:37 +01:00
qb Add quickbuild. 2010-12-30 02:52:02 +01:00
.gitignore Update 2010-05-28 20:56:44 +02:00
AUTHORS Add authors file 2010-12-14 14:22:26 +01:00
config.def.h Remove filters from config.def.h 2010-12-30 01:42:10 +01:00
config.mk.def add defaults 2010-12-22 15:58:43 +01:00
configure Add quickbuild. 2010-12-30 02:52:02 +01:00
driver.c Logs config file with verbose options. 2010-12-30 01:38:20 +01:00
driver.h Fixes... Add driver ident and remove some config.h deps. 2010-12-29 20:05:57 +01:00
file.c Add licensing stuff. 2010-12-24 01:33:40 +01:00
file.h Add licensing stuff. 2010-12-24 01:33:40 +01:00
general.h Add stuff to detect filters. 2010-12-30 01:33:40 +01:00
Makefile remove uneeded flag 2010-12-30 01:42:46 +01:00
README.md add libsnes install stuff to readme. 2010-12-24 02:10:47 +01:00
settings.c Add licensing info 2010-12-30 01:50:37 +01:00
ssnes.c Logs config file with verbose options. 2010-12-30 01:38:20 +01:00

SSNES

SSNES is a simple frontend for the libsnes library.

libsnes

libsnes is the emulator core of bSNES, the most accurate SNES emulator to date, in library form. This enables the possibility of custom front-ends for the emulator.

Philosophy

SSNES attempts to be very small and lean, while still having all the useful core features expected from an emulator. It is close in spirit to suckless' DWM, in that configuring the emulator requires a recompile. The configuration is done through editing a C header file. C programming skills are not necessary to configure it (no programming involved), but some basic programming experience might be needed.

Dependencies

SSNES requires these libraries to build:

SSNES can utilize these libraries if enabled:

  • nvidia-cg-toolkit

SSNES needs one of these audio driver libraries:

  • ALSA
  • OSS
  • RoarAudio
  • RSound
  • OpenAL

Building libsnes

  • Download bSNES source (link over).
  • Add -fPIC to flags in Makefile.
  • $ make library profile=performance (accuracy, compatibility are the other profiles. compatibility is a great choice for decent PCs. :D)
  • # make prefix=/usr library-install
  • # cp snes/libsnes/libsnes.hpp /usr/include/
  • ?!?!
  • Profit!

Configuring

SSNES configuring is done through editing config.h and config.mk. The default configs can be found in config.h.def and config.mk.def respectively. Do note that you might have to edit config.mk if you edit driver and filter options! By default, ALSA audio driver is assumed.

Most options in config.h should be self-explanatory. To configure joypads, start up jstest /dev/input/js0 to determine which joypad buttons (and axis) to use.

Compiling and installing

The good old make && sudo make install should do the trick :)

Filters and Cg shader support

This is not strictly not necessary for an emulator, but it can be enabled if desired. For best performance, Cg shaders are recommended as they do not eat up valuable CPU time. Cg shaders are compiled at run-time, and shaders could be dropped in. All shaders share a common interface to pass some essential arguments such as texture size and viewport size. (Common for pixel art scalers) Some Cg shaders are included in hqflt/cg/ and could be used as an example.