FEATURES
- add support for GTA The Trilogy - The Definitive Edition v1.0.112.6680 (Epic Games Store)
- add FXT support in Vice City: The Definitive Edition (only for the latest release)
- add support for boot scripts (synchronous one-shot scripts that run on the host startup)
- they use the
.boot.mjsor.boot.mtsfile extension - they don't have access to
wait()orasyncWait()commands
- they use the
- add support for declaring script metadata and permissions in a
mod.jsonmanifest file located in the script directory (alternative to file name suffixes) - let configuring a directory for the
cleo_redux.logvia theLogDirectoryoption in thecleo.ini(e.g.LogDirectory=CLEO) - add
Memory.GetImageBase()to retrieve the address of the main module. Can be used to calculate absolute addresses in games with ASLR (e.g. The Trilogy) - unload manually spawned scripts (
CLEO.runScript) if the main script is reloaded
FIXES
- fix some
Memoryclass methods not working (ReadU64,WriteU64,Fn.X64) - fix command
MISSION_HAS_FINISHEDnot working afterONMISSION = false - update default generated
tsconfig.jsonto use options"moduleResolution": "bundler"and"module": "esnext"so TypeScript won't complain about file imports without extensions (e.g.import * as enums from ".config/enums"); - when parsing class metadata in a JSON file, CLEO Redux correctly remaps
"extends": "Object"to"extends": "ScriptObject"(needed for theCutsceneObjectclass in GTA III / VC) - string results returned by CLEO Library commands in GTA III, Vice City, and San Andreas are no longer limited to 16 characters and can now be up to 1024 characters long:
log(Text.GetLabelString("INSMCP")); // Output: Load failed!~n~~n~The current Mission Pack is not available. Please recheck that the current Mission Pack is installed correctly or start a new game.SDK AND PLUGINS
- add FxtLoader to import FXT files in scripts
/*
my.fxt:
Key1 Text1
Key2 Text2
*/
import myFxt from "./cleo_text/my.fxt";
log(myFxt.Key1); // Output: Text1
log(myFxt.Key2); // Output: Text2BREAKING CHANGES
- bumped minimum required versions of command definitions
Portable version
Archive with CLEO Redux and essential plugins only. To install, unzip the archive to the folder with the game executable.
- for 32-bit games (e.g. GTA III, VC, SA, Bully, GTA IV)
- for 64-bit games (e.g. GTA: The Trilogy)
ASI Loader and some third-party plugins are not included. Download and install them separately, or use the CLEO Redux installer.