Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Fury on October 21, 2002, 09:17:41 am

Title: Got clean tables?
Post by: Fury on October 21, 2002, 09:17:41 am
Does anyone have clean original FS2 tables?

With clean I mean tables without comments and such.

I had tables which I cleaned myself, but I lost 'em. :wtf:
I don't wanna do that cleaning job anymore, ****ty as hell. :lol:
Title: Got clean tables?
Post by: Killfrenzy on October 21, 2002, 10:10:25 am
Is that clean as in containing only what the game NEEDS without all the things at the start or at the end of the rows?
Title: Got clean tables?
Post by: Galemp on October 21, 2002, 11:49:30 am
Here's the cleaned up ships.tbl. It's not reorganized, though, like I usually do with my tables. Over 100k of junk was removed. Just rename it to ships.tbl.
Title: Got clean tables?
Post by: Fury on October 21, 2002, 01:10:04 pm
Thanks a lot GE!
Do you happen to have weapons.tbl as well? :lol:

Edit:
You know... I have been using TBP tables so long that looking at original FS2 tables is strange...
"TFight6", "TFight22" and so on. :wtf: You can imagine how I felt. :lol:

Well cleaned ships.tbl by the way. :nod:
Title: Got clean tables?
Post by: Goober5000 on October 21, 2002, 06:21:27 pm
I have a table cleaning program I whipped up in Basic the other day.  I'll post it if anyone's interested.

Yes, I can compile it to an EXE if necessary...:D
Title: Got clean tables?
Post by: CODEDOG ND on October 21, 2002, 06:28:22 pm
Quote
Originally posted by Goober5000
I have a table cleaning program I whipped up in Basic the other day.  I'll post it if anyone's interested.

Yes, I can compile it to an EXE if necessary...:D


:lol:

At least I'm not the only the one that was made to learn that crap.
Title: Got clean tables?
Post by: Goober5000 on October 21, 2002, 06:33:38 pm
Quote
Originally posted by CODEDOG ND
:lol:

At least I'm not the only the one that was made to learn that crap.


It's not crap, it's fun!  I still use Basic occasionally.  (FYI, I did the table cleaner thing in QBasic.)

Just so you all know, :nervous: I know other languages besides Basic.  But Basic is really good for simple jobs you want to get programmed fast, without having to worry about overhead, structure, efficiency, recompiling, and such.
Title: Got clean tables?
Post by: vadar_1 on October 21, 2002, 06:47:14 pm
hes right, basic isnt crap... its a joke... now lets all have a laugh at the lame attempt at a programming language

moving on... i think my tables need a little scrubbing

*pulls out a mop, laughs nerviously to himself, then leaves*
Title: Got clean tables?
Post by: Killfrenzy on October 22, 2002, 04:21:38 am
I used to know Basic......but forgot about 99% of it! :D

And is there a cleaned weapons.tbl?
Title: Got clean tables?
Post by: aldo_14 on October 22, 2002, 05:49:02 am
Be glad you never had to use COMAL.... I spent something like 2 months trying to get a sodding database system working on that when I was in 2ndary school.  (wouldn't save & retrieve from file)
Title: Got clean tables?
Post by: Goober5000 on October 22, 2002, 01:54:57 pm
Boo to you all. :p

Here (http://www.geocities.com/ipw47/temp.html) is the program.  Currently it's designed only for ship tables.  It'll probably work with weapons and other stuff, too, but it won't add a blank line between weapons.

EDIT: That link is broken; use this link (http://www.geocities.com/ipw47/tablecleaner.html) instead.
Title: Got clean tables?
Post by: Killfrenzy on October 23, 2002, 04:27:12 am
COMAL? Never heard of it.......heard of COBOL though..........but then I'm trying to learn C++............:shaking:
Title: Got clean tables?
Post by: CODEDOG ND on October 23, 2002, 04:23:01 pm
Fortunatly they got us out of Basic and into Pascal and C++.
Title: Got clean tables?
Post by: Killfrenzy on October 23, 2002, 04:43:37 pm
Sensible people. :)
Title: Got clean tables?
Post by: Galemp on October 23, 2002, 09:02:00 pm
Moving right along:

Does the weapons.tbl even need to be cleaned? What kind of limits are on that?
Title: Got clean tables?
Post by: vadar_1 on October 23, 2002, 09:55:11 pm
same limit as everything else, 383.45kb max. However, it does not have the same effects as the ships table with too many entries.
Title: Got clean tables?
Post by: Killfrenzy on October 24, 2002, 05:40:00 am
If anything, the weapons.tbl could be a LOT smaller. How many defunct weapon entries ARE there?
Title: Got clean tables?
Post by: Liberator on October 24, 2002, 09:20:18 am
If you liked COBOL, you'd love RPG.

By the way, it may suck as a language, whowever as a programming enviroment it is excellent for teaching good practices for fledgling programmers(logical thought processes and such).
Title: Hmmmm
Post by: Star Dragon on October 24, 2002, 11:00:23 am
My weapons table is at around 514kb. No big problems but the occasional out of nowhere crash (1 outta 10 games I think but not sure)
Title: Got clean tables?
Post by: aldo_14 on October 24, 2002, 01:25:50 pm
Quote
Originally posted by Killfrenzy
COMAL? Never heard of it.......heard of COBOL though..........but then I'm trying to learn C++............:shaking:


It's like the inbred cousin of BASIC.  I don;t think anyone outside my old school has used it for a decade.
Title: Got clean tables?
Post by: CP5670 on October 24, 2002, 03:43:09 pm
Quote
If anything, the weapons.tbl could be a LOT smaller. How many defunct weapon entries ARE there?


I have been able to reduce the one for my campaign to 85k, which includes 7 or 8 new entries; there is a lot of useless stuff in there. :D
Title: Got clean tables?
Post by: Anaz on October 24, 2002, 07:02:16 pm
c++ r0X0rz everyone's b0x0xrs...
Title: Got clean tables?
Post by: EdrickV on October 24, 2002, 07:50:53 pm
Quote
Originally posted by Liberator
If you liked COBOL, you'd love RPG.

By the way, it may suck as a language, whowever as a programming enviroment it is excellent for teaching good practices for fledgling programmers(logical thought processes and such).


Ugh. I have actually used COBOL and RPG II on an IBM System 36 mainframe. With old terminals. The green screen kind old enough that they actually need screen savers. Though screen saver on that system meant a screen blanker. (At least I think the second was RPG II. That's the one where you use punch card like things because stuff has to be aligned right isn't it?) I did more complex stuff with Applesoft BASIC when I was younger. And it was a lot easier. In COBOL/RPG II all we were doing was basically non-interactive programs that read data from a file, possibly preformed simple calculations/decisions, and printed the results out. Boring stuff. But then it was at school. :) I took the course 'cause I thought it might actually help in learning game programming. Boy was I wrong.
Title: Got clean tables?
Post by: Killfrenzy on October 25, 2002, 10:15:06 am
Quote
Originally posted by CP5670


I have been able to reduce the one for my campaign to 85k, which includes 7 or 8 new entries; there is a lot of useless stuff in there. :D


Well, one of these days I'll get round to finalising the Swarm War weapons.........and then MAJOR WIPING will take place of the rest of the TBL! :D