PigStats v1.3

Half-Life log file analyzer and statistics generator

FEATURES
SUPPORTED PLATFORMS
INSTALLATION
USAGE
LICENSE
SOURCE CODE
CONTACT
REGISTER
FEATURES  
Revision 1.2:
  • Generates output in text or html
  • Statistics for total kills, deaths, suicides, kill rate, and kill  ratio (kills/deaths)
  • Statistics for weapon usage
  • Individual player statics including kill ratios against other players and most favored/feared weapons
  • Player kills and deaths for each match played 
    Match totals
  • Displays team information for each match and match totals, when using  teamplay

Revision 1.3:

  • No limit on number of log files, or players analyzed
  • HTML output to a single file, or split into separate files for general, weapon, game and individual player statistics
  • Filter out players with zero kills
  • Simplified installation: PigStats comes as a single executable with no additional dll's to install
SUPPORTED PLATFORMS TOP
PigStats was built and tested under both Win98 and WinNT4.0.  It should work under Win95, but I'm not promising anything. ;)
INSTALLATION TOP
Put pigstats.exe wherever you want.  It's not a GUI app and you will probably want to run it from a DOS box command prompt or a batch file.  So you should either execute it from your current directory, or set your path system variable to point to its final resting place.
USAGE TOP
pigstats [-i<input path>] [-o<output path>] [-s] [-m] [-f]

Where <input path> is the path and file name (including wild cards) of the input log file(s) and <output path> is the path and file name of the output file. Don't add any spaces between the '-i' or '-o' and the respective paths.

If the extension of the output file is .htm or .html then output is in HTML, otherwise it's straight text.

If no input path is provided PigStats looks for log files in the current directory.  If no output path is provided, PigStats generates a text file called "stats.txt" in the current directory.

'-s' causes PigStats to execute silently. If this parameter is omitted, PigStats prints a startup banner and parsed file names to the console.

'-m' causes PigStats to generate individual output files for game, weapons and player statistics (if an html output file is specified).  This is helpful when a single html file would be too large to quickly load in a browser.

'-f' causes PigStats to filter out zero scores.  Players with zero kills are not displayed in the general statistics section.

Oh yeah... almost forgot:  To generate Half-Life log files you have to turn on logging.  Bring down the Half-Life console (`) and type "log on".  Log files will appear in a valve\logs folder as if by magic!.

LICENSE TOP
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

 SOURCE CODE TOP
Full source code is available for pigstats and regex under the terms of the GPL.  Please e-mail your request to better_dead@yahoo.com or visit the lovely web site.
CONTACT TOP
Contact the author, Eric Dennison, at BetterDead, or visit the PigStats web site.
REGISTER TOP
BetterDead doesn't produce many updates to PigStats, but when he does he wants to share them with you. If you want to hear about new revisions and bug fixes, then send him a note!

It's good for his ego, too. ;)

PigStats V1.3 Copyright © 2000  Eric Dennison