Skip to content

Releases: cleolibrary/CLEO5

CLEO 5.4.0

16 Mar 17:22
@x87 x87
3e82e69

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

  • fixed discrepancy between CLEO and native subtitles behavior:
    • PRINT_STRING and PRINT_FORMATTED now queue correctly
    • CLEO messages are now added to the Brief Menu history, respecting the ADD_NEXT_MESSAGE_TO_PREVIOUS_BRIEFS flag (no change for .cs4 scripts)
    • CLEO subtitles starting with a ~z~ token are now hidden when "Show Subtitles" option is disabled (no change for .cs4 scripts)
  • CLEO config (CLEO\.cleo_config.ini) improvements:
    • new LogDirectory option to configure where cleo.log and cleo_script.log are stored (root by default)
    • config is now recreated if missing, and new config keys are appended to existing user configs
    • config is reloaded on a new game session
  • READ_MEMORY_WITH_OFFSET and WRITE_MEMORY_WITH_OFFSET now behave identically to READ_MEMORY/WRITE_MEMORY; READ_MEMORY_WITH_OFFSET no longer reads input as a null-terminated string when the output is a string variable
  • removed a check preventing allocation of zero-sized memory blocks
  • hardened path validation to prevent access to files outside of game root and settings directories
  • fixed an issue causing scripts to load and execute twice on a new game session
  • fixed multiple bugs related to game crashes and script handling
  • fixed script corruption when loading a CLEO mission exceeding 69,000 bytes
  • updated BASS and simdjson libraries; removed deprecated EAX check from BASS

Next version preview

16 Mar 17:25
3e82e69

Choose a tag to compare

Next version preview Pre-release
Pre-release

Preview build including new features waiting for release.
Date: 2026-03-16
Hash: 3e82e69
Download

Changes since v5.3.0
  • Update changelog for 5.4 release (#562)
  • Log important items from cleo config (#561)
  • Fix Brief messages override (#560)
  • Reload CLEO config on new game session (#555)
  • Fix intermittent crash on exit due to uninitialized callbacks (#558)
  • Fix crash on exit with modified BaseIP (#552)
  • Update message queueing logic when the queue is full (#551)
  • Make ScmFunction lookup 1-based (#550)
  • Fix discrepancy between CLEO and native subtitles behavior (#547)
  • Fix script initialization (#548)
  • Unify memory with offset commands (#545)
  • Fix crash in logger on a single breakpoint command (#546)
  • Update workflow (#539)
  • Fix bugs (#538)
  • Prevent mission buffer overflow on large CLEO mission (#534)
  • Fix typo in error message for stack overflow (#532)
  • Improve code quality and fix potential crashes (#530)
  • Fix paths validation (#529)
  • Allow allocation of 0 sized blocks (#513)
  • Refactor CLEO config loading (#522)
  • Fix double script loading and execution (#514)
  • Avoid premature deleting of the current preview (#515)
  • Refactor script suspend logic (#512)
  • Run tests in normal and compat modes (#510)
  • Update Libraries (#491)
  • Update Workflows (#494)
    View commits

CLEO 5.3.0

24 Jan 22:24
@x87 x87
149b51d

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

  • moved CLEO core and plugin settings into a shared configuration file (CLEO\.cleo_config.ini)
  • improved compatibility with ModLoader
  • refactored error handling and relaxed checks for non‑critical errors
  • keyboard input is now ignored when the game window is not focused
  • increased text length limit from 255 to 399 for:
  • fixed a memory leak caused by creating too many script TXDs
  • fixed multiple issues with string‑formatting opcodes
  • fixed a crash in print string commands when processing very long input
  • fixed GET_AUDIO_STREAM_DURATION always returning 0
  • fixed an incompatibility with the result of SAMP_RAKNET_HOOK_RETURN

CLEO 5.2.0

21 Oct 01:07
@x87 x87
41425bd

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

  • added script execution log (cleo\_cleo_script.log). By default, it's disabled. Configurable via cleo_plugins\DebugUtils.ini.
  • added call stack overflow error check to gosub and gosub_if_false commands
  • added check for preceding gosub call in 0AA1 (return_if_false)
  • added limit for memory allocated per script (see cleo_plugins\SA.MemoryOperations.ini). Exceeding the limit will cause a warning in game
  • added listing of remaining memory blocks allocated by scripts to the cleo.log when closing or starting new game
  • added support of string pointers as output type in 0AD4 (scan_string)
  • added more checks for correctness of format string in 0AD4 (scan_string)
  • fixed false positive Code execution past script end error messages when calling functions from CLEO modules
  • added error message when the script silently crashes in SAMP due to the script problem
  • fixed problem with texture sprites corruption, now scripts can safely use sprites from multiple TXDs
  • remove trailing whitespace from FXT entries preventing them from being displayed in game
  • new SDK method: CLEO_CallNativeOpcode. See SDK documentation: https://github.com/cleolibrary/CLEO5/wiki/CLEO-5-SDK

CLEO 5.1.0

19 Jul 20:32
ef8eb1e

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

  • fixed collision of GXT texts hook with SAMP and other mods
  • rewritten script drawing handling code. Logic moved from CLEO.asi to Text.cleo plugin
  • relocated several opcodes from CLEO core into new GameEntities.cleo plugin
  • fixed 0ADD (spawn_vehicle_by_cheating) crashing when invalid model id was used
  • new CLEO plugin: Input.cleo
  • added warning message to commands 0AC2-0AC5 if used with non-3d audio streams
  • call function/method commands 0AA5-0AA7 are now setting logical result
  • limited "previously called opcode" info in script error messages to show just commands of that script
  • now more script error messages include previously executed command name
  • added missing terminate_this_script command error message for scripts compiled with extra SCM info

CLEO 5.0.3

31 May 23:24

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

  • added GxtHook.cleo plugin to ignored list
  • fixed audio streams stopping when volume was set to 0.0
  • fixed audio streams potentially not starting to play if still decoding or downloading
  • volume of audio streams with type None and UserInterface no longer affected by screen fades

CLEO 5.0.2

31 Mar 03:19
@x87 x87
6ad4f2a

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

  • updated BASS library
  • fixed Doppler effect calculations for 3d audio streams
  • fixed sound glitches of 3d audio streams when playback starts or the camera mode changes
  • fixed possible crashes when car/object/ped with attached 3d audio stream is deleted
  • fixed CLEO sound artifacts when moving camera with mouse
  • updated distance decay for 3d audio streams to match behavior of in-game sounds
  • implemented proper support for 3d audio streams source size
  • CLEO sounds volume is now affected by wide screen and fades in same way as in-game sounds
  • updated "Audio_Demo" example script
  • reverted muting 'music' type audio streams for game speeds other than default introduced in 5.0.1
  • allow storing string result at static address (e.g. get_name_of_vehicle_model 400 0xC16F98)
  • fixed path resolution issues when the game is installed in symlink or RAM Disk directory
  • fixed audio playback not working in SAMP

CLEO 5.0.1

20 Mar 21:38
b26a1f9

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

CLEO 5.0.0

16 Mar 16:10
d218b02

Choose a tag to compare

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

Read more

CLEO 5.0.0-beta.1

06 Oct 20:33
e03140e

Choose a tag to compare

CLEO 5.0.0-beta.1 Pre-release
Pre-release

Download Instructions

An ASI loader is required for CLEO 5 to work. CLEO 5 comes pre-packaged with several popular ASI Loaders (Silent's ASI Loader and Ultimate ASI Loader).

If you don't have an ASI loader installed already or unsure which one to download:

If you prefer Ultimate ASI Loader:

If you have an ASI loader installed already:

  • Download this archive which contains ONLY CLEO 5 library and plugins.

Installation

  • Unzip the archive to GTA San Andreas game directory.

Changelog

Bug Fixes

  • fixed error in 004E (terminate_this_script) allowing to run multiple missions
  • fixed handling of strings longer than 128 characters causing errors in some cases
  • fixed error in handling of first string argument in 0AF5 (write_string to_ini_file)
  • fixed resolution dependent aspect ratio of CLEO text in main menu
  • fixed clearing mission locals when new CLEO mission is started
  • when reading less than 4 bytes with 0A9D (readfile) now remaining bytes of the target varia...
Read more