CLEO

From GTAMods Wiki
Jump to navigation Jump to search
For a tutorial on how to develop scripts for CLEO, see CLEO/Tutorial.
CLEO
CLEO 4 logo
Current version:San Andreas 4.4.0
San Andreas (iOS) 2.1.2
Vice City 2.0.0.6
GTA III 2.0.0.6 (!)
Developed by:User.pngSeemann, Alien, User.pngDeji,
User.pngDK22Pac, User.pngThirteenAG
Supported games:GTA 3, GTA VC, GTA SA
Type:mission scripting
Website:http://cleo.li

CLEO Library or shortly CLEO is a tool that extends coding possibilities in GTA 3 series games by adding a lot of new opcodes and allowing to run the scripts without modifying the main.scm. CLEO was created and originally developed by Seemann. CLEO 4 had been developed by Alien and Deji.

Features

Extra opcodes

CLEO adds a lot of useful opcodes making possible file management, game memory handling, calling exe functions, playing audio files and much more. New opcodes were added in the fourth version to work with audio streams, to format strings, to display custom texts on screen without using external text files (.fxt, .gxt).

Plugins

This section is incomplete. You can help by fixing and expanding it.

Custom scripts

The main feature of CLEO is that it allows running custom scripts (commonly a single file with the extension .cs) without starting a new game. All you need is to get a script, place it in the CLEO folder and run the game (new or saved). This feature is recognized as one of the most important achievements in GTA SA modding.

Known issues

  • CLEO can not work with SA v1.01 and higher. One should use a downgrade patch.
  • Using mp3 related opcodes in CLEO 3 could cause occasional crashes of the game. CLEO 4 is more stable on this matter
  • Some CLEO features don't work in multiplayer mods such as SA:MP due to their anti-cheating measures
  • Complex scripts developed for CLEO 3 (most notably those ones made by Japanese modder Ryosuke839) may not work with CLEO 4. A special compatibility mode was introduced in CLEO 4.3 to solve this problem

Major projects using CLEO

CLEO for GTA III and Vice City

Initially, CLEO was designed and made for San Andreas. The huge success of it and popularity of previous games inspired Alien to port the library for GTA 3 and Vice City, without some features, such as custom saves storing CLEO variables and scripts state. After Alien's retirement, the development slowed down until Silent issued a version with some fixes. Soon after that DK22Pac announced the next version of CLEO for GTA III and Vice City, written from scratch. It was never released, but ThirteenAG helped to finish his work and the second version is now available for download.

CLEO Android

CLEO Android is an official fork of the CLEO Library made by Alexander Blade for the Android platform.

This section is incomplete. You can help by fixing and expanding it.

CLEO iOS

CLEO iOS is an official version of the CLEO Library written by Squ1dd13 for the iOS platform. It was originally known as CSiOS (CLEO Scripts on iOS) until it officially became a part of the CLEO project. It is designed to work with with CLEO Android scripts and resources, although unlike the Android version, it only supports San Andreas.

Due to the way the iOS game is built (with symbols stripped), CLEO iOS cannot perform symbol lookups and thus cannot run complex scripts which rely on interacting with C++ functions and variables by name, so scripting capabilities are significantly reduced.

External links