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 patch. 3. meteor (for meteor core) (a) 1.4.0 (b) Patched with included patch. 4. Zlib 5. boost_iostreams 6. boost_filesystem 7. boost_thread (if native std::thread is not available) 8. libsdl (SDL only) 9. sdlmain (SDL only, part of SDL) 10. boost_conversion (this is header-only library) 11. libswscale (wxwidgets graphics only) 12. Portaudio (portaudio sound only) 13. libao (libao sound only) 14. Lua version 5.1.X or 5.2.X 15. G++ 4.6 or 4.7 16. 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=