Linux modding questions - extract cats, enable launch parameters

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

emptyhead41
Posts: 14
Joined: Sat, 26. Mar 16, 19:51

Linux modding questions - extract cats, enable launch parameters

Post by emptyhead41 »

[EDIT: Changed the subject title as I'm encountering more things and figure it 's better to put them all here rather than make a separate post for each. Might as well add any answers I find here as well.]

Apologies if this is answered somewhere already. I did do a search but couldn't find anything.

The XTools1.11 zip only contains windows executables. How do people on linux go about extracting the CAT files?

I can't seem to get launch parameters to work on the linux version. Fixed it.
- On GOG version it creates a shortcut that points to /game_directory/start.sh. Adding launch parameters to this don't do anything. However this script launches 'testandlaunch' in the /game_directory/game/ dir. Add launch parameters to it instead. eg. from /x4 foundations/game/ run "./testandlaunch -skipintro -showfps"

-logfile launch parameter doesn't seem to work on linux (kubuntu 23.10 at least). Just freezes the entire desktop environment.
User avatar
beko
Posts: 81
Joined: Thu, 11. Jun 20, 21:14
x4

Re: Linux modding questions - extract cats, enable launch parameters

Post by beko »

emptyhead41 wrote: Mon, 25. Mar 24, 18:39
The XTools1.11 zip only contains windows executables. How do people on linux go about extracting the CAT files?
I'm pretty sure I did extract this with https://github.com/ratilicus/x4/ long ago. ymmv.
emptyhead41 wrote: Mon, 25. Mar 24, 18:39 -logfile launch parameter doesn't seem to work on linux (kubuntu 23.10 at least). Just freezes the entire desktop environment.
I run mine like this from the game directory:

Code: Select all

./X4 -nosoundthrottle -nocputhrottle -skipintro -showfps -debug all -logfile debuglog.txt
Log ends up in

Code: Select all

~/.config/EgoSoft/X4/debuglog.txt

Return to “X4: Foundations - Scripts and Modding”