Search found 16 matches

by h0x91b
17 Aug 2019, 16:47
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Change the file extension from TXT to CT
by h0x91b
17 Aug 2019, 16:46
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

I can not attach it, "The extension ct is not allowed."
by h0x91b
14 Jun 2019, 09:01
Forum: Modding forum
Topic: GTA mouse support, car spawn and more
Replies: 1
Views: 12027

GTA mouse support, car spawn and more

Hi guys,

Finally, I more or less put everything in order and decided to post the source code under MIT license.

Current features:

Spawn any car:
http://www.youtube.com/watch?v=rtJSVSuTD78

Ped rotation using a mouse:
http://www.youtube.com/watch?v=pVyTuCBp5vc

The source code is available here ...
by h0x91b
05 Jun 2019, 15:26
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

This was hard, finally found how to spawn a car...

http://www.youtube.com/watch?v=4dOYTcM6aUY

Function signature

//void SpawnCar(int x, int y, int z, short rot, CAR_MODEL model)
typedef Car* (SpawnCar)(int x, int y, int z, short rot, CAR_MODEL model);
SpawnCar* fnSpawnCar = (SpawnCar*)0x00426e10 ...
by h0x91b
04 Jun 2019, 10:56
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Sorry for no updates, was busy at work.

No luck yet with the strafing, cannot handle collisions.
But I want to show an example of how to call functions of GTA from DLL even if the function is not decoded completely, I still can use it.

http://www.youtube.com/watch?v=ld4IhpusKr0

"Decoded" code ...
by h0x91b
31 May 2019, 20:25
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Many thanks, BeepBoop, I downloaded your table from another thread on this forum before a week or so. This helps me a loooooooooooooooot!

Because of CheatEngine's great feature "Find out what read\writes to this address". So I jump directly to needed function into the assembly which saves so many ...
by h0x91b
31 May 2019, 18:06
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

A first try to make strafe is failed.



Not enough to change coordinates, need to trigger redraw and check for collisions. So the proper way:

1) rotate bed to the needed direction of strafe
2) step forward
3) rotate ped back.
by h0x91b
31 May 2019, 14:58
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses



Sorry, but this is super fun :)))
by h0x91b
31 May 2019, 13:11
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Here we go. Mouse support :)



In the next post will add details regarding memory locations
by h0x91b
29 May 2019, 17:02
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Send me a script please or give me an address of crash (EIP) and details, I'll be able to debug it...

BTW checked the mail, Ghidra-server guys have opened me a repo, so if someone wants to reverse it together, just PM me.
by h0x91b
29 May 2019, 16:31
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

My skills in disassembly are zero.. Just coded in assembler several basic projects many years ago and I have knowledge of C\C++, tried to use IDA Pro without success in the past. But using the Ghidra for a month and now I am feeling like a pro :)

Try it, awesome product, really... Hope they will ...
by h0x91b
29 May 2019, 16:09
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Thanks, did you tried ghidra already?
by h0x91b
29 May 2019, 15:36
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Made DLL and injector for it. My point is not just to read and write memory, I want to be able to modify and extend GTA original functions.

A short video demonstrates injection of DLL into the process, the creation of basic windows with simple controls, then how to move all pedestrian to the player ...
by h0x91b
25 May 2019, 23:54
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

If you want to apply cheats in the middle of the game, here is addresses:


GOREFAST - 005ead51
BUCKFAST - 005ead93
VOLTFEST - 005ead70
MADEMAN - 005ead8a
LASVEGAS - 005ead9f
NEKKID - 005eada0
EATSOUP - 005ead84
DAVEMOON - 005ead6e
CUTIE1 - 005ead8f
ARESTAR - 005ead9e
GODOFGTA - 005ead74 ...
by h0x91b
25 May 2019, 20:19
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Here is a rainbow hash generator on JavaScript for generating alternative cheat codes.

For example, you can type "GOURANGA" or you can type "UFEVIVE", "UUNOBAT", "MNEQXYF", "OWDRCNG", "EXMSNTI" or "TXEPRBO" with the same effect...

BTW "OTIRWUD" will apply the secret un-document cheat from the ...
by h0x91b
25 May 2019, 10:17
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 378884

Re: GTA2 memory addresses

Hi guys, this is a very old thread, but since we have "Ghidra" tool, now, the reverse engineering process goes to the new level.

I will keep posted here my progress if you are interested.

Let's begin from something fun, from cheats.

The GTA is using a kind of `hash` function to check if cheat ...