Command Line Interface
--compile <input file path> [output file path]
- compiles the file and exitssanny.exe --compile C:\myscm.txt C:\myscm.scm
The
output file path
parameter is optional. If there is no output path parameter, the compiler uses the format rules to compute the output file name. The input file must have no errors. If there are errors found during compilation, they will be logged in the file
compile.log
. When compilation ends, the program shuts down.Shortcut:
-c
--decompile <input file path> [output file path]
- decompiles the file and exitssanny.exe --decompile C:\myscm.scm C:\myscm.txt
The
output file path
parameter is optional. If there is no output path parameter, the compiler uses the format rules to compute the output file name. The input file must have no errors. If there are errors found during decompilation, they will be logged in the file
compile.log
. When decompilation ends, the program shuts down.Shortcut:
-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
sanny.exe --debug 110000
gta3
vc
sa
lcs
vcs
vc_mobile
sa_mobile
Shortcut:
-g
sanny.exe --game sa
Shortcut:
-m
sanny.exe --mode vcs_psp
--no-splash
- runs Sanny Builder without the splash screensanny.exe --no-splash
sanny.exe -x ..\my-modes.xml
Available since v3.8.0
-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 |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0, 1 | Editor | |
0..65535 | Editor | |
known locale id | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | Formats | |
0, 1, 2 | Formats | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | General | |
0, 1 | Formats | |
0, 1 | Formats | |
0, 1 | Formats | |
0, 1, 2 | Formats |
Options set via CLI are not persistent and only applied to the current session. On the next launch Sanny Builder will use values stored in the
settings.ini
.Shortcut:
-o
sanny.exe -o Compiler::CheckConditions 0 -o Editor::LanguageService 1
Last modified 3mo ago