thpsX
- => General THPS(X) => Topic started by: %.gone. on August 16, 2020, 03:00:19 am
-
Optional
Adds additional controller support to the game launcher for DI8DEVTYPE_DRIVING, DI8DEVTYPE_FLIGHT, and DI8DEVTYPE_1STPERSON devices.
- Launcher Proxy - https://mega.nz/file/WsEQzJJL#-8Vyh_bBZC9_phAHcZ0dOKcDQBMrY0G8KIO56OLKIkA (https://mega.nz/file/WsEQzJJL#-8Vyh_bBZC9_phAHcZ0dOKcDQBMrY0G8KIO56OLKIkA)
Add dinput8.dll to the directory where Launcher.exe is located. Tested working with THUG1, THUG2, and THAW.
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
(https://www.mediafire.com/convkey/6806/ew5jodz2t0qq0456g.jpg)
Launcher French, Offset: 0x00001E06
(https://www.mediafire.com/convkey/db17/pwgot4x47p01qyi6g.jpg)
Launcher German, Offset: 0x00001E06
(https://www.mediafire.com/convkey/c551/42wz8lwo98ny9zw6g.jpg)
Game PineCone NOCD, Offset: 0x001C394B
(https://www.mediafire.com/convkey/261c/ju7g6e5uzo24vfz6g.jpg)
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
(https://www.mediafire.com/convkey/f134/yb7hsv7o3cna3gg6g.jpg)
Launcher French, Offset: 0x00001E06
(https://www.mediafire.com/convkey/cb2b/lvsd8bfua2buox96g.jpg)
Launcher German, Offset: 0x00001E06
(https://www.mediafire.com/convkey/c284/m1yo3gqdhyi7jym6g.jpg)
Game Reloaded NOCD that comes with my installation, Offset: 0x001F31F0
(https://www.mediafire.com/convkey/270e/76t5ap3gv1ybdyd6g.jpg)
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
(https://www.mediafire.com/convkey/6e05/q9dmu5uetgkyqbk6g.jpg)
Game Polish NOCD, Offset: 0x002B3830
(https://www.mediafire.com/convkey/7be2/v1yrzfadcagfbv46g.jpg)
Game Reloaded English NOCD, Offset: 0x00268B40
(https://www.mediafire.com/convkey/70b1/57v82ha9nrasrxo6g.jpg)