CLEO Redux V0.8.4
CLEO Redux V0.8.4
CLEO Redux is a scripting runtime for games of the GTA 3D era. Proudly a member of the CLEO family, it provides familiar capabilities to anyone who has used the library for the classic GTA San Andreas, or reimplements it for other games. The main goal of CLEO is to provide the ability to easily customize the game through countless custom scripts.
Update from 12/17/2021:
For San Andreas The Definitive Edition:
Added new opcodes: 0C06 WRITE_MEMORY and 0C07 READ_MEMORY, as well as the corresponding javascript commands: Memory.Write and Memory.Read;
Fixed problem with opcodes 0C01, 0C02, 0C03, 0C04;
CLEO Redux for San Andreas The Definitive Edition now uses sa_unreal.json
For other games:
Improved stability of JS scripts;
Fixed issue where script permissions were not checked for CLEO scripts.Update from 12/08/2021:
Fixed a critical bug in the CS Script Planner causing abnormal behavior (usually causing slow execution);
Update from 12/04/2021:
CLEO now uses the AppData directory if there is no write permission in the current game directory;
Added support for chaining methods for constructed files;
Fixed a bug due to which the script could run in the menu.
Installation:
1. Download and install Ultimate ASI Loader x64 from ThirteenAG (rename to version.dll or any compatible name and copy to GTA San Andreas – Definitive EditionGamefaceBinariesWin64 directory);
2. Copy cleo_redux64.asi to the same directory.
First setting:
There may be a noticeable delay during the first launch of the game as CLEO Redux is loading the files it needs to support javascript. This will not happen on subsequent launches.
When you first start the game, the folderWill appear in the GTA San Andreas – Definitive EditionGamefaceBinariesWin64 directory! CLEO.Transfer all your scripts there.
Compatible with The Trilogy: The Definitive Edition
At the moment, CLEO Redux only supports San Andreas The Definitive Edition 1.0.0.14296, 1.0.0.14388, 1.0.0.14718 (Title Update v1.03).
There are several key differences from other games:
The CLEO version is not displayed in the main menu;
The showTextBox function does not work in JS scripts;
Opcodes for custom commands are different, only a few are supported:
0C00 IS_KEY_PRESSED
0C01 INT_ADD
0C02 INT_SUB
0C03 INT_MUL
0C04 INT_DIV
0C05 TERMINATE_THIS_CUSTOM_SCRIPT
Sanny Builder does not yet support these new opcodes. To include new opcodes in CS scripts, add the following lines on top of the script:
{$ O 0C00 = 1, is_key_pressed% 1d%}
{$ O 0C01 = 3,% 3d% =% 1d% +% 2d%}
{$ O 0C02 = 3,% 3d% =% 1d% -% 2d%}
{$ O 0C03 = 3,% 3d% =% 1d% *% 2d%}
{$ O 0C04 = 3,% 3d% =% 1d% /% 2d%}
{$ O 0C05 = 0, terminate_this_custom_script}
Use SA Mobile mode to compile CLEO scripts for San Andreas: The Definitive Edition.
Removal:
Remove cleo_redux64.asi.
Delete the CLEO folder (optional).
Delete cleo_redux.log (optional).
Seemann