Weird gamepad issue with Trine 2

For discussion about Trine 2, released in December 2011 on Windows, Mac, Xbox, PlayStation Network and later on Linux and Wii U.
Vinsssounet
Posts: 2
Joined: Fri Jul 24, 2015 5:11 pm

Weird gamepad issue with Trine 2

Postby Vinsssounet » Fri Jul 24, 2015 6:43 pm

Hi folks,

I'm using 2 PS2 controllers (Dual Shock 2) and I have a weird issue with those.

With the wizard, controlling the cursor is very troublesome. While holding nothing (just moving the cursor with the right stick), UP is RIGHT, LEFT is DOWN, and vice versa. It's not just reverse like UP is DOWN. It's like the Axis is switched 90°.

But the weird part is that when I hold something, the Axis becomes right !

So it's next to impossible to get used to it.

I've tried changing the command parameters of course, but changing "moving cursor" only affects the control while holding something. Whatever I do, UP is RIGHT otherwise !

Is there another command somewhere ? Is there a way to fix that ?

Thanks a lot for any help.

fb_jlarja
Posts: 219
Joined: Fri Nov 11, 2011 4:45 pm

Re: Weird gamepad issue with Trine 2

Postby fb_jlarja » Mon Aug 03, 2015 7:04 am

Vinsssounet wrote:Hi folks,

I'm using 2 PS2 controllers (Dual Shock 2) and I have a weird issue with those.

With the wizard, controlling the cursor is very troublesome. While holding nothing (just moving the cursor with the right stick), UP is RIGHT, LEFT is DOWN, and vice versa. It's not just reverse like UP is DOWN. It's like the Axis is switched 90°.

But the weird part is that when I hold something, the Axis becomes right !

So it's next to impossible to get used to it.

I've tried changing the command parameters of course, but changing "moving cursor" only affects the control while holding something. Whatever I do, UP is RIGHT otherwise !

Is there another command somewhere ? Is there a way to fix that ?

Thanks a lot for any help.


Sounds like Configure Controls menu has (yet another) bug. I presume you have been trying to configure the gamepad via it?

Modified bindings are saved to %appdata%\Trine2\UserBinds (you can copypaste that to Explorer). Navigate there and open wizard's binds file (should be named something like User_Custom_0_InputComponent_Wizard_Binds_....). Find a line that says something like "EmulatedElement = Pointer, Axis XDirectionalAxis 2, Axis YDirectionalAxis 3". Now find lines starting with cursorAxisX and cursorAxisY. Make note of last number on those lines. Modify the line starting with "EmulatedElement = Pointer, ..." so it points to same axises as cursorAxisX and cursorAxisY, like this: EmulatedElement = Pointer, Axis JoystickAxis 2, Axis JoystickAxis 3 (note that I replaced directinal axises with plain axises. That instructs the game not to be smart about which axis to pick).

Hope this helps.

-JLarja

Vinsssounet
Posts: 2
Joined: Fri Jul 24, 2015 5:11 pm

Re: Weird gamepad issue with Trine 2

Postby Vinsssounet » Mon Aug 03, 2015 1:09 pm

Hi there !

Thanks a lot for your detailed answer.

Unfortunately after doing this manipulation, it changed nothing =(

Here are my cursoraxis lines :

cursorAxisX = 1, Axis, Undefined, 3
cursorAxisY = 1, Axis, Undefined, 2


So I changed "EmulatedElement = Pointer, Axis XDirectionalAxis 2, Axis YDirectionalAxis 3" with :

EmulatedElement = Pointer, Axis JoystickAxis 2, Axis JoystickAxis 3


I tried reversing the number also, but it changed, simply, nothing.

Here's the rest of the file, in case there's something else to be tried :

[Controller]

IDNumber = 1
IDString = USB Gamepad [30810-0000-0000-0000-504944564944ID4]
ControllerType = Joystick
ControllerSubType = General
InvertAxis = JoystickAxis3
InvertAxis = JoyDIAxisRZ
InvertAxis = JoyDIAxisZ
EmulatedElement = Button, POVHat JoystickPOVHat 0
EmulatedElement = Pointer, Axis JoystickAxis 2, Axis JoystickAxis 3
EmulatedElement = Axis, POVHat JoystickPOVHat 0
EmulatedElement = Button, Axis YDirectionalAxis 1
EmulatedElement = Button, Axis XDirectionalAxis 0

[Bindings]

moveHorizontal = 1, Axis, Undefined, 0
moveVertical = 1, Axis, Undefined, 1
use = 1, Button, Undefined, 2
jump = 1, Button, Undefined, 1
conjure = 1, Button, Undefined, 6
levitate = 1, Button, Undefined, 7
conjure = 1, Button, Undefined, 7
levitate = 1, Button, Undefined, 6
breakObject = 1, Button, Undefined, 0
magnetize = 1, Button, Undefined, 10
magnetize = 1, Button, Undefined, 2
selectPrevCharacter = 1, Button, Undefined, 4
selectNextCharacter = 1, Button, Undefined, 5
rotateAxisY = 1, Axis, Undefined, 1
rotateAxisY = 1, Axis, Undefined, 6
cursor = 1, Pointer, Undefined, 0
controlConsoleMoveHorizontal = 1, Axis, Undefined, 2
controlConsoleMoveVertical = 1, Axis, Undefined, 3
up = 1, Button, Undefined, 16
down = 1, Button, Undefined, 17
right = 1, Button, Undefined, 18
left = 1, Button, Undefined, 19
cursorAxisY = 1, Axis, Undefined, 2
cursorAxisX = 1, Axis, Undefined, 3

fb_jlarja
Posts: 219
Joined: Fri Nov 11, 2011 4:45 pm

Re: Weird gamepad issue with Trine 2

Postby fb_jlarja » Tue Aug 04, 2015 6:59 am

Reversing the axis order on EmulatedElement line should definitely do something (first axis is for horizontal movement, second for vertical), even if it still wouldn't produce desired result. Did you restart the game between edits? You could try changing something simple (like jump button) just to make sure you are editing correct file.

-JLarja


Return to “Trine 2”

Who is online

Users browsing this forum: Google [Bot] and 2 guests