CLEO Redux puts focus on improving dev experience and make scripting process easier.
*.js script to get the full autocomplete support:
GTA III or
/// <reference path=".config/gta3.d.ts" />
Vice City or
/// <reference path=".config/vc.d.ts" />
/// <reference path=".config/sa.d.ts" />
/// <reference path=".config/unknown.d.ts" />
This line instructs VS Code where to look for the commands definitions for the autocomplete feature. The
path can be relative to the script file or be absolute. Find out more information on the official TypeScript portal.
CLEO Redux has built-in support for basic tracing of SCM instructions. To trace opcodes in all running CS scripts open up
cleo.ini and change
LogOpcodes to 1. Note that it can greatly impact game performance due to frequent microdelays during writes to the log file. Use this option only for debugging purposes.
CLEO.debug.trace(true) to trace all commands. Use
CLEO.debug.trace(false) to turn it off.
CLEO monitors active scripts and reloads them in game as they change
Adding a new script file in the CLEO directory or deleting one while the game is running starts or stops the script automatically
Hot reload for CS scripts does not work when CLEO Redux runs alongside CLEO Library (e.g. in classic San Andreas).
CLEO Redux displays the information such as the version and the amount of active scripts in the main menu of GTA III / Vice City and San Andreas. To disable this information set