Anyone want to help a complete newb ?

The place to discuss scripting and game modifications for X²: The Threat.

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

drab4
Posts: 5
Joined: Sun, 16. May 04, 00:21
x3tc

Anyone want to help a complete newb ?

Post by drab4 »

How's it going. :)

OK I have got to the very basic stage of getting to X2tool.exe in the command prompt (dos window thing).

What exactly do I have to type in the command prompt to get X2tool to extract the cat or dat files?

I've read the PDF that comes with the mod tools but can't makes sense of it to be honest!

My eventual aim is to modify some of the ships..... Make some faster at the expense of cargo space and so on.

Cheers very much! 8)
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

x2tool -extract-dat catalogname
Unpack the catalog file catalogname.dat using the catalog index catalogname.cat
to the current directory. Necessary subfolders are created as needed.
Example: x2tool -extract-dat 01
shouldnt be that hard to apply to your problem
(btw.. that's quoted from the pdf you've "read")
drab4
Posts: 5
Joined: Sun, 16. May 04, 00:21
x3tc

Post by drab4 »

Cheers mate, but I think I need a bit more info.

As you said, the above info is contained in the PDF, which I have already read and failed to understand!

x2tool -extract-dat 01

Is that exactly what I need to type? Or do I need to type something else?

The last time I used dos was about ten years ago and I wasn't great with it even back then.....

Here is where I am:

D:\X2 - The Threat\X2_Modderkit14>

I then type x2tool -extract-dat 01 and get the error message

error: can not open 01 cat

So I'm still at the same stage as before.....

Help! :wink:
drab4
Posts: 5
Joined: Sun, 16. May 04, 00:21
x3tc

Post by drab4 »

LOL

Well I just figured out what I'm doing wrong!

X2Tool and X2Build need to be in the SAME folder as the Cat and Dat files.

Should have thought of that really!

Cheers for the help mate.
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

you could as well put 'em in your path (windows\system32\ e.g.) and just use 'em anywhere you want :P
drab4
Posts: 5
Joined: Sun, 16. May 04, 00:21
x3tc

Post by drab4 »

OK next sticking point! :?

How can I get X2Build to make me some nice new Cat and Dat files now that I've altered the ship info?

I've put all the tex, types, and so on folders in a new folder named "Pirate". Is this then my "source route folder"?

I type: X2build Pirate D:\x2 mods\pirate

Obviously I'm going wrong again because although it creates Cat and Dat files they are 11 bytes and 0 bytes in size LOL.

I think I need to know how to make an rct file?

:)
XeHonk
Posts: 1087
Joined: Sun, 7. Mar 04, 23:03
x3tc

Post by XeHonk »

add "" to names containing spaces

try x2build "D:\x2 mods\pirate" "Pirate"
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

http://www.egosoft.com/x2/forum/viewtopic.php?t=40275

The search function can work wonders. ;)
"Nature's first green is gold" . . . stay golden.
drab4
Posts: 5
Joined: Sun, 16. May 04, 00:21
x3tc

Post by drab4 »

Good man! :)

x2build mymod pirate

That did it. I now have "mymod" as my first mod, now to try it out.....

Thanks both of you.

Return to “X²: The Threat - Scripts and Modding”