Skip to content

Commit

Permalink
0.9.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed May 12, 2022
1 parent 8917739 commit 262e5c7
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 21 deletions.
28 changes: 24 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,41 @@
### 0.9.4 - May 12, 2022

- add support for custom file loaders allowing [import of various file formats](https://re.cleo.li/docs/en/imports.html)
- add [new bindings](https://re.cleo.li/docs/en/js-bindings.html) available in JS code: a static object `CLEO` and a constant `__filename`
- add new config option `DisplayMenuInfo` to control whether CLEO Redux should display the version information in the main menu (supported in GTA III/VC/SA)
- fix a conversion error in some commands when an integer number is given instead of a boolean

**SDK AND PLUGINS**

- when `RuntimeNextTick` is called with both arguments set to zero (`RuntimeNextTick(0, 0)`) CLEO calculates correct values for current_time and time_step as the time elapsed from the last call of `RuntimeInit` and the delta time between two ticks respectively
- add an option in the installer to download SilentPatch as a dependency of the ImGuiRedux plugin
- new methods `RegisterLoader`, `AllocMem`, `FreeMem` (see the guide)
- new file loaders for Text files (any host) and IDE files (GTA3, VC, SA)

**BREAKING CHANGES**

- configuration option `LogOpcodes` is no longer applied to JS scripts. To start tracing executed commands in a script use `CLEO.debug.trace(true)`. To disable tracing use `CLEO.debug.trace(false)`.
- `__dirname` is now `const` and can not be changed
- static methods have been excluded from [fluent interface](https://re.cleo.li/docs/en/fluent-interface.html) (can't be chained with other methods)

### 0.9.3 - Apr 22, 2022

- CLEO can be [embedded](https://re.cleo.li/docs/en/embedding.html) and run on unknown hosts via the self-hosted mode [See demo](https://www.youtube.com/watch?v=rk2LvDt7UkI)
- CLEO can be [embedded](https://re.cleo.li/docs/en/embedding.html) and run on unknown hosts via the self-hosted mode [See demo](https://www.youtube.com/watch?v=rk2LvDt7UkI)
- new installer that automatically downloads extra dependencies such as Ultimate ASI Loader and plugins (dylib, IniFiles, or ImGuiRedux)
- support for organizing scripts and its dependencies in sub-directories inside the CLEO folder. See https://re.cleo.li/docs/en/script-lifecycle.html#organizing-scripts
- automatically download the latest `enums.js` file from Sanny Builder Library along with the command definitions. You can import enums in JS with `import * as enums from './.config/enums';`
- automatically download the latest `enums.js` file from Sanny Builder Library along with the command definitions. You can import enums in JS with `import * as enums from './.config/enums';`
- memory access operations can run on an unknown host (previously they had a dependency on the `op` command which itself can only run in GTA games)
- `Memory.CallFunctionReturnFloat` and `Memory.CallMethodReturnFloat` are now available for 32-bit hosts. `CallFunctionReturnFloat` has been previously added for 64-bit hosts.

**SDK AND PLUGINS**

- SDK's method `ResolvePath` now resolves paths starting with `./` or `.\` relative to the script directory. You can use them in commands like `READ_INT_FROM_INI_FILE` or `LOAD_DYNAMIC_LIBRARY`
- new SDK methods `GetHostName`, `SetHostName`, `RuntimeInit`, `RuntimeNextTick`. SDK version is now 2.
- IniFiles plugin updated to 1.2: increased max length of the INI file path
- Dylib plugin updated to 1.1: increased max length of the DLL file path

**BREAKING CHANGES**

- delete previously deprecated command `op`. Use `native` instead.
- rename `GAME` variable to `HOST` (`GAME` is still available for use but it's recommended to update older scripts)

Expand All @@ -26,14 +48,12 @@
| Vice City: The Definitive Edition | [vc_unreal.json](https://github.com/sannybuilder/library/blob/master/vc_unreal/vc_unreal.json) | `0.215` |
| San Andreas: The Definitive Edition | [sa_unreal.json](https://github.com/sannybuilder/library/blob/master/sa_unreal/sa_unreal.json) | `0.220` |


### 0.9.2 - Mar 04, 2022

- add 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)
- fix an issue with string arguments in Memory call commands in GTA San Andreas (https://github.com/cleolibrary/CLEO-Redux/issues/36)
- fix an issue with scripts not working if the path to the game directory has square brackets `[`, `]`


### 0.9.1 - Feb 22, 2022

- add [SDK for developing custom commands](using-sdk.md) in C++ and Rust
Expand Down
14 changes: 7 additions & 7 deletions installer/cleo_redux.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define AppName "CLEO Redux"
#define AppVersion "0.9.4-dev.20220510"
#define AppVersion "0.9.4"
#define AppPublisher "Seemann"
#define AppURL "https://re.cleo.li"
#define SourceDir "..\"
Expand Down Expand Up @@ -56,7 +56,7 @@ Name: "plugins/imgui/d3d8to9"; Description: "d3d8to9 Wrapper - for games using D
Name: "plugins/imgui/SilentPatch"; Description: "SilentPatch - needed for the mouse to work properly in classic GTA"; Types: full
Name: "loaders"; Description: "File Loaders"; Types: full
Name: "loaders/text"; Description: "*.txt files"; Types: full
Name: "loaders/ide"; Description: "*.ide files (for GTA3, VC, SA)"; Types: full
Name: "loaders/ide"; Description: "*.ide files (for 32-bit GTA3, VC, SA)"; Types: full

Name: "asiloader"; Description: "Ultimate ASI Loader (by ThirteenAG)"; Types: full

Expand Down Expand Up @@ -99,11 +99,11 @@ m4 =No supported game or application was found in the selected directory. To con
m5 =32-bit (x86)
m6 =64-bit (x64)

russian.m2 =Âûáåðèòå âåðñèþ CLEO Redux
russian.m3 =Êàêóþ âåðñèþ CLEO Redux (32-áèòíóþ èëè 64-áèòíóþ) íóæíî óñòàíîâèòü?
russian.m4 =Â âûáðàííîé äèðåêòîðèè íå íàøëîñü ïîääåðæèâàåìûõ èãð èëè ïðèëîæåíèé. Äëÿ ïðîäîëæåíèÿ óñòàíîâêè, âûáåðèòå îäíó èç äâóõ âîçìîæíûõ âåðñèé CLEO Redux. Ïîäñêàçêà: îíà äîëæíà ñîâïàäàòü ñ âåðñèåé (àðõèòåêòóðîé) èãðû èëè ïðèëîæåíèÿ, â êîòîðîé áóäåò çàïóñêàòüñÿ CLEO Redux.
russian.m5 =32-áèòíàÿ (x86)
russian.m6 =64-áèòíàÿ (x64)
russian.m2 =�������� ������ CLEO Redux
russian.m3 =����� ������ CLEO Redux (32-������ ��� 64-������) ����� ����������?
russian.m4 =� ��������� ���������� �� ������� �������������� ��� ��� ����������. ��� ����������� ���������, �������� ���� �� ���� ��������� ������ CLEO Redux. ���������: ��� ������ ��������� � ������� (������������) ���� ��� ����������, � ������� ����� ����������� CLEO Redux.
russian.m5 =32-������ (x86)
russian.m6 =64-������ (x64)

[Code]
const
Expand Down
7 changes: 3 additions & 4 deletions loaders/IdeLoader/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions loaders/IdeLoader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ide-loader"
version = "0.1.0"
version = "1.1.0"
edition = "2021"
authors = ["Seemann <[email protected]>"]

Expand All @@ -10,9 +10,8 @@ crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
gta-ide-parser = "0.0.2"
gta-ide-parser = "0.0.3"
ctor = "0.1.21"
serde_json = { version = "1.0", features = ["preserve_order"] }
serde = { version = "1.0", features = ["derive"] }
nom = "7.1.1"
cleo_redux_sdk = "0.0.9"
2 changes: 1 addition & 1 deletion loaders/IdeLoader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{fs::read_to_string, path::Path};

#[ctor]
fn init() {
cleo_redux_sdk::log("IDE Loader 1.0");
cleo_redux_sdk::log("IDE Loader 1.1");
cleo_redux_sdk::register_loader("*.ide", loader);
}

Expand Down
4 changes: 2 additions & 2 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h1 class="font-weight-bold d-flex justify-content-center">
games and, with limited functionality,
<a href="https://re.cleo.li/docs/en/embedding.html"
>other games or applications</a
>.,
>.
</p>
<p data-translate="lead2">
Its flexible, extensible and secure environment provides rich
Expand All @@ -149,7 +149,7 @@ <h1 class="font-weight-bold d-flex justify-content-center">
data-translate="download"
>Download</a
>
<small class="pt-1 text-muted">v0.9.3 | Apr 22, 2022</small>
<small class="pt-1 text-muted">v0.9.4 | May 12, 2022</small>
</div>
</div>
</div>
Expand Down

0 comments on commit 262e5c7

Please sign in to comment.