Um, keyboard or joystick or both ? At any rate, thanks; I can muddle through the keyboard problem and am probably going to buy a Steam controller at some point (would have already but they're not sold in Norway) so will try playing with that instead of joystick and especially for X-Rebirth.timon37 wrote:The input issue will be fixed in the next build, though I don't know when it'll be out.
X³: TC and AP - Linux support thread
Moderators: timon37, Moderators for English X Forum
Keyboard issue almost for sure (unless the sdl-events behave inconsistently between systems).adrianx wrote:Um, keyboard or joystick or both ? At any rate, thanks; I can muddle through the keyboard problem and am probably going to buy a Steam controller at some point (would have already but they're not sold in Norway) so will try playing with that instead of joystick and especially for X-Rebirth.timon37 wrote:The input issue will be fixed in the next build, though I don't know when it'll be out.
I fixed one joystick issue, but I'm getting the impression that there's a different one, which I couldn't reproduce, so your issue probably won't be fixed:(
Thanks for still supporting the older Xs' - have Rebirth in my library but thought I'd wait until its patched and modded to hell and back before playing (especially so I don't have to "play" the mini-game warp-tunnel).timon37 wrote:
Keyboard issue almost for sure (unless the sdl-events behave inconsistently between systems).
I fixed one joystick issue, but I'm getting the impression that there's a different one, which I couldn't reproduce, so your issue probably won't be fixed:(
Hi,
The most recent fixes are out in public beta (switching instructions https://forum.egosoft.com/viewtopic.php?t=392992) so anyone who's not afraid can test them;)
I also have something I'd like those with joystick issues to try.
Open a console and do (note it's lower case L and not upper case i):
In the example the event-joystick one doesn't have read permissions for anyone other than root. Then the simple (albeit annoying) workaround is to just do:
The most recent fixes are out in public beta (switching instructions https://forum.egosoft.com/viewtopic.php?t=392992) so anyone who's not afraid can test them;)
I also have something I'd like those with joystick issues to try.
Open a console and do (note it's lower case L and not upper case i):
You'll get something like this:ls -lL /dev/input/by-id/
You'll likely see your joystick twice, once with -event-joystick and another just -joystick.total 0
crw-r----- 1 root root 13, 67 May 12 09:14 usb-046a_0023-event-if01
crw-r----- 1 root root 13, 66 May 12 09:14 usb-046a_0023-event-kbd
crw-r----- 1 root root 13, 68 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-event-mouse
crw-r----- 1 root root 13, 32 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-mouse
crw-r----- 1 root root 13, 81 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-event-joystick
crw-r--r-- 1 root root 13, 2 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-joystick
In the example the event-joystick one doesn't have read permissions for anyone other than root. Then the simple (albeit annoying) workaround is to just do:
sudo chmod o+r /dev/input/by-id/usb-©Microsoft_Corporation_Controller_0957272-event-joystick
timon37 wrote:Hi,
I also have something I'd like those with joystick issues to try.
Code: Select all
adrian@mort:~$ ls -lL /dev/input/by-id/
total 0
crw-rw---- 1 root input 13, 67 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-event-mouse
crw-rw---- 1 root input 13, 32 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-mouse
crw-rw----+ 1 root plugdev 13, 81 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-event-joystick
crw-rw----+ 1 root plugdev 13, 0 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-joystick
adrian@mort:~$ id
uid=1000(adrian) gid=1000(adrian) groups=1000(adrian),4(adm),24(cdrom),27(sudo),29(audio),30(dip),44(video),46(plugdev),108(lpadmin),124(sambashare),125(vboxusers),128(libvirtd)
adrian@mort:~$ sudo chmod o+r /dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-*
[sudo] password for adrian:
adrian@mort:~$ ls -lL /dev/input/by-id/
total 0
crw-rw---- 1 root input 13, 67 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-event-mouse
crw-rw---- 1 root input 13, 32 May 12 16:12 usb-Clearly_Superior_Technologies._CST_Laser_Trackball-mouse
crw-rw-r--+ 1 root plugdev 13, 81 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-event-joystick
crw-rw-r--+ 1 root plugdev 13, 0 May 12 18:15 usb-Saitek_Saitek_X52_Pro_Flight_Control_System-joystick
adrian@mort:~$ getfacl /dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-*
getfacl: Removing leading '/' from absolute path names
# file: dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-event-joystick
# owner: root
# group: plugdev
user::rw-
user:adrian:rw-
group::rw-
mask::rw-
other::r--
# file: dev/input/by-id/usb-Saitek_Saitek_X52_Pro_Flight_Control_System-joystick
# owner: root
# group: plugdev
user::rw-
user:adrian:rw-
group::rw-
mask::rw-
other::r--
Thanks.
The mesa shader cache uses zlib to compress the cache and you need at least vesion 1.2.9.timon37 wrote:@Avaricia
I'll bundle a few more libs for the next build, that'll hopefully solve the issue for you.
As a workaround you can try copying them from the steam-runtime to the "X3 Terran Conflict/lib" folder.
e.g. from ~/.steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libz.so.1
The game comes with a lower version of the library:
Code: Select all
edmondo@balrog ~/.local/share/Steam/SteamApps/common/X3 Terran Conflict/lib $ strings libz.so.1 | grep ZLIB
ZLIB_1.2.0
ZLIB_1.2.0.2
ZLIB_1.2.0.8
ZLIB_1.2.2
ZLIB_1.2.2.3
ZLIB_1.2.2.4
ZLIB_1.2.3.3
ZLIB_1.2.3.4
Code: Select all
LD_PRELOAD=/usr/lib32/libz.so.1 %command%
Trotz setzen der Zugriffsrechte ist mein Joystick Problem nicht behoben.
Code: Select all
crw-rw----+ 1 root input 13, 66 Mai 22 10:11 usb-Thrustmaster_T.16000M-event-joystick
crw-rw-r--+ 1 root input 13, 0 Mai 22 10:11 usb-Thrustmaster_T.16000M-joystick
Code: Select all
crw-rw-r--+ 1 root input 13, 66 Mai 22 10:11 usb-Thrustmaster_T.16000M-event-joystick
crw-rw-r--+ 1 root input 13, 0 Mai 22 10:11 usb-Thrustmaster_T.16000M-joystick
- Authorised
- Posts: 38
- Joined: Fri, 4. Nov 05, 01:47
This! I put that to "SET LAUNCH OPTIONS..." and config is working well again. Thanks man, I really appreciate your tip.edmondo wrote: To workaround the issue you can preload the system libz library, something like this:
Code: Select all
LD_PRELOAD=/usr/lib32/libz.so.1 %command%
Hi,
really nice to see X3 is still actively maintained!
I've got the same problems as rene77.
My joystick is recognized and working by the configuration application but not in the game.
really nice to see X3 is still actively maintained!
I've got the same problems as rene77.
My joystick is recognized and working by the configuration application but not in the game.
Code: Select all
localhost /home/rinne # ls -lL /dev/input/by-id/
insgesamt 0
crw-rw----+ 1 root input 13, 75 25. Jun 16:47 usb-046d_Driving_Force_GT-event-joystick
crw-rw---- 1 root input 13, 80 25. Jun 16:47 usb-046d_G11_Keyboard-event-kbd
crw-rw---- 1 root input 13, 77 25. Jun 18:47 usb-046d_Gaming_Keyboard-event-if01
crw-rw---- 1 root input 13, 76 25. Jun 16:47 usb-046d_Gaming_Keyboard-event-kbd
crw-rw---- 1 root input 13, 78 25. Jun 18:47 usb-HOLTEK_ROCCAT_Kave_Headset-event-if00
crw-rw---- 1 root input 13, 79 25. Jun 16:47 usb-Logitech_USB_Gaming_Mouse-event-mouse
crw-rw----+ 1 root input 13, 81 25. Jun 18:43 usb-Thrustmaster_T.Flight_Stick_X-event-joystick
localhost /home/rinne # getfa
getfacl getfattr
localhost /home/rinne # getfacl /dev/input/by-id/usb-Thrustmaster_T.Flight_Stick_X-event-joystick
getfacl: Removing leading '/' from absolute path names
# file: dev/input/by-id/usb-Thrustmaster_T.Flight_Stick_X-event-joystick
# owner: root
# group: input
user::rw-
user:rinne:rw-
group::rw-
mask::rw-
other::---
Did some more testing concerning the joystick issue.
I downloaded older versions of X3 Terran Conflict via the steam console.
Results:
Version: June 29, 2015
X3TC_config: Joystick works as expected
X3TC_main: Joystick works as expected
Version: April 19, 2017
X3TC_config: Joystick recognized but input doesn't work
X3TC_main: Joystick recognized but input doesn't work
Version: May 15, 2017
X3TC_config: Joystick works as expected
X3TC_main: Joystick recognized but input doesn't work
The AP beta acts the same as the May 15 build.
Is there maybe something missing from the game that was patched in the configuration utility?
I downloaded older versions of X3 Terran Conflict via the steam console.
Results:
Version: June 29, 2015
X3TC_config: Joystick works as expected
X3TC_main: Joystick works as expected
Version: April 19, 2017
X3TC_config: Joystick recognized but input doesn't work
X3TC_main: Joystick recognized but input doesn't work
Version: May 15, 2017
X3TC_config: Joystick works as expected
X3TC_main: Joystick recognized but input doesn't work
The AP beta acts the same as the May 15 build.
Is there maybe something missing from the game that was patched in the configuration utility?
I have identical issue with my Saitek x52 (regular, not pro).
Game setup recognize it but it is not working in the game.
It worked several updates ago.
Game setup recognize it but it is not working in the game.
It worked several updates ago.
It does not help.timon37 wrote:Hi,
The most recent fixes are out in public beta (switching instructions https://forum.egosoft.com/viewtopic.php?t=392992) so anyone who's not afraid can test them;)
I also have something I'd like those with joystick issues to try.
Open a console and do (note it's lower case L and not upper case i):You'll get something like this:ls -lL /dev/input/by-id/You'll likely see your joystick twice, once with -event-joystick and another just -joystick.total 0
crw-r----- 1 root root 13, 67 May 12 09:14 usb-046a_0023-event-if01
crw-r----- 1 root root 13, 66 May 12 09:14 usb-046a_0023-event-kbd
crw-r----- 1 root root 13, 68 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-event-mouse
crw-r----- 1 root root 13, 32 May 12 09:14 usb-Microsoft_Comfort_Mouse_6000-mouse
crw-r----- 1 root root 13, 81 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-event-joystick
crw-r--r-- 1 root root 13, 2 May 12 16:53 usb-©Microsoft_Corporation_Controller_0957272-joystick
In the example the event-joystick one doesn't have read permissions for anyone other than root. Then the simple (albeit annoying) workaround is to just do:sudo chmod o+r /dev/input/by-id/usb-©Microsoft_Corporation_Controller_0957272-event-joystick
Regarding Avaricia's issue on page 42:
I fixed this by downloading the current zlib source code (1.2.11) from their website and making a slight edit to it. It was very easy.
Just extract whatever archive you download from the zlib site (.zip, .tar.gz, w/e) somewhere, then open up the main header file (zlib.h) in whatever your preferred text editor is. Then change the version number to 1.2.9 (from 1.2.11); it will be easy to locate, near the top and in a #define. Then just (in a terminal in the directory) run ./configure followed by make. Locate the new zlib you've compiled (libz.so.1.2.9), copy it into your X3 libs and rename it to libz.so.1 and you should be good to go.
Sorry if I was too detailed, but I wanted to make sure you knew exactly what I did
Edit: Oh, I see there were other solutions posted already. Well, no harm in listing another. I'm new to this old-school forum interface.
I fixed this by downloading the current zlib source code (1.2.11) from their website and making a slight edit to it. It was very easy.
Just extract whatever archive you download from the zlib site (.zip, .tar.gz, w/e) somewhere, then open up the main header file (zlib.h) in whatever your preferred text editor is. Then change the version number to 1.2.9 (from 1.2.11); it will be easy to locate, near the top and in a #define. Then just (in a terminal in the directory) run ./configure followed by make. Locate the new zlib you've compiled (libz.so.1.2.9), copy it into your X3 libs and rename it to libz.so.1 and you should be good to go.
Sorry if I was too detailed, but I wanted to make sure you knew exactly what I did
Edit: Oh, I see there were other solutions posted already. Well, no harm in listing another. I'm new to this old-school forum interface.
Solved zlib issue by downloading 1.2.9 version from https://zlib.net/fossils/, compiling it and placing into game lib folder
[Linux] X3AP - Steam update removed the installation
Yesterday Steam updated and after the update I found no games installed. Now I have to download 7.3 GB again???
This Steam thing look like junkware, any way to run the game alone ON Linux?
Thanks
This Steam thing look like junkware, any way to run the game alone ON Linux?
Thanks
-
- Moderator (English)
- Posts: 30436
- Joined: Fri, 16. Apr 04, 19:21