Skip to content

Commit

Permalink
1.0.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
x87 committed Dec 15, 2022
1 parent c4d1ac4 commit 7ad54a4
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 62 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 1.0.5
### 1.0.5 - December 15, 2022

- add [TypeScript support](https://re.cleo.li/docs/en/typescript.html)
- add support for commands using global SCM variables (e.g. counters or timers).
Expand All @@ -9,8 +9,8 @@

**SDK AND PLUGINS**
- IdeLoader 1.2: fixed a parser bug that prevented `.ide` files with a `2dfx` section to be loaded
- Frontend 1.1: reduce timeout during a check for updates to 10 seconds
- ImGuiRedux: two new commands `IMGUI_SET_IMAGE_BG_COLOR` and `IMGUI_SET_IMAGE_TINT_COLOR`
- Frontend 1.1: reduced a timeout during a check for updates to 10 seconds
- ImGuiRedux: [more commands](https://library.sannybuilder.com/#/unknown_x86/classes/ImGui)

**BREAKING CHANGES**

Expand Down
14 changes: 7 additions & 7 deletions docs/en/definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ 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.246` |
| GTA VC, reVC | [vc.json](https://github.com/sannybuilder/library/blob/master/vc/vc.json) | `0.252` |
| GTA San Andreas (Classic) 1.0 | [sa.json](https://github.com/sannybuilder/library/blob/master/sa/sa.json) | `0.291` |
| GTA IV | [gta_iv.json](https://github.com/sannybuilder/library/blob/master/gta_iv/gta_iv.json) | `0.46` |
| GTA III, re3 | [gta3.json](https://github.com/sannybuilder/library/blob/master/gta3/gta3.json) | `0.251` |
| GTA VC, reVC | [vc.json](https://github.com/sannybuilder/library/blob/master/vc/vc.json) | `0.257` |
| GTA San Andreas (Classic) 1.0 | [sa.json](https://github.com/sannybuilder/library/blob/master/sa/sa.json) | `0.294` |
| 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.250` |
| Bully: Scholarship Edition | [bully.json](https://github.com/sannybuilder/library/blob/master/bully/bully.json) | `0.32` |
| Unknown (32-bit) | [unknown_x86.json](https://github.com/sannybuilder/library/blob/master/unknown_x86/unknown_x86.json) | `0.217` |
| Unknown (64-bit) | [unknown_x64.json](https://github.com/sannybuilder/library/blob/master/unknown_x64/unknown_x64.json) | `0.221` |
| GTA IV | [gta_iv.json](https://github.com/sannybuilder/library/blob/master/gta_iv/gta_iv.json) | `0.46` |
| 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.35` |

Starting from v1.0.0 CLEO Redux uses compound definitions (a combination of the primary JSON file for the current game and a JSON file for the Unknown host). It lets SDK commands to work in JS scripts regardless of them being defined or not in the primary JSON file. You should notice that during updates CLEO downloads both `<game>.json` and `unknown.json` as well as the accompanying `enums.js` files. It should not affect any existing scripts.
4 changes: 2 additions & 2 deletions docs/en/introduction.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Introduction

CLEO Redux is an [embeddable](./embedding.md) and [extensible](./using-sdk.md) runtime capable of running user-made scripts in games and desktop applications. It supports [JavaScript](./javascript.md) and TypeScript languages. Inspired by [CLEO Library](https://cleo.li/) and [partially compatible](./relation-to-cleo-library.md) with its scripts and plugins CLEO Redux, however, aims to provide a better experience for developers and users and support games beyond just GTA 3D series.
CLEO Redux is an [embeddable](./embedding.md) and [extensible](./using-sdk.md) runtime capable of running user-made scripts in games and desktop applications. It supports [JavaScript](./javascript.md) and [TypeScript](./typescript.md) languages. Inspired by [CLEO Library](https://cleo.li/) and [partially compatible](./relation-to-cleo-library.md) with its scripts and plugins, CLEO Redux, however, aims to provide better experience for developers and users and support games beyond just GTA 3D series.

Follow the [first steps tutorial](./first-steps.md) to learn how to write and run your first script. Also check our [YouTube playlist](https://www.youtube.com/playlist?list=PLNxQuEFtVkeizoLEQiok7qzr1f0mcwfFb) for video guides.
Follow the [first steps tutorial](./first-steps.md) to learn how to write and run your first script. Also check our [YouTube playlist](https://www.youtube.com/playlist?list=PLNxQuEFtVkeizoLEQiok7qzr1f0mcwfFb) for video guides. Or jump straight away to [example scripts](https://github.com/cleolibrary/CLEO-Redux/tree/master/examples).

## Supported Releases

Expand Down
2 changes: 1 addition & 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.5-dev.20221212"
#define AppVersion "1.0.5"
#define AppPublisher "Seemann"
#define AppURL "https://re.cleo.li"
#define SourceDir "..\"
Expand Down
66 changes: 17 additions & 49 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="CLEO Redux is an experimental JavaScript runtime for GTA 3D era games"
/>
<meta name="description" content="CLEO Redux is a plugin for executing JavaScript or TypeScript code in GTA 3D era games and other games" />
<meta name="author" content="Seemann" />
<title>CLEO Redux</title>
<link rel="icon" type="image/x-icon" href="assets/img/favicon.png" />
<link rel="stylesheet" href="assets/css/starter2.css" />

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;700&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;700&display=swap" rel="stylesheet" />
</head>
<body>
<div id="tsparticles"></div>
Expand Down Expand Up @@ -52,18 +46,9 @@
d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"
/>
</svg> </span
><a
href="https://www.youtube.com/playlist?list=PLNxQuEFtVkeizoLEQiok7qzr1f0mcwfFb"
class="mr-3"
>YouTube</a
>
><a href="https://www.youtube.com/playlist?list=PLNxQuEFtVkeizoLEQiok7qzr1f0mcwfFb" class="mr-3">YouTube</a>
<span
><svg
width="16"
height="16"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
>
><svg width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path
fill="currentColor"
d="M512 194.8c0 101.3-82.4 183.8-183.8 183.8-101.7 0-184.4-82.4-184.4-183.8 0-101.6 82.7-184.3 184.4-184.3C429.6 10.5 512 93.2 512 194.8zM0 501.5h90v-491H0v491z"
Expand All @@ -72,9 +57,7 @@
></span>
<a href="https://patreon.com/seemann">Patreon</a>
</div>
<div
class="row h-100 align-items-center justify-content-center text-center"
>
<div class="row h-100 align-items-center justify-content-center text-center">
<div class="col-10">
<h1 class="font-weight-bold d-flex justify-content-center">
<span class="d-flex mr-2" style="fill: currentColor; width: 2.5rem">
Expand Down Expand Up @@ -120,26 +103,17 @@ <h1 class="font-weight-bold d-flex justify-content-center">
<hr class="divider" />
<div class="mb-4 text-white-75">
<p data-translate="lead1">
CLEO Redux is an experimental JavaScript runtime for GTA 3D era
games and, with limited functionality,
<a href="https://re.cleo.li/docs/en/embedding.html"
>other games or applications</a
>.
CLEO Redux is a plugin for executing JavaScript or TypeScript code in GTA 3D era games and
<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
capabilities and allows easily add and remove countless
mini-scripts.
CLEO Redux provides rich scripting capabilities thanks to its flexible, extensible and secure environment.
</p>
</div>

<div class="d-flex flex-row justify-content-center">
<div class="d-inline-block" data-translate="get-started">
<a
class="btn btn-outline-primary mr-4 font-weight-light"
href="/docs"
>Get Started</a
>
<a class="btn btn-outline-primary mr-4 font-weight-light" href="/docs">Get Started</a>
</div>

<div class="d-flex flex-column">
Expand All @@ -149,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.4 | November 22, 2022</small>
<small class="pt-1 text-muted">v1.0.5 | December 15, 2022</small>
</div>
</div>
</div>
Expand All @@ -161,14 +135,11 @@ <h1 class="font-weight-bold d-flex justify-content-center">
<p class="m-0">
CLEO Redux ©
<a href="https://github.com/x87" target="_blank">Seemann</a>.
<span data-translate="license"
>Available under the
<a href="LICENSE.txt">end-user license agreement</a></span
<span data-translate="license">Available under the <a href="LICENSE.txt">end-user license agreement</a></span
>.
</p>
<p class="m-0">
Grand Theft Auto III, Grand Theft Auto: Vice City, Grand Theft Auto:
San Andreas © Rockstar Games, Inc.
Grand Theft Auto III, Grand Theft Auto: Vice City, Grand Theft Auto: San Andreas © Rockstar Games, Inc.
</p>
</small>
</footer>
Expand All @@ -182,21 +153,18 @@ <h1 class="font-weight-bold d-flex justify-content-center">
if (v.length < 2) {
return acc;
}
acc[decodeURIComponent(v[0].trim())] = decodeURIComponent(
v[1].trim()
);
acc[decodeURIComponent(v[0].trim())] = decodeURIComponent(v[1].trim());
return acc;
}, {});
}
var translate = {
lead1:
"CLEO Redux &ndash; это экспериментальная среда исполнения JavaScript в играх серии Grand Theft Auto и, с некоторыми ограничениями, <a href='https://re.cleo.li/docs/en/embedding.html'>других играх и приложениях</a>.",
"CLEO Redux &ndash; это плагин для исполнения JavaScript или TypeScript кода в играх серии Grand Theft Auto, а также <a href='https://re.cleo.li/docs/en/embedding.html'>других играх и приложениях</a>.",
lead2:
"Она открывает широкие возможности для скриптинга, благодаря сочетанию гибкости, расширяемости и безопасности.",
"get-started":
"<a class='btn btn-outline-primary mr-4 font-weight-light' href='/docs/ru'>Узнать больше</a>",
"CLEO Redux открывает широкие возможности для скриптинга, благодаря сочетанию гибкости, расширяемости и безопасности.",
"get-started": "<a class='btn btn-outline-primary mr-4 font-weight-light' href='/docs/ru'>Узнать больше</a>",
download: "Скачать",
license: "<a href='LICENSE-RU.txt'>Пользовательское соглашение</a>"
license: "<a href='LICENSE-RU.txt'>Пользовательское соглашение</a>",
};

var cookie = parseCookie(document.cookie);
Expand Down

0 comments on commit 7ad54a4

Please sign in to comment.