The Count Lucanor

The Count Lucanor

Xem thông số:
Saintred 3 Thg03, 2016 @ 9:46am
Gamepad
Hi, I love this game so far, but it's not recognizing my wireless Xbox 360 gamepad for windows. The gamepad is working because I can get to the game with it from big picture mode, but when I enter the game it doesn't work and the Gamepad option says "No gamepad detected". I've tried turning it on before entering and while in game. I'm running windows 10 if that helps.

Any help would be appreciated.

Thanks!
< >
Đang hiển thị 1-15 trong 17 bình luận
monsieur_max  [nhà phát triển] 3 Thg03, 2016 @ 10:02am 
Hello Saintred,

That's unexpected...
No real way to understand why it is not detected.
Is it a 32bit or 64bit Windows ?
Matsukarhu 3 Thg03, 2016 @ 11:43am 
I used the official Xbox 360 controller for windows and everything worked perfectly, button icons and all. That was on windows 10 as well. I didn't use big picture mode, but I doubt that is the problem.
monsieur_max  [nhà phát triển] 3 Thg03, 2016 @ 12:37pm 
Thanks for your feedback Matsukarhu.

Maybe picture mode is a clue... we'll see Saintred's answer.
Saintred 3 Thg03, 2016 @ 12:38pm 
64bit windows 10 enterprise. I'll try a few more things and report back
monsieur_max  [nhà phát triển] 3 Thg03, 2016 @ 12:43pm 
Thanks Saintred :)
Saintred 3 Thg03, 2016 @ 1:15pm 
Alright so I have more information, but it's wacky. I've tried reboots, starting the controller at different times: before starting steam, before starting the game, after starting the game, and tried updating Java. Not using big picture I had the same issue. I have some logs which I'll paste below. The thing that got the controller working (temporarily) was to unplug my mouse. If I ran in big picture (so i could still launch the game with controller) and unplugged my mouse, the controller was detected and everything was cool. When I plug my mouse back in and launch the game it still fails.

Here's the game.log output:
14:07:11.005 [main] INFO eu.curvedcat.game.Main - --------------------------
14:07:11.005 [main] INFO eu.curvedcat.game.Main - GAME INFO :
14:07:11.006 [main] INFO eu.curvedcat.game.Main - - Version : 1.0.1
14:07:11.006 [main] INFO eu.curvedcat.game.Main - --------------------------
14:07:11.006 [main] INFO eu.curvedcat.game.Main -
14:07:11.006 [main] INFO eu.curvedcat.game.Main - --------------------------
14:07:11.006 [main] INFO eu.curvedcat.game.Main - ------ GAME START ------
14:07:11.006 [main] INFO eu.curvedcat.game.Main - --------------------------
14:07:11.006 [main] INFO eu.curvedcat.game.Main - Init controllers detection
14:07:11.012 [main] INFO eu.curvedcat.game.Main - Mar 03, 2016 2:07:11 PM net.java.games.input.DefaultControllerEnvironment getControllers
WARNING: Found unknown Windows version: Windows 10

14:07:11.012 [main] INFO eu.curvedcat.game.Main - Mar 03, 2016 2:07:11 PM net.java.games.input.DefaultControllerEnvironment getControllers
WARNING: Attempting to use default windows plug-in.

14:07:11.210 [main] INFO eu.curvedcat.game.Main - Mar 03, 2016 2:07:11 PM net.java.games.input.ControllerEnvironment log
INFO: Failed to initialize device Corsair Gaming Scimitar RGB Mouse because of: java.io.IOException: Failed to acquire device (8007001e)


14:07:11.239 [main] INFO eu.curvedcat.game.Main - - no controller found
14:07:11.239 [main] INFO eu.curvedcat.game.Main - Init controllers done
14:07:11.240 [main] INFO eu.curvedcat.game.Main - Restoring settings

I also see this in the logs further down:
14:07:12.757 [main-AWTAnimator#00] DEBUG eu.curvedcat.game.component.persistence.InventoryPersistenceManager - Init manager
14:07:12.889 [main-AWTAnimator#00] DEBUG eu.curvedcat.game.component.persistence.QuestPersistenceManager - Init manager
14:07:13.002 [main-AWTAnimator#00] DEBUG eu.curvedcat.game.component.persistence.VariablePersistenceManager - Init manager
14:07:13.103 [main-AWTAnimator#00] DEBUG eu.curvedcat.game.component.persistence.ActorPersistenceManager - Init manager
14:07:13.202 [main-AWTAnimator#00] INFO eu.curvedcat.game.Main - java.lang.NullPointerException
at net.java.games.input.RawMouse$Button.<init>(RawMouse.java:197)
at net.java.games.input.RawMouseInfo.createControllerFromDevice(RawMouseInfo.java:83)
at net.java.games.input.RawInputEnvironmentPlugin.createControllersFromDevices(RawInputEnvironmentPlugin.java:160)
at net.java.games.input.RawInputEnvironmentPlugin.enumControllers(RawInputEnvironmentPlugin.java:176)
at net.java.games.input.RawInputEnvironmentPlugin.<init>(RawInputEnvironmentPlugin.java:123)
at net.java.games.input.DirectAndRawInputEnvironmentPlugin.<init>(DirectAndRawInputEnvironmentPlugin.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:160)
at eu.curvedcat.game.Main.main(Main.java:188)
Logging Syserr
Mar 03, 2016 2:07:13 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

14:07:13.205 [main-AWTAnimator#00] INFO eu.curvedcat.game.component.stats.StatsManager - uuid : c94df9d5-4c06-4482-8df9-d54c06248289


Hope this helps. I'm going to see if my steam link/steam controller works now, but since it'll hit this computer I wonder if the mouse will somehow screw it up still.

Thanks

Saintred 3 Thg03, 2016 @ 1:19pm 
Something to add.. I can plug the mouse back in while in the game and the mouse and controller both continue to work, but when I exit and relaunch with the mouse plugged in, the controller no longer works.
Saintred 3 Thg03, 2016 @ 1:21pm 
Anyways, for anyone thinking about buying the game and reading this thread... I want to point out that it's ****ing awesome that a dev is responding and even with the keyboard, this is an amazing game. BUY THIS GAME!!!
monsieur_max  [nhà phát triển] 3 Thg03, 2016 @ 1:28pm 
Thanks for your investigation.

Looks like, for some reason, Jinput ( what the game uses to detect and use gamepad ) is not able to use your mouse and that makes the gamepad detection fail.

I'll investigate if it's possible to change this behavior, but it's a part where I got very little possibilities.
For now, you'll have to use your workaround:-/
I'll get back to you.

Side note, no need to update Java, a stable and tested version is provided ;)
Saintred 3 Thg03, 2016 @ 1:31pm 
Brief update, the steam link+steam controller works fine too. What's so weird about the mouse thing is that the mouse continues to work in menus even though its failure seems to break controller detection. Oh well, at least I have ways to play with the controller now.. thanks for looking into it.
Lần sửa cuối bởi Saintred; 3 Thg03, 2016 @ 1:31pm
monsieur_max  [nhà phát triển] 3 Thg03, 2016 @ 1:38pm 
Saintred : yeah well JInput is only used for gamepad, not for the mouse. So only the gamepad is failing :) That explains that.

I'll keep you informed. Thanks for your patience.
monsieur_max  [nhà phát triển] 5 Thg03, 2016 @ 3:44am 
Hello Saintred,

I made some changes in version 1.02, which is available in the beta branch
To activate this branch, you need to :
> go in your game library
> right click on The count Lucanor
> select properties
> choose the Betas tab
> select Beta branch

Not sure if this will solve your issue with the mouse that troubles JInput.

Let me know if this changes anything at your issue.
Saintred 5 Thg03, 2016 @ 5:08am 
The beta branch fixes my issue! Awesome, thanks!
monsieur_max  [nhà phát triển] 5 Thg03, 2016 @ 5:35am 
Yay !

Good news, thanks for helping solve this potential issue :)
Asmodei.us 3 Thg12, 2020 @ 9:45am 
Nguyên văn bởi monsieur_max:
Yay !

Good news, thanks for helping solve this potential issue :)
many thanks I suffered with this problem until I came across this post
< >
Đang hiển thị 1-15 trong 17 bình luận
Mỗi trang: 1530 50