Definitions

When JavaScript is enabled CLEO Redux needs commands definitions from Sanny Builder Library. They bring in the type information and convenient classes wrapping all available scripting commands.

On the first run CLEO tries to download a definition file (see the table below) and put it into your local CLEO/.config directory. If that did not happen, or you don't want to let CLEO make network calls, manually download the required file and place it in the CLEO/.config directory.

GameFileMinimum Required Version
GTA III, re3gta3.json0.226
GTA VC, reVCvc.json0.227
GTA San Andreas (Classic) 1.0sa.json0.256
GTA IVgta_iv.json0.39
GTA III: The Definitive Editiongta3_unreal.json0.214
Vice City: The Definitive Editionvc_unreal.json0.216
San Andreas: The Definitive Editionsa_unreal.json0.229
Unknown (32-bit)unknown_x86.json0.212
Unknown (64-bit)unknown_x64.json0.216

Starting from v1.0.0 CLEO Redux uses compound definitions (a combination of the primary JSON file for the current game and a JSON file for the Unknown host). It lets SDK commands to work in JS scripts regardless of them being defined or not in the primary JSON file. You should notice that during updates CLEO downloads both <game>.json and unknown.json as well as the accompanying enums.js files. It should not affect any existing scripts.