Skip to content

Releases: cleolibrary/CLEO-Redux

0.9.0

23 Jan 20:00
@x87 x87
Compare
Choose a tag to compare
  • 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 to Memory.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

12 Jan 15:52
@x87 x87
Compare
Choose a tag to compare
  • 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 is 0.209

0.8.5

01 Jan 23:40
@x87 x87
Compare
Choose a tag to compare

0.8.4

17 Dec 15:34
@x87 x87
Compare
Choose a tag to compare
  • for San Andreas: The Definitive Edition:

    • new opcodes 0C06 WRITE_MEMORY and 0C07 READ_MEMORY, as well as corresponding JavaScript commands: Memory.Write and Memory.Read. Read the guide for more information
    • fixed an issue with opcodes 0C01, 0C02, 0C03, 0C04 crashing the game
  • 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

09 Dec 01:33
@x87 x87
Compare
Choose a tag to compare
  • fixed a critical bug in CS scripts scheduler causing abnormal behavior (mostly resulting in slow execution) (#21)
  • fixed an issue making coronas created in CLEO scripts not render (#23)

0.8.2

04 Dec 21:45
@x87 x87
Compare
Choose a tag to compare
  • 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

01 Dec 04:02
@x87 x87
Compare
Choose a tag to compare
  • 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

25 Nov 23:54
@x87 x87
6a00f6c
Compare
Choose a tag to compare
  • 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 is 0.100
  • minimum required version of vc.json is 0.145
  • minimum required version of sa.json is 0.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

18 Nov 18:23
@x87 x87
Compare
Choose a tag to compare
  • CLEO Redux now works on Windows 7 (closes #5)

0.7.5

13 Nov 22:46
@x87 x87
Compare
Choose a tag to compare
  • 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