1 Introduction lsnes is SNES rerecording emulator based on bsnes core. 2 Dependencies 1. bsnes libsnes (for bsnes SNES core) (a) v084-v087 (v084 or v085 for delayreset support) (b) accuracy or compatiblity core with debugger enabled. (c) Patched version (using included 7 patches) 2. gambatte (for gambatte core) (a) SVN r320, r358 or r364 (b) Patched with included patches 3. Zlib 4. boost_iostreams 5. boost_filesystem 6. boost_thread (if native std::thread is not available) 7. libsdl (SDL only) 8. sdlmain (SDL only, part of SDL) 9. boost_conversion (this is header-only library) 10. libswscale (wxwidgets graphics only) 11. Portaudio (portaudio sound only) 12. libao (libao sound only) 13. Lua version 5.1.X or 5.2.X 14. G++ 4.6 or 4.7 15. libopus (optional, for commentary track tool) 3 Building • Copy bsnes sources (the bsnes subdirectory) to subdirectory 'bsnes' (for bsnes core). • Copy gambatte sources to subdirectory 'gambatte' (for gambatte core). • Patch the bsnes sources with included patches (directory 'bsnes-patches/', bsnes core) • Patch the gambatte sources with included patches (directory 'gambatte-patches/', gambatte core) • Edit options.build (or copy of that file) • Run make (passing 'OPTIONS=' if using something else than options.build). 4 Command line options 4.1 Wxwidgets options 4.1.1 --rom= Load as ROM. 4.1.2 Load as ROM. 4.1.3 --load= Load as movie or savestate file on startup. 4.1.4 --settings Instead of starting the emulator, only display the settings. 4.1.5 --pluginmanager Instead of starting the emulator, display the plugin manager (useful to disable some plugin that causes emulator to crash on startup) 4.1.6 --lua= Run this Lua file on startup 4.2 dump options (lsnes-dumpavi only) 4.2.1 --rom= Load as ROM. Required. 4.2.2 Load as movie or savestate file on startup. Required. 4.2.3 --dumper= Set the dumper to use (required). Use 'list' for listing of known dumpers. 4.2.4 --firmware-path= Set path to look for firmware. 4.2.5 --mode= Set the mode to use (required for dumpers with multiple modes, forbidden otherwise). Use 'list' for known modes. 4.2.6 --prefix= Set dump prefix. Default is “avidump”. 4.2.7 --option== Set option to value . 4.2.8 --length= Set number of frames to dump. Mandatory, unless --overdump-length is specified. 4.2.9 --overdump-length= Set number of frames to dump after movie end. Mutually exclusive with --length. 4.2.10 --lua=