<SB>\data\modes.xml
. This path can be customized via the -x
CLI option.modes.xml
is open for modification and extension, and users can create their own modes by changing it.modes.xml
is a file in the XML format and can be changed in any text editor. It defines the available modes.<modes>
and it has no attributes. The file can only have one root node. <modes>
beginning with the opening tag <mode>
and ending with the closing tag </mode>
. The <mode>
element has both mandatory and optional attributes as outlined below. The content of the <mode>
is a set of specific tags (properties) defining paths to directories or files.id
is a required and unique identifier of the mode. Sanny Builder uses the id
to save some user settings for this mode, e.g. a game directory.title
defines the mode's displayed name. Due to the interface constraints avoid long names and keep it within the limit of 24
characters.game
attribute defines a target game for the mode. There are 6
valid values:gta3
vc
sa
lcs
vcs
vc_mobile
sa_mobile
--game
CLI option.default.
Omit this attribute for non-default modes.Compile + Copy
run.type
:
type="scm"
- used for regular .scm
scripts
type="cleo"
- used for scripts with directive {$CLEO}
.ide
or .dat
file:
.ide
files contain game model names and characteristics
.dat
files contain paths to other .ide
fileside
element may have an optional base
attribute to specify a folder that is used to resolve relative paths in the .dat
file.base
all relative paths are resolved starting from the location of the .dat
file.<ide>
elements.type
:
type="default"
- path to the predefined templates shipped with Sanny Builder
type="custom"
- path to a file with user templates added via the Add Template form. This file is never overwritten during a Sanny Builder update..gxt
file<text>
has one required attribute: format
. The supported values are:gta3
: .gxt
has one table, plain keys, ANSI encoding
vc
: .gxt
has multiple tables, plain keys, ANSI encoding
sa
: .gxt
has multiple tables, hashed keys, ANSI encoding
sa_mobile
: .gxt
has multiple tables, hashed keys, UTF-16 encodinglibrary
@game:
- path to the game directory configured in the options
@sb:
- path to the Sanny Builder directory (where sanny.exe
is located)actor
or thread
. The Rockstar schema has the original taxonomy used by the game developers (e.g. char
or script
) that is consistent with the game's inner structures. -x
option allows loading the modes configuration from a file different from the default modes.xml
. If Sanny Builder is already running, it reloads the configuration and updates the list of modes.