#LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language finnish \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \use_hyperref false \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \use_mhchem 1 \use_mathdots 1 \cite_engine basic \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \use_refstyle 1 \index Hakusana \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Section Command line options \end_layout \begin_layout Subsection ROM options \end_layout \begin_layout Standard These options control loading the ROM. can be one of following: \end_layout \begin_layout Itemize rom: main cart ROM. \end_layout \begin_layout Itemize bsx: BS-X flash ROM in non-slotted mode. \end_layout \begin_layout Itemize bsxslotted: BS-X flash ROM in slotted mode. \end_layout \begin_layout Itemize dmg: Game Boy ROM \end_layout \begin_layout Itemize slot-a: Sufami Turbo Slot A. \end_layout \begin_layout Itemize slot-b: Sufami Turbo Slot B. \end_layout \begin_layout Subsubsection --= \end_layout \begin_layout Standard Set the to use as ROM of . \end_layout \begin_layout Subsubsection --ips-= \end_layout \begin_layout Standard Apply IPS patch to ROM of \end_layout \begin_layout Subsubsection ---xml= \end_layout \begin_layout Standard Set the to use as ROM mapping for . If no mapping file is specified, defaults are used. \end_layout \begin_layout Subsubsection --ips--xml= \end_layout \begin_layout Standard Apply IPS patch to ROM mapping for . \end_layout \begin_layout Subsubsection --ips-offset= \end_layout \begin_layout Standard Set IPS apply offset to (can be negative). In practicular, of -512 might be handy for applying headered IPS patches. \end_layout \begin_layout Subsubsection --pal \end_layout \begin_layout Standard Force ROM to be considered PAL-only (warning: Will cause error if used on anything except SNES and SGB). \end_layout \begin_layout Subsubsection --ntsc \end_layout \begin_layout Standard Force ROM to be considered NTSC-only (default for everything except SNES and SGB). \end_layout \begin_layout Subsection New session options \end_layout \begin_layout Standard If filename is not specified, new session is started. These options control properties of that: \end_layout \begin_layout Subsubsection --port1= \end_layout \begin_layout Standard Set type of port1 (default is 'gamepad'). Valid values are 'none', 'gamepad', 'multitap' (warning: makes most games refuse to start) and 'mouse'. \end_layout \begin_layout Subsubsection --port2= \end_layout \begin_layout Standard Set type of port2 (default is 'none'). Valid values are 'none', 'gamepad', 'multitap', 'mouse', 'superscope', 'justifier' and 'justifiers'. \end_layout \begin_layout Subsubsection --gamename= \end_layout \begin_layout Standard Set the name of game to \end_layout \begin_layout Subsubsection --author= \end_layout \begin_layout Standard Add author with full name of (no nickname). \end_layout \begin_layout Subsubsection --author=| \end_layout \begin_layout Standard Add author with nickname of (no full name). \end_layout \begin_layout Subsubsection --author=| \end_layout \begin_layout Standard Add author with full name of and nickname of . \end_layout \begin_layout Subsection \end_layout \begin_layout Standard If filename is specified on command line, it is loaded as initial state (instead of constructing one). \end_layout \begin_layout Section Startup file lsnes.rc \end_layout \begin_layout Standard Upon startup, lsnes executes file lsnes.rc as commands. This file is located in: \end_layout \begin_layout Itemize Windows: %APPDATA% \backslash lsnes \backslash lsnes.rc (if %APPDATA% exists) \end_layout \begin_layout Itemize Unix: $XDG_CONFIG_HOME/lsnes/lsnes.rc (if $XDG_CONFIG_HOME exists) \end_layout \begin_layout Itemize Unix: $HOME/.config/lsnes/lsnes.rc (if $HOME exists) \end_layout \begin_layout Itemize All: ./lsnes.rc (fallback default). \end_layout \begin_layout Standard If leading directories do not exist, attempt to create them is made. \end_layout \begin_layout Section Game internal commands \end_layout \begin_layout Itemize Commands beginning with '*' invoke the corresponding command without alias expansion. \end_layout \begin_layout Itemize If command starts with '+', the command is executed as-is when button is pressed, and when button is released, it is executed with '+' replaced by '-'. \end_layout \begin_layout Subsection Settings: \end_layout \begin_layout Standard Settings control various aspects of emulator behaviour. \end_layout \begin_layout Subsubsection set-setting \end_layout \begin_layout Standard Sets setting to value (may be empty). \end_layout \begin_layout Subsubsection unset-setting \end_layout \begin_layout Standard Try to unset setting (not all settings can be unset). \end_layout \begin_layout Subsubsection get-setting \end_layout \begin_layout Standard Read value of setting \end_layout \begin_layout Subsubsection print-settings \end_layout \begin_layout Standard Print names and values of all settings. \end_layout \begin_layout Subsection Keybindings \end_layout \begin_layout Standard Keybindings bind commands or aliases to keys (or pseudo-keys). \end_layout \begin_layout Standard Notes: \end_layout \begin_layout Itemize Do not bind edge active (+/-) commands to keys with modifiers, that won't work right! \end_layout \begin_layout Itemize Names of keys and modifiers are platform-dependent. \end_layout \begin_layout Subsubsection bind-key [/] \end_layout \begin_layout Standard Bind to key (activating if modifiers in (comma-seperat ed list) are set as (comma-seperated list). \end_layout \begin_layout Subsubsection unbind-key [/] \end_layout \begin_layout Standard Unbind command from (with specified and ). \end_layout \begin_layout Subsubsection print-keybindings \end_layout \begin_layout Standard Print all key bindings in effect. \end_layout \begin_layout Subsection Aliases \end_layout \begin_layout Standard Aliases bind command to sequence of commands. After alias has been defined, it replaces the command it shadows. \end_layout \begin_layout Standard Notes: \end_layout \begin_layout Itemize You can't alias command to itself. \end_layout \begin_layout Itemize Aliases starting with +/- are edge active just like ordinary commands starting with +/-. \end_layout \begin_layout Itemize One command can be aliased to multiple commands. \end_layout \begin_layout Subsubsection alias-command \end_layout \begin_layout Standard Append to alias . \end_layout \begin_layout Subsubsection unalias-command \end_layout \begin_layout Standard Clear alias expansion for . \end_layout \begin_layout Subsubsection print-aliases \end_layout \begin_layout Standard Print all aliases and their expansions in effect. \end_layout \begin_layout Subsection run-script