Releases: cleolibrary/CLEO-Redux
Releases · cleolibrary/CLEO-Redux
0.9.0
- add support for JS scripts in GTA III: The Definitive Edition (v1.0.0.14718) and Vice City: The Definitive Edition (v1.0.0.14718) (some limitations apply, see Feature support for the details)
- add support for modern ES6+ syntax (arrow functions, const/let, classes, more methods in the standard library, etc), see Mines Drop script as an example
- add support for importing other scripts and JSON files
For 64-bit games (The Trilogy):
- you can now call game functions with floating-point arguments - thanks to @ThirteenAG.
- new command
Memory.CallFunctionReturnFloat
that is similar toMemory.CallFunctionReturn
but is used for functions that return a floating-point number
let x = Memory.FromFloat(123.456);
let y = Memory.FromFloat(456.555);
let groundZ = Memory.CallFunctionReturnFloat(0x100cc50, true, 2, x, y);
- new convenience method
Memory.Fn.X64Float
that can be used for functions that return a floating-point number:
let CWorldFindGroundZForCoord = Memory.Fn.X64Float(0x100cc50, true);
let x = Memory.FromFloat(123.456);
let y = Memory.FromFloat(456.555);
let groundZ = CWorldFindGroundZForCoord(x, y);
0.8.6
- add CALL_FUNCTION and CALL_FUNCTION_RETURN commands in San Andreas: The Definitive Edition
- add
Memory.Fn.X64
convenience methods for calling functions from JavaScript on the x64 platform showTextBox
now works in San Andreas: The Definitive Edition- fixed an issue with FxtStore object not showing in VS Code autocomplete
- fixed an issue with text draw not working in GTA San Andreas
- fixed an issue in CLEO dev builds causing the game crash on startup while checking for an update
BREAKING CHANGE
- minimum required version of
sa_unreal.json
is0.209
0.8.5
- add support for static FXT files in
CLEO_TEXT
folder (demo: https://youtu.be/ctsKy7WnY9o) - add support for private FXT storage in each JS script (demo: https://youtu.be/FLyYyrGz1Xg)
- fixed an issue when scripts permissions were not validated for CLEO scripts
- fixed an issue when the game may crash on the script reload
- custom CLEO opcodes (
0C00
-0C07
) can now be used in the main.scm in San Andreas: DE
0.8.4
-
for San Andreas: The Definitive Edition:
- new opcodes
0C06 WRITE_MEMORY
and0C07 READ_MEMORY
, as well as corresponding JavaScript commands:Memory.Write
andMemory.Read
. Read the guide for more information - fixed an issue with opcodes
0C01
,0C02
,0C03
,0C04
crashing the game
- new opcodes
-
for all games:
- improved stability of JS scripts (#22)
- fixed an issue when scripts permissions were not validated for CLEO scripts
BREAKING CHANGES
CLEO Redux for San Andreas: The Definitive Edition now uses sa_unreal.json
from https://github.com/sannybuilder/library. You can manually delete CLEO\.config\sa.json
that is not used anymore.
Game | File | Minimum Required Version |
---|---|---|
GTA III, re3 | gta3.json | 0.200 |
GTA VC, reVC | vc.json | 0.201 |
GTA San Andreas (Classic) 1.0 | sa.json | 0.202 |
San Andreas: The Definitive Edition | sa_unreal.json | 0.204 |
0.8.3
0.8.2
- CLEO now uses AppData directory if there is no write permissions in the current game directory (see First Time Setup note)
- add support for method chaining on constructible entities.
- fixed an issue when a script could run during game pause (when the game menu is active)
0.8.1
- add support for San Andreas: The Definitive Edition v1.0.0.14718 (Title Update 1.03)
INSTALLATION NOTES
Make sure to copy EITHER cleo_redux.asi OR cleo_redux64.asi file in the folder with the game executable, not both. cleo_redux.asi is only for the classic gta. cleo_redux64.asi is only for the definitive edition.
0.8.0
- new 64-bit version of CLEO Redux (
cleo_redux64.asi
). It's intended to work only with remastered games. - initial support for San Andreas: The Definitive Edition v1.0.0.14296 and v1.0.0.14388
- fixed an issue when scripts might not reload after loading a save file
KNOWN ISSUES
showTextBox
function does not work in JavaScript in San Andreas: The Definitive Edition- CLEO does not display its version in the main menu in San Andreas: The Definitive Edition
BREAKING CHANGES
- minimum required version of
gta3.json
is0.100
- minimum required version of
vc.json
is0.145
- minimum required version of
sa.json
is0.175
INSTALLATION NOTES
Make sure to copy EITHER cleo_redux.asi
OR cleo_redux64.asi
file in the folder with the game executable, not both. cleo_redux.asi
is only for the classic gta. cleo_redux64.asi
is only for the definitive edition.
0.7.6
0.7.5
- fix: some custom command could have unconventional arguments order (e.g. 0AA4 GET_DYNAMIC_LIBRARY_PROCEDURE)
- fix: "if and set" commands had incorrect definitions in *.d.ts file