ThirteenAG / WidescreenFixesPack

Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.
https://thirteenag.github.io/wfp
MIT License
2.27k stars 215 forks source link

[NFSU2] Trying to assign accelerator to 360 pad trigger crashes game #227

Closed DragRedSim closed 7 years ago

DragRedSim commented 7 years ago

As per the title, I can't assign throttle or brake to the triggers. Speed2.exe crashes on releasing the trigger. I do also have the Extra Options mod installed in order to work around the no-optical-drive-insert-Disk-2 bug, however testing with a USB optical drive gave the same effect after removing the Extra Options scripts.

This issue was encountered on the dev build of the fix (installed for deadzone purposes). It was also encountered on the release build.

I was able to assign controls by removing the widescreen-fix scripts.

ThirteenAG commented 7 years ago

Yeah, I can reproduce, will take a look.

ThirteenAG commented 7 years ago

Okay, I fixed the problem, will commit a bit later. Could you also check other games for that crash?

DragRedSim commented 7 years ago

Just checked Underground 1, no issues. Also known not to be an issue with Most Wanted. I don't have Carbon installed, so I can't check there.

ThirteenAG commented 7 years ago

Okay, thanks. Fixed version is on appveyor now.

DragRedSim commented 7 years ago

Just tested the dev build, can now assign triggers. Thanks!

d4rkne55 commented 7 years ago

Could try Carbon, if still needed. I have it installed and I also own a Xbox 360 controller. :)

ThirteenAG commented 7 years ago

I think it should be fine, but can't hurt to test.

d4rkne55 commented 7 years ago

I will test it if I get home, which is at 6pm (UTC). :D

d4rkne55 commented 7 years ago

Well.. Tested with my already installed version of the fix (the dev version you linked at #165) and I had no crashes, worked how it should, but when I moved the old fix and copied the latest dev version over (submodules update #bba60bd) the game crashes immediately when launching, it doesn't even open. Should I open an issue with the crash log?

ThirteenAG commented 7 years ago

That's probably due to one critical change in asi loader I plan to test. But sure, open a new issue, I know that GTA1 is also crashes atm. Workaround would be using old version of asi loader or creating global.ini file inside scripts folder with this:

[GlobalSets]
LoadPlugins=1
LoadFromScriptsOnly=1
ForceEntryPointHook=0