Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[THPS2] Game crash only when game controller plugged in #351

Open
fraganator opened this issue Oct 20, 2017 · 1 comment
Open

[THPS2] Game crash only when game controller plugged in #351

fraganator opened this issue Oct 20, 2017 · 1 comment

Comments

@fraganator
Copy link

I've run into an issue where THPS2 will crash when loading a level, but only when a game controller is plugged in. I've verified this with two different Xbox 360 controllers, and another generic USB game pad. If I unplug the controller and start the game, I can load and play a level without issue (and the widescreen fix looks great).

The controller(s) work when in the menu and I can reassign the controller inputs, so that would indicate it's working to some extent.

I tried changing UseDirectInput=1 setting in wndmode.ini, but it didn't seem to have any effect. I also tried using XInputPlus to remap XInput to DirectInput, but I suspect the widescreen fix is already performing all of the DirectInput functions so this had no effect.

I've tested with the release version of the widescreen fix, and also the latest build version from here, but both versions exhibit the crash.

Steps to reproduce:

  1. Install THPS2 from CD, apply "smaller" No-CD patch, and apply THPS2 widescreen fix
  2. Plug in wired Xbox 360 controller
  3. Start THPS2, then from the menu select Free Skate, choose a character and start the level
  4. THPS2 will crash

System Info:

  • Windows 10 x64 (Creator's Update)
  • THPS2 (using "smaller" No-CD)
@jszymonek
Copy link

I've run into the same issue. The game will crash if either:

  • The controller is plugged in
    or
  • UseDirectInput=1
    or
  • UseDirect3D=1 && UseDirectDraw=0

Widescreen ini contents:
[MAIN]
ResX = 0
ResY = 0
FixHUD = 1

Upon crash, the game generate a log file - attached here.
THPCERR.LOG

Unfortunately the DirectDraw mode also has a very low fps (around 20), while in d3d it's perfectly smooth (at least in movies and menus).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants