Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Alexander Blade

[ANDROID] CLEO ANDROID

Recommended Posts

Anas4fire
7 hours ago, LCstuntman said:

In spamming the thread, yes

I'm just sorry I'm a little impatient.  I can not wait!  when will you release GTA San Andreas Cleo 2.00?😖

Share this post


Link to post
Share on other sites
LCstuntman
On 1/17/2020 at 6:44 AM, Anas4fire said:

I'm just sorry I'm a little impatient.  I can not wait!  when will you release GTA San Andreas Cleo 2.00?😖

Again, fastman92 is the one working on it. Currently Cleo is completed, but the FLA (that Cleo now depends on) is not. A link will be posted here as soon as it's up, your comments won't change anything.

 

Does anyone want to actually discuss Cleo Android script writing? I'm having trouble finding Android equivalents for PC memory addresses. For GTA III swim mod, I need an address that is offset from the player pointer. We can't call player struct, so I tried a few different strings that I thought could be equivalent, but applying the same offset didn't work. Really I just need a memory address that shows whether the player is in water. I've tried comparing in IDA but I've only seen labeled decompilations of GTA3 PC v1.0 and I would need v1.1.

Edited by LCstuntman
  • Like 2

Share this post


Link to post
Share on other sites
Call.me.CJ

Ive got gta sa v2.0 but cleo gold check is like this

Check root...true

Check chmod...true

Check game...false

What to do?

Umm... and is there any way to easily change an script from cleo windows to cleo android?

  • YEE 1

Share this post


Link to post
Share on other sites
LCstuntman
7 hours ago, Call.me.CJ said:

Ive got gta sa v2.0 but cleo gold check is like this

Check root...true

Check chmod...true

Check game...false

What to do?

Umm... and is there any way to easily change an script from cleo windows to cleo android?

The last Cleo Gold is over 3 years old, it only supports up to SA 1.08. Conversions are relatively simple unless it relies on mem addresses or player/veh structs. Usually just changing keyboard controls to touch . If its a VERY simple script, it might work just changing .cs extension to .csa

  • YEE 1

Share this post


Link to post
Share on other sites
AndnixSH

@LCstuntmanany luck about GTA SA?

I tried to edit the CLEO .so file to force 1.08 to bypass version check. Change 84 42 to A4 42 at 00004F9E  

CLEO Init successful but it crashes at CTheScripts::Init()

 

01-31 22:05:38.920 D/AB      (31853): CTheScripts::Init()
01-31 22:05:38.957 D/NVEvent (31853): android_sigaction signal 11 (2 0 11)
01-31 22:05:38.958 F/libc    (31853): Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xd191a8fc in tid 31911 (MainThread), pid 31853 (stargames.gtasa)
01-31 22:05:39.042 I/crash_dump32(31921): obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-31 22:05:39.043 I//system/bin/tombstoned(1322): received crash request for pid 31911
01-31 22:05:39.045 I/crash_dump32(31921): performing dump of process 31853 (target tid = 31911)
01-31 22:05:39.082 F/DEBUG   (31921): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-31 22:05:39.082 F/DEBUG   (31921): Build fingerprint: 'Sony/G8341/G8341:9/47.2.A.10.80/1345287390:user/release-keys'
01-31 22:05:39.082 F/DEBUG   (31921): Revision: '0'
01-31 22:05:39.082 F/DEBUG   (31921): ABI: 'arm'
01-31 22:05:39.085 F/DEBUG   (31921): pid: 31853, tid: 31911, name: MainThread  >>> com.rockstargames.gtasa <<<
01-31 22:05:39.085 F/DEBUG   (31921): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xd191a8fc
01-31 22:05:39.085 F/DEBUG   (31921):     r0  ce1d4b00  r1  ffffffff  r2  ffffffff  r3  ffffffff
01-31 22:05:39.085 F/DEBUG   (31921):     r4  00002cd7  r5  00007531  r6  cc91f8a0  r7  d131177d
01-31 22:05:39.085 F/DEBUG   (31921):     r8  00000000  r9  d1391009  r10 d191a8fc  r11 d153521b
01-31 22:05:39.085 F/DEBUG   (31921):     ip  d159183c  sp  cc91f894  lr  d12489b5  pc  d191a8fc
01-31 22:05:39.092 F/DEBUG   (31921): 
01-31 22:05:39.092 F/DEBUG   (31921): backtrace:
01-31 22:05:39.097 F/DEBUG   (31921):     #00 pc 003498fc  [anon:.bss:d15d1000]
01-31 22:05:39.098 F/DEBUG   (31921):     #01 pc 0032a9b1  /data/app/com.rockstargames.gtasa-o6un5H9FK7pX8LI7zXbvaA==/lib/arm/libGTASA.so (offset 0x32a000) (CTheScripts::Init()+2816)
01-31 22:05:39.098 F/DEBUG   (31921):     #02 pc a5250022  <unknown>


 

This is what I found so far about version check

 

https://imgur.com/DVIMSvg

 

https://imgur.com/mmdQuqa

 

But I don't understand what the 7 digits numbers mean like

if ( v1 == v3 - 2719220 )
dword_15030 = (int)(v1 - 2339765);

 

Are they hooking offsets?

 

I'm not expert in IDA and assembly

Edited by AndnixSH

Share this post


Link to post
Share on other sites
Rocim

is there an opcode load audio stream for gta sa mobile?

Share this post


Link to post
Share on other sites
LCstuntman

Disassembled GTA Android Libraries
includes:
III 1.4, 1.6, 1.8
VC 1.03, 1.07, 1.09
SA 1.03, 1.06, 1.08, 2.00
LCS 2.4

 

Just to have them all in one place. Function labels are already included, courtesy of War Drum Studios. You need IDA Pro to view them (free version doesn't support ARM), so get it from your favorite torrent site.

  • Like 4

Share this post


Link to post
Share on other sites
LCstuntman

deleted, see below

Edited by LCstuntman
  • Like 1

Share this post


Link to post
Share on other sites
justasking
7 hours ago, LCstuntman said:

CLEO for SA v2.00 Android is now available as part of fastman92's FLA 5.0.

 

I updated quadmium's 60fps Cleo script for 2.00. Why it's not 60fps already like the other 3 games is beyond me.

 

60fps for SA v2.00

 

Screenshot-20200209-170340-GTA-SA.png

is this an apk? how do I install it? sorry I don't understand the technical terms. 

  • Like 1

Share this post


Link to post
Share on other sites
LCstuntman
8 minutes ago, justasking said:

is this an apk? how do I install it? sorry I don't understand the technical terms. 

Download FLA 5.0, open Documentation.docx, and read the Android section. You will be using a Windows program to either patch the app directly on your phone (if rooted), or make a new modified APK (if not rooted). its actually quite easy, just need to carefully read the instructions since its a new tool.

Share this post


Link to post
Share on other sites
justasking
3 minutes ago, LCstuntman said:

Download FLA 5.0, open Documentation.docx, and read the Android section. You will be using a Windows program to either patch the app directly on your phone (if rooted), or make a new modified APK (if not rooted). its actually quite easy, just need to carefully read the instructions since its a new tool.

is there a way to do that without using a PC? 

Share this post


Link to post
Share on other sites
LCstuntman
2 minutes ago, justasking said:

is there a way to do that without using a PC? 

No, at least not currently. But I would bet that pre-made apks will pop up soon enough

Share this post


Link to post
Share on other sites
fastman92
6 minutes ago, LCstuntman said:

No, at least not currently. But I would bet that pre-made apks will pop up soon enough

Android plugin deployment solution allows to a modified APK archive.

  • Like 1

Share this post


Link to post
Share on other sites
Milos86

Help, I'm already following instruction on documentation, but this happens

https://ibb.co/NrjJR1M

"Library has not been generated sucesfully"

 

Share this post


Link to post
Share on other sites
fastman92
47 minutes ago, Milos86 said:

Help, I'm already following instruction on documentation, but this happens

https://ibb.co/NrjJR1M

"Library has not been generated sucesfully"

 

You have written a modified libGTASA.so, then didn't pay attention to the message that you shouldn't import a library file from the device, if there is a modified library.

You only have to do the importing once.

 

So what you can do in this situation? You can import the original libGTASA.so from APK archive. Just get the APK archive first.

 

You have also given me an idea how to do the importing better.

Edited by fastman92
  • Like 1

Share this post


Link to post
Share on other sites
dot exe

Can a someone upload the modified apk? I've tried to create apk (modified) but always ended with error, the apk didn't appear in my custom directory :(

Thanks.

Share this post


Link to post
Share on other sites
istap9
1 hour ago, dot exe said:

Can a someone upload the modified apk? I've tried to create apk (modified) but always ended with error, the apk didn't appear in my custom directory :(

Thanks.

same here ! LCstuntman is this working for you? ...I have the original apk with wardrum studios signature but why this error occurs @fastman92 ,and also it seems to be modified lib is present in the deployment directory so there must be a bug in generating the apk archive .

Edited by istap9

Share this post


Link to post
Share on other sites
LCstuntman
4 hours ago, istap9 said:

same here ! LCstuntman is this working for you? ...I have the original apk with wardrum studios signature but why this error occurs @fastman92 ,and also it seems to be modified lib is present in the deployment directory so there must be a bug in generating the apk archive .

Post the output from the cmd window inside a spoiler tag. Both rooted and non-root methods work for me

  • YEE 1

Share this post


Link to post
Share on other sites
istap9
9 minutes ago, LCstuntman said:

Post the output from the cmd window inside a spoiler tag. Both rooted and non-root methods work for me

well it seems to be working! can u upload me the real apk files u tried on so i can work with this. Btw i have the apk that also  wardrum signed so kinda bit confused..

Edited by istap9

Share this post


Link to post
Share on other sites
kubikas33

Can someone give me an example code how to create and use shop widgets using opcode:

0A69: create_shop_widget 'IE09'  // Imports
0A6A: add_shop_item 'IE16' 0  // Sunday

What opcode returns selected item in shop menu? Can someone post a simlpe example code of this menu please?

 

EDIT: Nevermind I found an opcode which gives the index of selected item in menu (shop widget):

0A5A: get_widget_value 156 [email protected]

It stores selected item index in [email protected] variable but for some reason its type is float so you need to use other opcodes to convert it to int. I think 156 is constant ID for menu widget. Also I couldn't find what this opcode does:

0A6C: set_equipped_item 156 [email protected] 

 

Edited by kubikas33
  • Like 1

Share this post


Link to post
Share on other sites
LlennZe

Is there a way to bring back the ambulance/firetruck just like in the console and pc version? Sometimes I can see them spawn and disappear at the same time

Share this post


Link to post
Share on other sites
Nesthor

Hi, I'm already playing with the GTA SA V2.0 apk that Fastman92 has just released Run perfect, but I have a problem, the cars I replace with skins with large dimensions do not load until they approach me, while, they look like a black or white box.

 

This could be solved using a saaexten, but unfortunately they stopped being compatible with Android 8 and higher, now with V 2.0 they are not compatible either .This can be fixed by modifying the FLA?

 

55ac141333756091.jpg

 

ed35451333756089.jpg

  • Like 1

Share this post


Link to post
Share on other sites
AdyataN

So, what happened to the original Limit Adjuster thread?

Share this post


Link to post
Share on other sites
LCstuntman
3 hours ago, AdyataN said:

So, what happened to the original Limit Adjuster thread?

It should be back after the 5.1 update is released, which fastman says will be later today.

  • Like 1

Share this post


Link to post
Share on other sites
Nesthor
On 2/9/2020 at 7:24 PM, LCstuntman said:

CLEO for SA v2.00 Android is now available as part of fastman92's FLA 5.0.

 

I updated quadmium's 60fps Cleo script for 2.00. Why it's not 60fps already like the other 3 games is beyond me.

 

60fps for SA v2.00

 

Screenshot-20200209-170340-GTA-SA.png

How to compile this script?

 

If I copy the text and paste it into Saany Builder and give it to compile, it doesn't work, it throws me an error that it doesn't recognize an opcode

 

Share this post


Link to post
Share on other sites
LCstuntman
9 minutes ago, Nesthor said:

How to compile this script?

 

If I copy the text and paste it into Saany Builder and give it to compile, it doesn't work, it throws me an error that it doesn't recognize an opcode

 

You can get the compiled script here

 

To compile android scripts, you'll have to copy and paste this into the SannyBuilder SCM.INI's of the games you want to compile scripts for (i.e. C:\Program Files (x86)\Sanny Builder 3\data\sa_mobile\SASCM.INI):

Spoiler

0DD0=2,%1d% = get_label_addr%2p%; 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
0DE0=3,%1d% = get_touch_point_state%2d% mintime%3d%; Android
0DE1=5,%1d% = get_touch_slide_state from%2d% to%3d% mintime%4d% maxtime%5d%; Android
0DE2=1,%1d% = get_menu_button_state; read opcode info before using; Android
0DE3=2,%1d% = get_menu_button_pressed mintime%2d%; read opcode info before using; Android

 

  • Like 1

Share this post


Link to post
Share on other sites
Nesthor

Friends, does anyone have any version of the Cleo free camera that works in GTA SA Mobile V 2.0? I have only managed to find the V6 but it has the fish eye effect and I don't like it 

 

thanks for your help 

Share this post


Link to post
Share on other sites
LCstuntman

I remade the script to find Widget IDs, since the download has been dead for years. Never upload to piece of sh*t mediafire.

 

Screenshot-20200225-213816-GTA-SA.png

 

Like the original, touch top/bottom of screen to browse, & center to exit. I couldn't get the run/punch buttons to disappear, so you'll have to pay closer attention (some widgets overlap them).

 

Raw script so it's always here:

Spoiler

{$CLEO .csi}

if or
[email protected] < 0
[email protected] > 189
then
[email protected] = 0
end
02A3: enable_widescreen 1
0826: enable_hud 0
01E5: show_text_1number_highpriority GXT 'WDGTID' number [email protected] time 1000 flag 1
wait 200
 
:START
0DE0: [email protected] = get_touch_point_state 4 mintime 0
0DE0: [email protected] = get_touch_point_state 6 mintime 0
0DE0: [email protected] = get_touch_point_state 5 mintime 0
if
[email protected] == 1
then
gosub @SUB_COUNTUP
end
if
[email protected] == 1
then
gosub @SUB_COUNTDOWN
end
if [email protected] == 1
then
gosub @SUB_EXIT
end
gosub @CHECK
jump @START

:CHECK
01E5: show_text_1number_highpriority GXT 'WDGTID' number [email protected] time 1000 flag 1
wait 0
if
0A51:   is_widget_pressed [email protected]
then
018C: play_sound 1052 at 0.0 0.0 0.0
end
return


:SUB_COUNTUP
[email protected] += 1
if [email protected] > 189
then [email protected] = 0
end
wait 100
return

:SUB_COUNTDOWN
[email protected] -= 1
if [email protected] < 0
then [email protected] = 189
end
wait 100
return

:SUB_EXIT
02A3: enable_widescreen 0
0826: enable_hud 1
00BE: text_clear_all
end_thread

 

Download

  • Like 1

Share this post


Link to post
Share on other sites
Jasir

1

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.