From 001ae0e62911723e2873e0de2a7599c88c7b04ca Mon Sep 17 00:00:00 2001 From: Seemann Date: Sun, 13 Aug 2023 11:25:14 -0400 Subject: [PATCH] 1.2.1 release --- CHANGELOG.md | 16 +++++++++++++++- docs/en/definitions.md | 12 ++++++------ docs/en/using-memory-64.md | 12 ++++++------ docs/en/using-memory.md | 9 ++++----- installer/cleo_redux.iss | 4 ++-- website/index.html | 2 +- 6 files changed, 34 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aebe7e2..10bcb9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,18 @@ -### 1.2.0 - June 18, 2023 +### 1.2.1 - August 13, 2023 + +- fix an issue when importing the same file from different folders would result in duplicate code +- fix a crash in `Memory.Fn` [methods](https://re.cleo.li/docs/en/using-memory.html#convenience-methods-with-fn-object) returning 8-bit or 16-bit results +- fix a bug with [corona rendering](https://library.sannybuilder.com/#/vc/default/024F) when only one corona was visible [#98](https://github.com/cleolibrary/CLEO-Redux/issues/98) + +**SDK AND PLUGINS** + +- Dylib 2.0: the plugin rewritten to provide a behavior identical to CLEO4's [LOAD_DYNAMIC_LIBRARY](https://library.sannybuilder.com/#/sa/CLEO/0AA2?p=1&v=1). Now a returned value is the loaded module's address in memory. + +**BREAKING CHANGES** + +- bumped minimum required versions of [command definitions](https://re.cleo.li/docs/en/definitions.html) + +### 1.2.0 - June 19, 2023 - add support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Epic Games Store) - fix an issue when constructor commands for derived classes returned incorrect values (`Heli.Create`, `Boat.Create`, etc.) diff --git a/docs/en/definitions.md b/docs/en/definitions.md index 62e384d..51aa37e 100644 --- a/docs/en/definitions.md +++ b/docs/en/definitions.md @@ -6,12 +6,12 @@ At start CLEO validates that a definition file is present and correct and if not | Game | File | Minimum Required Version | | ----------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------ | -| GTA III, re3 | [gta3.json](https://github.com/sannybuilder/library/blob/master/gta3/gta3.json) | `0.265` | -| GTA VC, reVC | [vc.json](https://github.com/sannybuilder/library/blob/master/vc/vc.json) | `0.271` | -| GTA San Andreas (Classic) 1.0 | [sa.json](https://github.com/sannybuilder/library/blob/master/sa/sa.json) | `0.316` | -| GTA III: The Definitive Edition | [gta3_unreal.json](https://github.com/sannybuilder/library/blob/master/gta3_unreal/gta3_unreal.json) | `0.227` | -| Vice City: The Definitive Edition | [vc_unreal.json](https://github.com/sannybuilder/library/blob/master/vc_unreal/vc_unreal.json) | `0.233` | -| San Andreas: The Definitive Edition | [sa_unreal.json](https://github.com/sannybuilder/library/blob/master/sa_unreal/sa_unreal.json) | `0.262` | +| GTA III, re3 | [gta3.json](https://github.com/sannybuilder/library/blob/master/gta3/gta3.json) | `0.267` | +| GTA VC, reVC | [vc.json](https://github.com/sannybuilder/library/blob/master/vc/vc.json) | `0.273` | +| GTA San Andreas (Classic) 1.0 | [sa.json](https://github.com/sannybuilder/library/blob/master/sa/sa.json) | `0.318` | +| GTA III: The Definitive Edition | [gta3_unreal.json](https://github.com/sannybuilder/library/blob/master/gta3_unreal/gta3_unreal.json) | `0.228` | +| Vice City: The Definitive Edition | [vc_unreal.json](https://github.com/sannybuilder/library/blob/master/vc_unreal/vc_unreal.json) | `0.234` | +| San Andreas: The Definitive Edition | [sa_unreal.json](https://github.com/sannybuilder/library/blob/master/sa_unreal/sa_unreal.json) | `0.263` | | GTA IV | [gta_iv.json](https://github.com/sannybuilder/library/blob/master/gta_iv/gta_iv.json) | `0.78` | | Unknown (32-bit) | [unknown_x86.json](https://github.com/sannybuilder/library/blob/master/unknown_x86/unknown_x86.json) | `0.225` | | Unknown (64-bit) | [unknown_x64.json](https://github.com/sannybuilder/library/blob/master/unknown_x64/unknown_x64.json) | `0.228` | diff --git a/docs/en/using-memory-64.md b/docs/en/using-memory-64.md index 7a8d46f..70ba346 100644 --- a/docs/en/using-memory-64.md +++ b/docs/en/using-memory-64.md @@ -170,13 +170,13 @@ where `0xEFFB30` is the function offset relative to IMAGE BASE (think of it a ra The `ib` parameter in `Memory.CallFunction` has the same meaning as in memory read/write commands. When set to `true` CLEO adds the current known address of the image base to the value provided as the first argument to calculate the absolute memory address of the function. When set to `false` no changes to the first argument are made. -To pass floating-point values to the function, convert the value to integer using `Memory.FromFloat`: +> To pass floating-point values to the function, convert the value to integer using `Memory.FromFloat`: +> +> ```js +> Memory.CallFunction(0x1234567, true, 1, Memory.FromFloat(123.456)); +> ``` -```js -Memory.CallFunction(0x1234567, true, 1, Memory.FromFloat(123.456)); -``` - -The returned value of the function called with `Memory.CallFunction` is ignored. To read the result use `Memory.CallFunctionReturn` that has the same parameters. Use `Memory.CallFunctionReturnFloat` to call a function that returns a floating-point value. +A returned value of the function called with `Memory.CallFunction` is ignored. To read the result use `Memory.CallFunctionReturn` that has the same parameters. Use `Memory.CallFunctionReturnFloat` to call a function that returns a floating-point value. CLEO Redux supports calling foreign functions with up to 16 parameters. diff --git a/docs/en/using-memory.md b/docs/en/using-memory.md index 27ca614..61d6183 100644 --- a/docs/en/using-memory.md +++ b/docs/en/using-memory.md @@ -194,11 +194,10 @@ The second parameter (`0x7001234`) is the object address. The `pop` parameter is To call the method and get the result out of it, use `Memory.CallMethodReturn`. -Note that all arguments are read as 32-bit signed integers. If you need to provide an argument of the float type, use `Memory.FromFloat`, e.g. - -```js -Memory.CallFunction(0x1234567, 1, 1, Memory.FromFloat(123.456)); -``` +> Input arguments are treated as 32-bit signed integers. If you need to provide a floating-point number, use `Memory.FromFloat`, e.g. +> ```js +> Memory.CallFunction(0x1234567, 1, 1, Memory.FromFloat(123.456)); +> ``` CLEO Redux supports calling foreign functions with up to 16 parameters. diff --git a/installer/cleo_redux.iss b/installer/cleo_redux.iss index 2116580..e199afa 100644 --- a/installer/cleo_redux.iss +++ b/installer/cleo_redux.iss @@ -1,5 +1,5 @@ #define AppName "CLEO Redux" -#define AppVersion "1.2.0" +#define AppVersion "1.2.1" #define AppPublisher "Seemann" #define AppURL "https://re.cleo.li" #define SourceDir "..\" @@ -56,7 +56,7 @@ Name: "program"; Description: "CLEO Redux"; Types: full; Flags: fixed Name: "program/commands"; Description: "API files (unselect if you prefer to download the latest API files during the first game run)"; Types: full; Name: "plugins"; Description: "Extensions"; Types: full Name: "plugins/ini"; Description: "IniFiles 1.2"; Types: full -Name: "plugins/dylib"; Description: "Dylib 1.1"; Types: full +Name: "plugins/dylib"; Description: "Dylib 2.0"; Types: full Name: "plugins/imgui"; Description: "ImGuiRedux (by Grinch_)"; Types: full Name: "plugins/imgui/d3d8to9"; Description: "d3d8to9 Wrapper - for games using DirectX 8"; Types: full Name: "plugins/imgui/SilentPatch"; Description: "SilentPatch - needed for the mouse to work properly in classic GTA"; Types: full diff --git a/website/index.html b/website/index.html index 4cd810c..c85431b 100644 --- a/website/index.html +++ b/website/index.html @@ -123,7 +123,7 @@

data-translate="download" >Download - v1.2.0 | June 19, 2023 + v1.2.1 | August 13, 2023