CHANGELOG
- improved stability during script hot reload, which often caused internal errors
- prevent the host from crashing on some malformed arguments that can't be represented internally (e.g., a string with an unpaired UTF-16 surrogate, or a Vector3 component that is not convertible to a number)
log()now prints non-enumerable object properties, so the properties of the globalCLEOobject are shown too- CLEO Redux now checks if CLEO Library is present in its current directory in addition to the game root
- added the
DelegateCsoption tocleo.inito force running compiled scripts via CLEO Library (delegate mode) even if CLEO is not found in either root or current directory. - fixed CLEO Redux not running on Vice City DE (v1.0.112.6680 / Epic)
- fixed a runtime error on
log(ONMISSION) - fixed error messages in TypeScript reporting the wrong source position
- fixed the generated API for classes with two or more levels of inheritance. A base class could be written after its subclass, which made
class A extends Bfail with "B is not initialized" - [IV] fixed commands that return several values where one of them is a vector: only the first result was returned (e.g.,
GET_MODEL_DIMENSIONS,GET_CLOSEST_ROAD) - [SA] fixed incompatibility with some CLEO5 commands (i.e.,
PICK_RANDOM_INT,PICK_RANDOM_FLOAT,PICK_RANDOM_TEXT)
SDK AND PLUGINS
- new Audio plugin (port of CLEO5's Audio plugin)
manifest.jsonnow accepts an optionallocatorfield that extends the built-in symbol table- new SDK method
RegisterJitBackendlets a plugin give a game its own command backend. See the example backend for The Witcher 3: Wild Hunt - new SDK callbacks
OnBeforeGameProcessandOnAfterGameProcessto run on every game loop iteration, including during game pause. They receive the current time, the time step, and theis_pausedandis_restartingflags - new
Directory::ASIvalue for the SDK methodGetDirectoryPathreturns the directorycleo_redux.asiwas loaded from, which may not be the root directory. - fixed the SDK method
GetSymbolAddressnot supporting pointer symbols (*name), which made it disagree withMemory.Translate - updated the SDK headers and import libraries to version 8 (
SDK/cleo_redux_sdk.h,SDK/cleo_redux_sdk.rs,SDK/cleo_redux.lib,SDK/cleo_redux64.lib)
BREAKING CHANGES
- bumped minimum required versions of command definitions
Portable version
Archive with CLEO Redux and essential plugins only. To install, unzip the archive to the folder with the game executable.
- for 32-bit games (e.g. GTA III, VC, SA, Bully, GTA IV)
- for 64-bit games (e.g. GTA: The Trilogy)
ASI Loader and some third-party plugins are not included. Download and install them separately, or use the CLEO Redux installer.