GTA mouse support, car spawn and more

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
h0x91b
Mugger
Mugger
Posts: 16
Joined: Wed May 22, 2019 11:08 pm
GH nick: h0x91b

GTA mouse support, car spawn and more

Post by h0x91b » Fri Jun 14, 2019 9:01 am

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:


Ped rotation using a mouse:


The source code is available here: https://github.com/h0x91b/gta2-mouse
Discord channel: https://discord.gg/agRntzQ

An especially take a look at this file: https://github.com/h0x91b/gta2-mouse/bl ... ixed.exe.h
Here you will find a loooooooooot of enums and structures that I reversed at the current moment.

My Ghidra tutorials (Russian): https://www.youtube.com/watch?v=WVr93g_ ... Ax-F2qGMAM

Will be glad to hear feedback, suggestions and even requests for features. Doing it alone is boring...
Make GTA Great Again: https://discord.gg/H7tBftD

User avatar
Sektor
Boss
Boss
Posts: 1366
Joined: Tue Mar 04, 2008 6:51 am
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA mouse support, car spawn and more

Post by Sektor » Sat Aug 17, 2019 3:07 pm

I finally tested it. I compiled it successfully. It works, very cool, thank you.

There is no need to patch gta2.exe to load gta2dll.dll, you can just rename gta2dll.dll to *.asi and gta2.exe will automatically load it (that's how MISI works).

Post Reply