Quantcast

Jump to content

» «
Photo

MEM Addresses

24 replies to this topic
Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#1

Posted 12 March 2012 - 02:59 PM Edited by Ashwin the new boy, 02 April 2012 - 07:10 AM.

hi friend,
i am working on my pending TC,GTA VCU
so i am searching & collection Some Useful Address for it,
and i want to share them here too,
so that you can help in finding & correction them,
these all are in Hex so don't forget to add 0x before them in script, lol
------------------------------------------------------------------------------
Radar

SIZE
68FD20 [4 BYTE] <----------- Radar size (y)
68FD30 [4 BYTE] <----------- Radar size (-y)
68FD24 [4 BYTE] <----------- Radar Size (x)
0x68FD28 [4 BYTE] <----------- Radar Size (XY) this one is Better for editing size

POSITION
68FD2C [Float] <----------- X Position
68FD34 [Float] <----------- Y Position

SHAPE
68FD38 [Float]
68FD3C [Float] <--- writing 0 to them make it Square !

CONFUSED
68FD40 <--- may be Zoom ?
68FD44 [Float] <--- it's related with map

did you get for Zoom ?
-----------------------------------------------------------------------------
Directory

97509C [String (58)] <----------- Proper address for Save game Slot, from "c:\" to "GTAVCSF"
A0CE9C [String (61)] <------------ Proper Address for Last loaded Save game File

6D5E5C [string (15)] <------- First movie
6D5E84 [string (20)] <-------- Second Movie
------------------------------------------------------------------------------
MENU

Menu Title Text
49E33B [Byte] <------- Main Color (red)
49E336 [Byte] <------- Main Color (Green)
49E331 [Byte] <------- Main Color (Blue)
49E324 [BYTE] <------ Transparency (A)
49E31D [BYTE] <------ Transparency while Choosing another menu (A)

49E370 [4 BYTE] <--------- x Pos
49E352 [BYTE] <--------- x Pos
49E39C [4 BYTE] <--------- y Pos

Menu Options Text
49E8EA [Byte] <------- Main Color (red)
49E8E5 [Byte] <------- Main Color (Green)
49E8E0 [Byte] <------- Main Color (Blue)
49E8D3 [Byte] <------- transparency (A)

49E8B1 [Byte] <------- Shadow Color (red)
49E8AF [Byte] <------- Shadow Color (Green)
49E8AD [Byte] <------- Shadow Color (Blue)
49E8A0 [Byte] <------ Shadow transparency

Quit Option's Text
49E4FD [Byte] <------- Main Color (red)
49E4F8 [Byte] <------- Main Color (Green)
49E4F3 [Byte] <------- Main Color (Blue)

Loading Bar
4A6C33 [Byte] <------- Moving Bar Color (red)
4A6C2E [Byte] <------- Moving Bar Color (Green)
4A6C29 [Byte] <------- Moving Bar Color (Blue)
4A6C24 [Byte] <------- transparency (A)

4A6B80 [Byte] <------- Bar Color (red)
4A6B7E [Byte] <------- Bar Color (Green)
4A6B7C [Byte] <------- Bar Color (Blue)
4A6B77 [Byte] <------ transparency (A)

Extra
49E32C [byte] <------ Visibility Menu Title, visible 1
49E32b [byte] <------ Menu Title color, 25, 26, 27,

Confusion
49E309, 49E307, 49E305 <----- related with shadow pos

49EF88 [4 BYTE] <-------- Some thing related with green selector Size,
49E758 [4 BYTE] <-------- Menu text font change with 0, mostly crash the game

-----------------------------------------------------------------------------
Textures

68BF58 [string (10)] <------ Menu backgroung
68BF68 [string (7) <-------- menu logo
68BF7C [string (5)] <------ Mouse

change the texture name & next time you will see yours only,
------------------------------------------------------------------------------
HUDS

Time
559EFC [Byte] <------- Text Font
559F91 [Byte] <------- Text Color (red)
559F8C [Byte] <------- Text Color (Green)
559F87 [Byte] <------- Text Color (Blue)
559F82 [Byte] <------- transparency (A)

559F2D [Byte] <------- Shadow Color (red)
559F2B [Byte] <------- Shadow Color (Green)
559F29 [Byte] <------- Shadow Color (Blue)
559F24 [Byte] <------- Shadow transparency (A)

Money
55821D [Byte] <------- Text Font
5582AF [Byte] <------- Text Color (red)
5582AA [Byte] <------- Text Color (Green)
5582A5 [Byte] <------- Text Color (Blue)

5582AF [Byte] <------- Shadow Color (red)
5582AA [Byte] <------- Shadow Color (Green)
5582A5 [Byte] <------- Shadow Color (Blue)

Armor
558E26 [Byte] <------- Text Color (red)
558E21 [Byte] <------- Text Color (Green)
558E1C [Byte] <------- Text Color (Blue)
558E17 [Byte] <------- transparency (A)

558EFE [Byte] <------- Icon Color (red)
558ED6 [Byte] <------- Icon Color (Green)
558ED1 [Byte] <------- Icon Color (Blue)
558EC6 [Byte] <------- transparency (A)

Health
5589E8 [Byte] <------- Text Font
558BA9 [Byte] <------- Text Color (red)
558BA4 [Byte] <------- Text Color (Green)
558B9F [Byte] <------- Text Color (Blue)
558B9A [Byte] <------- transparency (A)

558A08 [Byte] <------- Shadow Color (red)
558A06 [Byte] <------- Shadow Color (Green)
558A04 [Byte] <------- Shadow Color (Blue)
5589FF [Byte] <------- Shadow transparency (A)

558C8E [Byte] <------- Icon Color (red)
558C66 [Byte] <------- Icon Color (Green)
558C61 [Byte] <------- Icon Color (Blue)
558C56 [Byte] <------- Transparency (A)

Ammo
55879B [Byte] <------- Text Font
5588C2 [Byte] <------- Text Color (red)
5588BD [Byte] <------- Text Color (Green)
5588B8 [Byte] <------- Text Color (Blue)

558876 [Byte] <------- Shadow Color (red)
558874 [Byte] <------- Shadow Color (Green)
558872 [Byte] <------- Shadow Color (Blue)

Wanted Stars
5590CA [Byte] <------- Active Color (red)
5590C5 [Byte] <------- Active Color (Green)
5590C0 [Byte] <------- Active Color (Blue)

559170 [Byte] <------- Inactive Color (red)
55916E [Byte] <------- Inactive Color (Green)
559169 [Byte] <------- Inactive Color (Blue)

Extra
5591B7 [Byte] <------- Number of Stars
5582A0 [Byte] <------- Money text visibility, enable = 3
55825A [Byte] <------- Money Shadow visibility, enable = 3
5588B3 [Byte] <------- Ammo text visibility, enable = 3
55886D [Byte] <------- Ammo Shadow visibility, enable = 3

Resolution
A0FD04 [4 BYTE] <------- resolution Width
A0FD08 [4 BYTE] <------- resolution height
A0FD00 [4 BYTE] <------- Color bit.16,32, etc

Trying for to find for the color of their Shadow & position Now.

------------------------------------------------------------------------------
setting
869694 [4 Byte] <------ Mouse X Position
869698 [4 Byte] <---- Mouse Y Position
86978B [string] <----- name of skin applied from skin folder
869680 [Byte] <---- GXT Using
86963A [Byte] <----- Hud Display
86963C [byte] <---- Radar display mode
86965A [Byte] <------ Music Volume
86968A [Byte] <----- MP3 boost
869659 [Byte] <----- SFX Volume

Others
71DE1094 [Byte] <------ number of cleo script Attached
5591B4 [byte] <------- pause the game, write value 66 or 67
7048A0 [Float] <----- Player X pos
7048A4 [float] <----- Player Y pos
7048A8 [float] <----- Player Z pos
------------------------------------------------------------------------------
Help Me
i need some help with searching some More
Vehicle Lights
Tank Cannon barrel Offset
------------------------------------------------------------------------------
i will post more soon!
please check them & post if anyone of them wrong,
  • Jack, MasterHK and CharlesVercetti like this

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#2

Posted 12 March 2012 - 03:03 PM

reserve!

Frank.s
  • Frank.s

    R.I.P.ingPang

  • Feroci
  • Joined: 15 Apr 2008
  • None

#3

Posted 12 March 2012 - 03:04 PM

Thanks Ashwin, i was looking for the radar x and y position addresses for my own VC TC and couldn't find them documented anywhere (and i don't know how to find addresses of a certain part of the game my self).
About to test the radar x and y now. icon14.gif

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#4

Posted 12 March 2012 - 03:06 PM

Thanks & good luck for your TC!

Frank.s
  • Frank.s

    R.I.P.ingPang

  • Feroci
  • Joined: 15 Apr 2008
  • None

#5

Posted 12 March 2012 - 03:22 PM Edited by Frank.s, 12 March 2012 - 03:35 PM.

Appreciated, and good luck on your TC too. smile.gif

The health, armor, money, time, weapon icon, weapon ammo, location and color have been found by spaceeinstein and are shown in the source for his MiniConsole cleo script. icon14.gif

The main menu RGB color addresses found by you are useful to me too, it would be nice to get the RGB color addresses for every pause menu text.
Also, the radar moves by using those addresses, however could you find the addresses for the radar ring texture X position and Y position? Those aren't in the gtamodding.com vc mem addy listing or in miniconsole.


Edit: Source is in the download list. orly.gif

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#6

Posted 12 March 2012 - 03:27 PM Edited by Ashwin the new boy, 12 March 2012 - 05:07 PM.

Thanks !
i would like to find them my self lol.gif
-------
i'll try to find the ring too,
but you can remove it from hud & can create another one for you radar happy.gif

Frank.s
  • Frank.s

    R.I.P.ingPang

  • Feroci
  • Joined: 15 Apr 2008
  • None

#7

Posted 12 March 2012 - 04:07 PM Edited by Frank.s, 12 March 2012 - 04:30 PM.

lol
Also, editing the radar x or y addresses causes the "you are here" arrow to change size. tounge.gif

Would it be possible for someone to find out the addresses of the text that still remains pink? like control layout descriptions, disabled selections, title and other text, and the green bar: picture

Silent
  • Silent

    Chief Fixing Officer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#8

Posted 12 March 2012 - 04:30 PM

QUOTE (Frank.s @ Monday, Mar 12 2012, 17:07)
Also, editing the radar x or y addresses causes the "you are here" arrow to change size. tounge.gif

That's because you're changing the .rdata values, which are mostly used for many things. It's better to change pointers instead.

Frank.s
  • Frank.s

    R.I.P.ingPang

  • Feroci
  • Joined: 15 Apr 2008
  • None

#9

Posted 12 March 2012 - 04:40 PM

I wish i understood what you're explaining Silent, because when it comes to scripting i only know to scm script in the old-style (non high-level) syntax. Any asm or programming or high-level languages are beyond my knowledge, hell i don't even know what they are, let-alone know how to use them. tounge.gif Would it be possible for someone to find out the addresses of the text that still remains pink? like control layout descriptions, disabled selections, title and other text, and the green bar: picture

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#10

Posted 12 March 2012 - 05:15 PM

i don't find anything impossible yet!
it is another thing that i may don't know how to do it. lol
anyway,
i am feeling sleepy!
so, i'll try to find them tomorrow!
see ya!

Frank.s
  • Frank.s

    R.I.P.ingPang

  • Feroci
  • Joined: 15 Apr 2008
  • None

#11

Posted 12 March 2012 - 05:21 PM

Ha, alright, thanks. See ya.

Silent
  • Silent

    Chief Fixing Officer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#12

Posted 12 March 2012 - 06:55 PM

I haven't test it in game (I even don't have VC here yet), but following addresses contain some menu-related pink color:

0x49E4FD, 0x49E4F8, 0x49E4F3
0x49E33B, 0x49E336, 0x49E331

All are 4 bytes long, and they go by R, G, B.

There are some texts which apparently has different colours, these two have the same colour like main menu color posted in 1st post.

spaceeinstein
  • spaceeinstein

    Chocolate

  • GTA Mods Staff
  • Joined: 17 Jul 2003
  • Hong-Kong
  • Major Contribution Award [Mods]
    Helpfulness Awards [Mods]

#13

Posted 12 March 2012 - 07:47 PM

The first controls the color for "Are you sure..." text, and second controls the pink menu title color. There are many areas controlling the colors of the pause menu. Something as mundane as the black, thick, slanted border is treated as four separate sections each with their own color.

@Frank.s, something like this is what SilentPL meant.
CODE
set_radar_position $pos_x $pos_y
set_arrow_position $pos_x $pos_y
...
$pos_x = 100.0
$pos_y = 200.0

All you did was change the 100.0 value to something else, affecting two places at the same time.

MW_29
  • MW_29

    i came to play

  • Members
  • Joined: 19 Jan 2008
  • None

#14

Posted 12 March 2012 - 09:58 PM

QUOTE (Frank.s @ Monday, Mar 12 2012, 16:40)
I wish i understood what you're explaining Silent, because when it comes to scripting i only know to scm script in the old-style (non high-level) syntax. Any asm or programming or high-level languages are beyond my knowledge, hell i don't even know what they are, let-alone know how to use them. tounge.gif Would it be possible for someone to find out the addresses of the text that still remains pink? like control layout descriptions, disabled selections, title and other text, and the green bar: picture

Indeed, change color of this green rect would be useful tounge.gif

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#15

Posted 13 March 2012 - 02:33 AM

thanks SilentPL,
i have added them in First Post,
so that they all can easily be Found,
i have found some Shadow & Position related too,
i hope we don't need menu editor anymore ha,
i am trying to find the colour of selector (green),

Swoorup
  • Swoorup

    Foot Soldier

  • Feroci
  • Joined: 28 Oct 2008
  • Nepal

#16

Posted 13 March 2012 - 09:04 AM

At some instance the same memory addresses are used for some of the HUD components. If you edit one of the address then another element will also be affected.
What you can you is redirect the memory an element access to its own allocated address

Silent
  • Silent

    Chief Fixing Officer

  • GTA Mods Staff
  • Joined: 01 Feb 2010
  • Poland
  • Contribution Award [Mods]
    Best Script/Plugin 2014 [SilentPatch]
    Most Respected 2014
    Most Helpful [Mods] 2014
    Most Helpful [GTA] 2013
    Most Helpful [Mods] 2013
    Most Talented [Modding] 2013
    Best Map 2013 [ViceCityStories PC Edition]
    Best Vehicle 2013 [III Aircraft]
    Most Helpful [Mods] 2012
    Modder of the Year 2012

#17

Posted 13 March 2012 - 11:29 AM

Menu mostly doesn't count for that.

MW_29
  • MW_29

    i came to play

  • Members
  • Joined: 19 Jan 2008
  • None

#18

Posted 14 March 2012 - 01:03 PM Edited by MW_29, 14 March 2012 - 01:24 PM.

So... is there a yet known address for changing money amount text font to the other one from fonts.txd, as just like in one of spaceeinstein's mini console features?? It could be useful too tounge.gif

Ed: ...I just looked inside source code of his console mod, and found address like:
CODE
0x5582AF
is it correct as for money text font?

Frank.s
  • Frank.s

    R.I.P.ingPang

  • Feroci
  • Joined: 15 Apr 2008
  • None

#19

Posted 14 March 2012 - 01:15 PM Edited by Frank.s, 14 March 2012 - 01:19 PM.

Thanks for the .rdata analogy spaceeinstein. smile.gif


@MW

*searches miniconsole's source code*

55821D is the money font icon14.gif

Haven't tested it, but it should be correct (if space labels his code right).

MW_29
  • MW_29

    i came to play

  • Members
  • Joined: 19 Jan 2008
  • None

#20

Posted 14 March 2012 - 01:26 PM Edited by MW_29, 14 March 2012 - 02:40 PM.

QUOTE (Frank.s @ Wednesday, Mar 14 2012, 13:15)
Thanks for the .rdata analogy spaceeinstein. smile.gif


@MW

*searches miniconsole's source code*

55821D is the money font icon14.gif

Haven't tested it, but it should be correct (if space labels his code right).

Haha, thanks Frank.s , i have just looked throught the source aswell, but You were faster, ...probably my previus find is wrong, so at the first i'll test this address that You found smile.gif

..and, nice effect reached ;]
user posted image

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#21

Posted 14 March 2012 - 02:47 PM

Thank you Guys,
i am getting some amazing & some freaky Addresses,
some of them are so much freaky that i am confused what to put the name,
before i put them here, please hep me with current confusions,
QUOTE

49EF88 [4 BYTE] <-------- Some thing related with green selector Size,
49E758 [4 BYTE] <-------- Menu text font change with 0, mostly crash the game
68FD40 <--- may be Zoom ?
68FD44 [Float] <--- it's related with map

i want to expend this Topic as much as Possible,
i'll keep on searching until i get everything that appear in game,

DK22Pac
  • DK22Pac

  • Feroci
  • Joined: 12 Apr 2009
  • Ukraine
  • Best WIP Mod 2014 [Grand Theft Auto 3D Contribution]
    Contribution Award [Mods]

#22

Posted 14 March 2012 - 03:47 PM

@starter
Didnt you see this before?
www.gtaforums.com/index.php?showtopic=117195

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#23

Posted 14 March 2012 - 04:19 PM

Yes,
but it's on me where i want to post!
--------------
i can post a reply there like you have post here
-------------
@starter
Didnt you see this before?
gtamodding.com/index.php?title=Memory_Addresses_(VC)

Ashwin.Star
  • Ashwin.Star

    i'll be back...

  • Members
  • Joined: 14 Nov 2010
  • India

#24

Posted 02 April 2012 - 07:34 AM

Sorry for Bump!
I found Loading Bar Colors,
& Position of Menu Options,
i think we don't need to Heck Exe for Menu editing,

@Frank.s
i found something related the Radar Ring,
but for Size,
trying to get its Position too

------------------
I found this Topic on 3rd Page & i thought that it will Remain Active

Deji
  • Deji

    Coding like a Rockstar!

  • Feroci
  • Joined: 24 Dec 2007
  • None
  • Contribution Award [Mods]

#25

Posted 02 April 2012 - 08:35 PM

There are millions of possible addresses for most EXE's. It's pretty senseless to start documenting every one 'willy-nilly'. Function addresses and class declarations are most important, as using them it's pretty easy to figure out those small things about them.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users