@ikt Unfortunately, this build does not detect if the steering wheel is present or not even if it's enabled or disabled through menu. Display info: Steering wheel is not present.
Anyway, I tried to change every setting and game crashed, then detected the steering wheel. The Logs file is too large to post. So, I've uploaded it right here: https://ufile.io/rncig
I have ran the script and it got worse. When I try to disable manual transmission game crashes, and when I try to disable the steering wheel game crashes. So, here are the logs:
[00:35:08.225] GTAVManualTransmission v4.4.1-beta3
[00:35:08.225] Game version VER_1_0_1180_2_STEAM
[00:35:08.225] Script registered
[00:35:47.847] Script started
[00:35:47.872] Rocket Boost Active Offset: 0x318
[00:35:47.908] Rocket Boost Charge Offset: 0x320
[00:35:47.935] Fuel Level Offset: 0x7D4
[00:35:47.968] Next Gear Offset: 0x810
[00:35:47.968] Current Gear Offset: 0x812
[00:35:47.968] Top Gear Offset: 0x816
[00:35:47.968] Gear Ratios Offset: 0x818
[00:35:47.968] Drive Force Offset: 0x838
[00:35:47.968] Initial Drive Max Flat Velocity Offset: 0x83C
[00:35:47.968] Drive Max Flat Velocity Offset: 0x840
[00:35:47.997] RPM Offset: 0x844
[00:35:47.997] Clutch Offset: 0x850
[00:35:47.997] Throttle Offset: 0x854
[00:35:48.026] Turbo Offset: 0x868
[00:35:48.035] Handling Offset: 0x8A8
[00:35:48.062] Steering Input Offset: 0x91C
[00:35:48.062] Steering Angle Offset: 0x924
[00:35:48.062] ThrottleP Offset: 0x92C
[00:35:48.062] BrakeP Offset: 0x930
[00:35:48.092] Handbrake Offset: 0x934
[00:35:48.125] Dirt Level Offset: 0x968
[00:35:48.156] Engine Temperature Offset: 0x9DC
[00:35:48.188] Dashboard Speed Offset: 0xA10
[00:35:48.220] Model Type Offset: 0xB38
[00:35:48.246] Wheels Pointer Offset: 0xB40
[00:35:48.247] Wheel Count Offset: 0xB48
[00:35:48.247] Setting up globals
[00:35:48.267] DECOR: Registered "mt_gear" as int
[00:35:48.267] DECOR: Registered "mt_shift_indicator" as int
[00:35:48.267] DECOR: Registered "mt_neutral" as int
[00:35:48.267] DECOR: Registered "mt_set_shiftmode" as int
[00:35:48.267] DECOR: Registered "mt_get_shiftmode" as int
[00:35:48.287] Settings read
[00:35:48.287] WHEEL: Initializing input devices
[00:35:48.287] WHEEL: Setting up DirectInput interface
[00:35:48.305] WHEEL: Found 1 device(s)
[00:35:48.306] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[00:35:48.306] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[00:35:48.306] WHEEL: Devices initialized
[00:35:48.306] WHEEL: Init FFB device
[00:35:48.306] WHEEL: FFB device not found
[00:35:48.306] WHEEL: Not set up in .ini:
[00:35:48.306] {3FE66570-2DD4-11E7-8003-444553540000}
[00:35:48.306] WHEEL: Steering wheel initialization finished
[00:35:48.306] START: Initialization finished
[00:35:48.306] START: Starting with MT:
[00:36:30.974] GEARBOX: Patching
[00:36:31.000] GEARBOX: Patched clutchLow @ 0x00007FF6D0104F31
[00:36:31.025] GEARBOX: Patched clutchRevLimit @ 0x00007FF6D010500C
[00:36:31.050] GEARBOX: Patched gear7A0 @ 0x00007FF6D0104F3D
[00:36:31.050] GEARBOX: Patch success
[00:36:55.337] WHEEL: Initializing input devices
[00:36:55.338] WHEEL: Setting up DirectInput interface
[00:36:55.350] Translator function
[00:36:55.450] Crash: Your program has crashed.
Before, GTA5.exe Crashed when I disabled the steering wheel which was sat on by default. Then, I started the game and steering wheel was disabled, so I enabled it which caused the script only to crash.
-------------------------------------------------------------------------------------------
This time, I did a clean script installation (removed rest of scripts). Latest mod release 4.4.1 Beta 2, drag and drop to Main GTA File.
I started the game, and steering wheel was enabled by default. Then, I disabled it GTA5.exe DID NOT crash this time but the script was shutdown. Here are the logs:
[03:41:20.559] GTAVManualTransmission v4.4.1
[03:41:20.559] Game version VER_1_0_1180_2_STEAM
[03:41:20.559] Script registered
[03:42:00.316] Script started
[03:42:00.342] Rocket Boost Active Offset: 0x318
[03:42:00.378] Rocket Boost Charge Offset: 0x320
[03:42:00.406] Fuel Level Offset: 0x7D4
[03:42:00.441] Next Gear Offset: 0x810
[03:42:00.441] Current Gear Offset: 0x812
[03:42:00.441] Top Gear Offset: 0x816
[03:42:00.441] Gear Ratios Offset: 0x818
[03:42:00.441] Drive Force Offset: 0x838
[03:42:00.441] Initial Drive Max Flat Velocity Offset: 0x83C
[03:42:00.441] Drive Max Flat Velocity Offset: 0x840
[03:42:00.471] RPM Offset: 0x844
[03:42:00.471] Clutch Offset: 0x850
[03:42:00.471] Throttle Offset: 0x854
[03:42:00.501] Turbo Offset: 0x868
[03:42:00.511] Handling Offset: 0x8A8
[03:42:00.537] Steering Input Offset: 0x91C
[03:42:00.537] Steering Angle Offset: 0x924
[03:42:00.537] ThrottleP Offset: 0x92C
[03:42:00.537] BrakeP Offset: 0x930
[03:42:00.565] Handbrake Offset: 0x934
[03:42:00.598] Dirt Level Offset: 0x968
[03:42:00.629] Engine Temperature Offset: 0x9DC
[03:42:00.662] Dashboard Speed Offset: 0xA10
[03:42:00.694] Model Type Offset: 0xB38
[03:42:00.721] Wheels Pointer Offset: 0xB40
[03:42:00.721] Wheel Count Offset: 0xB48
[03:42:00.721] Setting up globals
[03:42:00.740] DECOR: Registered "mt_gear" as int
[03:42:00.740] DECOR: Registered "mt_shift_indicator" as int
[03:42:00.740] DECOR: Registered "mt_neutral" as int
[03:42:00.740] DECOR: Registered "mt_set_shiftmode" as int
[03:42:00.740] DECOR: Registered "mt_get_shiftmode" as int
[03:42:00.760] Settings read
[03:42:00.760] WHEEL: Initializing input devices
[03:42:00.779] WHEEL: Found 1 device(s)
[03:42:00.779] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[03:42:00.780] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[03:42:00.780] WHEEL: Devices initialized
[03:42:00.780] WHEEL: Init FFB device
[03:42:00.780] WHEEL: FFB device not found
[03:42:00.780] WHEEL: Available for use in .ini:
[03:42:00.780] {3FE66570-2DD4-11E7-8003-444553540000}
[03:42:00.780] WHEEL: Steering wheel initialization finished
[03:42:00.780] START: Initialization finished
[03:42:00.780] START: Starting with MT: ON
[03:42:30.739] GEARBOX: Patching
[03:42:30.771] GEARBOX: Patched clutchLow @ 0x00007FF78A724F31
[03:42:30.802] GEARBOX: Patched clutchRevLimit @ 0x00007FF78A72500C
[03:42:30.833] GEARBOX: Patched gear7A0 @ 0x00007FF78A724F3D
[03:42:30.833] GEARBOX: Patch success
[03:43:14.370] WHEEL: Initializing input devices
[03:43:14.669] Crash: Your program has crashed.
I will run the test again. Do you think other scripts such as CustomSteering.asi might cause some problems? This script enables steering wheel as default. When I have my steering wheel ready and disable it from the scripts menu, my game crashes with Application Has Stopped Working..
@ikt Yes, I'm sure that Gears.pdb and Gears.asi are both in the GTA V root folder where GTA5.exe is located. I've done testing twice, one with game crash without logs and other with in-game script crash with logs.
@ikt So, you still can't fix this?
@ikt I tried to change steering wheel axes and game detected steering wheel and immediately crashed. LOL
I think this code is useless, anyway here it is:
[02:21:31.990] GTAVManualTransmission &s (build v4.4.1-beta5)
[02:21:31.990] Game version VER_1_0_1180_2_STEAM
[02:21:31.991] Script registered
[02:22:12.230] Script started
[02:22:12.255] Rocket Boost Active Offset: 0x318
[02:22:12.290] Rocket Boost Charge Offset: 0x320
[02:22:12.317] Fuel Level Offset: 0x7D4
[02:22:12.350] Next Gear Offset: 0x810
[02:22:12.350] Current Gear Offset: 0x812
[02:22:12.351] Top Gear Offset: 0x816
[02:22:12.351] Gear Ratios Offset: 0x818
[02:22:12.351] Drive Force Offset: 0x838
[02:22:12.351] Initial Drive Max Flat Velocity Offset: 0x83C
[02:22:12.351] Drive Max Flat Velocity Offset: 0x840
[02:22:12.378] RPM Offset: 0x844
[02:22:12.378] Clutch Offset: 0x850
[02:22:12.378] Throttle Offset: 0x854
[02:22:12.408] Turbo Offset: 0x868
[02:22:12.418] Handling Offset: 0x8A8
[02:22:12.443] Steering Input Offset: 0x91C
[02:22:12.443] Steering Angle Offset: 0x924
[02:22:12.443] ThrottleP Offset: 0x92C
[02:22:12.443] BrakeP Offset: 0x930
[02:22:12.471] Handbrake Offset: 0x934
[02:22:12.504] Dirt Level Offset: 0x968
[02:22:12.534] Engine Temperature Offset: 0x9DC
[02:22:12.564] Dashboard Speed Offset: 0xA10
[02:22:12.596] Model Type Offset: 0xB38
[02:22:12.623] Wheels Pointer Offset: 0xB40
[02:22:12.623] Wheel Count Offset: 0xB48
[02:22:12.623] Setting up globals
[02:22:12.641] DECOR: Registered "mt_gear" as int
[02:22:12.641] DECOR: Registered "mt_shift_indicator" as int
[02:22:12.642] DECOR: Registered "mt_neutral" as int
[02:22:12.642] DECOR: Registered "mt_set_shiftmode" as int
[02:22:12.642] DECOR: Registered "mt_get_shiftmode" as int
[02:22:12.642] DIJOY: entry 0x0
[02:22:12.642] DIJOY: clear()
[02:22:12.642] DIJOY: clear()'d
[02:22:12.642] DIJOY: new entry
[02:22:12.642] DIJOY: new'd entry
[02:22:12.642] DIJOY: entry 0x980CE040
[02:22:12.642] DIJOY: EnumDevices
[02:22:12.653] DIJOY: DIEnumDevicesCallback
[02:22:12.653] DIJOY: nEntry: 0 (max 16)
[02:22:12.653] DIJOY: memcpy to dest: 0x94FAE1B0
[02:22:12.653] DIJOY: memcpy'd to dest: 0x94FAE1B0
[02:22:12.654] DIJOY: sizeof(e.diDevCaps): 0x2C
[02:22:12.654] di->CreateDevice
[02:22:12.654] did->SetDataFormat
[02:22:12.654] DIJOY: entry[nEntry++] = e
[02:22:12.654] DIJOY: entry[nEntry++] = e'd
[02:22:12.654] DIJOY: nEntry: 1 (max 16)
[02:22:12.654] DIJOY: DIEnumDevicesCallback'd
[02:22:12.661] DIJOY: EnumDevices'd
[02:22:12.663] Settings read
[02:22:12.663] WHEEL: Initializing input devices
[02:22:12.663] WHEEL: Setting up DirectInput interface
[02:22:12.663] DEBUG: GetModuleHandle
[02:22:12.663] DEBUG: GetModuleHandle: 0x61B40000
[02:22:12.664] DEBUG: (void**)(&lpDi)
[02:22:12.664] DEBUG: (void**)(&lpDi): 0xFFA4D6E8
[02:22:12.664] DEBUG: dinput8createresult
[02:22:12.664] DEBUG: dinput8createresult: 0
[02:22:12.664] DEBUG: hascreatefailed
[02:22:12.664] DEBUG: hascreatefailed: pass
[02:22:12.664] DEBUG: Enumerating devices
[02:22:12.664] DIJOY: entry 0x980CE040
[02:22:12.664] DIJOY: clear()
[02:22:12.664] DIJOY: delete[] entries
[02:22:12.665] DIJOY: delete[]'d entries
[02:22:12.665] DIJOY: clear()'d
[02:22:12.665] DIJOY: new entry
[02:22:12.665] DIJOY: new'd entry
[02:22:12.665] DIJOY: entry 0x980CE040
[02:22:12.665] DIJOY: EnumDevices
[02:22:12.676] DIJOY: DIEnumDevicesCallback
[02:22:12.676] DIJOY: nEntry: 0 (max 16)
[02:22:12.676] DIJOY: memcpy to dest: 0x94FAC5E0
[02:22:12.676] DIJOY: memcpy'd to dest: 0x94FAC5E0
[02:22:12.676] DIJOY: sizeof(e.diDevCaps): 0x2C
[02:22:12.676] di->CreateDevice
[02:22:12.677] did->SetDataFormat
[02:22:12.677] DIJOY: entry[nEntry++] = e
[02:22:12.677] DIJOY: entry[nEntry++] = e'd
[02:22:12.677] DIJOY: nEntry: 1 (max 16)
[02:22:12.677] DIJOY: DIEnumDevicesCallback'd
[02:22:12.684] DIJOY: EnumDevices'd
[02:22:12.684] DEBUG: Enumerated devices
[02:22:12.684] WHEEL: Found 1 device(s)
[02:22:12.684] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[02:22:12.684] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:12.684] WHEEL: Devices initialized
[02:22:12.684] WHEEL: Init FFB device
[02:22:12.684] WHEEL: FFB device not found
[02:22:12.684] WHEEL: Not set up in .ini:
[02:22:12.684] {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:12.685] WHEEL: Steering wheel initialization finished
[02:22:12.685] START: Initialization finished
[02:22:12.685] START: Starting with MT:
[02:22:51.331] WHEEL: Initializing input devices
[02:22:51.332] WHEEL: Setting up DirectInput interface
[02:22:51.332] DEBUG: GetModuleHandle
[02:22:51.332] DEBUG: GetModuleHandle: 0x61B40000
[02:22:51.332] DEBUG: (void**)(&lpDi)
[02:22:51.332] DEBUG: (void**)(&lpDi): 0xFFA4D6E8
[02:22:51.332] DEBUG: dinput8createresult
[02:22:51.332] DEBUG: dinput8createresult: 0
[02:22:51.332] DEBUG: hascreatefailed
[02:22:51.332] DEBUG: hascreatefailed: pass
[02:22:51.333] DEBUG: Enumerating devices
[02:22:51.333] DIJOY: entry 0x980CE040
[02:22:51.333] DIJOY: clear()
[02:22:51.333] DIJOY: delete[] entries
[02:22:51.333] DIJOY: delete[]'d entries
[02:22:51.333] DIJOY: clear()'d
[02:22:51.333] DIJOY: new entry
[02:22:51.333] DIJOY: new'd entry
[02:22:51.333] DIJOY: entry 0x980CE040
[02:22:51.333] DIJOY: EnumDevices
[02:22:51.345] DIJOY: DIEnumDevicesCallback
[02:22:51.345] DIJOY: nEntry: 0 (max 16)
[02:22:51.345] DIJOY: memcpy to dest: 0x94FAB230
[02:22:51.345] DIJOY: memcpy'd to dest: 0x94FAB230
[02:22:51.345] DIJOY: sizeof(e.diDevCaps): 0x2C
[02:22:51.345] di->CreateDevice
[02:22:51.346] did->SetDataFormat
[02:22:51.346] DIJOY: entry[nEntry++] = e
[02:22:51.346] DIJOY: entry[nEntry++] = e'd
[02:22:51.346] DIJOY: nEntry: 1 (max 16)
[02:22:51.346] DIJOY: DIEnumDevicesCallback'd
[02:22:51.352] DIJOY: EnumDevices'd
[02:22:51.352] DEBUG: Enumerated devices
[02:22:51.352] WHEEL: Found 1 device(s)
[02:22:51.352] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[02:22:51.352] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:51.353] WHEEL: Devices initialized
[02:22:51.353] WHEEL: Init FFB device
[02:22:51.353] WHEEL: FFB device not found
[02:22:51.353] WHEEL: Not set up in .ini:
[02:22:51.353] {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:51.353] WHEEL: Steering wheel initialization finished
[02:22:51.554] WHEEL: Initializing input devices
[02:22:51.555] WHEEL: Setting up DirectInput interface
[02:22:51.555] DEBUG: GetModuleHandle
[02:22:51.555] DEBUG: GetModuleHandle: 0x61B40000
[02:22:51.555] DEBUG: (void**)(&lpDi)
[02:22:51.555] DEBUG: (void**)(&lpDi): 0xFFA4D6E8
[02:22:51.555] DEBUG: dinput8createresult
[02:22:51.555] DEBUG: dinput8createresult: 0
[02:22:51.555] DEBUG: hascreatefailed
[02:22:51.555] DEBUG: hascreatefailed: pass
[02:22:51.555] DEBUG: Enumerating devices
[02:22:51.555] DIJOY: entry 0x980CE040
[02:22:51.555] DIJOY: clear()
[02:22:51.556] DIJOY: delete[] entries
[02:22:51.556] DIJOY: delete[]'d entries
[02:22:51.556] DIJOY: clear()'d
[02:22:51.556] DIJOY: new entry
[02:22:51.556] DIJOY: new'd entry
[02:22:51.556] DIJOY: entry 0x980CE040
[02:22:51.556] DIJOY: EnumDevices
[02:22:51.566] DIJOY: DIEnumDevicesCallback
[02:22:51.566] DIJOY: nEntry: 0 (max 16)
[02:22:51.566] DIJOY: memcpy to dest: 0x94FAB230
[02:22:51.566] DIJOY: memcpy'd to dest: 0x94FAB230
[02:22:51.567] DIJOY: sizeof(e.diDevCaps): 0x2C
[02:22:51.567] di->CreateDevice
[02:22:51.567] did->SetDataFormat
[02:22:51.567] DIJOY: entry[nEntry++] = e
[02:22:51.567] DIJOY: entry[nEntry++] = e'd
[02:22:51.567] DIJOY: nEntry: 1 (max 16)
[02:22:51.567] DIJOY: DIEnumDevicesCallback'd
[02:22:51.573] DIJOY: EnumDevices'd
[02:22:51.574] DEBUG: Enumerated devices
[02:22:51.574] WHEEL: Found 1 device(s)
[02:22:51.574] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[02:22:51.574] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:51.574] WHEEL: Devices initialized
[02:22:51.574] WHEEL: Init FFB device
[02:22:51.574] WHEEL: FFB device not found
[02:22:51.574] WHEEL: Not set up in .ini:
[02:22:51.574] {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:51.574] WHEEL: Steering wheel initialization finished
[02:22:59.246] WHEEL: Initializing input devices
[02:22:59.246] WHEEL: Setting up DirectInput interface
[02:22:59.246] DEBUG: GetModuleHandle
[02:22:59.246] DEBUG: GetModuleHandle: 0x61B40000
[02:22:59.246] DEBUG: (void**)(&lpDi)
[02:22:59.246] DEBUG: (void**)(&lpDi): 0xFFA4D6E8
[02:22:59.246] DEBUG: dinput8createresult
[02:22:59.246] DEBUG: dinput8createresult: 0
[02:22:59.247] DEBUG: hascreatefailed
[02:22:59.247] DEBUG: hascreatefailed: pass
[02:22:59.247] DEBUG: Enumerating devices
[02:22:59.247] DIJOY: entry 0x980CE040
[02:22:59.247] DIJOY: clear()
[02:22:59.247] DIJOY: delete[] entries
[02:22:59.247] DIJOY: delete[]'d entries
[02:22:59.247] DIJOY: clear()'d
[02:22:59.247] DIJOY: new entry
[02:22:59.247] DIJOY: new'd entry
[02:22:59.247] DIJOY: entry 0x980CE040
[02:22:59.247] DIJOY: EnumDevices
[02:22:59.257] DIJOY: DIEnumDevicesCallback
[02:22:59.258] DIJOY: nEntry: 0 (max 16)
[02:22:59.258] DIJOY: memcpy to dest: 0x94FAAE70
[02:22:59.258] DIJOY: memcpy'd to dest: 0x94FAAE70
[02:22:59.258] DIJOY: sizeof(e.diDevCaps): 0x2C
[02:22:59.258] di->CreateDevice
[02:22:59.258] did->SetDataFormat
[02:22:59.258] DIJOY: entry[nEntry++] = e
[02:22:59.259] DIJOY: entry[nEntry++] = e'd
[02:22:59.259] DIJOY: nEntry: 1 (max 16)
[02:22:59.259] DIJOY: DIEnumDevicesCallback'd
[02:22:59.265] DIJOY: EnumDevices'd
[02:22:59.265] DEBUG: Enumerated devices
[02:22:59.265] WHEEL: Found 1 device(s)
[02:22:59.265] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[02:22:59.265] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[02:22:59.265] WHEEL: Devices initialized
[02:22:59.265] WHEEL: Init FFB device
[02:22:59.265] WHEEL: Init FFB effect on axis lY
[02:22:59.272] Translator function
[02:22:59.373] Crash: Your program has crashed.
@ikt Unfortunately, this build does not detect if the steering wheel is present or not even if it's enabled or disabled through menu. Display info: Steering wheel is not present.
Anyway, I tried to change every setting and game crashed, then detected the steering wheel. The Logs file is too large to post. So, I've uploaded it right here: https://ufile.io/rncig
@ikt Beta5 logs:
[23:39:03.270] GTAVManualTransmission &s (build v4.4.1-beta5)
[23:39:03.270] Game version VER_1_0_1180_2_STEAM
[23:39:03.270] Script registered
[23:39:44.203] Script started
[23:39:44.230] Rocket Boost Active Offset: 0x318
[23:39:44.264] Rocket Boost Charge Offset: 0x320
[23:39:44.291] Fuel Level Offset: 0x7D4
[23:39:44.324] Next Gear Offset: 0x810
[23:39:44.324] Current Gear Offset: 0x812
[23:39:44.325] Top Gear Offset: 0x816
[23:39:44.325] Gear Ratios Offset: 0x818
[23:39:44.325] Drive Force Offset: 0x838
[23:39:44.325] Initial Drive Max Flat Velocity Offset: 0x83C
[23:39:44.325] Drive Max Flat Velocity Offset: 0x840
[23:39:44.353] RPM Offset: 0x844
[23:39:44.353] Clutch Offset: 0x850
[23:39:44.353] Throttle Offset: 0x854
[23:39:44.383] Turbo Offset: 0x868
[23:39:44.394] Handling Offset: 0x8A8
[23:39:44.425] Steering Input Offset: 0x91C
[23:39:44.426] Steering Angle Offset: 0x924
[23:39:44.426] ThrottleP Offset: 0x92C
[23:39:44.426] BrakeP Offset: 0x930
[23:39:44.453] Handbrake Offset: 0x934
[23:39:44.483] Dirt Level Offset: 0x968
[23:39:44.512] Engine Temperature Offset: 0x9DC
[23:39:44.540] Dashboard Speed Offset: 0xA10
[23:39:44.570] Model Type Offset: 0xB38
[23:39:44.596] Wheels Pointer Offset: 0xB40
[23:39:44.596] Wheel Count Offset: 0xB48
[23:39:44.596] Setting up globals
[23:39:44.614] DECOR: Registered "mt_gear" as int
[23:39:44.615] DECOR: Registered "mt_shift_indicator" as int
[23:39:44.615] DECOR: Registered "mt_neutral" as int
[23:39:44.615] DECOR: Registered "mt_set_shiftmode" as int
[23:39:44.615] DECOR: Registered "mt_get_shiftmode" as int
[23:39:44.615] DIJOY: entry 0x0
[23:39:44.615] DIJOY: clear()
[23:39:44.615] DIJOY: clear()'d
[23:39:44.615] DIJOY: new entry
[23:39:44.615] DIJOY: new'd entry
[23:39:44.615] DIJOY: entry 0x57465060
[23:39:44.615] DIJOY: EnumDevices
[23:39:44.626] DIJOY: DIEnumDevicesCallback
[23:39:44.626] DIJOY: nEntry: 0 (max 16)
[23:39:44.626] DIJOY: memcpy to dest: 0x7898E800
[23:39:44.626] DIJOY: memcpy'd to dest: 0x7898E800
[23:39:44.626] DIJOY: sizeof(e.diDevCaps): 0x2C
[23:39:44.626] di->CreateDevice
[23:39:44.627] did->SetDataFormat
[23:39:44.627] did->GetCapabilities
[23:39:44.627] DIJOY: entry[nEntry++] = e
[23:39:44.627] DIJOY: entry[nEntry++] = e'd
[23:39:44.627] DIJOY: nEntry: 1 (max 16)
[23:39:44.627] DIJOY: DIEnumDevicesCallback'd
[23:39:44.633] DIJOY: EnumDevices'd
[23:39:44.635] Settings read
[23:39:44.636] WHEEL: Initializing input devices
[23:39:44.636] WHEEL: Setting up DirectInput interface
[23:39:44.636] DEBUG: GetModuleHandle
[23:39:44.636] DEBUG: GetModuleHandle: 0x61B40000
[23:39:44.636] DEBUG: (void**)(&lpDi)
[23:39:44.636] DEBUG: (void**)(&lpDi): 0x1D9D6E8
[23:39:44.636] DEBUG: dinput8createresult
[23:39:44.636] DEBUG: dinput8createresult: 0
[23:39:44.636] DEBUG: hascreatefailed
[23:39:44.636] DEBUG: hascreatefailed: pass
[23:39:44.636] DEBUG: Enumerating devices
[23:39:44.636] DIJOY: entry 0x57465060
[23:39:44.636] DIJOY: clear()
[23:39:44.637] DIJOY: delete[] entries
[23:39:44.637] DIJOY: delete[]'d entries
[23:39:44.637] DIJOY: clear()'d
[23:39:44.637] DIJOY: new entry
[23:39:44.637] DIJOY: new'd entry
[23:39:44.637] DIJOY: entry 0x57465060
[23:39:44.637] DIJOY: EnumDevices
[23:39:44.648] DIJOY: DIEnumDevicesCallback
[23:39:44.648] DIJOY: nEntry: 0 (max 16)
[23:39:44.648] DIJOY: memcpy to dest: 0x7898CC30
[23:39:44.648] DIJOY: memcpy'd to dest: 0x7898CC30
[23:39:44.648] DIJOY: sizeof(e.diDevCaps): 0x2C
[23:39:44.648] di->CreateDevice
[23:39:44.649] did->SetDataFormat
[23:39:44.649] did->GetCapabilities
[23:39:44.649] DIJOY: entry[nEntry++] = e
[23:39:44.649] DIJOY: entry[nEntry++] = e'd
[23:39:44.649] DIJOY: nEntry: 1 (max 16)
[23:39:44.649] DIJOY: DIEnumDevicesCallback'd
[23:39:44.657] DIJOY: EnumDevices'd
[23:39:44.657] DEBUG: Enumerated devices
[23:39:44.657] WHEEL: Found 1 device(s)
[23:39:44.657] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[23:39:44.657] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[23:39:44.657] WHEEL: Devices initialized
[23:39:44.657] WHEEL: Init FFB device
[23:39:44.657] WHEEL: FFB device not found
[23:39:44.657] WHEEL: Not set up in .ini:
[23:39:44.657] {3FE66570-2DD4-11E7-8003-444553540000}
[23:39:44.657] WHEEL: Steering wheel initialization finished
[23:39:44.658] START: Initialization finished
[23:39:44.658] START: Starting with MT:
[23:40:43.325] GEARBOX: Patching
[23:40:43.350] GEARBOX: Patched clutchLow @ 0x00007FF662A74F31
[23:40:43.377] GEARBOX: Patched clutchRevLimit @ 0x00007FF662A7500C
[23:40:43.403] GEARBOX: Patched gear7A0 @ 0x00007FF662A74F3D
[23:40:43.403] GEARBOX: Patch success
[23:40:56.455] WHEEL: Initializing input devices
[23:40:56.455] WHEEL: Setting up DirectInput interface
[23:40:56.455] DEBUG: GetModuleHandle
[23:40:56.455] DEBUG: GetModuleHandle: 0x61B40000
[23:40:56.455] DEBUG: (void**)(&lpDi)
[23:40:56.455] DEBUG: (void**)(&lpDi): 0x1D9D6E8
[23:40:56.456] DEBUG: dinput8createresult
[23:40:56.456] DEBUG: dinput8createresult: 0
[23:40:56.456] DEBUG: hascreatefailed
[23:40:56.456] DEBUG: hascreatefailed: pass
[23:40:56.456] DEBUG: Enumerating devices
[23:40:56.456] DIJOY: entry 0x57465060
[23:40:56.456] DIJOY: clear()
[23:40:56.456] DIJOY: delete[] entries
[23:40:56.456] DIJOY: delete[]'d entries
[23:40:56.456] DIJOY: clear()'d
[23:40:56.456] DIJOY: new entry
[23:40:56.456] DIJOY: new'd entry
[23:40:56.456] DIJOY: entry 0x57465060
[23:40:56.457] DIJOY: EnumDevices
[23:40:56.467] DIJOY: DIEnumDevicesCallback
[23:40:56.467] DIJOY: nEntry: 0 (max 16)
[23:40:56.467] DIJOY: memcpy to dest: 0x7898B880
[23:40:56.467] DIJOY: memcpy'd to dest: 0x7898B880
[23:40:56.467] DIJOY: sizeof(e.diDevCaps): 0x2C
[23:40:56.467] di->CreateDevice
[23:40:56.468] did->SetDataFormat
[23:40:56.468] did->GetCapabilities
[23:40:56.468] Translator function
[23:40:56.567] Crash: Your program has crashed.
@ikt Beta4 logs:
[03:17:38.357] GTAVManualTransmission &s (build v4.4.1-beta4)
[03:17:38.357] Game version VER_1_0_1180_2_STEAM
[03:17:38.357] Script registered
[03:18:18.164] Script started
[03:18:18.192] Rocket Boost Active Offset: 0x318
[03:18:18.227] Rocket Boost Charge Offset: 0x320
[03:18:18.255] Fuel Level Offset: 0x7D4
[03:18:18.291] Next Gear Offset: 0x810
[03:18:18.291] Current Gear Offset: 0x812
[03:18:18.291] Top Gear Offset: 0x816
[03:18:18.292] Gear Ratios Offset: 0x818
[03:18:18.292] Drive Force Offset: 0x838
[03:18:18.292] Initial Drive Max Flat Velocity Offset: 0x83C
[03:18:18.292] Drive Max Flat Velocity Offset: 0x840
[03:18:18.321] RPM Offset: 0x844
[03:18:18.321] Clutch Offset: 0x850
[03:18:18.321] Throttle Offset: 0x854
[03:18:18.377] Turbo Offset: 0x868
[03:18:18.387] Handling Offset: 0x8A8
[03:18:18.415] Steering Input Offset: 0x91C
[03:18:18.415] Steering Angle Offset: 0x924
[03:18:18.415] ThrottleP Offset: 0x92C
[03:18:18.415] BrakeP Offset: 0x930
[03:18:18.444] Handbrake Offset: 0x934
[03:18:18.478] Dirt Level Offset: 0x968
[03:18:18.509] Engine Temperature Offset: 0x9DC
[03:18:18.539] Dashboard Speed Offset: 0xA10
[03:18:18.571] Model Type Offset: 0xB38
[03:18:18.599] Wheels Pointer Offset: 0xB40
[03:18:18.599] Wheel Count Offset: 0xB48
[03:18:18.599] Setting up globals
[03:18:18.618] DECOR: Registered "mt_gear" as int
[03:18:18.618] DECOR: Registered "mt_shift_indicator" as int
[03:18:18.619] DECOR: Registered "mt_neutral" as int
[03:18:18.619] DECOR: Registered "mt_set_shiftmode" as int
[03:18:18.619] DECOR: Registered "mt_get_shiftmode" as int
[03:18:18.619] DIJOY: entry 0x0
[03:18:18.619] DIJOY: clear()
[03:18:18.619] DIJOY: clear()'d
[03:18:18.619] DIJOY: new entry
[03:18:18.619] DIJOY: new'd entry
[03:18:18.620] DIJOY: entry 0xC20F76E0
[03:18:18.620] DIJOY: EnumDevices
[03:18:18.631] DIJOY: DIEnumDevicesCallback
[03:18:18.631] DIJOY: nEntry: 0 (max 16)
[03:18:18.631] DIJOY: memcpy dest: 0xEA71E3C0
[03:18:18.632] DIJOY: entry[nEntry++] = e
[03:18:18.632] DIJOY: entry[nEntry++] = e'd
[03:18:18.632] DIJOY: nEntry: 1 (max 16)
[03:18:18.632] DIJOY: DIEnumDevicesCallback'd
[03:18:18.638] DIJOY: EnumDevices'd
[03:18:18.641] Settings read
[03:18:18.641] WHEEL: Initializing input devices
[03:18:18.641] WHEEL: Setting up DirectInput interface
[03:18:18.641] DEBUG: GetModuleHandle
[03:18:18.641] DEBUG: GetModuleHandle: 0x1480000
[03:18:18.641] DEBUG: (void**)(&lpDi)
[03:18:18.641] DEBUG: (void**)(&lpDi): 0x31DD6E8
[03:18:18.641] DEBUG: dinput8createresult
[03:18:18.641] DEBUG: dinput8createresult: 0
[03:18:18.641] DEBUG: hascreatefailed
[03:18:18.642] DEBUG: hascreatefailed: pass
[03:18:18.642] DEBUG: Enumerating devices
[03:18:18.642] DIJOY: entry 0xC20F76E0
[03:18:18.642] DIJOY: clear()
[03:18:18.642] DIJOY: delete[] entries
[03:18:18.642] DIJOY: delete[]'d entries
[03:18:18.642] DIJOY: clear()'d
[03:18:18.642] DIJOY: new entry
[03:18:18.642] DIJOY: new'd entry
[03:18:18.642] DIJOY: entry 0xC20F76E0
[03:18:18.642] DIJOY: EnumDevices
[03:18:18.654] DIJOY: DIEnumDevicesCallback
[03:18:18.654] DIJOY: nEntry: 0 (max 16)
[03:18:18.655] DIJOY: memcpy dest: 0xEA71C7F0
[03:18:18.655] DIJOY: entry[nEntry++] = e
[03:18:18.655] DIJOY: entry[nEntry++] = e'd
[03:18:18.655] DIJOY: nEntry: 1 (max 16)
[03:18:18.656] DIJOY: DIEnumDevicesCallback'd
[03:18:18.662] DIJOY: EnumDevices'd
[03:18:18.662] DEBUG: Enumerated devices
[03:18:18.662] WHEEL: Found 1 device(s)
[03:18:18.663] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[03:18:18.663] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[03:18:18.663] WHEEL: Devices initialized
[03:18:18.663] WHEEL: Init FFB device
[03:18:18.663] WHEEL: FFB device not found
[03:18:18.663] WHEEL: Not set up in .ini:
[03:18:18.663] {3FE66570-2DD4-11E7-8003-444553540000}
[03:18:18.663] WHEEL: Steering wheel initialization finished
[03:18:18.663] START: Initialization finished
[03:18:18.663] START: Starting with MT:
[03:19:20.961] GEARBOX: Patching
[03:19:20.986] GEARBOX: Patched clutchLow @ 0x00007FF6023B4F31
[03:19:21.011] GEARBOX: Patched clutchRevLimit @ 0x00007FF6023B500C
[03:19:21.037] GEARBOX: Patched gear7A0 @ 0x00007FF6023B4F3D
[03:19:21.037] GEARBOX: Patch success
[03:19:34.713] WHEEL: Initializing input devices
[03:19:34.714] WHEEL: Setting up DirectInput interface
[03:19:34.714] DEBUG: GetModuleHandle
[03:19:34.714] DEBUG: GetModuleHandle: 0x1480000
[03:19:34.714] DEBUG: (void**)(&lpDi)
[03:19:34.714] DEBUG: (void**)(&lpDi): 0x31DD6E8
[03:19:34.714] DEBUG: dinput8createresult
[03:19:34.714] DEBUG: dinput8createresult: 0
[03:19:34.714] DEBUG: hascreatefailed
[03:19:34.714] DEBUG: hascreatefailed: pass
[03:19:34.714] DEBUG: Enumerating devices
[03:19:34.714] DIJOY: entry 0xC20F76E0
[03:19:34.715] DIJOY: clear()
[03:19:34.715] DIJOY: delete[] entries
[03:19:34.715] DIJOY: delete[]'d entries
[03:19:34.715] DIJOY: clear()'d
[03:19:34.715] DIJOY: new entry
[03:19:34.715] DIJOY: new'd entry
[03:19:34.715] DIJOY: entry 0xC20F74B0
[03:19:34.715] DIJOY: EnumDevices
[03:19:34.726] DIJOY: DIEnumDevicesCallback
[03:19:34.726] DIJOY: nEntry: 0 (max 16)
[03:19:34.726] DIJOY: memcpy dest: 0xEA71B440
[03:19:34.728] Translator function
[03:19:35.086] Crash: Your program has crashed.
@ikt No problem, we wanna fix this issue :\
I have ran the script and it got worse. When I try to disable manual transmission game crashes, and when I try to disable the steering wheel game crashes. So, here are the logs:
[00:35:08.225] GTAVManualTransmission v4.4.1-beta3
[00:35:08.225] Game version VER_1_0_1180_2_STEAM
[00:35:08.225] Script registered
[00:35:47.847] Script started
[00:35:47.872] Rocket Boost Active Offset: 0x318
[00:35:47.908] Rocket Boost Charge Offset: 0x320
[00:35:47.935] Fuel Level Offset: 0x7D4
[00:35:47.968] Next Gear Offset: 0x810
[00:35:47.968] Current Gear Offset: 0x812
[00:35:47.968] Top Gear Offset: 0x816
[00:35:47.968] Gear Ratios Offset: 0x818
[00:35:47.968] Drive Force Offset: 0x838
[00:35:47.968] Initial Drive Max Flat Velocity Offset: 0x83C
[00:35:47.968] Drive Max Flat Velocity Offset: 0x840
[00:35:47.997] RPM Offset: 0x844
[00:35:47.997] Clutch Offset: 0x850
[00:35:47.997] Throttle Offset: 0x854
[00:35:48.026] Turbo Offset: 0x868
[00:35:48.035] Handling Offset: 0x8A8
[00:35:48.062] Steering Input Offset: 0x91C
[00:35:48.062] Steering Angle Offset: 0x924
[00:35:48.062] ThrottleP Offset: 0x92C
[00:35:48.062] BrakeP Offset: 0x930
[00:35:48.092] Handbrake Offset: 0x934
[00:35:48.125] Dirt Level Offset: 0x968
[00:35:48.156] Engine Temperature Offset: 0x9DC
[00:35:48.188] Dashboard Speed Offset: 0xA10
[00:35:48.220] Model Type Offset: 0xB38
[00:35:48.246] Wheels Pointer Offset: 0xB40
[00:35:48.247] Wheel Count Offset: 0xB48
[00:35:48.247] Setting up globals
[00:35:48.267] DECOR: Registered "mt_gear" as int
[00:35:48.267] DECOR: Registered "mt_shift_indicator" as int
[00:35:48.267] DECOR: Registered "mt_neutral" as int
[00:35:48.267] DECOR: Registered "mt_set_shiftmode" as int
[00:35:48.267] DECOR: Registered "mt_get_shiftmode" as int
[00:35:48.287] Settings read
[00:35:48.287] WHEEL: Initializing input devices
[00:35:48.287] WHEEL: Setting up DirectInput interface
[00:35:48.305] WHEEL: Found 1 device(s)
[00:35:48.306] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[00:35:48.306] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[00:35:48.306] WHEEL: Devices initialized
[00:35:48.306] WHEEL: Init FFB device
[00:35:48.306] WHEEL: FFB device not found
[00:35:48.306] WHEEL: Not set up in .ini:
[00:35:48.306] {3FE66570-2DD4-11E7-8003-444553540000}
[00:35:48.306] WHEEL: Steering wheel initialization finished
[00:35:48.306] START: Initialization finished
[00:35:48.306] START: Starting with MT:
[00:36:30.974] GEARBOX: Patching
[00:36:31.000] GEARBOX: Patched clutchLow @ 0x00007FF6D0104F31
[00:36:31.025] GEARBOX: Patched clutchRevLimit @ 0x00007FF6D010500C
[00:36:31.050] GEARBOX: Patched gear7A0 @ 0x00007FF6D0104F3D
[00:36:31.050] GEARBOX: Patch success
[00:36:55.337] WHEEL: Initializing input devices
[00:36:55.338] WHEEL: Setting up DirectInput interface
[00:36:55.350] Translator function
[00:36:55.450] Crash: Your program has crashed.
@ikt You're welcome! yes, only Gears.asi and ScriptHookVDotNet.
Before, GTA5.exe Crashed when I disabled the steering wheel which was sat on by default. Then, I started the game and steering wheel was disabled, so I enabled it which caused the script only to crash.
-------------------------------------------------------------------------------------------
This time, I did a clean script installation (removed rest of scripts). Latest mod release 4.4.1 Beta 2, drag and drop to Main GTA File.
I started the game, and steering wheel was enabled by default. Then, I disabled it GTA5.exe DID NOT crash this time but the script was shutdown. Here are the logs:
[03:41:20.559] GTAVManualTransmission v4.4.1
[03:41:20.559] Game version VER_1_0_1180_2_STEAM
[03:41:20.559] Script registered
[03:42:00.316] Script started
[03:42:00.342] Rocket Boost Active Offset: 0x318
[03:42:00.378] Rocket Boost Charge Offset: 0x320
[03:42:00.406] Fuel Level Offset: 0x7D4
[03:42:00.441] Next Gear Offset: 0x810
[03:42:00.441] Current Gear Offset: 0x812
[03:42:00.441] Top Gear Offset: 0x816
[03:42:00.441] Gear Ratios Offset: 0x818
[03:42:00.441] Drive Force Offset: 0x838
[03:42:00.441] Initial Drive Max Flat Velocity Offset: 0x83C
[03:42:00.441] Drive Max Flat Velocity Offset: 0x840
[03:42:00.471] RPM Offset: 0x844
[03:42:00.471] Clutch Offset: 0x850
[03:42:00.471] Throttle Offset: 0x854
[03:42:00.501] Turbo Offset: 0x868
[03:42:00.511] Handling Offset: 0x8A8
[03:42:00.537] Steering Input Offset: 0x91C
[03:42:00.537] Steering Angle Offset: 0x924
[03:42:00.537] ThrottleP Offset: 0x92C
[03:42:00.537] BrakeP Offset: 0x930
[03:42:00.565] Handbrake Offset: 0x934
[03:42:00.598] Dirt Level Offset: 0x968
[03:42:00.629] Engine Temperature Offset: 0x9DC
[03:42:00.662] Dashboard Speed Offset: 0xA10
[03:42:00.694] Model Type Offset: 0xB38
[03:42:00.721] Wheels Pointer Offset: 0xB40
[03:42:00.721] Wheel Count Offset: 0xB48
[03:42:00.721] Setting up globals
[03:42:00.740] DECOR: Registered "mt_gear" as int
[03:42:00.740] DECOR: Registered "mt_shift_indicator" as int
[03:42:00.740] DECOR: Registered "mt_neutral" as int
[03:42:00.740] DECOR: Registered "mt_set_shiftmode" as int
[03:42:00.740] DECOR: Registered "mt_get_shiftmode" as int
[03:42:00.760] Settings read
[03:42:00.760] WHEEL: Initializing input devices
[03:42:00.779] WHEEL: Found 1 device(s)
[03:42:00.779] WHEEL: Device: Logitech G920 Driving Force Racing Wheel USB
[03:42:00.780] WHEEL: GUID: {3FE66570-2DD4-11E7-8003-444553540000}
[03:42:00.780] WHEEL: Devices initialized
[03:42:00.780] WHEEL: Init FFB device
[03:42:00.780] WHEEL: FFB device not found
[03:42:00.780] WHEEL: Available for use in .ini:
[03:42:00.780] {3FE66570-2DD4-11E7-8003-444553540000}
[03:42:00.780] WHEEL: Steering wheel initialization finished
[03:42:00.780] START: Initialization finished
[03:42:00.780] START: Starting with MT: ON
[03:42:30.739] GEARBOX: Patching
[03:42:30.771] GEARBOX: Patched clutchLow @ 0x00007FF78A724F31
[03:42:30.802] GEARBOX: Patched clutchRevLimit @ 0x00007FF78A72500C
[03:42:30.833] GEARBOX: Patched gear7A0 @ 0x00007FF78A724F3D
[03:42:30.833] GEARBOX: Patch success
[03:43:14.370] WHEEL: Initializing input devices
[03:43:14.669] Crash: Your program has crashed.
[03:43:14.670] CRASH: Init shutdown
[03:43:14.670] GEARBOX: Restoring instructions
[03:43:14.670] GEARBOX: Restore success
[03:43:14.670] STEERING: Restoring instructions
[03:43:14.670] STEERING: Already restored/intact
[03:43:14.670] STEERING CONTROL: Restoring instructions
[03:43:14.670] STEERING CONTROL: Already restored/intact
[03:43:14.670] CRASH: Shut down script cleanly
[03:44:00.873] Init shutdown
[03:44:00.873] GEARBOX: Restoring instructions
[03:44:00.873] GEARBOX: Already restored/intact
[03:44:00.873] STEERING: Restoring instructions
[03:44:00.873] STEERING: Already restored/intact
[03:44:00.873] STEERING CONTROL: Restoring instructions
[03:44:00.873] STEERING CONTROL: Already restored/intact
[03:44:00.874] Shut down script successfully
I will run the test again. Do you think other scripts such as CustomSteering.asi might cause some problems? This script enables steering wheel as default. When I have my steering wheel ready and disable it from the scripts menu, my game crashes with Application Has Stopped Working..
@ikt Yes, I'm sure that Gears.pdb and Gears.asi are both in the GTA V root folder where GTA5.exe is located. I've done testing twice, one with game crash without logs and other with in-game script crash with logs.
This is https://github.com/E66666666/GTAVManualTransmission/releases/tag/v4.4.1-beta2 and still facing the same problems :\