Troubles with extensions

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

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

brianb99999
Posts: 1
Joined: Sat, 1. Dec 18, 05:33
x4

Troubles with extensions

Post by brianb99999 »

Hi,

Does anyone know how to get extensions to work?
I have added an extensions folder to the root folder of the game, as soon as I add an extension, the game no longer starts, when I take the extension out, the game starts again.
I also tried adding to the my documents\egosoft\x4 folder, when I try that, I get no extensions loaded.

Solution: Anyone else who has this problem, add the extensions into your player profile, for me, this was in 'C:\Users\Owner\Documents\Egosoft\X4\10389378\extensions' (I am pretty sure the number after X4 is random)
Last edited by brianb99999 on Sun, 2. Dec 18, 03:46, edited 1 time in total.
SirNukes
Posts: 549
Joined: Sat, 31. Mar 07, 23:44
x4

Re: Troubles with extensions

Post by SirNukes »

Try adding "-logfile debuglog.txt" to the x4 command line options. The log file may indicate any errors with the extension, as long as x4 loaded far enough before closing.
iforgotmysocks
Posts: 1244
Joined: Fri, 8. Nov 13, 22:35
x4

Re: Troubles with extensions

Post by iforgotmysocks »

mods need to be added to the an extensions folder in ur game directory.
Steam\steamapps\common\X4 Foundations\extensions

What mod are u trying to run?
tigar
Posts: 14
Joined: Mon, 9. Jan 12, 11:43
x4

Re: Troubles with extensions

Post by tigar »

So i know everyone says it needs to be in Steam\steamapps\common\X4 Foundations\extensions

But when placed there the extensions are not found but when placed in C:\Users\"username"\Documents\Egosoft\X4\"random number" folder they are found for me as well just like the OP

There must be something going on that makes it be so different for people
Coomby
Posts: 1
Joined: Sat, 1. Dec 18, 00:06
x4

Re: Troubles with extensions

Post by Coomby »

tigar wrote: Sun, 2. Dec 18, 05:43 So i know everyone says it needs to be in Steam\steamapps\common\X4 Foundations\extensions

But when placed there the extensions are not found but when placed in C:\Users\"username"\Documents\Egosoft\X4\"random number" folder they are found for me as well just like the OP

There must be something going on that makes it be so different for people
I was having the same issue. Thank you!!


Is this the case for all steam installs?
AuGuR
Posts: 76
Joined: Sat, 3. Sep 05, 19:26
x4

Re: Troubles with extensions

Post by AuGuR »

tigar wrote: Sun, 2. Dec 18, 05:43 So i know everyone says it needs to be in Steam\steamapps\common\X4 Foundations\extensions

But when placed there the extensions are not found but when placed in C:\Users\"username"\Documents\Egosoft\X4\"random number" folder they are found for me as well just like the OP

There must be something going on that makes it be so different for people
Seems the issue may be a system/OS issue in regards to where the extensions folder is placed and having the mods work. At least that's my guess. If people would state their OS when reporting this, it could help (all of) us figure it out and maybe a way for the devs to fix it.
tigar
Posts: 14
Joined: Mon, 9. Jan 12, 11:43
x4

Re: Troubles with extensions

Post by tigar »

AuGuR wrote: Sun, 2. Dec 18, 10:33
tigar wrote: Sun, 2. Dec 18, 05:43 So i know everyone says it needs to be in Steam\steamapps\common\X4 Foundations\extensions

But when placed there the extensions are not found but when placed in C:\Users\"username"\Documents\Egosoft\X4\"random number" folder they are found for me as well just like the OP

There must be something going on that makes it be so different for people
Seems the issue may be a system/OS issue in regards to where the extensions folder is placed and having the mods work. At least that's my guess. If people would state their OS when reporting this, it could help (all of) us figure it out and maybe a way for the devs to fix it.
Well im using windows 10 so nothing too special there
AuGuR
Posts: 76
Joined: Sat, 3. Sep 05, 19:26
x4

Re: Troubles with extensions

Post by AuGuR »

Heh, meant more along the lines of Win 7/8/10 Home/Pro/Enterprise, for example. They tend to handle certain things differently when it comes to file management. Even when it otherwise shouldn't.
AuGuR
Posts: 76
Joined: Sat, 3. Sep 05, 19:26
x4

Re: Troubles with extensions

Post by AuGuR »

Heh, meant more along the lines of Win 7/8/10 Home/Pro/Enterprise, for example. They tend to handle certain things differently when it comes to file management. Even when it otherwise shouldn't.
JESS 246
Posts: 574
Joined: Mon, 3. Jul 06, 03:24
x3

Re: Troubles with extensions

Post by JESS 246 »

Hi All.


I just added a post on same issue i missed this one.


Yes i did place extensions folder in root directory with mods but game won't start, game Ok without the folder.
User avatar
MegaJohnny
Posts: 2236
Joined: Wed, 4. Jun 08, 22:30
x4

Re: Troubles with extensions

Post by MegaJohnny »

JESS 246 wrote: Mon, 3. Dec 18, 18:19 Hi All.


I just added a post on same issue i missed this one.


Yes i did place extensions folder in root directory with mods but game won't start, game Ok without the folder.
Have a look at Tigar's post above, that did it for me: Documents/Egosoft/X4/1234567/extensions/your_extension_goes_here.
JESS 246
Posts: 574
Joined: Mon, 3. Jul 06, 03:24
x3

Re: Troubles with extensions

Post by JESS 246 »

Hi MegaJohnny

Thanks will try that.

If extensions work there why are we told to place it in the game directory, anyway thanks.

Return to “X4: Foundations - Scripts and Modding”