From ab0faa70d1153760efef446d164242d9db41705e Mon Sep 17 00:00:00 2001 From: Seemann Date: Tue, 7 Feb 2023 13:34:04 -0500 Subject: [PATCH] 1.1.0 release --- CHANGELOG.md | 18 ++++++++++++++---- docs/en/definitions.md | 2 +- docs/en/the-definitive-edition-faq.md | 14 ++++---------- installer/cleo_redux.iss | 3 ++- website/index.html | 2 +- 5 files changed, 22 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79621e4..b779866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +### 1.1.0 - February 7, 2023 + +- add support for GTA The Trilogy - The Definitive Edition (Steam) - v1.0.17.38838 +- add `"moduleDetection": "force"` in default `tsconfig.json` to solve [error TS2451 in VS Code](https://github.com/microsoft/TypeScript/issues/47229). Delete your `tsconfig.json` if you want to recreate it with the new option. + +**BREAKING CHANGES** + +- bumped minimum required versions of [command definitions](https://re.cleo.li/docs/en/definitions.html) for GTA IV + ### 1.0.7 - January 27, 2023 - add a new property [`CLEO.hostVersion`](https://re.cleo.li/docs/en/api.html#cleohostversion) that returns the version of the current host. Currently only available if the current exe file has version info (e.g. GTA IV or GTA Trilogy) @@ -7,11 +16,12 @@ **BREAKING CHANGES** - bumped minimum required versions of [command definitions](https://re.cleo.li/docs/en/definitions.html) -- [`CLEO.version`](https://re.cleo.li/docs/en/api.html#cleoversion) and [`CLEO.apiVersion`](https://re.cleo.li/docs/en/api.html#cleoapiversion) incorrectly returned empty strings for missing parts of the version string. Now they return `undefined` instead. +- [`CLEO.version`](https://re.cleo.li/docs/en/api.html#cleoversion) and [`CLEO.apiVersion`](https://re.cleo.li/docs/en/api.html#cleoapiversion) incorrectly returned empty strings for missing parts of the version string. Now they return `undefined` instead. + ```ts - log(CLEO.apiVersion.patch); // was "" now undefined - log(CLEO.apiVersion.pre); // was "" now undefined - log(CLEO.apiVersion.build); // was "" now undefined +log(CLEO.apiVersion.patch); // was "" now undefined +log(CLEO.apiVersion.pre); // was "" now undefined +log(CLEO.apiVersion.build); // was "" now undefined ``` ### 1.0.6 - January 11, 2023 diff --git a/docs/en/definitions.md b/docs/en/definitions.md index 6299d8f..93c84f5 100644 --- a/docs/en/definitions.md +++ b/docs/en/definitions.md @@ -12,7 +12,7 @@ At start CLEO validates that a definition file is present and correct and if not | GTA III: The Definitive Edition | [gta3_unreal.json](https://github.com/sannybuilder/library/blob/master/gta3_unreal/gta3_unreal.json) | `0.222` | | Vice City: The Definitive Edition | [vc_unreal.json](https://github.com/sannybuilder/library/blob/master/vc_unreal/vc_unreal.json) | `0.228` | | San Andreas: The Definitive Edition | [sa_unreal.json](https://github.com/sannybuilder/library/blob/master/sa_unreal/sa_unreal.json) | `0.251` | -| GTA IV | [gta_iv.json](https://github.com/sannybuilder/library/blob/master/gta_iv/gta_iv.json) | `0.63` | +| GTA IV | [gta_iv.json](https://github.com/sannybuilder/library/blob/master/gta_iv/gta_iv.json) | `0.66` | | Unknown (32-bit) | [unknown_x86.json](https://github.com/sannybuilder/library/blob/master/unknown_x86/unknown_x86.json) | `0.222` | | Unknown (64-bit) | [unknown_x64.json](https://github.com/sannybuilder/library/blob/master/unknown_x64/unknown_x64.json) | `0.225` | | Bully: Scholarship Edition | [bully.json](https://github.com/sannybuilder/library/blob/master/bully/bully.json) | `0.41` | diff --git a/docs/en/the-definitive-edition-faq.md b/docs/en/the-definitive-edition-faq.md index 2f8cd30..cdee396 100644 --- a/docs/en/the-definitive-edition-faq.md +++ b/docs/en/the-definitive-edition-faq.md @@ -11,9 +11,9 @@ Here you can find answers to the frequently asked questions about support for Th ### What versions are supported? -- GTA III: The Definitive Edition **1.0.0.14718** (Title Update 1.03), **1.0.0.15284** (Title Update 1.04), **1.0.8.11827** (Title Update 1.04.5) -- GTA Vice City: The Definitive Edition **1.0.0.14718** (Title Update 1.03), **1.0.0.15399** (Title Update 1.04), **1.0.8.11827** (Title Update 1.04.5) -- San Andreas: The Definitive Edition **1.0.0.14296**, **1.0.0.14388**, **1.0.0.14718** (Title Update 1.03), **1.0.0.15483** (Title Update 1.04), **1.0.8.11827** (Title Update 1.04.5) +- GTA III: The Definitive Edition **1.0.0.14718** (Title Update 1.03), **1.0.0.15284** (Title Update 1.04), **1.0.8.11827** (Title Update 1.04.5), **1.0.17.38838** (Steam release) +- GTA Vice City: The Definitive Edition **1.0.0.14718** (Title Update 1.03), **1.0.0.15399** (Title Update 1.04), **1.0.8.11827** (Title Update 1.04.5), **1.0.17.38838** (Steam release) +- San Andreas: The Definitive Edition **1.0.0.14296**, **1.0.0.14388**, **1.0.0.14718** (Title Update 1.03), **1.0.0.15483** (Title Update 1.04), **1.0.8.11827** (Title Update 1.04.5), **1.0.17.38838** (Steam release) ### Is there any difference from support of the classic games? @@ -27,13 +27,7 @@ Yes, you can. Refer to the [Sanny Builder library](https://library.sannybuilder. After each game run, CLEO generates a `.d.ts` file in the `CLEO\.config` directory. It's called `gta3.d.ts`, `vc.d.ts` or `sa.d.ts` depending on the game. This file lists all supported functions and methods that you can use in JavaScript code. -To enable autocomplete in VS Code include the following line in your JS script: - -```js -/// -``` - -Update the path accordingly depending on which game your script is for and the file location. +To enable autocomplete in VS Code save your script file with `.ts` extension. ### Can I use CLEO opcodes? diff --git a/installer/cleo_redux.iss b/installer/cleo_redux.iss index 7d17ceb..99d37d6 100644 --- a/installer/cleo_redux.iss +++ b/installer/cleo_redux.iss @@ -1,5 +1,5 @@ #define AppName "CLEO Redux" -#define AppVersion "1.0.7" +#define AppVersion "1.1.0" #define AppPublisher "Seemann" #define AppURL "https://re.cleo.li" #define SourceDir "..\" @@ -22,6 +22,7 @@ AppId={{511AFCDA-FD5E-491C-A1B7-22BAC8F93711} AppName={#AppName} AppVersion={#AppVersion} +VersionInfoVersion={#AppVersion} ;AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#AppPublisher} AppPublisherURL={#AppURL} diff --git a/website/index.html b/website/index.html index 26b8979..04a541a 100644 --- a/website/index.html +++ b/website/index.html @@ -123,7 +123,7 @@

data-translate="download" >Download - v1.0.7 | January 27, 2022 + v1.1.0 | February 7, 2023