Jump to content


Photo

Dreamfall Chapters mouse bug

bug mouse input

  • Please log in to reply
12 replies to this topic

#1 unclechu

unclechu

    Rubber Ducky

  • Member
  • Pip
  • 1 posts

Posted 25 November 2014 - 07:04

When I try to look around by mouse then camera moves back to start point. I can't move the camera.

 

My temporarly solution: I changed camera moving controls to keyboard:

$ cd ~/.config/unity3d/Red\ Thread\ Games/Dreamfall\ Chapters/
$ cat prefs~ | grep cInput_defaults | sed -e 's/^.*\?>\(.*\)<.*$/\1/g' | base64 -d > cInput_defaults
$ cat cInput_defaults
MoveLeft*MoveRight*MoveUp*MoveDown*CameraLeft*CameraRight*CameraUp*CameraDown*Run*Interact*CameraZoomIn*CameraZoomOut*ZoomToggle*ZoomHold*ToggleCursor*Inventory*Back*ToggleJournal*Attention*Confirm*ToggleGoals*Skip*ToggleSocial*InventoryUse*InventoryUseSelf*InventoryCombine*Action*ActionRadial*SelectionLeft*SelectionRight*SelectionUp*SelectionDown*TitleStart*Menu*JournalScrollUp*JournalScrollDown*GUIControllerLeft*GUIControllerRight*GUIControllerUp*GUIControllerDown*GUICursorLeft*GUICursorRight*GUICursorUp*GUICursorDown*GUILeft*GUIRight*GUIUp*GUIDown*#A*D*W*S*Mouse Left*Mouse Right*Mouse Up*Mouse Down*LeftShift*Mouse0*Mouse Wheel Up*Mouse Wheel Down**V**Tab*Mouse1*J*F*Mouse0*G*Space*O*Mouse0***Mouse0******Space*Escape*Mouse Wheel Up*Mouse Wheel Down*****Mouse Left*Mouse Right*Mouse Up*Mouse Down*Mouse Left*Mouse Right*Mouse Up*Mouse Down*#LeftArrow*RightArrow*UpArrow*DownArrow*None*None*None*None*None*None*None*None*None*None*None*I*Escape*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*#A*D*W*S*Mouse Left*Mouse Right*Mouse Up*Mouse Down*LeftShift*Mouse0*Mouse Wheel Up*Mouse Wheel Down**V**Tab*Mouse1*J*F*Mouse0*G*Space*O*Mouse0***Mouse0******Space*Escape*Mouse Wheel Up*Mouse Wheel Down*****Mouse Left*Mouse Right*Mouse Up*Mouse Down*Mouse Left*Mouse Right*Mouse Up*Mouse Down*#LeftArrow*RightArrow*UpArrow*DownArrow*None*None*None*None*None*None*None*None*None*None*None*I*Escape*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*

And here I changed this:

#A*D*W*S*Mouse Left*Mouse Right*Mouse Up*Mouse Down*

To: #A*D*W*S*Z*V*C*X*

And also remapped ZoomHold ("V") to "B" key

And by ZXCV I can move the camera.

$ NEW_KEYMAP='MoveLeft*MoveRight*MoveUp*MoveDown*CameraLeft*CameraRight*CameraUp*CameraDown*Run*Interact*CameraZoomIn*CameraZoomOut*ZoomToggle*ZoomHold*ToggleCursor*Inventory*Back*ToggleJournal*Attention*Confirm*ToggleGoals*Skip*ToggleSocial*InventoryUse*InventoryUseSelf*InventoryCombine*Action*ActionRadial*SelectionLeft*SelectionRight*SelectionUp*SelectionDown*TitleStart*Menu*JournalScrollUp*JournalScrollDown*GUIControllerLeft*GUIControllerRight*GUIControllerUp*GUIControllerDown*GUICursorLeft*GUICursorRight*GUICursorUp*GUICursorDown*GUILeft*GUIRight*GUIUp*GUIDown*#A*D*W*S*Z*V*C*X*LeftShift*Mouse0*Mouse Wheel Up*Mouse Wheel Down**B**Tab*Mouse1*J*F*Mouse0*G*Space*O*Mouse0***Mouse0******Space*Escape*Mouse Wheel Up*Mouse Wheel Down*****Mouse Left*Mouse Right*Mouse Up*Mouse Down*Mouse Left*Mouse Right*Mouse Up*Mouse Down*#LeftArrow*RightArrow*UpArrow*DownArrow*None*None*None*None*None*None*None*None*None*None*None*I*Escape*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*#A*D*W*S*Mouse Left*Mouse Right*Mouse Up*Mouse Down*LeftShift*Mouse0*Mouse Wheel Up*Mouse Wheel Down**V**Tab*Mouse1*J*F*Mouse0*G*Space*O*Mouse0***Mouse0******Space*Escape*Mouse Wheel Up*Mouse Wheel Down*****Mouse Left*Mouse Right*Mouse Up*Mouse Down*Mouse Left*Mouse Right*Mouse Up*Mouse Down*#LeftArrow*RightArrow*UpArrow*DownArrow*None*None*None*None*None*None*None*None*None*None*None*I*Escape*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*None*'
$ echo $NEW_KEYMAP | base64 | xargs | sed -e 's/ //g' > cInput_defaults_new
$ cat prefs | sed -e 's/\(<pref.*\?name="cInput_defaults".*\?>\).*\?\(<\/pref>\)/\1#KEYMAP_VALUE#\2/g' | sed -e "s/#KEYMAP_VALUE#/`cat cInput_defaults_new`/g" > prefs_new
$ mv prefs prefs_old
$ mv prefs_new prefs

OS:

$ cat /etc/issue
Welcome to openSUSE 13.2 "Harlequin" - Kernel \r (\l).

Kernel:

$ uname -a
Linux unclesuse_13_2 3.16.6-2-desktop #1 SMP PREEMPT Mon Oct 20 13:47:22 UTC 2014 (feb42ea) x86_64 x86_64 x86_64 GNU/Linux

OpenGL:

$ glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD REDWOOD
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:


#2 Morten

Morten

    RTG Programmer

  • RTG Staff
  • 1061 posts
  • LocationOslo, Norway

Posted 25 November 2014 - 10:13

This seems to be a known issue on Linux.

It's a bug within the Unity engine itself, so there's not too much we can do other than to keep looking for updates to our bug report and wait them to fix this in new a patch, I'm afraid.

 

Thanks for the thorough report. :)


Red Thread Games PR0grammer & Naturally Selected Part-Time "Keep Track of Forum"-person / Community Overseer


#3 Indrid Cold

Indrid Cold

    Harbinger of the Balance

  • Vestrum
  • PipPipPipPipPipPip
  • 3099 posts

Posted 25 November 2014 - 22:10

This seems to be a known issue on Linux.

Hm, I wonder what the specifics are that cause it. It was fine here.



#4 Ikon

Ikon

    Harbinger of the Balance

  • Istrum
  • PipPipPipPipPipPip
  • 2788 posts

Posted 25 November 2014 - 23:22

With so many flavours of Linux out there, I guess it seems reasonable that some would have the issue and others would not.


If at first you don't succeed, do it like your mother told you.


#5 Indrid Cold

Indrid Cold

    Harbinger of the Balance

  • Vestrum
  • PipPipPipPipPipPip
  • 3099 posts

Posted 26 November 2014 - 23:41

With so many flavours of Linux out there, I guess it seems reasonable that some would have the issue and others would not.

Which is why I wonder what causes it. :) Kernel? Display driver? DE? It could be lots of things.



#6 hkariti

hkariti

    Rubber Ducky

  • Member
  • Pip
  • 3 posts

Posted 13 December 2014 - 11:44

Another workaround is to switch a window manager. Looks like openbox is working for some people, and worked for me as well. Before running the game run:

 

    openbox --replace &

 

and to return to your normal wm (I run KDE, so kwin for me):

 

    kwin --replace &

 

Original link: http://www.gamingonl...-for-fixes.3377


  • Morten and Mr Moo like this

#7 Aaron Cohen

Aaron Cohen

    Rubber Ducky

  • Member
  • Pip
  • 9 posts

Posted 29 December 2014 - 02:33

This looks like the same issue I had in this thread

 

http://redthreadgame...to-look-around/

 

I verified the issue persist using a mouse or a trackpad and reproduced the issue under both the latest version of Fedora and Ubuntu using the gnome 3 desktop. Do you still believe it is this issue?

 

http://issuetracker....put-dot-getaxis



#8 Aaron Cohen

Aaron Cohen

    Rubber Ducky

  • Member
  • Pip
  • 9 posts

Posted 29 December 2014 - 03:40

So I did some more tests. openbox does not change the behavior. Also slowing the mouse polling to 500 or 250 has little effect.

 

Here is my current system information:

 

OS:Fedora release 21 (Twenty One)

 
Kernel:
uname -a
Linux  3.17.7-300.fc21.x86_64 #1 SMP Wed Dec 17 03:08:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
Inputs:
 
$ xinput --list --short
⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ Logitech Unifying Device. Wireless PID:400a id=9 [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad               id=12 [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   id=13 [slave  pointer  (2)]
⎣ Virtual core keyboard                   id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard             id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Video Bus                               id=7 [slave  keyboard (3)]
    ↳ Sleep Button                             id=8 [slave  keyboard (3)]
    ↳ Integrated Camera                       id=10 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard             id=11 [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                   id=14 [slave  keyboard (3)]
 
Input  Device Settings:
 
$ xinput --list-props "Logitech Unifying Device. Wireless PID:400a"
Device 'Logitech Unifying Device. Wireless PID:400a':
Device Enabled (141): 1
Coordinate Transformation Matrix (143): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (270): 0
Device Accel Constant Deceleration (271): 1.000000
Device Accel Adaptive Deceleration (272): 1.000000
Device Accel Velocity Scaling (273): 10.000000
Device Product ID (259): 1133, 50475
Device Node (260): "/dev/input/event6"
Evdev Axis Inversion (274): 0, 0
Evdev Axes Swap (276): 0
Axis Labels (277): "Rel X" (151), "Rel Y" (152), "Rel Horiz Wheel" (268), "Rel Vert Wheel" (269)
Button Labels (278): "Button Left" (144), "Button Middle" (145), "Button Right" (146), "Button Wheel Up" (147), "Button Wheel Down" (148), "Button Horiz Wheel Left" (149), "Button Horiz Wheel Right" (150), "Button Side" (263), "Button Extra" (264), "Button Forward" (265), "Button Back" (266), "Button Task" (267), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262)
Evdev Scrolling Distance (279): 1, 1, 1
Evdev Middle Button Emulation (280): 0
Evdev Middle Button Timeout (281): 50
Evdev Third Button Emulation (282): 0
Evdev Third Button Emulation Timeout (283): 1000
Evdev Third Button Emulation Button (284): 3
Evdev Third Button Emulation Threshold (285): 20
Evdev Wheel Emulation (286): 0
Evdev Wheel Emulation Axes (287): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (288): 10
Evdev Wheel Emulation Timeout (289): 200
Evdev Wheel Emulation Button (290): 4
Evdev Drag Lock Buttons (291): 0
 

OpenGL:

$ glxinfo | grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro K1000M/PCIe/SSE2
OpenGL core profile version string: 4.4.0 NVIDIA 343.36
OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 343.36
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 NVIDIA 343.36
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


#9 dmen

dmen

    Rubber Ducky

  • Member
  • Pip
  • 1 posts

Posted 02 January 2015 - 03:51

I have the same problem. I am using Kubuntu 14.04 with a AMD 7870 and the fgrlx drivers. I have found a workaround, uncheck the full screen mode and play in window mode instead.

 

Unfortunately what ever changes I do in the settings are not saved (this is another problem). I have to redo them each time I start the game, and that window mode switch sometimes leads to crash. (Edit) fortunately there is a workaround for this as well, once in window mode exit the game by clicking the X button on the window title bar.

 

Here are my system info:

 

uname -a
Linux tera 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
glxinfo | grep -i opengl
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7800 Series 
OpenGL core profile version string: 4.3.12874 Core Profile Context 14.10.1006.1001
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006.1001
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
 
xinput --list --short
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® 2.4GHz Transceiver v8.0      id=9    [slave  pointer  (2)]
⎜   ↳ Microsoft Microsoft® 2.4GHz Transceiver v8.0      id=10   [slave  pointer  (2)]
⎜   ↳ PixArt Microsoft USB Optical Mouse        id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Microsoft Microsoft® 2.4GHz Transceiver v8.0      id=8    [slave  keyboard (3)]
 
xinput --list-props "PixArt Microsoft USB Optical Mouse"
Device 'PixArt Microsoft USB Optical Mouse':
        Device Enabled (143):   1
        Coordinate Transformation Matrix (145): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (270):     6
        Device Accel Constant Deceleration (271):       1.600000
        Device Accel Adaptive Deceleration (272):       1.000000
        Device Accel Velocity Scaling (273):    0.500000
        Device Product ID (259):        1118, 203
        Device Node (260):      "/dev/input/event5"
        Evdev Axis Inversion (274):     0, 0
        Evdev Axes Swap (276):  0
        Axis Labels (277):      "Rel X" (153), "Rel Y" (154), "Rel Vert Wheel" (268)
        Button Labels (278):    "Button Left" (146), "Button Middle" (147), "Button Right" (148), "Button Wheel Up" (149), "Button Wheel Down" (150), "Button Horiz Wheel Left" (151), "Button Horiz Wheel Right" (152)
        Evdev Middle Button Emulation (279):    0
        Evdev Middle Button Timeout (280):      50
        Evdev Third Button Emulation (281):     0
        Evdev Third Button Emulation Timeout (282):     1000
        Evdev Third Button Emulation Button (283):      3
        Evdev Third Button Emulation Threshold (284):   20
        Evdev Wheel Emulation (285):    0
        Evdev Wheel Emulation Axes (286):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (287):    10
        Evdev Wheel Emulation Timeout (288):    200
        Evdev Wheel Emulation Button (289):     4
        Evdev Drag Lock Buttons (290):  0


#10 Aaron Cohen

Aaron Cohen

    Rubber Ducky

  • Member
  • Pip
  • 9 posts

Posted 04 January 2015 - 01:42

The workaround of running the game in windowed mode works for me. Fullscreen window still causes the issue.

 

Thanks!


  • khh likes this

#11 Aaron Cohen

Aaron Cohen

    Rubber Ducky

  • Member
  • Pip
  • 9 posts

Posted 04 January 2015 - 10:10

The workaround of running the game in windowed mode works for me. Fullscreen window still causes the issue.

 

Thanks!


  • Morten likes this

#12 aem34

aem34

    Rubber Ducky

  • Member
  • Pip
  • 1 posts

Posted 25 January 2015 - 14:40

This seems to be a known issue on Linux.

It's a bug within the Unity engine itself, so there's not too much we can do other than to keep looking for updates to our bug report and wait them to fix this in new a patch, I'm afraid.

 

Thanks for the thorough report. :)

Hello,

 

In the parameters graphics tab,

could you please at least let the player choose between the mouse and keys

for camera movements ?

 

Seeing my wife passing 3/4 of an hour trying to have a good angle at the lights in the second dream

because of the mouse movements, before i find this (great) troubleshoot tip seems a bit underachieved :(

 

At least for the episode 2, or else as a patch could you please -let the player choose-

as it is already in this preference file ?


  • Morten likes this

#13 Morten

Morten

    RTG Programmer

  • RTG Staff
  • 1061 posts
  • LocationOslo, Norway

Posted 26 January 2015 - 11:48

A very good suggestion! Thanks!

We'll take it into account for upcoming patches/releases. :)


Red Thread Games PR0grammer & Naturally Selected Part-Time "Keep Track of Forum"-person / Community Overseer






Also tagged with one or more of these keywords: bug, mouse, input

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users