- Home-
- Grand Theft Auto: The Trilogy-
- Tools for Grand Theft Auto: The Trilogy-
- Mod CLEO Redux v1.2.2

Mod CLEO Redux v1.2.2
About This Mod
CLEO Redux - the scripting environment for GTA-era 3D CLEO Redux games is part of the CLEO family and offers features familiar to anyone who has used the redesigned library in classic GTA San Andreas or other games. The main goal of CLEO is to provide the ability to easily customize the game using numerous custom scripts.
Update 28.08.2023:
Fixed a problem where commands that return multiple values (Char#storeClosestEntities, Game.GetCurrentResolution(), etc.) returned only one correct value.
Update 13.08.2023:
Fixed code duplication when importing the same file from different folders;
Fixed bug with Memory.Fn method which returned 8- or 16-bit results;
Fixed bug with processing crowns when only one crown is visible.
SDK and plugins
Dylib 2.0: The plugin has been rewritten to behave like LOAD_DYNAMIC_LIBRARY in CLEO4. The return value is now the memory address of the loaded module.
The required minimum version of the command definition has been increased.
Update 19.06.2023:
Added support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Epic Games Store);
Fixed an error where commands of derived classes could return incorrect values (Heli.Create, Boat.Create, etc.);
Fixed an error that prevented the library from reading the host version if the executable path contained non-ASCII characters;
Improved logging: all properties are now serialized, not just [object Object Object Object].
Update 21.02.2023:
Added support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Rockstar Games Launcher).
Update 18.02.2023:
Added support for GTA The Trilogy - (Steam) - v1.0.17.39540;
The standard tsconfig.json has been updated to fix problems with importing JSON files. Remove tsconfig.json if you want to rebuild it with the new settings.
Update 14.02.2023:
GTA 4 (version 1.2.0.59) support added.
Update 27.01.2023.
Added a new CLEO.hostVersion property that returns the current host version. Currently only available if the current exe contains version information (such as GTA IV or GTA Trilogy);
Fixed error loading scripts with syntax errors in GTA IV;
Fixed a problem in GTA IV where some commands always return the same value (for example, GET_CURRENT_CHAR_WEAPON).
Key changes:
Increased the minimum version required for command definitions;
CLEO.version and CLEO.apiVersion returned an empty string incorrectly if a portion of the version string was missing. The value now returns Undefined instead.
Log(CLEO.apiVersion.patch); // formerly "," now undefined.
Log(CLEO.apiVersion.pre); // formerly "," now undefined.
Log(CLEO.apiVersion.build); // formerly '', is now undefined.
Update 11.01.2023:
New built-in addEventListener and dispatchEvent features
Added setTimeout, setInterval, clearTimeout, and clearInterval functions.
Added .cs, .js and .ts to the file extensions available in CLEO.runScript;
Fixed an error, which caused scripts to stop by timeout;
Fixed an error where scripts were not executed after restart;
Fixed an error that caused the Bully command to return invalid values; Fixed an error that caused the Bully command to return invalid values; Fixed an error that caused the Bully command to return invalid values.
SDK and plugins:
Added a new SDK TriggerEvent method to run custom events on some payloads; SDK version is now 7; fixed an error that caused the script to fail after restart;
New Event plugins for adding several events that react in JS/TS code: OnVehicleCreate, OnPedCreate, OnObjectCreate, OnVehicleDelete, OnPedDelete, OnObjectDelete;
IdeLoader 1.3: Created ide_loader.d.ts to better understand TS scripts;
xtLoader 1.1: created txt_loader.d.ts for better understanding of TS-scripts.
The required minimum version of command definitions has also been increased.
Update 15.12. 2022:.
Added support for TypeScript;
Added support for commands that use global SCM variables (such as counters and timers);
Deleted previously obsolete GAME variables. HOST is used instead;
Update script watchdog: changes to .mjs files in the script directory or subdirectories reload the script;
In FxtStore, the global FXT keys can be made operational by setting the last argument of FxtStore.insert and FxtStore.delete to true.
sdk and plugins:
IdeLoader 1.2: fixed a parser bug that prevented .ide files containing 2dfx partitions from being loaded.
Frontend 1.1: Update check timeout reduced to 10 seconds.
ImGuiRedux (by Grinch_): more commands.
Key changes:
The required minimum version of command definitions has been increased.
Update 22.11.2022:
Added experimental support for asynchronous functions;
Added a new CLEO.runScript method for scripts;
Added FXT support for GTA 4;
Fixed crashes in GTA 3 and GTA 4;
The minimum version of command definitions required for GTA 4 has been changed.
03.11.2022 Update:
Added support for the latest GTA Trilogy 1.04.5 patch;
Added methods: memory.ReadUtf8, memory.WriteUtf8, memory.ReadUtf16, memory.WriteUtf16;
00D9 STORE_CAR_CHAR_IS_IN or 00D8 MISSION_HAS_FINISHED in the ONMISSION settings
The new SDK method;
The code to display the Cleo version in the main menu is now located in a separate plugin frontend.cleo.
09.09.2022 Update:
The 64-bit versions of re3 and reVC now support javascript.
The option "Check for updates" is disabled by default;
64-bit versions (SDK and plugins);
Fixed bug with ASI Installer installation in GTA 4;
added option when installing kleo for re3 and reVC (choosing 32-bit or 64-bit versions).
Update 19.08.2022:
Added support for Bully: Scholarship Edition (v1.2 PC);
Fixed bug with Gxt Hook;
Fixed an error that caused scripts to fail after reboot.
Update 01.07.2022.
Added initial support for GTA 4 (The Complete Edition)
All GTA tracks now use compound definitions (a combination of the main JSON file and the JSON file for unknown hosts in the Sanny Builder library);
Fixed an issue where CLEO stopped downloading FXT files after detecting non-UTF8 characters.
The CLEO.apiVersion property was added;
SDK and plugins.
04.03.2022 Update:
Added support for The Definitive Edition Title Update 1.04 (GTA III DE 1.0.0.15284, VC DE 1.0.0.15399, SA DE 1.0.0.15483);
Fixed a bug in the team (San Andreas);
Fixed bug in non-working scripts.
Update from 22.02.2022:
Added SDK for development of custom commands in C++ and Rust.
Added support for JS error commands (also called IF and SET commands in SCM scripts, such as DynamicLibrary.Load and Char.IsInAnySearchlight);
Two new plugins that add commands that work with DLL (dylib.cleo) and INI files (IniFiles.cleo) in all supported games;
Added __dirname variable to JS scripts;
Added a built-in function to call script commands by name;
Fixed problem with floating point rounding in GTA 3;
Fixed an issue where importing to JS did not work if CLEO folder was in AppData directory;
Fixed a problem in San Andreas when the showTextBox command displayed meaningless text;
Fixed a conversion issue where an integer argument was passed to the showTextBox command
Fixed a problem where the permissions of JS scripts were not checked; Fixed a problem where the permissions of JS scripts were not checked; Fixed a problem where the permissions of JS scripts were not checked;
Fixed the problem when objects returned by some commands (for example, Object.GrabEntityOnRope(), Heli.GrabEntityOnWinch()) did not wrap the corresponding fields in the class instance.
Update:
GTA III: The Definitive Edition (v1.0.0.0.14718) and Vice City: The Definitive Edition (v1.0.0.0.14718) support for JS scripts has been added. 14718).
Added support for the latest ES6+ syntax
Support for importing other scripts and JSON files;
Game functions can now be called with floating point arguments;
The new command "Memory.CallFunctionReturnFloat" is similar to the previous command "Memory.CallFunctionReturn", but is used for functions that return floating-point numbers;
New convenient method "Memory.Fn.X64Float". It can be used for functions that return floating-point numbers.
Compatible with The Trilogy: The Definitive Edition
Currently, CLEO Redux only supports San Andreas: Definitive Edition 1.0.0.14296, 1.0.0.14388, and 1.0.0.14718 (v1.03 title update). There are several key differences from other games:
Deleting:
Remove cleo_redux64.asi.
(Optional) Delete the CLEO folder.
(Optional) Delete cleo_redux.log.
Password: libertycity.
Similar Mods/Addons
FloodallTools for Grand Theft Auto: The TrilogyGrand Theft Auto: The Trilogy
GTA San Andreas: Water Level Mod for The Definitive Edition.This mod allows you to flood the entire...000