Since we ( very grateful peons ) have access to the text for a .Bat file to use in decompiling, the many .TDB files..
I was hoping it was possible to use a .Bat file text for compiling......
Why?
Because my computers will not let me ( despite having "full control" of the system , which obviously doesn't mean anything these days ) use the prompt for the TransData (having that .Bat thing was Heaven for me) nor the TransCompiler .
And even with my Authoritarian history with my computers - I am almost sure I can't be the only one being thwarted by this obvious Xenophobe plot.
.Bat file text for compiling a .TDB ?
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
- 0xABCDEF
- Militia Lieutenant
- Posts: 124
- Joined: Thu May 19, 2016 12:58 am
- Location: Was destroyed by a Phobos-class dreadnought in the Eridani system
TransData is a command line utility, and any function that can be done in command line can also be automated using a Batch file. Here is the file that I use to compile Typehack.
Here is some information on what each line does.
1. Comment that says "Compiles: Typehack"
2. Set the current directory to the folder that contains TransCompiler.exe
3. Run TransCompiler.exe from the directory. The ^ means to carry over on to the next line.
4. Set TransCompiler.exe to take Typehack.xml as input. Specify the entire path of the file in quotes. The ^ means to carry over on to the next line.
5. Set TransCompiler to output a file called Typehack.tdb. Specify the entire path of the file in quotes.
Here is some information on what each line does.
1. Comment that says "Compiles: Typehack"
2. Set the current directory to the folder that contains TransCompiler.exe
3. Run TransCompiler.exe from the directory. The ^ means to carry over on to the next line.
4. Set TransCompiler.exe to take Typehack.xml as input. Specify the entire path of the file in quotes. The ^ means to carry over on to the next line.
5. Set TransCompiler to output a file called Typehack.tdb. Specify the entire path of the file in quotes.
Code: Select all
@rem Compiles: Typehack
cd C:\Users\Me\Desktop\Transcendence Multiverse
TransCompiler.exe^
/input:"C:\Users\Me\Desktop\Transcendence Multiverse\Extensions\a013\[0030 - 003F] Typehack\Typehack.xml"^
/output:"C:\Users\Me\Desktop\Transcendence Multiverse\Extensions\a013\[0030 - 003F] Typehack\Typehack.tdb"
-Command Screen Library: RTS in a dockscreen
-Extended Justice: A safer Commonwealth for all
-Playership Bones: Revisit your old ship wrecks!
-Please help out our official Documentarist (me) by editing the wiki
-Extended Justice: A safer Commonwealth for all
-Playership Bones: Revisit your old ship wrecks!
-Please help out our official Documentarist (me) by editing the wiki
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
Thank you for giving this a go.0xABCDEF wrote: ↑Wed Oct 25, 2017 3:44 amTransData is a command line utility, and any function that can be done in command line can also be automated using a Batch file. Here is the file that I use to compile Typehack.
Here is some information on what each line does.
1. Comment that says "Compiles: Typehack"
2. Set the current directory to the folder that contains TransCompiler.exe
3. Run TransCompiler.exe from the directory. The ^ means to carry over on to the next line.
4. Set TransCompiler.exe to take Typehack.xml as input. Specify the entire path of the file in quotes. The ^ means to carry over on to the next line.
5. Set TransCompiler to output a file called Typehack.tdb. Specify the entire path of the file in quotes.Code: Select all
@rem Compiles: Typehack cd C:\Users\Me\Desktop\Transcendence Multiverse TransCompiler.exe^ /input:"C:\Users\Me\Desktop\Transcendence Multiverse\Extensions\a013\[0030 - 003F] Typehack\Typehack.xml"^ /output:"C:\Users\Me\Desktop\Transcendence Multiverse\Extensions\a013\[0030 - 003F] Typehack\Typehack.tdb"
However, Not to be rude.....I am unclear on a few details
---you did not say if this is a command prompt or .Bat file usage ( because )
---I can't run TransData nor TransCompiler , the command prompt windows come up & close.
---Since the dawn of the Humans Space Map many of us have Multiple .xml pages involved in the project we have.
--Could your command possibly do the entire folder ?
--Corporate Command is an entire folder of .xml ( + resource folder )
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
If you mean the black command line window appears for a fraction of a second before vanishing again, then I've found that something isn't right (file in the wrong place, wrong directory, code error, whatever) when this happens.shanejfilomena wrote: ---I can't run TransData nor TransCompiler , the command prompt windows come up & close.
I think it's working but because something isn't right, it doesn't have to do anything so completes in a fraction of a second then stops.
If you post info on OS, folder and file names maybe someone can help with an answer. It sucks not being able to do command line stuff, even if it is a pain to use.
Stupid code. Do what I want, not what I typed in!
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
Tried : TransCompiler & extension ; TeansCompiler , extension & trans .tdb ;relanat wrote: ↑Thu Oct 26, 2017 5:52 amIf you mean the black command line window appears for a fraction of a second before vanishing again, then I've found that something isn't right (file in the wrong place, wrong directory, code error, whatever) when this happens.shanejfilomena wrote: ---I can't run TransData nor TransCompiler , the command prompt windows come up & close.
I think it's working but because something isn't right, it doesn't have to do anything so completes in a fraction of a second then stops.
If you post info on OS, folder and file names maybe someone can help with an answer. It sucks not being able to do command line stuff, even if it is a pain to use.
transData, transCompiler in a folder w/ Trans.exe & trans .Tdb + the extension.
Same results
Until the .Bat file text for the Decompiler was posted I could never use TransData on neither Xp nor Windows 7 .... I never understood why
anyway, if a .Bat file can't operate the TransCompiler then I 'll just forget about the entire experiment.
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
............
ok, so in other words, no real solution at this time.
it's cool.
ok, so in other words, no real solution at this time.
it's cool.
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..