Using TransData

Freeform discussion about anything related to modding Transcendence.
Post Reply
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

FYI: I put together a quick tutorial on using TransData:

http://trans.kronosaur.com/guidePage.hexm?id=846

Many of you already know a lot of this, but I think this information is currently scattered around various places. I hope it helps to have it captured in one place.

Over time I'll continue to add more articles describing TransData and how to use it.
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

Thanks, that gives an idea about how the tutorials will be presented.
Maybe add the most commonly used function (/decompile) to the examples?

~Pixelfck
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Sweet, thanks George!
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

There doesn't appear to be a way to make it decompile a different tdb? /extensions:"0x00800000" /decompile still has it decompile SotP core rather than CC.
Literally is the new Figuratively
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Atarlost wrote:There doesn't appear to be a way to make it decompile a different tdb? /extensions:"0x00800000" /decompile still has it decompile SotP core rather than CC.
I need to write up docs for decompile. It uses a different syntax:

TransData /decompile /dataFile:{some-TDB-file}

Other options are ignored since it only works on TDBs and only on one TDB at a time.
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2801
Joined: Mon Aug 17, 2009 4:27 am

george moromisato wrote:
Atarlost wrote:There doesn't appear to be a way to make it decompile a different tdb? /extensions:"0x00800000" /decompile still has it decompile SotP core rather than CC.
I need to write up docs for decompile. It uses a different syntax:

TransData /decompile /dataFile:{some-TDB-file}

Other options are ignored since it only works on TDBs and only on one TDB at a time.
Cheers for that snippet. That'll make working with CC and other official/multiverse extensions an awful lot easier.
Mischievous local moderator. She/Her pronouns.
User avatar
PKodon
Militia Lieutenant
Militia Lieutenant
Posts: 127
Joined: Sat Apr 18, 2009 6:03 pm
Location: "Minocs. I've got a baaad feeling about this.... This is no cave!"

Thank you, George, for letting us know how to do this.

Now, here are two useful batch files for making this easier (Note: I recommend putting TransData and these .bat files in a separate directory from Transcendence, and copying the .tdb files you want to decompile to that directory, just to be safe):

TDD.bat:

Code: Select all

TransData /decompile /dataFile:%1
(To use to decompile a single file, type "tdd filename" at the command prompt.)

TDDA.bat:

Code: Select all

FOR %%A IN (*.tdb) DO TransData /decompile /dataFile:%%A
(Use this to batch decompile all .tdb files in the directory by typing "tdda" at the command prompt.)

I'm assuming you know how to use the command prompt in Windows, and that you've used TransData before.

(If you don't know what a batch file is, it's just a text file with ".bat" instead of ".txt" at the end containing the DOS commands, like those posted above, which can be run from Windows command prompt.)

EDIT: I just found out you can use TDDA.bat by simply double-clicking on it in a Windows Explorer window (or, in my case, in FreeCommander). You can even create a shortcut to TDDA.bat and place it where you put your shortcuts for running Transcendence, to make your life even easier.

PK
"Don't ask ..., I don't wanna know, and I don't wanna care!" - PK
Meet us on IRC --> Image
"... the hornet battlepod is the closest we have ingame to flying into battle in a wheelbarrow
with a bathtub nailed upside down to the top of it to provide armor."
- The Shrike
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

TransData /decompile /dataFile:{some-TDB-file}
oh !
nice !
that's much better :)
Post Reply