RTCW Clientside Logfile Parser.
Current version: 1.50 (2004-01-30) CHANGELOG


  • 2003-01-30 -- v1.50. osp 0.9 fix.
  • 2003-06-21 -- v1.49. one last bugfix release (fixes the ^-handling)
  • 2003-06-13 -- development of this program is now stalled.
  • 2003-04-29 -- v1.48. complete osp color codes now(thx to aln|RoadKill)
  • 2003-02-03 -- v1.47. fixed color codes from ^a to ^o
  • 2002-12-31 -- v1.46. added color codes from ^a to ^o
  • 2002-12-19 -- v1.45. fixed a minor bug and added --browser option which starts browser automaticly.
  • 2002-12-10 -- v1.44. \scores-command no more messes up OSP-stats
  • 2002-12-07 -- v1.43. fixed a bug when used with --dir option. also minor fix to prematch frag removal code.
  • 2002-12-06 -- v1.42. fixed some bugs + new color codes support.
  • 2002-09-24 -- v1.41. getting teamkilled does not add your death count anymore.
  • 2002-09-19 -- v1.40. fixed so that OSP stats work from spectator logs.
  • 2002-09-18 -- v1.39. Now works with old OSP 0.22. Also, a rename bug was fixed.
  • 2002-09-16 -- v1.38. Major OSP stat bug fix. Read changelog-for more info. Everyone using OSP should upgrade!
  • 2002-09-15 -- v1.37. players with funny names are handled correctly in OSP-stats.
  • 2002-09-11 -- v1.36. warmup frags in OSP-logs are removed automaticly. Read FAQ section for more info about this.
  • 2002-09-09 -- v1.35. adds german support, fixes spanish support, and added new osp event ("was shelled by")). German support contributed by Thiemo Geisberger.
  • 2002-09-09 -- v1.34. adds spanish support, contributed by Tomas V.V.Cox
  • 2002-09-04 -- v1.33. adds new osp suicide msg and mm1-log fix
  • 2002-09-03 -- v1.32. fixes few OSP bugs
  • 2002-09-02 -- v1.31. with OSP support


    Example output:
    GS vs. eSports
    GS vs. eSport(showing OSP support)

    Teamstat is ran from DOS-box. To make stats-making easier, you can create .bat file like this:

    @echo off
    C:\teamstat\teamstat.exe "c:\program files\rtcw\main\rtcwconsole.log" --dir c:\stats

    Then make a shortcut to your desktop, pointing at that .bat.

    Note: When you specify --dir option, the .html-filename is created automaticly, and its formatted like this:

    If your logfiles are in spanish or german, add option --lang sp or --lang de.


    Latest version:
    teamstats-win32 ~900kB
    teamstats(source code/linux version) 100kB
    Binary/source code is released under BSD Licence.


    Q: I recorded logfile from demo, but it seems to have too few frags?
    A: If you play your demo with too big timescale value (fast forward), the logfile won't contain all events. Try lower the speed (timescale 2 should be ok). Also, if the logfile is in other than english, try the --lang de or sp option

    Also, if your demo is OSP demo, be sure to run wolf with OSP loaded.
    Q: I noticed the damage per frag ratio is miscalculated?
    A: It's calculated from OSP reported frags, which might somewhat differ from frags counted in logfile. OSP has some bugs counting frags, and sometimes not all frags show up in logfiles, so its never 100% accurate.

    Q: How the OSP warmup frag removal works?
    A: It looks the log file for "FIGHT!"-message and end of round stats-info, and only counts frags between those events..

    Q: When I run teamstat, I get some sort of weird error message. Help!
    A: First, upgrade to newest version. You can check your current version by running teamstat.exe --version. If you have the newest version, but the problem won't go away, then please email me the error message AND the rtcwconsole.log that's causing the error.

    Q: I start the program, but nothing happens?!?!?
    A: Teamstat is a console program. Run it from dos-box

    Q: In which language teamstat is programmed?
    A: Python, a totally cool dynamic language.