Author Topic: semi usefull program.  (Read 1744 times)

0 Members and 1 Guest are viewing this topic.

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
semi usefull program.
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.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Darkage

  • CRAZY RENDER RABBIT
  • 211
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:
[email protected]
Returned from the dead.

 

Offline LtNarol

  • Biased Banshee
  • 211
    • http://www.3dap.com/hlp/hosted/the158th
*heh* If only it'd come 3 months sooner, I wouldn't have had to go through and clean them by hand :lol:

 
 

Offline Petrarch of the VBB

  • Koala-monkey
  • 211
:runs round like Dr. Zoidberg:

Woooopwoopwoopwoopwoop!

 

Offline Whitelight

  • 29
  • Thing, man like
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:
Simpicity of character is the natural resualt of profound thought

 

Offline Raptor

  • 210
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:
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
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.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

  

Offline Raptor

  • 210
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.
« Last Edit: February 09, 2003, 12:54:49 pm by 914 »
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'