[THUG1 THUG2 THAW] Controller Issues

%.gone. · 1 · 13923

Offline %.gone.

  • Full Member
  • ***
    • Posts: 132
    • View Profile
Optional
    Adds additional controller support to the game launcher for DI8DEVTYPE_DRIVING, DI8DEVTYPE_FLIGHT, and DI8DEVTYPE_1STPERSON devices.


Manual Method

These games by default only support Gamepad and Joystick controller types, in both the launcher and in game.
There are some devices like the DS4 v1 and some mayflash adapters that report the device as a FirstPerson type.
This thread is going to explain how to get the launcher and game to recognize your controller without third party
emulation or in the event there isn't third party software for your device/adapter.

Common device type            hex value
DI8DEVTYPE_JOYSTICK                 0x14
DI8DEVTYPE_GAMEPAD                 0x15
DI8DEVTYPE_DRIVING                    0x16
DI8DEVTYPE_FLIGHT                      0x17
DI8DEVTYPE_1STPERSON             0x18

With a hex editor navigate to the offset and modify the byte with one of the bytes above.
If you're modifying in place and the launcher or game exe is located in a protected directory you'll need to run your hex editor as admin.

THUG1
     Change 0x14 to 0x18 or to one of the other types.
     Launcher English, Offset: 0x00001B24
         
     Launcher French, Offset: 0x00001E06
         
     Launcher German, Offset: 0x00001E06
         
     
     Game PineCone NOCD, Offset: 0x001C394B
         
     ClownJob'd
          Version 1.2 supports all the device types above.
          You'll need to patch the launcher in order to bind your controller.
          ClownJob'd THUGONE.exe is the pinecone NOCD.

THUG2
     Change 0x14 to 0x18 or to one of the other types.
     Launcher English, Offset: 0x00001B24
         
     Launcher French, Offset: 0x00001E06
         
     Launcher German, Offset: 0x00001E06
         
     
     Game Reloaded NOCD that comes with my installation,  Offset: 0x001F31F0
         
     THUG Pro
          THUG Pro will get support for all device types above. In the meantime.
          You'll need to patch the THUG2 launcher, bind your controller, save and exit.
          With regedit navigate to HKEY_CURRENT_USER\Software\Activision\Tony Hawk's Underground 2\Settings
          In the left pane right click settings directory and select export, export somewhere like the desktop.
          Open that reg file with a text editor and change the key name from
          HKEY_CURRENT_USER\Software\Activision\Tony Hawk's Underground 2\Settings to
          HKEY_CURRENT_USER\Software\THUG Pro\Settings
          Remove every key that doesn't start with gp0_ or pad0. Save and run the reg file.
          Patch the THUG Pro exe at the same offset as the Reloaded NOCD

THAW
     Change 0x14 to 0x18 or to one of the other types.
     Launcher English, Offset: 0x00001B25
         

     Game Polish NOCD, Offset: 0x002B3830
         
     Game Reloaded English NOCD, Offset: 0x00268B40
         
« Last Edit: May 23, 2024, 08:36:41 pm by %.gone. »