Advertisement
Amaraticando

lsnes internal commands

Mar 21st, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.89 KB | None | 0 0
  1. Internal Commands
  2. Created Wednesday 27 December 2017
  3.  
  4. action
  5. action <name> [<params>...]: Executes core action.
  6.  
  7. commentary
  8. +tangent: Start recording audio for commentary track item (creating new item).
  9. -tangent: Stop recording audio for commentary track item (finishing the item).
  10.  
  11. disassemble
  12. disassemble <kind> <addr> [<count>] [to <filename>]: Disassemble code
  13.  
  14. button
  15. +controller <button>: Press button <button>
  16. -controller <button>: Release button <button>
  17. hold-controller <button>: Autohold button <button>
  18. type-controller <button>: Type button <button>
  19. designate-position <button>: Designate position for an axis
  20. +autofire-controller <button> <duty> ]<cyclelen>]: Autofire button <button> with duty <duty> out of <cyclelen>
  21. -autofire-controller <button> [[<duty> ]<cyclelen>]: End Autofire on button <button>
  22. autofire-controller <button> [[<duty> ]<cyclelen>]: Toggle Autofire on button <button> with duty <duty> out of <cyclelen>
  23. controller-analog <button> <axisvalue>: Analog action on <button> with value <axisvalue>
  24.  
  25. debug
  26. show-callbacks: Shows debugging callbacks
  27. generate-memory-event <type> <addr> <value>: Inject a debugging event with given <type>, <addr> and <value>
  28. type: r, w, x, t
  29. addr: number
  30. value: number
  31. tracelog:
  32. <cpuid> <file>: Start tracing <cpuid> to <file>
  33. <cpuid>: End tracing <cpuid>
  34.  
  35. **framebuffer**
  36. take-screenshot <file>: Save a screenshot to PNG file <file>
  37.  
  38. **lua**
  39. reset-lua: Reset the Lua VM.
  40. run-lua <file>: Runs <file> in Lua VM.
  41. L <expression>: Evaluates <expression> in Lua VM.
  42. evaluate-lua <expression>: Evaluates <expression> in Lua VM.
  43. show-lua-callbacks: Show active Lua debug callbacks
  44.  
  45. **state/movie**
  46. load <file>: Load state from <file> in current mode
  47. $SLOT:1: Load‣Slot 1
  48. [...]
  49. $SLOT:32: Load‣Slot 32
  50. save-state <file>: Save state to <file>
  51. $SLOT:1: Save‣Slot 1
  52. [...]
  53. $SLOT:32: Save‣Slot 32
  54. load-smart <file>: Load state from <file> in heuristic mode
  55. load-state <file>: Load state from <file> in Read/Write mode
  56. load-readonly <file>: Load state from <file> in playback mode
  57. load-preserve <file>: Load state from <file> preserving input
  58. load-movie <file>: Load movie from <file>
  59. load-allbranches <file>: Load state from <file> with all branches
  60. save-state-binary <file>: Save state to <file> in binary format
  61. save-state-zip <file>: Save state to <file> in zip format
  62. save-movie <file>: Save movie to <file>
  63. save-movie-binary <file>: Save movie to <file> in binary format
  64. save-movie-zip <file>: Save movie to <file> in zip format
  65. panicsave-movie: Panicdumps movie to file like if emulator segfaulted
  66. dump-coresave <name>: Dumps core save to file <name>
  67. rewind-movie: Rewind movie to the beginning
  68. cancel-saves: Cancel all pending saves
  69. flush-slotinfo: Flush slotinfo cache
  70. load-rom <file>: Load <file> as packfile
  71. reload-rom: Reload the currently loaded ROM from disk
  72. close-rom: Close the currentloy loaded ROM and return to null core
  73.  
  74. **library**
  75. load-library <filename>: Load a shared library from <filename>.
  76. unload-library <id>: Unload shared library with id <id> (DANGEROUS).
  77. list-libraries: List loaded shared libraries
  78.  
  79. **keyboard**
  80. show-joysticks: Show joystick info.
  81. reset-gamepads: Resets gamepads.
  82.  
  83. **jukebox**
  84. set-jukebox-slot <slot>: Set jukebox slot to <slot>
  85. 1: Slot select‣Slot 1
  86. [...]
  87. 32: Slot select‣Slot 32
  88. cycle-jukebox-backward: Cycle save jukebox backwards
  89. cycle-jukebox-forward: Cycle save jukebox forwards
  90. load-jukebox: Load selected slot
  91. load-jukebox-readwrite: Load selected slot in recording mode
  92. load-jukebox-readonly: Load current slot in playback mode
  93. load-jukebox-preserve: Load current slot, preserving input
  94. load-jukebox-movie: "Load current slot as movie
  95. save-jukebox: Save current slot
  96.  
  97. **macro**
  98. macro <macroname>: Toggle macro <macroname>.
  99. +macro <macroname>: Enable macro <macroname>.
  100. -macro <macroname>: Disable macro <macroname>.
  101. test-macro <lcid> <macro>: Show macro parse result for <macro> on controller <lcid>.
  102. +hold-macro: Hold all macro enable (hold)
  103. -hold-macro: Hold all macro disable (hold)
  104. hold-macro: Hold all macros for one frame
  105.  
  106. **multitrack**
  107. rotate-multitrack: Rotate multitrack
  108. rotate-multitrack-backwards: Rotate multitrack backwards
  109. set-multitrack <controller> <mode>: Set multitrack mode for <controller> to <mode>
  110.  
  111. **project**
  112. list-branches: List all slot branches.
  113. create-branch <parentid> <name>: Create new branch named <name> under <parentid>.
  114. delete-branch <id>: Delete slot branch with id <id>.
  115. set-branch <id>: Set current branch to <id>.
  116. reparent-branch <id> <newpid>: Reparent branch <id> to be child of <newpid>.
  117. rename-branch <id> <name>: Rename branch <id> to <name>.
  118.  
  119. **turbo**
  120. toggle-turbo: Toggle turbo mode.; Speed‣Turbo toggle
  121. +turbo: Activate turbo mode.; Speed‣Turbo hold
  122. -turbo: Deactivate turbo mode.
  123. set-speed <speed>: Speed multiplier or 'turbo'.
  124. 0.05: Speed‣Set 1/20x speed
  125. 0.1: Speed‣Set 1/10x speed
  126. 0.17: Speed‣Set 1/6x speed
  127. 0.2: Speed‣Set 1/5x speed
  128. 0.25: Speed‣Set 1/4x speed
  129. 0.33: Speed‣Set 1/3x speed
  130. 0.5: Speed‣Set half speed
  131. 0.67: Speed‣Set 2/3x speed
  132. 1.00: Speed‣Set normal speed
  133. 1.5: Speed‣Set 1.5x speed
  134. 2.0: Speed‣Set 2x speed
  135. 3.0: Speed‣Set 3x speed
  136. 10.0: Speed‣Set 10x speed
  137. turbo:"Speed‣Set turbo speed
  138.  
  139. sound
  140. show-plugins: Shows plugins in use.
  141. enable-sound:
  142. enable: Enable/Disable sound
  143. on: Enable sound
  144. off: Disable sound (does not affect dumping)
  145. toggle: Toggle sound (does not affect dumping)
  146. change-playback-device <device>: Switch to playback device <device>.
  147. change-record-device <device>: Switch to recording device <device>.
  148. show-devices: Shows the sound devices available
  149. reset-audio: Resets the audio driver.
  150. libao-set-id <id>: Set sound device id to <id>
  151.  
  152. subtitle
  153. edit-subtitle: Edit a subtitle
  154. <first> <length> <text>: Add/Edit subtitle
  155. <first> <length>: Delete subtitle
  156. list-subtitle: List the subtitles.
  157. save-subtitle <file>: Saves subtitles in .sub format to <file>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement