Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: DTP on January 31, 2003, 03:10:17 am
-
its a TBL cleaner, it gets rid of tabulators doublewhitespaces and comments in any tbl file, but really it should only be used for ships.tbl
http://home19.inet.tele.dk/dtp/download/freeprograms/tblcleaner.zip
and read the readme.
it will down the :V: ships.tbl file to about 243 kb.
-
Great work dude! i used used it on my weapons and ships tbl files.:yes:
Ships.tbl
Before: 378Kb
After: 250Kb
Weapons.tbl
Before: 259Kb
After: 98Kb
A very use full little program!:yes:
-
*heh* If only it'd come 3 months sooner, I wouldn't have had to go through and clean them by hand :lol:
-
Were you watching for one three months ago? :p
http://www.hard-light.net/forums/index.php/topic,10876.msg201526.html#msg201526
-
:runs round like Dr. Zoidberg:
Woooopwoopwoopwoopwoop!
-
Wow :cool: I see you thought of everything DTP, even if the table file is write protected, it still does it`s job and removes all the comments...
I write protected the weapons table because the game kept changing my vasudan turret color from yellow back to green :drevil: couldn`t have that now could I :lol:
-
It's a nice bit of kit, but I have had problems.....
Cut my weapons tbl down to about a 1/3rd of the orignal size, Good!:thepimp:
Unfortuntely, the games hates the cleaned out ships.tbl. FRED flat out refuses to run:mad:
Note I am using DTP version 2 release, with about 150 ships. That shouldn't make a diffrence through......:doubt:
-
Originally posted by Raptor
It's a nice bit of kit, but I have had problems.....
Cut my weapons tbl down to about a 1/3rd of the orignal size, Good!:thepimp:
Unfortuntely, the games hates the cleaned out ships.tbl. FRED flat out refuses to run:mad:
Note I am using DTP version 2 release, with about 150 ships. That shouldn't make a diffrence through......:doubt:
ahm ADMIN: got an syntax error :).
back to topic:
I did ofcourse test it quite a lot before i released it.
and so far I have had no troubles.
Tested on fs2_open, fred2_open, fs2.exe,fred2.exe
maybe your file is bad in the first place. and if it is, then its not a good idea to use the cleaner on it. since it is designed to work on flawless TBL files, which should be elementary knowledge.
there can be plenty of error sources, but if you stick to the way Volition did the TBL file, you should have no problems.
Also, use a Genuine TXT editor like ultraedit or notepad.
To test if it is FS2(whatever version) that dont like it, or it is your TBL file that is bad, simply take the original Volition TBL(DONT MODIFY IT, ONE BIT) file and run it through the cleaner,and start up fred2 using the cleaned version of the original Volition TBL file.
If fred2 accepts that file, then its your TBL file that is bad in the first place.
This is called counter checking. :nod:
many sources of error reports is usually the user reporting the error.
or better known as Error #60.
error is 60 Cencimeters from the screen :).
but counter check, and report back please.
thank you.
-
Okay, It's the file that is bad, but why it works before cleaning and dosn't after is beyond me......... :confused:
This is the error details I get:
FRED2DTP caused an invalid page fault in
module at 0000:00000013.
Registers:
EAX=0135f710 CS=0177 EIP=00000013 EFLGS=00010203
EBX=0135f7a0 SS=017f ESP=0126001c EBP=0126003c
ECX=012600c0 DS=017f ESI=81873d00 FS=1db7
EDX=bff76859 ES=017f EDI=012600e8 GS=0000
Bytes at CS:EIP:
00 54 ff 00 f0 08 80 00 f0 16 e8 00 f0 00 00 00
Stack dump:
bff7684d 012600e8 0135f7a0 01260104 012600c0 012601f4 bff76859 0135f7a0 012600d0 bffe7fdc 012600e8 0135f7a0 01260104 012600c0 00000000 012602ac
Hope that, MESS, means ,SOMETHING to somebody......:ick:
Oh, I only use notepad to edit the file, and most of the new entrys are copies of original entries, with numbers and names changed.