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. The Cayo Perico Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. 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

GTA San Andreas Mobile Modding


Recommended Posts

BrainDeadRaven

Cause I still need more baby steps LMAO...

 

So I've already posted a small script on here, I'm almost done with Wuzi's first extension, I'll put it on here. That will give you a solid idea of where I am and what I can help with. Memory addresses isn't one of them, haven't had cause (yet) to have to go into those.

 

Hell, in Android I can't even get a f*cking tattoo switched. Probably not the *best* person to ask. I just scrub main.scm for code, and the Sanny Builder opcode search until I figure something out. I can check to verify CJ has a tattoo, I can add that tattoo, animations and all. I can't switch it out. I've been matching the names, testing with two different ones (6crown is the other one) making sure it matches the others like 6clown, rebuild them, close out of them, rebuild the player.img and gta3.img, nothin.

for import I've tried both from png and txd, when ping I use with alpha, override, check texture raster hash, reduce texture size to - and try to match that to what the original was.

 

Link to post
Share on other sites
Manithjaat
21 minutes ago, BrainDeadRaven said:

Cause I still need more baby steps LMAO...

 

So I've already posted a small script on here, I'm almost done with Wuzi's first extension, I'll put it on here. That will give you a solid idea of where I am and what I can help with. Memory addresses isn't one of them, haven't had cause (yet) to have to go into those.

 

Hell, in Android I can't even get a f*cking tattoo switched. Probably not the *best* person to ask. I just scrub main.scm for code, and the Sanny Builder opcode search until I figure something out. I can check to verify CJ has a tattoo, I can add that tattoo, animations and all. I can't switch it out. I've been matching the names, testing with two different ones (6crown is the other one) making sure it matches the others like 6clown, rebuild them, close out of them, rebuild the player.img and gta3.img, nothin.

for import I've tried both from png and txd, when ping I use with alpha, override, check texture raster hash, reduce texture size to - and try to match that to what the original was.

 

Hi bro find this draw tatto code in cj body use ida pro tool and find this code in gta sa apk libgtasa.so search draw tatto

Link to post
Share on other sites
Manithjaat

Hi Sir please check this cleo ?

{$CLEO .csi}
0000:
var
[email protected] int
[email protected] int
end
while true
wait 0
if player.Defined($2)
then
0390: load_txd_dictionary 'VCS'
038F: load_texture "raindrop1" as 23
03F0: enable_text_draw 1
0DD0: [email protected] = get_label_addr @_ZN13CBulletTraces7aTracesE
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected]
0085: [email protected] = [email protected] // (int) 
[email protected] += 24 // Z Where am I looking
0DD8: [email protected] = read_mem_addr [email protected] size 1 fix_ib 0
if [email protected] == 1
then
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
[email protected] += 40 // alpha
[email protected] += 36 //radius
[email protected] += 32//dissapear time
0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 0 protect 1
0DD9: write_mem_addr [email protected] value 10.0 size 4 add_ib 0 protect 1
0DD9: write_mem_addr [email protected] value 900 size 4 add_ib 0 protect 1
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
[email protected] += 4//Float Trans Side Y
[email protected] += 8 //Float Trans Side Z
[email protected] += 12 // float yellow side x
[email protected] += 16 //Float yellow Side y
[email protected] += 20 //Float yellow side Z
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0  
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0  
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0 
0063: [email protected] -= [email protected] // (float) 
0063: [email protected] -= [email protected] // (float) 
0063: [email protected] -= [email protected] // (float) 
[email protected] /= 5.5
[email protected] /= 5.5
[email protected] /= 5.5
095C: create_smoke_at [email protected] [email protected] [email protected] velocity [email protected] [email protected] [email protected] RGBA 3.0 3.0 3.0 3.8 size 1.01 last_factor 0.1 
024F: create_corona_with_radius 0.5 type 1 lensflares 1 with_color 255 0 0 at [email protected] [email protected] [email protected] 
038D: draw_texture 23 position [email protected] [email protected] size 444.0 300.0 RGBA 255 255 255 255 
0107: $Bullet = create_object 322 at [email protected] [email protected] [email protected]
034D: rotate_object 322 from_angle 0.0 to_angle 360.0 flag 0 
01E5: show_text_1number_highpriority GXT "NUMBER" number [email protected]  time 5000 flag 1  // ~s~You need $~1~ to compete
end
end
end
 
:_ZN13CBulletTraces7aTracesE
hex
"_ZN13CBulletTraces7aTracesE" 00
end
:7
end_thread

Link to post
Share on other sites
gjk-23__

If anyone is interested someone is trying to port the android version of SA to the PSVita. Someone has already ported the PC version of GTA III, it runs perfectly, and they are working on Vice City PC version getting ported over to the PSVita as well.

 

 

Link to post
Share on other sites
BrainDeadRaven
On 1/19/2021 at 12:34 AM, Manithjaat said:

Hi Sir please check this cleo ?

{$CLEO .csi}
0000:
var
[email protected] int
[email protected] int
end
while true
wait 0
if player.Defined($2)
then
0390: load_txd_dictionary 'VCS'
038F: load_texture "raindrop1" as 23
03F0: enable_text_draw 1
0DD0: [email protected] = get_label_addr @_ZN13CBulletTraces7aTracesE
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected]
0085: [email protected] = [email protected] // (int) 
[email protected] += 24 // Z Where am I looking
0DD8: [email protected] = read_mem_addr [email protected] size 1 fix_ib 0
if [email protected] == 1
then
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
[email protected] += 40 // alpha
[email protected] += 36 //radius
[email protected] += 32//dissapear time
0DD9: write_mem_addr [email protected] value 255 size 1 add_ib 0 protect 1
0DD9: write_mem_addr [email protected] value 10.0 size 4 add_ib 0 protect 1
0DD9: write_mem_addr [email protected] value 900 size 4 add_ib 0 protect 1
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
0085: [email protected] = [email protected] // (int)
[email protected] += 4//Float Trans Side Y
[email protected] += 8 //Float Trans Side Z
[email protected] += 12 // float yellow side x
[email protected] += 16 //Float yellow Side y
[email protected] += 20 //Float yellow side Z
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0  
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0  
0DD8: [email protected] = read_mem_addr [email protected] size 4 fix_ib 0 
0063: [email protected] -= [email protected] // (float) 
0063: [email protected] -= [email protected] // (float) 
0063: [email protected] -= [email protected] // (float) 
[email protected] /= 5.5
[email protected] /= 5.5
[email protected] /= 5.5
095C: create_smoke_at [email protected] [email protected] [email protected] velocity [email protected] [email protected] [email protected] RGBA 3.0 3.0 3.0 3.8 size 1.01 last_factor 0.1 
024F: create_corona_with_radius 0.5 type 1 lensflares 1 with_color 255 0 0 at [email protected] [email protected] [email protected] 
038D: draw_texture 23 position [email protected] [email protected] size 444.0 300.0 RGBA 255 255 255 255 
0107: $Bullet = create_object 322 at [email protected] [email protected] [email protected]
034D: rotate_object 322 from_angle 0.0 to_angle 360.0 flag 0 
01E5: show_text_1number_highpriority GXT "NUMBER" number [email protected]  time 5000 flag 1  // ~s~You need $~1~ to compete
end
end
end
 
:_ZN13CBulletTraces7aTracesE
hex
"_ZN13CBulletTraces7aTracesE" 00
end
:7
end_thread

1) they gonna get mad if you keep posting coding question on here

2) Instead of this

[email protected] -= [email protected] // (float) 

try this:

[email protected] += [email protected] // (float)

not sure that syntax will work tbh, didn't test, not sure if you can do that with the variable or if you have to multiply the value by -1 the reassign it to [email protected]

 

Lastly, I think its the version of Android San Andreas thats causing my problem with tattoo's. Same thing with trying to install cars, nothing changes even when using known automated processes. Though when I used the APK to make cleo work that downgraded it, but maybe not.

 

I would have messaged you the answer, but apparently can't do that yet. Fun times.

  • Like 1
Link to post
Share on other sites
Manithjaat
On 1/12/2021 at 2:13 PM, XMDS said:

@Manithjaat The OP of CLEO4 cannot be used on Android, and there is no OP similar to this command.  Call_scm_func (CLEO_CALl) is a command similar to gosub, but the difference is that it is more convenient than gosub. It jumps to a label for execution and substitutes the parameters into that label. The label is equivalent to a sub-thread, and its code and variables are not  Will affect the main thread.  Generally, it saves the amount of code and local variables, and it is very convenient to use when there is a lot of looping code.

 

For detailed explanation and usage of the OP, please check zaz's CLEO tutorial:

The op is not required. As long as you don't use it, and put the code of the subtag directly after your current code for execution (I said it is similar to the gosub command), but you may need to modify the variable.

In addition.  For CLEO questions, you should post the topic in the forum code area, not here.  And I won't provide you with any code help, because this is very basic.  You only need to view some CLEO tutorials and understand the role of 0AB1 and 0AB2.  You will only make me feel irritated by asking me repeatedly.

Hi sir please chick this cleo are not working I'm sad please help

{$CLEO .csa}

//-------------MAIN---------------
wait 7
0DD0: [email protected] = get_label_addr @Noname_604 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_633 
0DD0: [email protected] = get_label_addr @Noname_648 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
  [email protected] == 0 
jf @Noname_99 
end_thread 

:Noname_99
0DD0: [email protected] = get_label_addr @Noname_876 
gosub @Noname_186 
gosub @Noname_395 
if and
  [email protected] == 0 
  [email protected] == 0 
jf @Noname_311 
0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 
01E5: show_text_1number_highpriority GXT 'LOW_38' number [email protected] time 5000 flag 1  // ~s~You need $~1~ to compete.
wait 5000 
end_thread 

:Noname_186
0DD0: [email protected] = get_label_addr @Noname_650 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_885 
0DD3: context_set_reg 2 value 512 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
   not [email protected] == 0 
jf @Noname_311 
0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 0 
if and
   not [email protected] == 35 
   not [email protected] == 10 
   not [email protected] == 91 
jf @Noname_186 
return 

:Noname_311
0DD0: [email protected] = get_label_addr @Noname_677 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
  [email protected] == 0 
jf @Noname_311 
end_thread 

:Noname_395
0DD0: [email protected] = get_label_addr @Noname_812 
0DD0: [email protected] = get_label_addr @Noname_860 

:Noname_415
0DD0: [email protected] = get_label_addr @Noname_791 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_798 
0DD0: [email protected] = get_label_addr @Noname_821 
0DD0: [email protected] = get_label_addr @Noname_853 
0DD3: context_set_reg 3 value [email protected] 
0DD3: context_set_reg 2 value [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD3: context_set_reg 2 value [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD0: [email protected] = get_label_addr @Noname_865 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
0DD0: [email protected] = get_label_addr @Noname_855 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
return 


:Noname_604 
hex
"_ZN8CFileMgr8OpenFileEPKcS1_" 00
end

:Noname_633
hex
"TEST\Config.ini" 00
end

:Noname_648
hex
"r" 00
end
:Noname_876  
hex
"ACTIVATE" 00
end
:Noname_650 
hex
"_ZN8CFileMgr8ReadLineEiPci" 00
end
:Noname_885 
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00
end
:Noname_677 
hex
"_ZN8CFileMgr9CloseFileEi" 00
end
:Noname_812 
hex
"%*s%*s%f" 00
end
:Noname_860 
hex
00 00 00 00 00
end
:Noname_791 
hex
"sscanf" 00
end
:Noname_798 
hex
"%s%s" 00
end
:Noname_821 
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
end
:Noname_853 
hex
00 00
end
:Noname_865  
hex
00 00 00 
end
:Noname_855 
hex
3D 00
end
Link to post
Share on other sites
kubon352

What do I have to do with these files? Details please, I don't know much about modding in phone.

What do I have to do with these files? Details please, I don't know much about modding on phone.

Link to post
Share on other sites
Manithjaat
2 hours ago, kubon352 said:

What do I have to do with these files? Details please, I don't know much about modding in phone.

What do I have to do with these files? Details please, I don't know much about modding on phone.

Are paste this files this com.rockstargames.gtasa folder

And use this,file on game are sarch on youtub gta sa cleo on Android 

Link to post
Share on other sites
BrainDeadRaven
22 hours ago, kubon352 said:

What do I have to do with these files? Details please, I don't know much about modding in phone.

What do I have to do with these files? Details please, I don't know much about modding on phone.

in the play store dl Cleo Mod Master

- it has instructions from there

Link to post
Share on other sites
mikekethens

many years later and this is still alive? wow modding community is strong

  • YEE 1
Link to post
Share on other sites
On 1/17/2021 at 12:07 PM, Manithjaat said:

Hi sir please chick this cleo 

{$CLEO .csa}

//-------------MAIN---------------
wait 5000 
wait 5000 
wait 5000 
0DD0: [email protected] = get_label_addr @Noname_604 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_633 
0DD0: [email protected] = get_label_addr @Noname_648 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
  [email protected] == 0 
jf @Noname_99 
end_thread 

:Noname_99
0DD0: [email protected] = get_label_addr @Noname_876 
gosub @Noname_186 
gosub @Noname_395 
if and
  [email protected] == 0 
  [email protected] == 0 
jf @Noname_311 
0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 
01E5: show_text_1number_highpriority GXT 'LOW_38' number [email protected] time 5000 flag 1  // ~s~You need $~1~ to compete.
wait 5000 
end_thread 

:Noname_186
0DD0: [email protected] = get_label_addr @Noname_650 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_885 
0DD3: context_set_reg 2 value 512 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
   not [email protected] == 0 
jf @Noname_311 
0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 0 
if and
   not [email protected] == 35 
   not [email protected] == 10 
   not [email protected] == 91 
jf @Noname_186 
return 

:Noname_311
0DD0: [email protected] = get_label_addr @Noname_677 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
  [email protected] == 0 
jf @Noname_311 
end_thread 

:Noname_395
0DD0: [email protected] = get_label_addr @Noname_812 
0DD0: [email protected] = get_label_addr @Noname_860 

:Noname_415
0DD0: [email protected] = get_label_addr @Noname_791 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_798 
0DD0: [email protected] = get_label_addr @Noname_821 
0DD0: [email protected] = get_label_addr @Noname_853 
0DD3: context_set_reg 3 value [email protected] 
0DD3: context_set_reg 2 value [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD3: context_set_reg 2 value [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD0: [email protected] = get_label_addr @Noname_865 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
0DD0: [email protected] = get_label_addr @Noname_855 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
return 


:Noname_604 
hex
"_ZN8CFileMgr8OpenFileEPKcS1_" 00
end

:Noname_633
hex
"TEST\Config.ini" 00
end

:Noname_648
hex
"r" 00
end
:Noname_876  
hex
"ACTIVATE" 00
end
:Noname_650 
hex
"_ZN8CFileMgr8ReadLineEiPci" 00
end
:Noname_885 
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00
end
:Noname_677 
hex
"_ZN8CFileMgr9CloseFileEi" 00
end
:Noname_812 
hex
"%*s%*s%f" 00
end
:Noname_860 
hex
00 00 00 00 00
end
:Noname_791 
hex
"sscanf" 00
end
:Noname_798 
hex
"%s%s" 00
end
:Noname_821 
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
end
:Noname_853 
hex
00 00
end
:Noname_865  
hex
00 00 00 
end
:Noname_855 
hex
3D 00
end

I don't know what you are going to do. The method of configuring the ini file has been very clear in the reply above, and Dr. Prakamya Khare has clearly told you how to use it. You don’t have to keep asking me, and don’t reply to me on any other irrelevant topics. For this problem, you should learn CLEO yourself, instead of letting me explain to you scripts written by others. Repeatedly asking, I will be very annoying, because it is annoying. So I tell you clearly, I won't give you any code help.

 

You should know how to respect others, instead of bothering me by sending me messages frequently. From now on, I will not reply to you.

Edited by XMDS
  • Like 1
  • YEE 1
Link to post
Share on other sites
On 12/31/2020 at 11:31 AM, Dr. Prakamya Khare said:

Okay , I changed the cleo definition to explain others  , but how it's affected the system since I have passed all parameters of the function and I think that changing English descriptor will not have any significant affect on the game, however I haven't make any script for GTA SA android for more than six months.

Adding new opcodes to the cleo assembly will requires a lot of calculations , trials and errors. Beside

all this, have you tested it? and is it working or not ? 

Bro you can help me mybe (Read) ini file Function ? 

Link to post
Share on other sites
ExplosionFx

i've wanted to know if there is a way to  auto activate a specific cheat from the "cheat.csi" script, without having to manually enable a cheat from the cleo menu every time you load the game. like for example the invincibility, NoWanted and NoFood cheats. Since its easy to forget to enable most the onces that you prefer to stay active during a playthrough.

Link to post
Share on other sites
BrainDeadRaven
10 hours ago, ExplosionFx said:

i've wanted to know if there is a way to  auto activate a specific cheat from the "cheat.csi" script, without having to manually enable a cheat from the cleo menu every time you load the game. like for example the invincibility, NoWanted and NoFood cheats. Since its easy to forget to enable most the onces that you prefer to stay active during a playthrough.

on the top, change {$CLEO .cs} to {$CLEO .csa}

then compile it in Sannybuilder. It will run after loading.

Link to post
Share on other sites
ExplosionFx
5 hours ago, BrainDeadRaven said:

on the top, change {$CLEO .cs} to {$CLEO .csa}

then compile it in Sannybuilder. It will run after loading.

But the cheats.csi script file is actually a cheat menu that can be opened from the cleo menu in the game. But I cannot find a way to auto enable some cheats from it or find .csa scripts of those cheats online.

Link to post
Share on other sites
BrainDeadRaven
On 2/8/2021 at 6:17 PM, ExplosionFx said:

But the cheats.csi script file is actually a cheat menu that can be opened from the cleo menu in the game. But I cannot find a way to auto enable some cheats from it or find .csa scripts of those cheats online.

Okay, so first its a fairly big script with ALOT of good code pieces in it,

Find the part that activates cheats though I haven't found yet. I'm inclined to think its in there somewhere, but it would probably be faster to code from scratch, set your player immunities, disable wanted level and got nothing on the food one lol.

 

Link to post
Share on other sites
ExplosionFx
2 hours ago, BrainDeadRaven said:

Okay, so first its a fairly big script with ALOT of good code pieces in it,

Find the part that activates cheats though I haven't found yet. I'm inclined to think its in there somewhere, but it would probably be faster to code from scratch, set your player immunities, disable wanted level and got nothing on the food one lol.

 

As of lately, i've only been able to find a cheat script for invincibility online which is compatible for mobile thankfully and since i couldn't find a no wanted level cheat anywhere, i've made a csa file for it yesterday from Sanny builder which it wasn't difficult. But what im stuck on right now is implementing a cheat for "never get hungry / no food" which is a cheat code on PC/console version but i can't figure out how to make it into a script and have it recognized as a cheat on mobile.

Link to post
Share on other sites
Dr.  Prakamya Khare
On 1/17/2021 at 9:37 AM, Manithjaat said:
Hi sir please chick this cleo 

{$CLEO .csa}

//-------------MAIN---------------
wait 5000 
wait 5000 
wait 5000 
0DD0: [email protected] = get_label_addr @Noname_604 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_633 
0DD0: [email protected] = get_label_addr @Noname_648 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
  [email protected] == 0 
jf @Noname_99 
end_thread 

:Noname_99
0DD0: [email protected] = get_label_addr @Noname_876 
gosub @Noname_186 
gosub @Noname_395 
if and
  [email protected] == 0 
  [email protected] == 0 
jf @Noname_311 
0DD8: [email protected] = read_mem_addr [email protected] size 4 add_ib 0 
01E5: show_text_1number_highpriority GXT 'LOW_38' number [email protected] time 5000 flag 1  // ~s~You need $~1~ to compete.
wait 5000 
end_thread 

:Noname_186
0DD0: [email protected] = get_label_addr @Noname_650 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_885 
0DD3: context_set_reg 2 value 512 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
   not [email protected] == 0 
jf @Noname_311 
0DD8: [email protected] = read_mem_addr [email protected] size 1 add_ib 0 
if and
   not [email protected] == 35 
   not [email protected] == 10 
   not [email protected] == 91 
jf @Noname_186 
return 

:Noname_311
0DD0: [email protected] = get_label_addr @Noname_677 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
if 
  [email protected] == 0 
jf @Noname_311 
end_thread 

:Noname_395
0DD0: [email protected] = get_label_addr @Noname_812 
0DD0: [email protected] = get_label_addr @Noname_860 

:Noname_415
0DD0: [email protected] = get_label_addr @Noname_791 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD0: [email protected] = get_label_addr @Noname_798 
0DD0: [email protected] = get_label_addr @Noname_821 
0DD0: [email protected] = get_label_addr @Noname_853 
0DD3: context_set_reg 3 value [email protected] 
0DD3: context_set_reg 2 value [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD3: context_set_reg 2 value [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD0: [email protected] = get_label_addr @Noname_865 
0DD1: [email protected] = get_func_addr_by_cstr_name [email protected] 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
0DD0: [email protected] = get_label_addr @Noname_855 
0DD3: context_set_reg 1 value [email protected] 
0DD3: context_set_reg 0 value [email protected] 
0DD2: context_call_func [email protected] 
0DD4: [email protected] = context_get_reg 0 
return 


:Noname_604 
hex
"_ZN8CFileMgr8OpenFileEPKcS1_" 00
end

:Noname_633
hex
"TEST\Config.ini" 00
end

:Noname_648
hex
"r" 00
end
:Noname_876  
hex
"ACTIVATE" 00
end
:Noname_650 
hex
"_ZN8CFileMgr8ReadLineEiPci" 00
end
:Noname_885 
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00
end
:Noname_677 
hex
"_ZN8CFileMgr9CloseFileEi" 00
end
:Noname_812 
hex
"%*s%*s%f" 00
end
:Noname_860 
hex
00 00 00 00 00
end
:Noname_791 
hex
"sscanf" 00
end
:Noname_798 
hex
"%s%s" 00
end
:Noname_821 
hex
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
end
:Noname_853 
hex
00 00
end
:Noname_865  
hex
00 00 00 
end
:Noname_855 
hex
3D 00
end

You have to understand the concepts of C programming such as what are pointers , variables,array , then you will able to understand this.

It's will be better for you to understand and study the topics mentioned above.

On 2/4/2021 at 2:04 PM, RRMM said:

Bro you can help me mybe (Read) ini file Function ? 

Yep ! , What's your problem ?

Link to post
Share on other sites
  • 2 weeks later...
Mr.Grand Theft Auto

Has anybody found a fix for radio songs restore in 2.00 yet? (lack of hellraiser or running down a dream is pissing me off too much). Cleo is cool and all, but this topic began with this, so I hope for some response. I've tried everything I can lol Modifying or copying original audio files and audio configs does nothing. I think some lines are hardcoded inside the recent versions and they're responsible for this, but I got no skill to check it. 

Edited by Mr.Grand Theft Auto
Link to post
Share on other sites
  • 2 weeks later...

Does anyone know if you can add paintjob ability to all cars???

For instance, I download a car mod by Automan replacing Club. Note that the mod is for pc. But club can't be customised with paintjobs in transfender in Android version of GTA SA. So is there a way I can add paintjob ability to a car??

Please help!!!

Edited by CTG
Link to post
Share on other sites
BrainDeadRaven

 

Something like this?

didn't test it, just kind of worked it out in Sanny

 

[email protected] = Actor.CurrentCar($PLAYER_ACTOR)

06ED: set_car [email protected] paintjob 0

0229: set_car [email protected] primary_color_to 11 secondary_color_to 0

 

58 minutes ago, CTG said:

Does anyone know if you can add paintjob ability to all cars???

For instance, I download a car mod by Automan replacing Club. Note that the mod is for pc. But club can't be customised with paintjobs in transfender in Android version of GTA SA. So is there a way I can add paintjob ability to a car??

Please help!!!

 

Edited by BrainDeadRaven
add quote
Link to post
Share on other sites

Maybe someone has dealt with this question: what memory address or function can be responsible for drawing the moon in the sky in the mobile version?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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.