cmbruns / gz3doom

Classic Doom/Heretic/Hexen games in stereo 3D and VR; modified version of gzdoom.
http://rotatingpenguin.com/gz3doom/
88 stars 16 forks source link

Joystick x360 crash #104

Open Neruvous opened 8 years ago

Neruvous commented 8 years ago

Hi,

In version GZ3Doom 1.8.6_l   the joystick Microsoft x360  works fine,    however in above versions the joystick don't works and crash the game.
The crash happen when i choose in menu, Options> Controlers > Enable Joystick support  

Well is it.

I cheer for your success. 
cmbruns commented 8 years ago

Does the joystick work correctly with GZ3Doom 1.8.6_m? https://github.com/cmbruns/gz3doom/releases/tag/GZ3Doom1.8.6_m

Does the joystick work correctly with gzdoom 1.8.10? http://forum.drdteam.org/viewtopic.php?t=6482

Neruvous commented 8 years ago

Don't work with 1.8.6_m. and 1.8.1.0_b
I also tested 1.8.1.0 and 2-0-0-5 and the Joystick is not detected.

I use runtime oculus 0.80 and microsoft driver 2.1.0.1349 13/08/2009.

cmbruns commented 8 years ago

Is this the controller you are referring to? http://www.amazon.com/gp/product/B003ZSP0WW/ ?

I don't have one of those, so it's difficult for me to test. On the other hand, the changes from 1.8.6_l to 1.8.6_m were pretty small, so that should make it easier to solve.

Neruvous commented 8 years ago

Yes, is exactly this model. I will continue to use the 1.8.6_I without vr for now. I can use 1.8.10 with a software called "Pinnacle game profiler", however not is so good like the native from 1.8.6_l.

cmbruns commented 8 years ago

For my own reference, the following URL can be used to compare versions 1.8.6_l and 1.8.6_m: https://github.com/cmbruns/gz3doom/compare/GZ3Doom1.8.6_l2...cmbruns:GZ3Doom1.8.6_m My first quick skim of the file changes did not reveal anything that might be associated with the controller working or not.

cmbruns commented 8 years ago

@Neruvous thank you for reporting and testing this problem. For completeness, would you be willing to test whether gzdoom 1.8.6 works with your controller? http://forum.drdteam.org/viewtopic.php?f=23&t=6302

Neruvous commented 8 years ago

Hi, of course i can test. The 1.8.6 don't work. The 1.8.6_l recognize immediately the joystick.

Neruvous commented 8 years ago

Hi, now the 1.8.10_b works. I just copy the zdoom.ini file from the 1.8.6_l directory to 1.8.10_b directory and run as administrator, and work.

cmbruns commented 8 years ago

Oh interesting! Could you drag the working zdoom.ini file in a comment here? And a non-working one too, if you still have one. The "run as administrator" might be required to be able to use the local zdoom.ini file. If you are not administrator, it puts the zdoom.ini someplace else.

cmbruns commented 8 years ago

My latest zdoom.ini when I run NOT as administrator is located in C:\Users\cmbruns\AppData\Local\VirtualStore\Program Files (x86)\GZ3Doom 1.8.10_b\zdoom-cmbruns.ini

Neruvous commented 8 years ago

Ok,

Work https://dl.dropboxusercontent.com/u/51121308/zdoom-User%20%28Work%201.8.6_l%29.ini

Dont work https://dl.dropboxusercontent.com/u/51121308/zdoom-Davi%20%28Not-Work%201.8.6_m%29.ini

I pick they from C:\Program Files (x86)\GZ3Doom 1.8.6_l and C:\Program Files (x86)\GZ3Doom 1.8.6_m In my machine only Administrator can write in the folder "C:\Program Files (x86)".

This link is from the folder " C:\Users\me\AppData\Local\VirtualStore\Program Files (x86)\GZ3Doom 1.8.6_l" I cannot know if work or no, only works with Administrator rights.

https://dl.dropboxusercontent.com/u/51121308/zdoom-User%20%28From%20appdata%201.8.6_l%20%29.ini

I see this file ini only is create from a installer version and not from the simple zip and exe.

Well i hope this help in any form.

Play Brutal Doom is very better play with the precision of the Oculus Rift for aiming and the controller. Thank your for your support and share this Doom VR.