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

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

JernejL

Documenting GTA-SA memory addresses

Recommended Posts

random_download

Some merging problem. Removed to lessen confusion.

Edited by random_download

Share this post


Link to post
Share on other sites
[FP]Gunner

did anyone found out how to freeze the game already? notify.gif

Share this post


Link to post
Share on other sites
_UniX_

Can you load a different scm file with memory adresses?

I mean if you can load for example main2.scm instead of main.scm.. so you can open a program and load which modded scm you want without renaming..

 

And i got one more question tounge.gif

 

Does it exist a memory adress to call a thread in the .scm file?

 

Thx turn.gif

Share this post


Link to post
Share on other sites
random_download

Not a memory address, but if you load a dll into the game (eg. .asi file) then you can call a function that will execute main.scm code. I suppose you could also find the function that loads the main.scm file, then change the string from 'main.scm' to 'main2.scm'

Share this post


Link to post
Share on other sites
_UniX_

ok thx biggrin.gif

 

Edit: but how do you load a dll into the game? confused.gif

Edited by _UniX_

Share this post


Link to post
Share on other sites
jacob.
You can change the filename of the "main mission script" (defualt 'main.scm') by locating it's ASCII location in memory. This is really easy by loading GTA_SA.EXE up in a debugger/hex editor and enumerating a list of referenced strings.

Share this post


Link to post
Share on other sites
[FP]Gunner
Gunner' date='Aug 11 2005, 10:33'] did anyone found out how to freeze the game already? notify.gif

x2

i cant freeze the game totaly with gamespeed barf8bd.gif

Share this post


Link to post
Share on other sites
J-Fox.GEMM

For freezin menu like i use 0xB7CB49 ! (SA Boolean)

 

GEM uses that for no pause smile.gif

Share this post


Link to post
Share on other sites
[FP]Gunner

hope it works.. *edit*

Edited by [FP]Gunner

Share this post


Link to post
Share on other sites
[FP]Gunner

cant get it to work dude suicidal.gif

Share this post


Link to post
Share on other sites
J-Fox.GEMM

It should: my exe is a old one (1.00) and the all version by hoodlum just write 0 = not frozen or 1 = frozen to it somewhere there is the menu gfx (on/off) offset colgate.gif and remeberr its hex and byte not boolean in vb use:

 

 

dim Freeze as byte'freeze = 0 ' Not frozen'freeze = 1 ' frozenfreeze = 1 ' frozenwriteprocessmemory lngPhandle, <Offset>, Freeze,1,0

 

 

catspider.gif

Share this post


Link to post
Share on other sites
Agret

Just tested that, works biggrin.gif

Share this post


Link to post
Share on other sites
Marklund
It should: my exe is a old one (1.00) and the all version by hoodlum just write 0 = not frozen or 1 = frozen to it somewhere there is the menu gfx (on/off) offset colgate.gif and remeberr its hex and byte not boolean in vb use:

 

 

dim Freeze as byte'freeze = 0 ' Not frozen'freeze = 1 ' frozenfreeze = 1 ' frozenwriteprocessmemory lngPhandle, <Offset>, Freeze,1,0

 

 

catspider.gif

Can I ask what you mean by offset? tounge.gif

Share this post


Link to post
Share on other sites
random_download

The offset is the memory address, ie. what this thread is documenting.

Share this post


Link to post
Share on other sites
Agret

 

Can I ask what you mean by offset?  tounge.gif

Can I ask what you are doing in a memory addresses thread?

Share this post


Link to post
Share on other sites
Marklund

Oh lol, my bad. I didn't know what it meant first. I kinda suck at english. tounge.gif

*Back to thinking about what to program*

Share this post


Link to post
Share on other sites
J-Fox.GEMM

wow.gif Any Ideas... wow.gif

 

Any ideas on the driveby offset?

Any ideas on the Car weapon offset?

Any ideas on the Velocity for read out?

Any ideas on the scm text_draw text base offset?

 

confused.gif J-Fox confused.gif

Share this post


Link to post
Share on other sites
jacob.
wow.gif Any Ideas... wow.gif

 

Any ideas on the driveby offset?

Any ideas on the Car weapon offset?

Any ideas on the Velocity for read out?

Any ideas on the scm text_draw text base offset?

 

confused.gif J-Fox confused.gif

There's more to it then offsets for most of those. Not everything can be done by simply modifying an offset, you'll have to call a couple SA functions.

 

 

Share this post


Link to post
Share on other sites
htsb8

im new for adresses,i think something over,but i donot know what it is. sad.gif

 

1.

CPed + 0x718 = Current weapon slot

CPed + 0x5DC = [dword] Pistol state

What is that 'CPed'?Current Ped?The Ped is 'CJ'?

 

2.

(car ptr = player ptr when on foot)

ptr?what is it?

 

3.

current vehicle pointer = 0xB6F3B8

CPed + 0x14 = pointer to XYZ position structure

what is the pointer? C++?

 

im interseting in it,i wanna make trainers or tools,so im longing to know what it is!

 

thank u in advance. smile.gif

 

Edited by htsb8

Share this post


Link to post
Share on other sites
jacob.

What is that 'CPed'?Current Ped?The Ped is 'CJ'?

CPeds are just actors/pedestrians, there are a few different types of them but their structures are almost identical. We just call them CPeds because that's how their class is named according to the debugstrings that were accidentally compiled in the PS2 version of gta3.

 

 

what is the pointer? C++?

That's a weird question.. but yeah, the pointer is the unsigned long read in memory at 0xB6F3B8, which you'd add 0x14 and read that result to reach the beginning of the d3d struct.

Share this post


Link to post
Share on other sites
Viscera

Can any one help me out please, i need to know what can be taken out of the Main.scm that wont hurt the game in any way or change any thing default with it, so i can increase the memory so i can add in more mods, i am new to this aspect and i have a hard time understanding what to do. Please any help would be appreciated. THanks

Share this post


Link to post
Share on other sites
nioshooter

clear wanted level:

 

Peek &HB7CD9C, CWanted, 4 'wanted pointer

 

Poke CWanted, 0, 1 'clear number of cops that shoot you

Poke CWanted + 1, 0, 1 'clear next wanted level?? (i am not sure what this address do but need to be zero to clear wanted level)

Poke CWanted + &H2C, 0, 4 'clear current wanted level

'Poke &HBAA420, 5, 4 'read-only (you can write but nothing happents) Wanted level buffer

 

if deosn't work for you just locate the wanted table see the first to rows before you get wanted and poke again the cells that change suicidal.gifturn.gif

 

peek , poke is my vb functions

 

my poke function:

'Write Memory -------------

Public Function Poke(PokeAddress As Variant, PokeValue As Variant, ValueSize As Long) As Integer

If PokeAddress = "" Or Process = 0 Then Exit Function

 

Select Case VarType(PokeValue)

Case vbInteger, vbLong

Poke = WriteProcessMemory(Process, CLng(PokeAddress), ConvertNumberToString(CDbl(PokeValue)), ValueSize, 0&)

Case vbSingle, vbDouble

Dim StrValue As String

Set IEEE = New ClsIeee754

StrValue = IEEE.Ieee32vtos(PokeValue, False)

Poke = WriteProcessMemory(Process, CLng(PokeAddress), CStr(StrValue), Len(StrValue), 0&)

Set IEEE = Nothing

Case vbString

Poke = WriteProcessMemory(Process, CLng(PokeAddress), CStr(PokeValue), Len(PokeValue), 0&)

End Select

End Function

 

please if anyone know better way ... [email protected]

 

know anyone the address of total respect ?

 

other address: B794B0 weapon skill float max 1000.0

 

EDIT1:

disable splash screens :

PokeHex &H748AF8, "C705C0D4C80005000000EBDF", 1

 

total respect:

&HB79480

Edited by nioshooter

Share this post


Link to post
Share on other sites
ParoXum

Hi guys, the work your doing is excellent, I have been searching for adresses too, but I don't have much experience in hexadecimal... Did anyone already searched for the streaming values of the engine ? Cause I have a problem to fix in SA with this value and I dont find anything by myself. The problem is that the objects disapear because the streaming memory value isn't high enough (45Mb i supose?)

 

The problem has been simulated on vice today, and fixed, by increasing the value. (with vice limits adjuster)

 

That's for the problem. Now I just wanted to know if some of you could help me search or indicate me where to find this value. I'm using the EU crack by hoodlum and HIEW. If you know an easier program to modify wink.gif

 

Tanks a lot so far. smile.gif

Share this post


Link to post
Share on other sites
Yegorchic

Hi everybody...

 

I want to public some addresses:

 

Bomb used: 00B7901C

Bullet shooted: 00B79018

 

Sorry for my bad English...

Share this post


Link to post
Share on other sites
Cowpat

 

Tanks a lot so far. smile.gif

R* troll

Share this post


Link to post
Share on other sites
^eRrOR^

hi ppl, I need help making a trainer for gta:sa I am trying to find 1)the mem addresses for the schools 2)set the mem addressses so you get gold.

 

sounds easy, not so easy, I use TSearch 1.2b to find the mem addresses and MTC to make the trainers, these tools have served me well (since they work together) but GTA:SA chrashes out when I'm debugging the game to follow the mem mov process.

 

some person say's I would not be able to do the above due to the MAIN.SCM would be messed up if altered but i want to use it to get all gold with a NON-ALTERED main.scm.

 

any/all help will be recieved most graciously

Share this post


Link to post
Share on other sites
MeanpantheR

I was just wondering if there was a memory address for the current animation that the actor is doing

any help would be brilliant, thanks smile.gif

 

 

 

 

Share this post


Link to post
Share on other sites
mattyboy_96
I was just wondering if there was a memory address for the current animation that the actor is doing

any help would be brilliant, thanks smile.gif

Thats been Posted, way back on like page 5 or 6 i think

Share this post


Link to post
Share on other sites
Futago-za Ryuu

is this topic about the 'gta_sa.exe' ?

if so, can u tell me how to open it.

Share this post


Link to post
Share on other sites
Cowpat

 

is this topic about the 'gta_sa.exe' ?

if so, can u tell me how to open it.

You can read the exe file, but you can't touch wow.gif

 

To simply look at the exe use a Hex editor. Other tools used include "ida", the best easily available disassembler, TSearch and ArtMoney, and memory editors that allow you to read and write to live process memory.

 

If you're a complete beginner I would get yourself a memory editor, grab a few addresses off these pages, edit a bit of memory, alt-tab back into the game and be wowed by the results.

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.
Note: Your post will require moderator approval before it will be visible.

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.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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