Skip to content

1.6.0 (Windows 7 compatible build)

Choose a tag to compare

@x87 x87 released this 29 Nov 03:22
· 1 commit to master since this release
07b51f5

Windows 7 only. For Windows 8, 10, 11 use another build.


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 global CLEO object are shown too
  • CLEO Redux now checks if CLEO Library is present in its current directory in addition to the game root
  • added the DelegateCs option to cleo.ini to 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 B fail 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.json now accepts an optional locator field that extends the built-in symbol table
  • new SDK method RegisterJitBackend lets a plugin give a game its own command backend. See the example backend for The Witcher 3: Wild Hunt
  • new SDK callbacks OnBeforeGameProcess and OnAfterGameProcess to run on every game loop iteration, including during game pause. They receive the current time, the time step, and the is_paused and is_restarting flags
  • new Directory::ASI value for the SDK method GetDirectoryPath returns the directory cleo_redux.asi was loaded from, which may not be the root directory.
  • fixed the SDK method GetSymbolAddress not supporting pointer symbols (*name), which made it disagree with Memory.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

Installation

This release contains archives with CLEO Redux and essential plugins only. To install, unzip the archive to the folder with the game executable:

ASI Loader and some third-party plugins are not included. Download and install them separately.