I have fixed the bug in dinputto8 that stopped it from working with this game.
No need to patch exe anymore, you can now use dinputto8 + devreorder to get around device enumeration bug.
https://mega.nz/file/iRpV3DJI#mtqzZ0W3TlIpSH5lrr4ilcHEINfm_uB6ff1nYr8h7Q8 (latest build of dinputto8)
https://github.com/briankendall/devreorder
Install both of these into game dir then go to [visible] section in devreorder.ini and add your gamepad's GUID or name (or just some dummy entry if you don't have a gamepad). This will filter out USB keyboards and mice from DirectInput device list and prevent the game from crashing.