Skip to content

5.0.0-alpha.73

Pre-release
Pre-release
Compare
Choose a tag to compare
@x87 x87 released this 23 Sep 15:13
· 24 commits to master since this release
b91818c

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 variable are set to zero
  • fixed invalid 7 characters length limit of 0AAA (get_script_struct_named)

SDK AND PLUGINS

  • now all opcodes in range 0-7FFF can be registered by plugins
  • plugins moved to cleo\cleo_plugins directory
  • new SDK methods:
    • CLEO_RegisterCommand
    • CLEO_RegisterCallback
    • CLEO_GetVarArgCount
    • CLEO_PeekIntOpcodeParam
    • CLEO_PeekFloatOpcodeParam
    • CLEO_PeekPointerToScriptVariable
    • CLEO_SkipUnusedVarArgs
    • CLEO_ReadParamsFormatted
    • CLEO_ReadStringParamWriteBuffer
    • CLEO_GetOpcodeParamsArray
    • CLEO_GetParamsHandledCount
    • CLEO_IsScriptRunning
    • CLEO_TerminateScript
    • CLEO_GetScriptVersion
    • CLEO_GetScriptInfoStr
    • CLEO_GetScriptFilename
    • CLEO_GetScriptWorkDir
    • CLEO_SetScriptWorkDir
    • CLEO_ResolvePath
    • CLEO_ListDirectory
    • CLEO_ListDirectoryFree
    • CLEO_GetGameDirectory
    • CLEO_GetUserDirectory
    • CLEO_GetScriptByName
    • CLEO_GetScriptByFilename
    • CLEO_GetScriptDebugMode
    • CLEO_SetScriptDebugMode
    • CLEO_Log

CLEO internal

  • introduced unit test scripts
  • project migrated to VS 2022
  • configured game debugging settings
  • plugins moved into single solution
  • configured automatic releases on GitHub
  • added setup_env.bat script

Special Thanks

  • 123nir for the alpha-testing, troubleshooting and valuable bug reports