Content xml - game wont even start

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

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

TerminalVelocity3DR
Posts: 65
Joined: Tue, 31. May 11, 07:05
x3tc

Content xml - game wont even start

Post by TerminalVelocity3DR »

As described.
I already got a handful of mod files ready, longrange scanner edited, boost times changed, this and that.

But; in X Rebirth, you could just create a Folder in your "extensions", not even a description or content.xml needed, and you could select it.

What ever I try, extensions shows "no extenstions installed".

If I create the content.xml exactly as described by Euclid, the game stays stuck on 47.766kb in taskmanager, and refuses to load further for, like forever.

That goes with all mod files deleted and only the content.xml left in the mod folder.

If I delete the content.xml, game loads superlatively fast, but of course, I don't see "Bensmod" available, anywhere.

Creating a "fake patch" 10.cat and 10.dat works, but some changes are not applied at all.....

So uhm...... yeah. I'm at a loss here.

Btw. the mod and xml structure is the exact same as in X:Rebirth, some things are even named the exact same; another funny thing I noticed:

I'm pretty good at modding; but it escapes me why I quadruple, 20x check why in the world some thing won't work at all;

as soon as I create a "parameters.xml", even if it's empty, or only consists of empty "<diff></diff> parts, the game refuses to react properly, ship wont fly, scanners stop working, and my ship flies uncontrollably.

Atm, some weird behaviour that I can put 0 fingers on..... really. What the hell.
TerminalVelocity3DR
Posts: 65
Joined: Tue, 31. May 11, 07:05
x3tc

Re: Content xml - game wont even start

Post by TerminalVelocity3DR »

This deserves an additional answer instead of a simple edit:

I am using Euclids method 1:1, completely. I deleted my "extensions" folder, made a new one, made a "contents.xml" just exactly [1:1!!!!!!] like he did, everything matches 1:1 what he did; the game starts alright, but no mod is showing up.

So uhm. Yeah. That's that I guess. I keep trying until I give up.
TerminalVelocity3DR
Posts: 65
Joined: Tue, 31. May 11, 07:05
x3tc

Re: Content xml - game wont even start

Post by TerminalVelocity3DR »

Well that explains it:

The "extensions" folder goes into your "My Documents" now, where your savegames is.

NOT IN THE ROOT FOLDER!
That is fake news. The mod shows up now. Phew, I rule!
User avatar
euclid
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 13489
Joined: Sun, 15. Feb 04, 20:12
x4

Re: Content xml - game wont even start

Post by euclid »

TerminalVelocity3DR wrote: Fri, 30. Nov 18, 19:59 ....
The "extensions" folder goes into your "My Documents" now, where your savegames is.

NOT IN THE ROOT FOLDER!
That is fake news.
....
Hi Terminalvelocity3DR :-)

Truth is you can use both folders but the root folder of your X4 installation is the expected choice. Just recall than the X Return DLCs all went there. If the root folder did not work for you then there was something wrong with you setup. Difficult to say what it is, could be something trivial as a typo. Anyway, I'm glad you got it working now.

Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
TerminalVelocity3DR
Posts: 65
Joined: Tue, 31. May 11, 07:05
x3tc

Re: Content xml - game wont even start

Post by TerminalVelocity3DR »

euclid wrote: Fri, 30. Nov 18, 20:26 Truth is you can use both folders but the root folder of your X4 installation is the expected choice. Just recall than the X Return DLCs all went there. If the root folder did not work for you then there was something wrong with you setup. Difficult to say what it is, could be something trivial as a typo. Anyway, I'm glad you got it working now.

Cheers Euclid
Strange. It's the same setup, I only Ctrl+X and moved the whole "extensions" folder from the root, to the Documents.

A typo.... were it so easy. Sometimes, there is nothing wrong with what you are doing, yet it still doesn't work.

Was able to capture an event like that on my stream the other week, on another game. Simply copying the files to a different folder, and back, solved it. Maybe my SSD is failing and corrupts/confuses files. Now I got the next thing to worry about, aaaaaaaaaaaaaahhhhhhh

At least modding is in effect now. Thx for the reply :thumbsup:
User avatar
mjolnir315
Posts: 33
Joined: Sun, 18. Jul 10, 16:58
x4

Re: Content xml - game wont even start

Post by mjolnir315 »

Hi there.

I need a hand.

If I put my "extensions" folder in the X4 root folder, the game starts but it seems to get stuck before the Egosoft logo. Tried that at leat 1 hour.
Tried to put the "extensions" folder in my document\egososft\x4\(random numbers)\ . Game starts fast but no mods in the extensions menu.

Game is 1.50, french language. all the contents.xml are edited to have all the languages entries.

where did I go wrong?

Sorry for my English, as you seen, i'm french.

Mjolnir.
Les zombies ne tuent pas, ils recrutent...
Traducteur, testeur et moddeur sur La confrérie des traducteurs
Kadatherion
Posts: 1021
Joined: Fri, 25. Nov 05, 16:05
x4

Re: Content xml - game wont even start

Post by Kadatherion »

mjolnir315 wrote: Fri, 28. Dec 18, 14:08 Hi there.

I need a hand.

If I put my "extensions" folder in the X4 root folder, the game starts but it seems to get stuck before the Egosoft logo. Tried that at leat 1 hour.
Tried to put the "extensions" folder in my document\egososft\x4\(random numbers)\ . Game starts fast but no mods in the extensions menu.

Game is 1.50, french language. all the contents.xml are edited to have all the languages entries.

where did I go wrong?

Sorry for my English, as you seen, i'm french.

Mjolnir.
There are two separate issues that can happen with mods under the root folder. One is the language id placeholders that many of us need. Be also sure there are no spaces nor blank lines after the </content> closing tag, as even something as silly as that can cause the game to hang on startup. Then there's an issue, that's been tied to Win7 users, that sees mods that add new gamecontent needing to be packed in .cat/dat archives, or same as above, with loose files the game hangs at startup.
Installing these mods under documents lets the game load, but the mods themselves might not work correctly even if they are listed in the extensions menu, or they might not be read at all. You should NEVER, then, install them under documents, just to be sure. Manually fixing the aforementioned things should always solve the problem for mods correctly installed under the root game dir. Unfortunately several modders - for obvious reasons - are still not aware of all these possible issues, and we often have to fix them ourselves when installing.
User avatar
mjolnir315
Posts: 33
Joined: Sun, 18. Jul 10, 16:58
x4

Re: Content xml - game wont even start

Post by mjolnir315 »

Thanks,
I’ll get an eye on this ASAP.

[edit 1]
You are right, I'm on a win7 computer.
Game started, fail on loading a save or a fresh new game.
Need to know how to convert loose files mods to *.cat *.dat files.

The game crashes aftes the update of the cheat Menu mod by Slan. I think it's done by the new subfolders aiscripts and libraries. They were not there in the pas t releases.

[Edit 2]
I have found a way to convert all loose files to cat/dat files. Works perfectly.

One more time, thank you for the help.
I hope this will help others.
Les zombies ne tuent pas, ils recrutent...
Traducteur, testeur et moddeur sur La confrérie des traducteurs

Return to “X4: Foundations - Scripts and Modding”