[Guide] Getting access to the Terran Conflict .dds files

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
Aragon Speed
Posts: 818
Joined: Sat, 10. Dec 05, 13:30
x4

[Guide] Getting access to the Terran Conflict .dds files

Post by Aragon Speed »

To get access to the Terran conflict .dds files they need to be unpacked and then renamed.

Here are instructions and a small batch file to help you do this: *link removed as this is now no-longer necessary.* (Hosted at TXU)

Edit:
Note to self: Include the url when linking... :roll:
Last edited by Aragon Speed on Mon, 12. Oct 09, 10:07, edited 1 time in total.
jlehtone
Posts: 22499
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone »

I do prefer MSYS for batch processing. I can enter the folder of extracted files and simply do:

Code: Select all

# for F in *.pck ; do cat "$F" | gunzip > "${F/.pck/.dds}"; rm $F ; done
Yesterday I did same with mission director files, and had to do a rename first since those filenames had spaces in them. :shock:
Goner Pancake Protector X
Insanity included at no extra charge.
There is no Box. I am the sand.
User avatar
Aragon Speed
Posts: 818
Joined: Sat, 10. Dec 05, 13:30
x4

Post by Aragon Speed »

You can also use servant salamander. :)
whitewolf007
Posts: 104
Joined: Sun, 11. Dec 05, 01:30
x3tc

Post by whitewolf007 »

Hello,

I am interested in getting to the DDS files but the click link is not working. Can you supply some instructions on how to unpack the game files. I'm using the steam version.

EDIT: I think I have found the info I need on the X-Wiki creating a TS class ship tutorial.

http://www.xwiki.chaos.net.nz/index.php ... nformation

Here is also a link to X-tools which I believe will be essential to the task. Including mod manager and dbox 2

http://x-tools.doubleshadow.wz.cz/
User avatar
enenra
Posts: 7150
Joined: Fri, 8. Apr 05, 19:09
x4

Post by enenra »

whitewolf007 wrote:Hello,

I am interested in getting to the DDS files but the click link is not working. Can you supply some instructions on how to unpack the game files. I'm using the steam version.

EDIT: I think I have found the info I need on the X-Wiki creating a TS class ship tutorial.

http://www.xwiki.chaos.net.nz/index.php ... nformation

Here is also a link to X-tools which I believe will be essential to the task. Including mod manager and dbox 2

http://x-tools.doubleshadow.wz.cz/
DBOX2 doesn't have much to do with unpacking the files.

But this tutorial might come in handy on the topic of unpacking the files. ;)
http://www.thexuniverse.com/forum/showt ... hp?t=13901
User avatar
Elffin
Posts: 371
Joined: Wed, 18. May 05, 22:34
x3tc

Post by Elffin »

I'm sure the X3 editor 2 rename and unpacks all the files automatically and correctly these days... Please correct me if I'm wrong? :oops:
User avatar
Aragon Speed
Posts: 818
Joined: Sat, 10. Dec 05, 13:30
x4

Post by Aragon Speed »

It does except for dds files which it gives the .txt extension too.

Quick way to fix this is to create a new text file called !rename.txt in the dds folder

in it type:

Code: Select all

ren *.txt *.dds
Save and close !rename.txt.

Rename !rename.txt to !rename.bat

Then just click on it. It will change the file extension for all the dds files for you.

You can now delete !rename.bat. Because of the ! it is now the first file in the folder and easy to find. ;)
User avatar
Elffin
Posts: 371
Joined: Wed, 18. May 05, 22:34
x3tc

Post by Elffin »

Just extracted two mod files - not altered a thing to the x3 editor2

All the .dds files appear with no problems - No .txt extension appeared here.

All other files appear correctly too..
User avatar
Aragon Speed
Posts: 818
Joined: Sat, 10. Dec 05, 13:30
x4

Post by Aragon Speed »

That must be in one of the latest updates then, mine still extracts to .txt files.

*Looks for update button*
whitewolf007
Posts: 104
Joined: Sun, 11. Dec 05, 01:30
x3tc

Post by whitewolf007 »

Hey Aragon,

Are you aware that your link at the top doesn't work? That's why I had to pose the question of how its done.

:D
User avatar
Aragon Speed
Posts: 818
Joined: Sat, 10. Dec 05, 13:30
x4

Post by Aragon Speed »

whitewolf007 wrote:Hey Aragon,

Are you aware that your link at the top doesn't work? That's why I had to pose the question of how its done.

:D
The page it linked to disappeared after TXU's server host was attacked earlier in the year. I have removed the link as it is no longer necessary.

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”