Skip to content

Commit

Permalink
1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Feb 7, 2023
1 parent e0096b3 commit ab0faa7
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
18 changes: 14 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/en/definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
14 changes: 4 additions & 10 deletions docs/en/the-definitive-edition-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand All @@ -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
/// <reference path="./.config/sa.d.ts" />
```

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?

Expand Down
3 changes: 2 additions & 1 deletion installer/cleo_redux.iss
Original file line number Diff line number Diff line change
@@ -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 "..\"
Expand All @@ -22,6 +22,7 @@
AppId={{511AFCDA-FD5E-491C-A1B7-22BAC8F93711}
AppName={#AppName}
AppVersion={#AppVersion}
VersionInfoVersion={#AppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#AppPublisher}
AppPublisherURL={#AppURL}
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h1 class="font-weight-bold d-flex justify-content-center">
data-translate="download"
>Download</a
>
<small class="pt-1 text-muted">v1.0.7 | January 27, 2022</small>
<small class="pt-1 text-muted">v1.1.0 | February 7, 2023</small>
</div>
</div>
</div>
Expand Down

0 comments on commit ab0faa7

Please sign in to comment.