X³: TC and AP - Linux support thread

Ask here if you experience technical problems with X³: Terran Conflict, X³: Albion Prelude or X³: Farnham's Legacy.

Moderators: timon37, Moderators for English X Forum

Post Reply
radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: X³: TC and AP - Linux support thread

Post by radcapricorn » Tue, 9. Oct 18, 18:33

ncc386, if your save is from vanilla game, could you upload it to some file hosting? I could try loading it on my Linux machine, see what happens.

g04tn4d0
Posts: 2040
Joined: Mon, 26. Apr 04, 12:58
x4

Re: X³: TC and AP - Linux support thread

Post by g04tn4d0 » Wed, 10. Oct 18, 05:04

I tried my backups and the autosaves work but the main save still doesn't. About to load it on a Windows machine and resave it and try that. I can totes email you my save file or something if you want. That would be great.

radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: X³: TC and AP - Linux support thread

Post by radcapricorn » Wed, 10. Oct 18, 06:04

Could you just upload to some file hosting like dropbox and then share a link here or via PM?


radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: X³: TC and AP - Linux support thread

Post by radcapricorn » Thu, 11. Oct 18, 15:58

Well, the save loaded just fine here, so whatever the problem is it isn't "just" Linux, perhaps some library issue? Maybe if you run Steam, or even just the X3AP_main binary itself, from console you could get a clue from the output?

PS: I like your ship names. ;)

g04tn4d0
Posts: 2040
Joined: Mon, 26. Apr 04, 12:58
x4

Re: X³: TC and AP - Linux support thread

Post by g04tn4d0 » Thu, 11. Oct 18, 16:59

radcapricorn wrote:
Thu, 11. Oct 18, 15:58
Well, the save loaded just fine here, so whatever the problem is it isn't "just" Linux, perhaps some library issue? Maybe if you run Steam, or even just the X3AP_main binary itself, from console you could get a clue from the output?

PS: I like your ship names. ;)
Thanks for looking at it! I'm using the GOG version. I'll download and install and patch up the Steam version and see if I can load my game there. I don't even remember what my ship names were but I'm assuming they were somewhat offensive as I named them whilst blackout drunk.

EDIT: I have successfully loaded my saved game using the Steam version of the game. The GOG version, however, crashes with some sort of core dump. Interesting! Thanks for the help!

emeres
Posts: 1
Joined: Wed, 10. Jul 13, 02:56
x3ap

Re: X3AP Linux - Issue with planets & "flare" textures

Post by emeres » Tue, 6. Nov 18, 13:46

duozerk wrote:
Thu, 25. Feb 16, 23:08
Hello,

I recently installed X3AP for Linux (through steam).
Everything in the game seems to be working well (thus far) but I seem to have a big issue with what I assume to be some textures; specifically the clouds textures on all planets and what I assume to be some sort of semi-transparent "glare" texture when looking at remote stars.

Screenshots, planet issue:

https://i.imgur.com/rNTXk6W.jpg
https://i.imgur.com/OsfrQK7.jpg
https://i.imgur.com/noarXga.jpg

"Glare" issue:

https://i.imgur.com/mAd24nm.jpg

I assume the root cause is the same for both.
My system information: Debian Jessie amd64; NVidia Geforce 660M (and also an intel card, running the game through it has the same issue, see below).
The game is the very latest steam version, unmodded. The bonus pack is installed (through innoextract due to the lack of a linux port).
My graphic drivers are also the very latest, proprietary nvidia ones (the 9th February 361.28 release); installed in an attempt at fixing the issue - was previously using ~6 months old drivers with the same issue.
What I have tried:
  • Changing all graphics parameters (including the greyed out AA one through config.yaml, resolution, glow, etc.); running the game windowed as well; to no effect.
  • Updating my graphic drivers (no results).
  • Starting a new game with a different start script (the screenshots above come from a Humble Merchant one) - no result.
  • Checking the files integrity in steam (everything OK, no anomaly).
  • Running the game through my Intel card (I have optimus) instead of the nvidia one; the game runs fine but has the same issue.
  • Checking the "Run previous version" checkbox.
  • Launching the game directly with steam closed (still going through testandlaunch).
  • Launching X3AP_main and X3AP_main_b11 (I assume this stands for "build11") directly without going through the config tool first (with or without going through testandlaunch).
  • Out of despair, I also tried tweaking LD_LIBRARY_PATH to use some system libraries instead of the steam/game ones (tried that for libGL* libs such as libGLEW) - no results either.
  • Launching X3TC without AP; same issue.
None of it worked.
The fact that the issue occurs even with the intel card makes me suspect some sort of texture compression issue, perhaps ? note that in some systems, the planet looks mostly OK but a slight upper cloud layer is messed up the same way - weird lines instead of clear texture.
Also note on the above screenshots that on most planets, only part of the planet shows the issue.

I should also add that I played X3: Reunion years ago (the LGP preorder boxset - also participated in the LGP beta at the time) and I never saw such an issue through hundreds of hours of game time - this probably has low relevance though, since I suppose X3TC/AP improved on the graphics and the issue probably occurs on one of those improvements ?

In any case, this is a big issue for me because it completely breaks immersion; I'm also afraid some other texture issues will show up later in game (I only played for about an hour right now - no combat, for example). I was ecstatic when I discovered that X3TC not only was released for Linux, but that X3AP had been released as well, and I'd really like to be able to play this game.

Does anyone have any suggestion / tweaks I could try, or an idea of where this issue could come from ? even some sort of graphics improval mod that would replace those textures may be a solution, maybe ? or possibly converting the problematic texture to another format that the game could understand as well ?

Thanks in advance !

[Edit] Forgot to add, I also tried searching for similar issues on Google to no effect; and also tried looking through this very topic for similar issues with no results either (a "search topic" feature on this forum would be a great addition, by the way). Finally, I also looked extensively through the game log (stdout & stderr) but nothing seems out of order - no "unable to load texture" or really any error message that seems relevant.

[Edit2] Updated my forum profile to link to my steam account to prove ownership of the games in case this is required.

[Edit3] I have performed a more extensive search on the forums and it seems to be the exact same issue as another forum user, Gligli, reported previously: http://forum.egosoft.com/viewtopic.php? ... 68#4482968; however, there was never any follow up. I did send a PM to that user just in case. At least I know I'm not alone !
Confirming this issue on Kubuntu 18.04 x86_64 for X3TC. Any suggestions?

radcapricorn
Moderator (English)
Moderator (English)
Posts: 3230
Joined: Mon, 14. Jul 08, 13:07
x4

Re: X³: TC and AP - Linux support thread

Post by radcapricorn » Fri, 9. Nov 18, 16:52

Just some suggestions from a fellow Linux player, though I haven't seen that specific issue:

1) Make sure you are indeed running on an nVidia, and not Intel, when using Optimus, and that you're in fact using nVidia's drivers.
2) Try renaming (deleting) the following files in your "steamapps/common/X3 Terran Conflict/lib" directory: libz.so.1, libpng12.so.0. For example, in a terminal:

Code: Select all

$ cd /path/to/steam/steamapps/common/X3\ Terran\ Conflict/lib
$ mv libz.so.1 libz_.so.1
Try running the game and see if it makes any difference. If not, try the same for libpng:

Code: Select all

$ cd /path/to/steam/steamapps/common/X3\ Terran\ Conflict/lib
$ mv libpng12.so.0 libpng12_.so.0
And try again. To revert back, simply swap the arguments for those "mv" commands, or verify the Steam cache. Note that the directory is "X3 Terran Conflict", but these changes affect both TC and AP.

That is to force the game use the libraries installed on your system, instead of ones pre-packaged with the game.

bufi
Posts: 1340
Joined: Wed, 3. Dec 03, 23:49
x4

Re: X³: TC and AP - Linux support thread

Post by bufi » Tue, 5. Feb 19, 22:50

Thx @radcapricorn. It's works for me. Linux Fedora 29.
bufi

strelook
Posts: 1
Joined: Sun, 21. Jul 19, 18:56

Re: X³: TC and AP - Linux support thread

Post by strelook » Sun, 21. Jul 19, 19:30

radcapricorn wrote:
Fri, 9. Nov 18, 16:52
Just some suggestions from a fellow Linux player, though I haven't seen that specific issue:

1) Make sure you are indeed running on an nVidia, and not Intel, when using Optimus, and that you're in fact using nVidia's drivers.
2) Try renaming (deleting) the following files in your "steamapps/common/X3 Terran Conflict/lib" directory: libz.so.1, libpng12.so.0. For example, in a terminal:

Code: Select all

$ cd /path/to/steam/steamapps/common/X3\ Terran\ Conflict/lib
$ mv libz.so.1 libz_.so.1
Thanks, renaming helped to run on my system.
Ubuntu 18.04.2 LTS
AMD® A8-7600 radeon r7, 10 compute cores 4c+6g × 4
GeForce GTX 660/PCIe/SSE2

Gamma Rad
Posts: 7
Joined: Wed, 20. Jul 16, 16:36
x4

Re: X³: TC and AP - Linux support thread

Post by Gamma Rad » Wed, 14. Aug 19, 02:57

https://i.imgur.com/SBAy1fh.png

So I am guessing this is the blue stripe broken textures issues from the first post, but I installed libtxc_dxtn and I am still getting this. any other possible fix?

Clarification: I have both 32bit and 64bit versions of the library installed. I am running Arch.

gnu.beef
Posts: 21
Joined: Mon, 12. Aug 19, 17:51
x3tc

Re: X³: TC and AP - Linux support thread

Post by gnu.beef » Tue, 20. Aug 19, 18:52

Hello.

I am having a graphical anomaly in current linux-native x3tc (steam): sudden blinding white screen-wide flashes when Terran SSC/PSSC weapons are fired in sector.

Screen recording available: https://i.imgur.com/WmGSDq0.mp4 ( alternative link https://imgur.com/a/KZGZffO )

I originally posted this in a separate topic viewtopic.php?f=93&t=418265 - details such as glxinfo, ldd and hardware are there.

Thanks in advance for your assistance.
X3TC (vanilla+bp): X-TREME/X-TREME 2019-08-31
X3AP (vanilla+bp): Opportunist/Harmless

fastesteddy13
Posts: 7
Joined: Tue, 29. Sep 15, 23:05
x3

Re: X³: TC and AP - Linux support thread

Post by fastesteddy13 » Wed, 28. Aug 19, 14:49

I am also having problems with the GOG version of the Terran Warpack.. Am running Kubuntu (fresh install, fully updated) with a 1080 8Gb nvidia (430 64bit driver). Could not get the game to start at all to begin with and finally took out libz.so.1, libxcb.so.1 and libpng12.so.0 from the game directory, which apparently forces the game to use the system files rather than its own.
Can now start and get into the game but all sorts of wierd things happening in the game, menus racing around, ships disappearing, seti sometimes working, sometimes not. Generally feeling not stable.. Really hope someone comes up with something soon. Strange thing is that I was able to run X3 TC last year with the same computer (was running Mint Cinnamon though) and it ran super fast and smooth back then, really cant see what has changed since then but something must have..

gnu.beef
Posts: 21
Joined: Mon, 12. Aug 19, 17:51
x3tc

Re: X³: TC and AP - Linux support thread

Post by gnu.beef » Sat, 14. Sep 19, 15:50

The bug that was reported in October 2015 ( viewtopic.php?p=4558369#p4558369 ) about division by zero/SIGFPE is still present in currrent X3AP on Linux as of September 2019 - crash to desktop in the middle of the first large battle I got into in a AP war sector with this in dmesg:

Code: Select all

traps: X3AP_main[3031] trap divide error ip:8175dc7 sp:ffbc766c error:0 in X3AP_main[8048000+23c000]
X3TC (vanilla+bp): X-TREME/X-TREME 2019-08-31
X3AP (vanilla+bp): Opportunist/Harmless

wasted90
Posts: 244
Joined: Fri, 2. Nov 18, 03:29
x4

Re: X³: TC and AP - Linux support thread

Post by wasted90 » Wed, 11. Dec 19, 17:05

Game Version: GOG OS: Arch Linux Kernel: 5.4.2-zen

Hello, first time I have to post here. Hope somebody can help me or point me in the right direction. I have following issue:

I have terran war pack grom GOG. After working around some libary issues the game itself is running fine without crashes or similar annoyences. but i want to play in german. after having a look at the start.sh script i suspected it to do the trick.
After running it created some symlinks inside the game directory and menus and texts are now german, but there are no voices anymore, neither english nor german. are these german voice files missing in the gog linux version? or are the symlinks created by start.sh wrong?

At this point i'm also mailing with gog support, but nothing helpfull from their side so far.

I can provide the current tree of my game directory shortened out where nothing special regarding my issue is to see (scripts etc.)


Thanks for your help :)
Spoiler
Show
.
├── docs
│   ├── End User License Agreement.txt
│   └── installer_readme.txt
├── game
│   ├── 01.cat
│   ├── 01.dat
│   ├── 02.cat
│   ├── 02.dat
│   ├── 03.cat
│   ├── 03.dat
│   ├── 04.cat
│   ├── 04.dat
│   ├── 05.cat
│   ├── 05.dat
│   ├── 06.cat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/English/06.cat
│   ├── 06.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/English/06.dat
│   ├── 07.cat
│   ├── 07.dat
│   ├── 08.cat
│   ├── 08.dat
│   ├── 09.cat
│   ├── 09.dat
│   ├── 10.cat
│   ├── 10.dat
│   ├── 11.cat
│   ├── 11.dat
│   ├── 12.cat
│   ├── 12.dat
│   ├── 13.cat
│   ├── 13.dat
│   ├── addon
│   │   ├── 01.cat
│   │   ├── 01.dat
│   │   ├── 02.cat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/English/addon/02.cat
│   │   ├── 02.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/English/addon/02.dat
│   │   ├── 03.cat
│   │   ├── 03.dat
│   │   ├── 04.cat
│   │   ├── 04.dat
│   │   ├── Documents
│   │   │   ├── Changelog_DE.txt
│   │   │   ├── Changelog_EN.txt
│   │   │   ├── Changelog_ES.txt
│   │   │   ├── Changelog_FR.txt
│   │   │   ├── Changelog_IT.txt
│   │   │   ├── Changelog_PL.txt
│   │   │   └── Changelog_RU.txt
│   │   ├── lang.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/addon/lang.dat
│   │   ├── loadscr
│   │   │   ├── loadscr00001.jpg
│   │   │   ├── loadscr00002.jpg
│   │   │   ├── loadscr00003.jpg
│   │   │   ├── loadscr00004.jpg
│   │   │   ├── loadscr00005.jpg
│   │   │   ├── loadscr00006.jpg
│   │   │   ├── loadscr00007.jpg
│   │   │   ├── loadscr00008.jpg
│   │   │   ├── LoadScrHD.jpg
│   │   │   └── Thumbs.db
│   │   ├── mov
│   │   │   ├── 00044.pck
│   │   │   ├── 00049.pck -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/addon/mov/00049.pck
│   │   │   ├── 00144.dat
│   │   │   ├── 00149.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/addon/mov/00149.dat
│   │   │   ├── 00244.dat
│   │   │   ├── 00249.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/addon/mov/00249.dat
│   │   │   ├── 00810.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/English/addon/mov/00810.dat
│   │   │   └── 00841.dat
│   │   ├── scripts
│   │   │  
│   │   ├── t
│   │   │   ├── 0002-L007.pck
│   │   │   ├── 0002-L033.pck
│   │   │   ├── 0002-L034.pck
│   │   │   ├── 0002-L039.pck
│   │   │   ├── 0002-L042.pck
│   │   │   ├── 0002-L048.pck
│   │   │   ├── 0002-L049.pck
│   │   │   ├── 0002-L081.pck
│   │   │   ├── 0002-L086.pck
│   │   │   ├── 0002-L088.pck
│   │   │   ├── 0002.pck
│   │   │   ├── 0003-L007.xml
│   │   │   ├── 0003-L033.xml
│   │   │   ├── 0003-L034.xml
│   │   │   ├── 0003-L039.xml
│   │   │   ├── 0003-L044.xml
│   │   │   ├── 0003-L048.xml
│   │   │   ├── 0003-L049.xml
│   │   │   ├── 0003-L081.xml
│   │   │   ├── 0003-L086.xml
│   │   │   └── 0003-L088.xml
│   │   ├── types
│   │   └── x3files.xml
│   ├── background2ap.jpg
│   ├── background2.jpg
│   ├── dds
│   │   ├── envmap_test.dds
│   │   └── jupiter_stripe_diff.dds
│   ├── Documents
│   │   ├── Changelog_CZ.txt
│   │   ├── Changelog_DE.txt
│   │   ├── Changelog_EN.txt
│   │   ├── Changelog_ES.txt
│   │   ├── Changelog_FR.txt
│   │   ├── Changelog_IT.txt
│   │   ├── Changelog_PL.txt
│   │   ├── Changelog_RU.txt
│   │   ├── Manual_PL.pdf
│   │   ├── x3tc_manual_de.pdf -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/Documents/x3tc_manual_de.pdf
│   │   └── x3tc_manual_us_low_online.pdf
│   ├── gamepad.png
│   ├── lang.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/lang.dat
│   ├── lib
│   │   ├── libavcodec.so.53
│   │   ├── libavformat.so.53
│   │   ├── libavutil.so.51
│   │   ├── libbz2.so.1.0
│   │   ├── libcrypto.so.1.0.0
│   │   ├── libGLEW.so.1.13
│   │   ├── libGLEW.so.1.9
│   │   ├── libjpeg.so.62
│   │   ├── libjpeg.so.8
│   │   ├── libogg.so.0
│   │   ├── libopenal.so.1
│   │   ├── libpng12.so.0
│   │   ├── libSDL2-2.0.so.0
│   │   ├── libswscale.so.2
│   │   ├── libva.so.1
│   │   ├── libvorbisfile.so.3
│   │   ├── libvorbis.so.0
│   │   └── libxml2.so.2
│   ├── loadscr
│   │   ├── x3screen00001.jpg
│   │   ├── x3screen00002.jpg
│   │   ├── x3screen00003.jpg
│   │   ├── x3screen00004.jpg
│   │   ├── x3screen00005.jpg
│   │   ├── x3screen00006.jpg
│   │   ├── x3screen00007.jpg
│   │   └── x3screen00008.jpg
│   ├── mov
│   │   ├── 00001.dat
│   │   ├── 00002.dat
│   │   ├── 00044.pck
│   │   ├── 00049.pck -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/mov/00049.pck
│   │   ├── 00144.dat
│   │   ├── 00149.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/German/mov/00149.dat
│   │   ├── 00800.dat
│   │   ├── 00810.dat -> /home/wasted/GOG Games/X3 Terran War Pack/languages/English/mov/00810.dat
│   │   ├── 00811.dat
│   │   ├── 00812.dat
│   │   ├── 00813.dat
│   │   ├── 00814.dat
│   │   ├── 00815.dat
│   │   ├── 00816.dat
│   │   ├── 00817.dat
│   │   ├── 00818.dat
│   │   ├── 00819.dat
│   │   ├── 00820.dat
│   │   ├── 00821.dat
│   │   ├── 00822.dat
│   │   └── 00831.dat
│   ├── Online Registration.url
│   ├── res.dat
│   ├── scripts
│   │  
│   ├── soundtrack
│   │  
│   ├── t
│   │   ├── 0002-L007.pck
│   │   ├── 0002-L033.pck
│   │   ├── 0002-L034.pck
│   │   ├── 0002-L039.pck
│   │   ├── 0002-L042.pck
│   │   ├── 0002-L048.pck
│   │   ├── 0002-L049.pck
│   │   ├── 0002-L081.pck
│   │   ├── 0002-L086.pck
│   │   ├── 0002-L088.pck
│   │   ├── 0002.pck
│   │   ├── 0003-L007.xml
│   │   ├── 0003-L033.xml
│   │   ├── 0003-L034.xml
│   │   ├── 0003-L039.xml
│   │   ├── 0003-L044.xml
│   │   ├── 0003-L048.xml
│   │   ├── 0003-L049.xml
│   │   ├── 0003-L081.xml
│   │   ├── 0003-L086.xml
│   │   └── 0003-L088.xml
│   ├── test_txc
│   ├── test_X3AP_config
│   ├── test_X3AP_main
│   ├── test_X3TC_config
│   ├── test_X3TC_main
│   ├── uninst
│   ├── X3AP_config
│   ├── X3AP_main
│   ├── x3files.xml
│   ├── X3TC_config
│   ├── X3TC_main
│   └── x3tc_manual_us_low_online.pdf
├── gameinfo
├── languages
│   ├── Czech
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00044.pck
│   │   └── lang.dat
│   ├── English
│   │   ├── 06.cat
│   │   ├── 06.dat
│   │   ├── addon
│   │   │   ├── 02.cat
│   │   │   ├── 02.dat
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00810.dat
│   │   ├── lang.dat
│   │   └── mov
│   │   ├── 00049.pck
│   │   └── 00810.dat
│   ├── French
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   ├── 00033.pck
│   │   │   ├── 00133.dat
│   │   │   └── 00233.dat
│   │   ├── Documents
│   │   │   └── x3tc_manual_fr.pdf
│   │   ├── lang.dat
│   │   └── mov
│   │   ├── 00033.pck
│   │   └── 00133.dat
│   ├── German
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   ├── 00049.pck
│   │   │   ├── 00149.dat
│   │   │   └── 00249.dat
│   │   ├── Documents
│   │   │   └── x3tc_manual_de.pdf
│   │   ├── lang.dat
│   │   └── mov
│   │   ├── 00049.pck
│   │   └── 00149.dat
│   ├── Italian
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00044.pck
│   │   └── lang.dat
│   ├── Japanese
│   │   ├── 06.cat
│   │   ├── 06.dat
│   │   ├── addon
│   │   │   ├── 02.cat
│   │   │   ├── 02.dat
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00044.pck
│   │   └── lang.dat
│   ├── Polish
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00044.pck
│   │   └── lang.dat
│   ├── Russian
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   ├── 00007.pck
│   │   │   ├── 00107.dat
│   │   │   ├── 00207.dat
│   │   │   └── 00810.dat
│   │   ├── lang.dat
│   │   └── mov
│   │   ├── 00007.pck
│   │   ├── 00107.dat
│   │   └── 00810.dat
│   ├── Simplified Chinese
│   │   ├── 06.cat
│   │   ├── 06.dat
│   │   ├── addon
│   │   │   ├── 02.cat
│   │   │   ├── 02.dat
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00044.pck
│   │   └── lang.dat
│   ├── Spanish
│   │   ├── addon
│   │   │   ├── lang.dat
│   │   │   └── mov
│   │   │   └── 00044.pck
│   │   └── lang.dat
│   └── Traditional Chinese
│   ├── 06.cat
│   ├── 06.dat
│   ├── addon
│   │   ├── 02.cat
│   │   ├── 02.dat
│   │   ├── lang.dat
│   │   └── mov
│   │   └── 00044.pck
│   └── lang.dat
├── lib
│   ├── libGLU.so.1 -> libGLU.so.1.3.1
│   ├── libGLU.so.1.3.1
│   ├── libopenal.so.1 -> libopenal.so.1.14.0
│   ├── libopenal.so.1.14.0
│   ├── libstdc++.so.6 -> libstdc++.so.6.0.19
│   ├── libstdc++.so.6.0.19
│   ├── libX11.so.6 -> libX11.so.6.3.0
│   ├── libX11.so.6.3.0
│   ├── libXau.so.6 -> libXau.so.6.0.0
│   ├── libXau.so.6.0.0
│   ├── libxcb.so.1 -> libxcb.so.1.1.0
│   ├── libxcb.so.1.1.0
│   ├── libXcursor.so.1 -> libXcursor.so.1.0.2
│   ├── libXcursor.so.1.0.2
│   ├── libXdmcp.so.6 -> libXdmcp.so.6.0.0
│   ├── libXdmcp.so.6.0.0
│   ├── libXext.so.6 -> libXext.so.6.4.0
│   ├── libXext.so.6.4.0
│   ├── libXfixes.so.3 -> libXfixes.so.3.1.0
│   ├── libXfixes.so.3.1.0
│   ├── libXrandr.so.2 -> libXrandr.so.2.2.0
│   ├── libXrandr.so.2.2.0
│   ├── libXrender.so.1 -> libXrender.so.1.3.0
│   └── libXrender.so.1.3.0
├── start.sh
├── support
│   ├── gog_com.shlib
│   ├── gog-system-report.sh
│   ├── icon.png
│   ├── support_notice.txt
│   └── xdg-utils
│   ├── xdg-desktop-icon
│   ├── xdg-desktop-menu
│   └── xdg-open
├── tree.txt
└── uninstall-X3 Terran War Pack.sh

61 directories, 1664 files

EDIT: look at the next to posts from me, i've figured it out and explaned my workaround
Last edited by wasted90 on Fri, 13. Dec 19, 02:23, edited 1 time in total.

wasted90
Posts: 244
Joined: Fri, 2. Nov 18, 03:29
x4

Re: X³: TC and AP - Linux support thread

Post by wasted90 » Thu, 12. Dec 19, 18:39

concerning and in addition to my post from yesterday:

-affected GOG installers:

gog_x3_terran_war_pack_2.4.0.5.sh
gog_x3_terran_war_pack_2.4.0.7.sh

(the two i've tried so far)


-i had a closer look at the voice files in question in clean game-installs and it looks like the language files shipped with the installer where just copied over from the windows game version. the contents of the following files


00149.dat in /GOG Games/X3 Terran War Pack/languages/German/mov/ -> https://i.imgur.com/MhIYLOm.png

00149.dat in /GOG Games/X3 Terran War Pack/languages/German/addon/mov/ -> https://i.imgur.com/VZYley9.png

00249.dat in /GOG Games/X3 Terran War Pack/languages/German/addon/mov/ _________/


are identified as ASF-media files which is a microsoft licensed proprietary data/media format. But it should be identified as OGG, like the english ones in /game/mov/ and /game/addon/mov/




ALL languages which have translated voices (german, french, russian; excluding english), are affected in the installers i have mentioned above.

im not 100% sure if its my or gogs/ egosofts fault, maybe i'm missing some bizarre librarys for dealing with microsoft formats, but looking at my steaminstall from X Rebirth, there are .dat files described as OGG format.

i wonder, when its gogs or egosofts fault, why the problem wasn't reported and already fixed to this date.
Last edited by wasted90 on Fri, 13. Dec 19, 04:18, edited 3 times in total.

wasted90
Posts: 244
Joined: Fri, 2. Nov 18, 03:29
x4

Re: X³: TC and AP - Linux support thread

Post by wasted90 » Fri, 13. Dec 19, 00:44

I'm happy to say i've found a way for a possible workaround for my issue i've described one and two posts before. maybe it will help others.

this should work for french, german and russian language. I tested it for german and russian.

this workaround is using the tool 'ffmpeg2theora' to convert the language files mime-type AFS to OGG


1. search in your distro repository for the package 'ffmpeg2theora' and install it, if there is none or its named differently, any web search engine may help, if not search for the sources and build it yourself.
it depends on 'ffmpeg' and 'libkate'


2. make a fresh install of the game as non-root user/ without sudo in /home/*username*/gog/x3twp

DONT let the installer create desktop or menu entries, since we don't need them as they try to launch the game through the start.sh script which would break this workaround.

when install is done, rename

~/gog/x3twp/game/lib/libz.so.1

to _libz.so.1_ or similar



3. open your prefered terminal-emulater as non-root user and do the conversion as followed without sudo:
take your time to replace the 'your_preferd_language' with 'French' 'German' or 'Russian' and the ** with '33' if you've set french, '49' for german, or '07' if russian is wanted.
never type the ' ', # or $.

Code: Select all

# $ ffmpeg2theora --output ~/gog/x3twp/game/mov/001**.dat ~/gog/x3twp/languages/your_preferd_language/mov/001**.dat

Code: Select all

# $ ffmpeg2theora --output ~/gog/x3twp/game/addon/mov/001**.dat ~/gog/x3twp/languages/your_preferd_language/addon/mov/001**.dat

Code: Select all

# $ ffmpeg2theora --output ~/gog/x3twp/game/addon/mov/002**.dat ~/gog/x3twp/languages/your_preferd_language/addon/mov/002**.dat
each file-conversion takes some time. go for one after the other.




4. copy the following files over, dont forget to replace the 'your_preferd_language' and the ** as mentioned above.

Code: Select all

# $ cp ~/gog/x3twp/languages/your_preferd_language/mov/000**.pck ~/gog/x3twp/game/mov/000**.pck

Code: Select all

# $ cp ~/gog/x3twp/languages/your_preferd_language/addon/mov/000**.pck ~/gog/x3twp/game/addon/mov/000**.pck


4.1 ONLY for russian: backup/ rename '~/gog/x3twp/game/mov/00810.dat' and '~/gog/x3twp/game/addon/mov/00810.dat', then copy:

Code: Select all

# $ cp ~/gog/x3twp/languages/Russian/mov/00810.dat ~/gog/x3twp/game/mov/00810.dat

Code: Select all

# $ cp ~/gog/x3twp/languages/Russian/addon/mov/00810.dat ~/gog/x3twp/game/addon/mov/00810.dat

5. navigate inside /game directory

Code: Select all

# $ cd ~/gog/x3twp/game

6. use the following command for the albion-prelude launcher and edit graphics and input settings to your likings, exit the launcher afterwards.
again replace ** with '07', '33', '49' and/ or exchange 'AP' with 'TC' for terran conflict settings

Code: Select all

# $ ./X3AP_config -language **

Code: Select all

# $ ./X3TC_config -language ** 

7. if you want you can undo the renaming of ~/gog/x3twp/game/lib/libz.so.1 as long as you make it useless again when using the X3**_config launcher


8. always start the game for TC or AP from terminal inside /game directory with:

Code: Select all

# $ ./X3AP_main -language ** 

Code: Select all

# $ ./X3TC_main -language ** 
but you can also create a starter for it.


9. Profitsss




Ubuntu man page for ffmpeg2theora

dtpsprt
Posts: 2794
Joined: Wed, 6. Nov 02, 20:31
x4

Re: X³: TC and AP - Linux support thread

Post by dtpsprt » Sun, 12. Apr 20, 20:38

I'm recently having problem loading X3 - X3 TC and X3 AP with the Steam Client.
When I changed from Windows to Linux everything was working just fine (and better than in Windows thank you).
Then at some point in the late stages of Beta 3.00 (Hotfix7 or 8 I believe) of X4, I couldn't open the X3 series any more.
What's happening?
Using:
Linux Ubuntu 18.04.00 LS
Graphic card NVIDIA GTX 1660 Ti 5 GB RAM

P.S. Edit: Is there a way I can get the stand alone versions (read they are availlable from GoG) if I have Steam licenses for them?

_JD_
Posts: 137
Joined: Wed, 29. Oct 08, 15:05
x4

Re: X³: TC and AP - Linux support thread

Post by _JD_ » Sun, 12. Apr 20, 21:42

Hey, developers can't do much without some error message: try to start steam from a terminal with the option -console, then start X3 and, after the crash, copy all the console output, save it in a file and link it here.

Dr.Claw
Posts: 3
Joined: Tue, 23. Jul 13, 15:42
x3ap

Re: X³: TC and AP - Linux support thread

Post by Dr.Claw » Fri, 1. May 20, 21:42

Greetings devs. During lockdown I went back to play my X3 TC / AP games and in my newly upgraded Ubuntu 20.04 (64bit), but it won't run. I tried moving libs all over the place, but after a significant amount of work it is "Unable to initialize the graphical subsystem". It worked fine in Ubuntu 18.04, for reference.

Would it be too much to ask to get a new Steam version built that supports modern (64bit) Ubuntu with current libraries?

Thanks!

Post Reply

Return to “X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support”