Reverse engineering GP2 EXE with GHIDRA tool

Here you can post questions about GP2, your favourite GP2 things and errorreports/problems!
Post Reply
User avatar
samsepi0l
GP2 Racer
Posts: 402
Joined: 01.03.2019, 01:39
Location: Chicago USA

Reverse engineering GP2 EXE with GHIDRA tool

Post by samsepi0l »

I have been slowly teaching myself a little more about reverse engineering and dissasembly / assembly code. I loaded up the gp2.exe file and I would like to understand how the game works better. I have watched many videos and GHIDRA is a very powerful reverse engineering tool. Have any of you played with this before?
User avatar
Michael82
GP2 Racer
Posts: 373
Joined: 16.10.2008, 15:20
Location: France
Contact:

Re: Reverse engineering GP2 EXE with GHIDRA tool

Post by Michael82 »

It soons very interesting. Rremedio knows a lot about the code of gp2 but I don't know if he used this program. I remind he sent me a file about the code of gp2. I will search in my files and I will put it here.
User avatar
samsepi0l
GP2 Racer
Posts: 402
Joined: 01.03.2019, 01:39
Location: Chicago USA

Re: Reverse engineering GP2 EXE with GHIDRA tool

Post by samsepi0l »

Michael82 wrote:
08.11.2024, 00:00
It soons very interesting. Rremedio knows a lot about the code of gp2 but I don't know if he used this program. I remind he sent me a file about the code of gp2. I will search in my files and I will put it here.
thank you

First I would like to figure out how we can reduce the effect of the draft between 2 cars.
User avatar
Michael82
GP2 Racer
Posts: 373
Joined: 16.10.2008, 15:20
Location: France
Contact:

Re: Reverse engineering GP2 EXE with GHIDRA tool

Post by Michael82 »

Here is the GP2 database :
https://www.mediafire.com/file/l3gzezqt ... E.zip/file

It is possible to open that with IDA :
https://www.mediafire.com/file/txy29yq3 ... d.zip/file

I hope you will find what you search. Let me know!
TedMeat
GP2 Newbie
Posts: 13
Joined: 15.12.2019, 09:21

Re: Reverse engineering GP2 EXE with GHIDRA tool

Post by TedMeat »

Uups, wrong topic, sorry!!
User avatar
rremedio
GP2 Legend
Posts: 1589
Joined: 14.01.2007, 15:05

Re: Reverse engineering GP2 EXE with GHIDRA tool

Post by rremedio »

samsepi0l wrote:
08.11.2024, 05:03
Michael82 wrote:
08.11.2024, 00:00
It soons very interesting. Rremedio knows a lot about the code of gp2 but I don't know if he used this program. I remind he sent me a file about the code of gp2. I will search in my files and I will put it here.
thank you

First I would like to figure out how we can reduce the effect of the draft between 2 cars.
Sorry for the late reply.

I learned a few things about GP2 from that IDA database commented by Rene Smith. IDA is also a disassembly program and it was heavily used by Rene for the creation of GP2Lap, GPxPatch and all his other tools.

You really need a strong foundation in assembly and I don't have it.

GP3, GP32K and GP4 have similar structures to GP2, maybe studying the changes made by the 'belini patches' that reduce the draft in those games, you will be able to find how to replicate it in GP2.
"The Fox provides for himself. but God provides for the Lion"
Image
Early 90s F1 forever!
Post Reply