/ CLEO Android /
REL December 27, 2013
Tested on Android Jelly Bean 4.2 and 4.3 only!
--- Installation ---
- You must root the phone
- Only GTA3 v1.4 , GTAVC v1.3, GTASA v1.0.2 and v1.0.3 are supported
- Install "cleo.apk"
- Launch the installed application and when it asks for access, give it to
- Click the "Check" button to check if
- If the check is successful, then you can try to click "Install"
- If successful, start the game
- For GTA3 and GTAVC Standard, the button can be located in the help
- On some devices, after a reboot, Cleo (not an app) needs to be reinstalled.
--- Install script ---
Cleo looks for scripts in the folder one level up from the game.
For example:
> /Storage/sdcadrd0/Android/data/com.rockstargames.gtavc OR com.rockstar.gta3/files/
Accompanying files ( FXT ) must be copied to :
>/Storage/sdcadrd0/Android/data/com.rockstargames.gtavc OR com.rockstar.gta3 /
In general, look at the screenshots
Cleo's scripting extension is "CSA" , you can compile and decompile it with Sanny Builder 3.1.3, just like for PC with "CS" scripts.
--- Controls in the game ---
To activate and deactivate all scenario weapons, press center-center and center-bottom press simultaneously for a few seconds.
To detect touch, use
> 00E1 : key_pressed 3% touch_point %
> 80E1 : not key_pressed 3% touch_point %
The touch screen is divided into 9 parts:
1 4 7
2 5 8
3 6 9
1 - left - top
2 - left - center
3 - left - bottom
4 - center - top
5 - center - center
6 - center - bottom
7 - right - top
8 - right - center
9 - right - bottom
Decompile the scripts to see for yourself how it's done. (Examples scripts are inside).
GTASA script source included, also you can use end_thread and end_custom_thread as well.
Cleo Android provides additional opcodes for GTA3, GTAVC and GTASA, if you want to use them you need to add the lines below to the corresponding scm.ini in Sanny Builder.
0DD0=2,%1d% = get_label_addr %2d% ; android
0DD1=2,%1d% = get_func_addr_by_cstr_name %2d% ; android
0DD2=1,context_call_func %1d% ; android
0DD3=2,context_set_reg %1d% value %2d% ; android
0DD4=2,%1d% = context_get_reg %2d% ; android
0DD6=1,%1d% = get_game_version ; android
0DD7=1,%1d% = get_image_base ; android
0DD8=4,%1d% = read_mem_addr %2d% size %3d% add_ib %4d% ; android
0DD9=5,write_mem_addr %1d% value %2d% size %3d% add_ib %4d% protect %5d% ; android
0DDC=2,set_mutex_var %1d% to %2d% ; android
0DDD=2,%1d% = get_mutex_var %2d% ; android
Mutex variables are used to communicate between different scripts, for example to indicate the state of a GUI.
All Cleo PC scripts must be manually checked for compatibility before being used with the Android version!
Alexander Blade
http://dev-c.com