Command Line Interface
--compile
--compile <input file path> [output file path] - compiles the file and exits
sanny.exe --compile C:\myscm.txt C:\myscm.scmShortcut: -c
--decompile
--decompile <input file path> [output file path] - decompiles the file and exits
sanny.exe --decompile C:\myscm.scm C:\myscm.txtShortcut: -d
--use-source - optional argument that makes the decompiler use the source code embedded in the script (if present). By default the source is ignored.
sanny.exe --decompile C:\1.cs --use-source--debug
--debug - toggles debug options
sanny.exe --debug 110000--game
--game <game> - selects the default mode for the given game. Known game values are:
gta3vcsalcsvcsvc_mobilesa_mobile
Shortcut: -g
sanny.exe --game sa--mode
--mode <id> - selects the mode by id. Modes and their ids are defined in respective mode.xml files.
Shortcut: -m
sanny.exe --mode vcs_psp--no-splash
--no-splash - runs Sanny Builder without the splash screen
sanny.exe --no-splash-x
-x - reloads edit modes configuration (useful for testing the mode changes)
sanny.exe -x--option
-o <option name> <value> - sets the value of the specified option. To set multiple options, list each of them individually:
-o <option1 name> <option1 value> -o <option2 name> <option2 value> ... -o <optionN name> <optionN value>
Option name can be one of the following:
This list is not final and subject to change at any moment.
Name
Allowed Values
Options Tab
Decompiler::HexadimalOffsets
0, 1
Formats
Decompiler::LabelsFormat
0, 1, 2
Formats
CustomNames::UseCustomLabels
0, 1
Formats
CustomNames::UseCustomVariables
0, 1
Formats
CustomNames::UseCustomArrays
0, 1
Formats
CustomNames::Format
0, 1, 2
Formats
Shortcut: -o
sanny.exe -o Compiler::CheckConditions 0 -o Editor::LanguageService 1Last updated