[Question] creating mods on linux

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

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

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

[Question] creating mods on linux

Post by wasted90 » Tue, 31. Mar 20, 12:47

so i'd like to make a colorsheme modification for stations and ships, but haven't digged into the matter of x4-modding at all, since i'm not sure if i can mod the gamefiles on linux.
so my questions are:

1. is it possible to mod x4 on linux?

2. if it's possible, any hint to the right direction would be welcome

thanks :)

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Re: [Question] creating mods on linux

Post by UniTrader » Tue, 31. Mar 20, 17:10

1. sure, doing it all the time (albeit testing my stuff on windows)

2. there should be no real differences to windows, except maybe text editor choice. you might need wine to run the official egosoft tools to extract the game files for reference.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

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

Re: [Question] creating mods on linux

Post by wasted90 » Tue, 31. Mar 20, 19:37

UniTrader wrote:
Tue, 31. Mar 20, 17:10
1. sure, doing it all the time (albeit testing my stuff on windows)

2. there should be no real differences to windows, except maybe text editor choice. you might need wine to run the official egosoft tools to extract the game files for reference.
thanks, sounds good :)
i'll have a look, but first i have to deal with zyarth :mrgreen:

RPINerd
Posts: 54
Joined: Fri, 8. Mar 19, 20:21
x4

Re: [Question] creating mods on linux

Post by RPINerd » Tue, 21. Apr 20, 04:44

Somewhere on here is a python script to unpack the .cat/.dat files, you can run it in a terminal no problem! I've been modding and playing X4 exclusively on linux from the start :)

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

Re: [Question] creating mods on linux

Post by wasted90 » Tue, 21. Apr 20, 07:31

thx for the hint, found a bash script from UniTrader that does similar things, don't know if thats it you referring to. anyway, i just used the cat tool with wine to extract the files, no need for more atm. just at the beginning with figuring out how the game works.

eagledelta
Posts: 22
Joined: Thu, 18. Jun 20, 17:34
x4

Re: [Question] creating mods on linux

Post by eagledelta » Tue, 25. Aug 20, 03:52

I'm looking to start doing some modding on Linux, but every time I try to convert xmf files to dae, the program errors in WINE. I've tried system Wine (5.0), Lutris custom WINE, Proton 5.0-9, and Proton GE. Same error each time:

Code: Select all

= converting assets/units/size_l/axes_cyclops.xml===============
000d:err:service:process_send_command receiving command result timed out
0019:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
001d:err:service:process_send_command service protocol error - failed to read pipe r = 0  count = 0!
wine: configuration in L"/home/dhollinger/.wine" has been updated.

abnormal program termination
= converting assets/units/size_l/macros/axes_cyclops_macro.xml==

abnormal program termination
= converting assets/props/SufaceElements/macros/ishield_arg_l_cyclops_macro.xml

abnormal program termination
Anyone know if I need to be running this in a specific version of WINE or with WINE set to a specific windows version? I'm on Pop!_OS 20.04

Post Reply

Return to “X4: Foundations - Scripts and Modding”