Linux audio and text language - Resolved with method at end.
Moderator: Moderators for English X Forum
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Linux audio and text language - Resolved with method at end.
Can someone help with changing language on linux gog version? For example I need russian interface/text and english voice. Thanks
-
- Moderator (English)
- Posts: 31814
- Joined: Fri, 16. Apr 04, 19:21
Re: Linux audio and text language
See if this gives you the clues you need. (Obviously using different international language codes.)
A dog has a master; a cat has domestic staff.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
Thank you, but this solution for steam version. In gog I can't do it
-
- Posts: 244
- Joined: Fri, 2. Nov 18, 03:29
Re: Linux audio and text language
try these:
go to the gamefolder in which the 'X4'-executable is & open there the terminal.
type:
./X4 -language ** -voicelanguage **
exchange ** with the wanted language codes.
just a guess, since i'm playing the steam version.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
-
- Posts: 244
- Joined: Fri, 2. Nov 18, 03:29
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
In Linux? No or I don't know how. I belive this similar to running in terminal with parametrs like ./X4 -language 7 -voicelanguage 44 (not work)
-
- Posts: 244
- Joined: Fri, 2. Nov 18, 03:29
Re: Linux audio and text language
it is the case for my x3 tc gog install. ther it makes a starter, which points to a script, which points to the game

can you look if there is something like 'x4-foundations.desktop' in the directory '~/.local/share/applications/' (home drive)?
EDIT
also try
/usr/share/applications/ (root drive)
/usr/local/share/applications/ (root drive)
Last edited by wasted90 on Fri, 3. Apr 20, 21:44, edited 2 times in total.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
KDE Neon 5.18.4
In ~/.local/share/applications/ gog_com-X4_Foundations_1.desktop
In /usr/share/applications/ and /usr/local/share/applications/ nothing
-
- Posts: 244
- Joined: Fri, 2. Nov 18, 03:29
Re: Linux audio and text language
nice. can you open it with an editor and post its content? especially the 'exec=' line
i just saw that this wrong: './X4 -language 7 -voicelanguage 44'
it needs to be to numbers even if ther is a '0' or something
i just saw that this wrong: './X4 -language 7 -voicelanguage 44'
it needs to be to numbers even if ther is a '0' or something
Last edited by wasted90 on Fri, 3. Apr 20, 21:52, edited 1 time in total.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=X4: Foundations
GenericName=X4: Foundations
Comment=X4: Foundations
Icon=/media/data/GOG Games/X4 Foundations/support/icon.png
Exec="/media/data/GOG Games/X4 Foundations/start.sh" ""
Categories=Game;
Path=/media/data/GOG Games/X4 Foundations
-
- Posts: 244
- Joined: Fri, 2. Nov 18, 03:29
Re: Linux audio and text language
i just saw that this wrong: './X4 -language 7 -voicelanguage 44'
it needs to be two numbers even if ther is a '0' or something, can you try it again with
./X4 -language 07 -voicelanguage 44
it needs to be two numbers even if ther is a '0' or something, can you try it again with
./X4 -language 07 -voicelanguage 44
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
-
- Moderator (English)
- Posts: 31814
- Joined: Fri, 16. Apr 04, 19:21
Re: Linux audio and text language
Going by that Steam thread I linked, it is not enough just to add the execution extensions, you may also have to change a language setting for the game in GOG too or the right combination will not appear.
(You will have gathered that I know nothing about either Linux or GOG.)
(You will have gathered that I know nothing about either Linux or GOG.)
A dog has a master; a cat has domestic staff.
-
- Posts: 244
- Joined: Fri, 2. Nov 18, 03:29
Re: Linux audio and text language
do you have 'languages' folder in directory '/media/data/GOG Games/X4 Foundations' ? if yes then look into it if there is a directory for russian.
@alan there is no gog client for linux, this all is done with the start.sh script which detects the system language and sets some symlinks
Last edited by wasted90 on Fri, 3. Apr 20, 22:20, edited 1 time in total.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
No. But in /media/data/GOG Games/X4 Foundations/game/ i have file lang.dat. In this file i can write a code of language. But it works only if english (44) or russian (7), not both and when it russian I have only text without voice (and all voice audio to, I mean all actors become silent). If it 44 then voice return and text on english
-
- EGOSOFT
- Posts: 54309
- Joined: Tue, 29. Apr 03, 00:56
Re: Linux audio and text language
If you want Russian text and English voice then you need to switch your game language in the GOG client to English so that the English voices are downloaded. You then need to add the -language 7 -voicelanguage 44 options, exactly as typed, to the command line you use to launch the game. I'm not sure how exactly you do this in Linux, but those are the options you need to use.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56
Re: Linux audio and text language
There is no GOG client on Linux. Only Windows/MacCBJ wrote: ↑Fri, 3. Apr 20, 22:27 If you want Russian text and English voice then you need to switch your game language in the GOG client to English so that the English voices are downloaded. You then need to add the -language 7 -voicelanguage 44 options, exactly as typed, to the command line you use to launch the game. I'm not sure how exactly you do this in Linux, but those are the options you need to use.
About options I know, but can't figure out how to do this.
-
- EGOSOFT
- Posts: 54309
- Joined: Tue, 29. Apr 03, 00:56
Re: Linux audio and text language
I mean when you download the game, choose English as the language, not Russian. All texts are downloaded with all languages, but voices are only downloaded for the language you choose.
-
- Posts: 14
- Joined: Fri, 3. Apr 20, 19:56