phatphred
Private 1st Class
Joined: Sun Apr 08, 2001 2:00 am Posts: 2 Location: USA
|
I'm attempting to write a program in Visual Basic that reads the TWGS game (.DAT) files to produce a summary of who is playing, what corps exist, how many fighters, planets, citadels, and so forth each player, corp, alien, and alien race has. It writes the summary to announce.txt (enclosed below). My question:
Can I get details on what is in each of the .DAT files (for example, I can count the mines and fighters in each sector but I don't know how to identify who owns them)?
--- announce.txt ---
Sysop Helper Report for 4/19/01 10:57:10 PM
Sectors contain 166678 fighters, Planets contain 126749 fighters, Ships contain
20383 fighters, Ferrengi Ships contain 4402 fighters, and Alien Ships contain
8192 fighters.
Corporate Listing: SPK created SPK Industries on 04/06/13, Quark created Red,
Inc. on 03/30/13
User Listing: jeff as Quark, john as P. L. Richards, michael as Nightowl, evan
as Mr. Nice, brian as Farb, chip as Pihc, keith as SPK
Sectors:10000, Ports:3825/4000, Planets:40/2001, Corps:2/50, Aliens:34/50,
Ferrengi:6/40, Ships:8/800, Fighters:326404, and Users:7/198. Gold Aliens and
Gold Ships not counted.
|