GPRaceGames

forums.gpracegames.com

Kroah's hex editing & cheat notes

The places for tools editors and downloads for GPM2

Moderators: Sean, RacerBG

Kroah's hex editing & cheat notes

Postby Nuppiz » Tue Nov 21, 2017 6:39 pm

Here's the notes made by Kroah after he reverse engineered the game in 2008, a process which, eventually, led to the the development of the Track Editor and the EDY Viewer.

It mostly revolves around toggling various things on and off through hex editing, and also explains how the Cheat Mode and Option 13 Menu work.

Kroah wrote:The following instructions is only working with version 1.02b of Grand Prix Manager 2.

To edit gpm2.exe, you need an hexadecimal editor (like Ultraedit) and search for the given hexadecimal numbers, then replace them by the needed values.

Some statistics:
- 115 windows
- 76 subwindows
Code: Select all
A. Remove 256 colors check
    ==========================

    Search: FF 15 F0 08 72 00 89 45 F8 83 7D F8 00 0F 84 45 00 00 00 6A 26 8B 45 F8
    Change: -- -- -- -- -- -- -- -- -- -- -- -- -- EB 49 90 90 90 90 -- -- -- -- --

    B. Remove CD check
    ==================

    Search: E8 67 17 13 00 83 C4 08 83 7D FC 00 0F 85 F5 01 00 00 0F BE 05 08 50 71
    Change: -- -- -- -- -- -- -- -- -- -- -- -- E9 F6 01 00 00 90 -- -- -- -- -- --

    C. Play 1 fli
    =============

    bugged: can't enter '\' or '.'.

    - "Quick Start" -> "Rookie"
    - Enter "flitest" instead of "Benetton"
    - Enter (for example) "flis\aapal.fli" instead of "Flavio Briatore"
    - Click on "Select Team"
     
    D. Play all flis
    ================
       
    - Edit gpm2.exe:
             ( f  :  \  g  p  m  2  \  f  l  i  s  \  %  s  %  c  p  a  l  .  f  l  i)
      Search: 66 3A 5C 67 70 6D 32 5C 66 6C 69 73 5C 25 73 25 63 70 61 6C 2E 66 6C 69
      Change: XX -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

    XX: ASCII letter of your cdrom drive (Example: 56='V')

    - "Quick Start" -> "Rookie"
    - "flitest" instead of "Benetton"
    - Click on "Change Logo"

    E. Cheat mode
    =============
       
    - Enter "iamacheat" on the main ingame main screen
    - Click on "Cheat Mode: Off"

    a) "Main Screen" -> "Test" -> "Ok":
      The results are available without having run a single test.
     
    b) "Main Screen" -> "Test" -> "Ok" -> "Start Test":
      When clicking on "Driver", there's a fading (3 different one, useless).

    c) "Main Screen" -> "Sponsors" -> "Sponsor Deal":
      Type a letter ('a' to 'z') to test the sponsors.

    d) "Main Screen" -> "News":
      - Type 'a': all news A.
      - Type 'd': all news B.
      - Type 't': all news C.
      - Type 'c': Restore the initial news.
      - Exit and come back to see the effect. Restore the initial news before testing another letter.

    F. Option 13 - System Security
    ==============================

    - "Main Screen" -> "News"
    - Click on the left of the bottom left day of the date.
    - Enter one of the following strings in "ENTER PASSWORD":

    a) "win":
      All effects are disabled.
       
    b) "debug":
      Show information on teams, designers, engineers, commercial, mechanic, drivers (3 pages).
      ("Next" button is above "Next" string)
       
    c) "import":
      Show EDY files.
      Enter the name of the file without the extension in "Filename", then click on "Import"
       
    d) "drivers":
      Show drivers parameters (bugged).
       
    e) "tracks":
      Show tracks parameters (bugged).
       
    f) "spin":
      Search: A1 F4 D4 6D 00 89 45 DC E9 70 02 00 00 C7 45 E8 C7 45 EC C7 45 CC
      Change: -- -- -- -- -- -- -- -- 90 90 90 90 90 -- -- -- -- -- -- -- -- --
      Make spin the screen (useless).
       
    g) "wash":
      Erase some working files (bugged).
       
    h) "it":
      Test client/server sync (bugged).
       
    G. Track editor
    ===============

    /!\ BACKUP ALL YOUR GPM2 DATA /!\

    a) Link the track editor A to the icon "PitOrder":
      Search: 8B 45 F8 50 68 A0 87 71 00 6A 19 E8 5A DB FC FF
      Change: -- -- -- -- -- -- -- -- -- -- 0E -- -- -- -- --

    b) Link the track editor B to the icon "SpecialDriverOrders":
      Search: 8B 45 F8 50 68 A4 87 71 00 6A 1C E8 39 DB FC FF
      Change: -- -- -- -- -- -- -- -- -- -- 7B -- -- -- -- --

    H. Cheat mode B
    ===============

    There are 2 ways to enable those cheats:
    1) Edit gpm2.exe
    2) Edit the runtime memory of gpm2, for example with Immunity Debugger:
       - Launch the game.
       - Set 01 to the memory address located at 0x71505C.

    a) See other teams driver aids:
       Search: A0 5C 50 71 00 85 C0 0F 85 10 00 00 00 0F BF 05 02 5D 64 00
       Change: -- -- -- -- -- -- EB 23 90 90 90 90 -- -- -- -- -- -- -- --

      - "Main Screen" -> "Design" -> "Driver Aids"
      - Click on "Look" and choose another team.

    b) Enable the customise option after the first race of the first year.
       Search: A0 5C 50 71 00 85 C0 0F 85 21 00 00 00 0F BF 05 24 EB 69 00
       Change: -- -- -- -- -- -- -- EB 25 90 90 90 90 -- -- -- -- -- -- --

      - "Main Screen" -> "Options" -> "Customise"

    c) Set race parameters (bugged):
      Search: A0 5C 50 71 00 85 C0 0F 84 29 00 00 00 C7 05 88 E1 53 00
      Change: -- -- -- -- -- -- -- 90 90 90 90 90 90 -- -- -- -- -- --

      - "Main Screen" -> "Race" -> "Ok" -> "Ok"
Author of more than a dozen GPM2 Mods. Nowadays mostly consulting and helping others with their projects.
User avatar
Nuppiz
 
Posts: 191
Joined: Wed Oct 03, 2012 7:06 am
Location: Vantaa, Finland

Return to Tools & Downloads

Who is online

Users browsing this forum: No registered users and 1 guest

cron