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
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
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:
but you can also create a starter for it.
9. Profitsss
Ubuntu man page for ffmpeg2theora