Decompiling StarsOfThePilgrimHD

Freeform discussion about anything related to modding Transcendence.
Post Reply
relanat
Militia Commander
Militia Commander
Posts: 409
Joined: Tue Nov 05, 2013 9:56 am

Tue Nov 29, 2016 4:45 am

(This adds higher quality images (120 facings) of some of the larger ships to Transcendence.)

I managed to decompile this file but only by changing its name to Transcendence.tdb and then running Transdata as usual. Thanks to whoever it was that posted that somewhere in the forum.

I'm assuming you can add a filename to the Transdata/decompile command somehow but don't know the format/syntax.

Could someone post it here for future reference for everyone? Thanks.

User avatar
AssumedPseudonym
Militia Captain
Militia Captain
Posts: 957
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

Tue Nov 29, 2016 12:00 pm

Code: Select all

./TransData.exe /decompile /dataFile:fileNameGoesHere.tdb
 That should do the trick. Just make sure you have TransData in the same folder as the TDB you’re decompiling.
Image

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)

User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2601
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Tue Nov 29, 2016 2:54 pm

or
put transdata in the collection folder, create a txt file and rename the extension to bat.
put this in the file:
FOR %%C IN (SET *.tdb) DO TransData.exe /decompile /datafile:%%C
(This has been contributed by PKOdon btw)

double click on the newly created bat file and look astonished as all the tdbs in your collection folder are decompiled. :)

User avatar
AssumedPseudonym
Militia Captain
Militia Captain
Posts: 957
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

Tue Nov 29, 2016 8:58 pm

 …Actually, let me throw the Linux version of that in here, since it’s different and I know there are a few players who use Wine to run Transcendence.

 Put a copy of TransData in the Collections folder. Open up a new text document and paste the following into it:

Code: Select all

find ./*.tdb -exec ./TransData.exe /decompile /dataFile:{} \;
 Save to the Collections folder, change its extension to .sh, go into the file’s properties and, under permissions, make sure it’s allowed to run as a program. Then just run it and it’ll take things from there.
Image

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)

relanat
Militia Commander
Militia Commander
Posts: 409
Joined: Tue Nov 05, 2013 9:56 am

Wed Jan 11, 2017 11:49 pm

FOR %%C IN (SET *.tdb) DO TransData.exe /decompile /datafile:%%C
OMG. Thank you, thank you, thank you PKodon and digdug (and AP on behalf of Linux users).

That is sooooo much easier than mucking about with the (extremely irritating, highly pedantic and totally unforgiving) command line code.

Modders, if you haven't mastered using Transdata via the method shown in the other forum posts don't even bother. Using the above method is so much quicker and easier I won't ever be going back.

Post Reply