It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi All..

New to GOG, but really fed up with steam and was delighted to find GOG and a Linux version of one of my favorite games, X3..

Been trying to install it all morning but not making any headway so popped onto here in the hope of finding some wiser folk that may be able to help me..

So far..

In a terminal I entered;
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get -y install libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386

Then downloaded the file gog_x3_terran_war_pack_2.4.0.7.sh (9Gb)

opened a terminal in the downloaded folder and entered
chmod +x gog_x3_terran_war_pack_2.4.0.7.sh

then did
sudo bash gog_x3_terran_war_pack_2.4.0.7.sh

Immediately the error comes up;
Locale not supported by C library.
Using the fallback 'C' locale.

I am guessing that this may be because my keyboard is set for UK english and not USA?
Anyway, I go through and complete the install and 2 icons come up;
X3: Terran War Pack
and
gog_com-X3_Terran_War_Pack_2.desktop

The 2nd one has an 'x' on it..
If I double click on the first icon, I get

Failed to run" gog_com-X3_Terran_War_Pack_1.desktop"
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dexec_2derror_2dquark.Code3:
Failed to execute child process "/home/steve/GOG Games/X3 Terran War Pack/start.sh" (Permission denied)

Just for fun, I tried the 2nd icon and got;
Failed to run" gog_com-X3_Terran_War_Pack_1.desktop"
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17:
Failed to parse the desktop file: Error opening file "/home/steve/Desktop/gog_com-X3_Terran_War_Pack_2.desktop
Permission denied

Have a very quick and powerful system running Ubuntu Studio which is fully updated, with a Nvidia 1080 on the latest proprietary driver..
I pretty much exhausted my knowledge of Linux after I typed "sudo", so anyone out there have an idea of what is going on?
Post edited May 27, 2019 by warmonger1369
avatar
warmonger1369: sudo bash gog_x3_terran_war_pack_2.4.0.7.sh
It's not working because you installed it as the root user - you should never run things as root unless it's strictly necessary to do so, and games have no reason to require root access. To fix this go to wherever you installed the game to and run the uninstall script (as root), and then run the installer again as a normal user.

If you're new to Linux, my Linux Mint beginner's guide might be helpful :)
Locale not supported... is only a warning. The installation will be fine.
I think that part of the problem is the use of sudo.
Uninstall the game (again with sudo), then reinstall it using this command:
./gog_x3_terran_war_pack_2.4.0.7.sh

edit: didn't see the answer by adamhm
Post edited May 27, 2019 by FireBelliedToad
avatar
FireBelliedToad: Locale not supported... is only a warning. The installation will be fine.
I think that part of the problem is the use of sudo.
Uninstall the game (again with sudo), then reinstall it using this command:
./gog_x3_terran_war_pack_2.4.0.7.sh

edit: didn't see the answer by adamhm
Thanks Adam.. I used sudo as that is what is on GOG's website, the instructions for install were;

chmod +x gog_x3_terran_war_pack_2.4.0.7.sh
sudo bash gog_x3_terran_war_pack_2.4.0.7.sh

Have followed your advice and it all went in fine, just got to sort out 'ZLIB_1.2.9' not found error that is coming up when I try to run it..
Thank you..!!!!!
avatar
FireBelliedToad: Locale not supported... is only a warning. The installation will be fine.
I think that part of the problem is the use of sudo.
Uninstall the game (again with sudo), then reinstall it using this command:
./gog_x3_terran_war_pack_2.4.0.7.sh

edit: didn't see the answer by adamhm
Thanks to you too, FireBelliedToad (nice handle)..
Two Linux heads are better than one..! Though I am struggling to sort out this ZLIB thing.. Is that right? The error calls it ZLIB_1.2.9, but the actual file believe this is referring to is called libz.so.1.. sigh.. think I will remain Linux 'challenged' for the rest of my natural at this rate..
Post edited May 27, 2019 by warmonger1369
avatar
warmonger1369: Thanks to you too, FireBelliedToad (nice handle)..
Two Linux heads are better than one..! Though I am struggling to sort out this ZLIB thing.. Is that right? The error calls it ZLIB_1.2.9, but the actual file believe this is referring to is called libz.so.1.. sigh.. think I will remain Linux 'challenged' for the rest of my natural at this rate..
What is the error exactly? Also, what version of Ubuntu are you using?

If any dependencies are missing & you're using Ubuntu 18.04 LTS you could try installing my common dependencies meta-package and seeing if that fixes it (this may also work on later versions of Ubuntu, but it's not designed for them so it might not; just don't install it if it'll result in any packages being removed).
avatar
warmonger1369: I used sudo as that is what is on GOG's website, the instructions for install were;

chmod +x gog_x3_terran_war_pack_2.4.0.7.sh
sudo bash gog_x3_terran_war_pack_2.4.0.7.sh
Where (URL?) did you find these instructions exactly? If it's on an official gog page, it would be good to see if we can have them corrected.

Looking at the support questions for the game, I see Can I install a game with root priveleges?
You don’t need root privileges to use our installers. In fact, you should not use root account or sudo for installing or running games, because it might cause some serious problems.
Post edited May 27, 2019 by gogtrial34987
I gave up on X3 because of zlib... There's this suggestion https://www.gog.com/forum/x_series/x3_terran_war_linux_shared_library_issues/post5 but I've found it much later and haven't tried it.
avatar
InkPanther: I gave up on X3 because of zlib... There's this suggestion https://www.gog.com/forum/x_series/x3_terran_war_linux_shared_library_issues/post5 but I've found it much later and haven't tried it.
Spent too many hours trying to sort this one so contacted GOG tech support about it last night..
They were very prompt in reacting and it seems the game will not work on Ubuntu 19. sigh..

So it looks like I will have to give up on X3 (will not use Steam as is owned by corrupt google).
Thanks for all your help guys, will have to find something else to occupy my time with..!

:-)
I got the game running fairly easily on Mint 19 (based on Ubuntu 18.04) - I first removed all of the libraries from <installpath>/lib/ as those are ones that really should never be bundled such as libstdc++ and libX*, and from <installpath>/game/lib/ I just removed libz.so.1

It might be necessary to remove other libraries on newer versions of Ubuntu, and/or you might need to install the system provided versions of other dependencies via the package manager.

Edit: Only seems to need the libav*, libGLEW and libswscale libraries bundled in <installpath>/game/lib to work here
Post edited May 28, 2019 by adamhm