Snes9x Memory Watcher Manual

Table of Contents

About The Tool

This is a tool to watch RAM (variables) in Snes9x (default:1.51).

Image:Snes9x memory watcher

How To Use

Watch Variables

  1. Run Snes9x (1.51) and open the target game
  2. Run Snes9x memory watcher (s9xwatch.exe)
  3. Edit and reload watch settings, if needed (see Edit Settings)

Edit Settings

  1. Open the setting file (s9xwcnf1.txt, or s9xwcnf0.txt) (press Enter key in watch window)
  2. Edit the setting file (see Syntax)
  3. Reload settings (press F5 key in watch window)

Functions

KeyFunction
ESCClose watcher
EnterEdit settings (open s9xwcnf1.txt with associated application)
SpaceEdit settings (open s9xwcnf0.txt with associated application)
F1Open manual
F5Reload watch settings
SSRAM snapshot (experimental)
CClear SRAM snapshot (experimental)

Syntax

This section describes the syntax of the setting file (s9xwconf.txt).

Comments

; ASM style comment
/*
C style
comment
*/
// C++ style comment

Variables

[ROM Name / ROM Id]

Address1,Type1,Name1
Address2,Type2,Name2
----
Address3,Type3,Name3
ROM Name / ROM Id
String for identifying ROM, which written in ROM header (example: "KIRBY SUPER DELUXE" or "AKFE")
Address
Memory address of a variable (example: "7E149F", "7008EF", or "ARAM:0051")
Type
Size and type of a variable, "[1-4][s|u|x|b](*)" (example: "1u", "2s*", or "4x") (* specifies that the variable is big-endian)
Name
Name of a variable (up to 15 chars) (example: "X Velocity" or "Y Position")
----
Separator

Other Settings

:Key:Value1:Value2:...
Key
Setting type
Value
Value to set
KeyValueDescription
watchmaxdecimalMaximum count of the variables to display
procmaxdecimalMaximum count of the processes to display
autosize[true|false]Auto resize the window
graph[true|false]Use graph feature
intervaldecimal (milliseconds)Interval to update values
singlerun[true|false]Disable the second run
alwaystop[true|false]Display watch window always on top
fastwait[true|false]Use precise timer (default:false)
priority-proc[idle|below-normal|normal|above-normal|high|realtime]Priority of s9xwatch process (default:normal)
priority-thread[idle|even-lower|lower|normal|higher|even-higher|realtime]Priority of watch thread (default:idle)
priority[idle|even-lower|lower|normal|higher|even-higher|realtime]Same as priority-thread
KeyValueDescription
colbghex (rrggbb)Background color
colplainhex (rrggbb)Text color
coladdrhex (rrggbb)Text color for variable address
colformathex (rrggbb)Text color for variable type
colvaluehex (rrggbb)Text color for variable value
coldeschex (rrggbb)Text color for variable description
colgraphhex (rrggbb)Graph color
colgraphbghex (rrggbb)Graph background color
colrominfohex (rrggbb)ROM info text color
fontsizedecimal (pt)Font size
fontfamilystringFont family (must be monospace font)
KeyValueDescription
targetstring (filename), hex (Memory address), hex (RAM offset from Memory), hex (SRAM offset from Memory), hex (FillRAM offset from Memory), hex (ROMName offset), hex (ROMId offset), hex (IAPU.RAM address)Define new Snes9x (advanced)

Credits

See you next mission!

History