X4 exe Command line switches

This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.

Moderator: Moderators for English X Forum

User avatar
alt3rn1ty
Posts: 3490
Joined: Thu, 26. Jan 06, 19:45
x4

X4 exe Command line switches

Post by alt3rn1ty »

Does anyone have a list of the X4.exe valid command line switches? (and what they do).

I searched the Wiki and the forum but could not find anything.
I have seen a few posts around the forum where people are using things like X4.exe -showfps -skipintro -nosoundthrottle -nocputhrottle .. but no list anywhere detailling them as valid or their function. Some are obvious what they do, but it would be nice to have an official explanation of them all, and if there is anything to be wary of when using them.
Spec's@2025-05-17 - Laptop - Acer Predator Helios Neo 16 AI - Win 11 x64
CPU - Intel Core Ultra 9 275HX 2.7-5.4ghz, RAM - 32gb DDR5 6400(OC),
Discrete GPU - NVidia Geforce RTX 5070 Ti, VRAM 12gb GDDR7,
SSD - M.2 PCIe NVME 1Tb
, OLED WQXGA 2560x1600.
:goner: Seeker of Sohnen. Long live Queen Polypheides. :boron:
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 31794
Joined: Fri, 16. Apr 04, 19:21
x4

Re: X4 exe Command line switches

Post by Alan Phipps »

The ones from X Rebirth should probably work in X4 (to be confirmed).

CBJ made a statement on some others here.
A dog has a master; a cat has domestic staff.
User avatar
alt3rn1ty
Posts: 3490
Joined: Thu, 26. Jan 06, 19:45
x4

Re: X4 exe Command line switches

Post by alt3rn1ty »

Thanks Allan, I never got into Rebirth (well I did enough to find out it wasn't for me) so didn't know about those.
I have also seen a few posts around using switches CBJ mention do not work, they must be getting a feed of crap from redditors or somewhere similar.

Thank you :)
Spec's@2025-05-17 - Laptop - Acer Predator Helios Neo 16 AI - Win 11 x64
CPU - Intel Core Ultra 9 275HX 2.7-5.4ghz, RAM - 32gb DDR5 6400(OC),
Discrete GPU - NVidia Geforce RTX 5070 Ti, VRAM 12gb GDDR7,
SSD - M.2 PCIe NVME 1Tb
, OLED WQXGA 2560x1600.
:goner: Seeker of Sohnen. Long live Queen Polypheides. :boron:
Katorone
Posts: 378
Joined: Thu, 12. Oct 06, 10:49
x3tc

Re: X4 exe Command line switches

Post by Katorone »

With "nosoundthrottle" X4 will continue making noise while in the background. Though for this to work on my system, I have to set X4 to (borderless) window mode. Both "nosoundthrottle" and "nocputhrottle" do not seem to work when running X4 in fullscreen and tabbing out. (I verified this by checking the game time, tabbing out and back in after a couple of minutes. No time had passed in the game.)

Edit: While testing and encountering crashes, these flags can be used as well:
-debug all
-logfile log_filename.txt
-scriptlogfile scriptlog_filename.txt

Since they cause IO, I wouldn't suggest using them unless requested by the devs.
I'm not sure what the other options of the "-debug" flag are.
Falcrack
Posts: 5720
Joined: Wed, 29. Jul 09, 00:46
x4

Re: X4 exe Command line switches

Post by Falcrack »

I have my launch options as "-skipintro -nosoundthrottle -nocputhrottle"

Does what I want it to do. Looking over the other command line options, there is nothing that really stands out as a must have feature. I can get the in-game fps by simply pressing a key in-game (mine is "o", not sure if it is the default key or something I personally set a long time ago).

Return to “X4: Foundations”