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.
Using TransData
-
- Developer
- Posts: 2997
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
-
- 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
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.
Get on Discord for mod help and general chat
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.
-
- Developer
- Posts: 2997
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
I need to write up docs for decompile. It uses a different syntax: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.
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.george moromisato wrote:I need to write up docs for decompile. It uses a different syntax: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.
TransData /decompile /dataFile:{some-TDB-file}
Other options are ignored since it only works on TDBs and only on one TDB at a time.
Mischievous local moderator. She/Her pronouns.
- PKodon
- 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:
(To use to decompile a single file, type "tdd filename" at the command prompt.)
TDDA.bat:
(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
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
TDDA.bat:
Code: Select all
FOR %%A IN (*.tdb) DO TransData /decompile /dataFile:%%A
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