Zdoom stats logger?
- Curunir
- Posts: 1041
- Joined: Sun Nov 02, 2003 11:24 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Zdoom stats logger?
I know it's probably silly and possibly cannot be done without it being integrated in zdoom (the game outputting log files and all)...
But I've been thinking. It would own a whole lot if there was a program which logged weapon use, ammo used up, frags, deaths and stuff throughout deathmatches and single player levels. Sort of like the Quake/Counter Strike/foo loggers. I understand that Zdoom doesn't spit out a games.log file where this all is recorded and that's probably the greatest problem.
My knowledge of coding programs is limited to C, Java and a few other high-tech words, so I have no idea how this could be done without the log file. And it would still be great if it's possible. I don't think this is essential enough to bug Randy with it, but if anyone has any idea how this can be done, it'd be sweet to hear it.
But I've been thinking. It would own a whole lot if there was a program which logged weapon use, ammo used up, frags, deaths and stuff throughout deathmatches and single player levels. Sort of like the Quake/Counter Strike/foo loggers. I understand that Zdoom doesn't spit out a games.log file where this all is recorded and that's probably the greatest problem.
My knowledge of coding programs is limited to C, Java and a few other high-tech words, so I have no idea how this could be done without the log file. And it would still be great if it's possible. I don't think this is essential enough to bug Randy with it, but if anyone has any idea how this can be done, it'd be sweet to hear it.
- Curunir
- Posts: 1041
- Joined: Sun Nov 02, 2003 11:24 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
To analyse in detail my playing style in single player, to know the ways of my enemy in dm, to see how many imps were killed with the shotgun and how many with berserk.
Man, you're no fun! Logs are good for you and have always been. I mean, don't you have a log analyser program for the newer games you play? If not, that'd be evil!

Man, you're no fun! Logs are good for you and have always been. I mean, don't you have a log analyser program for the newer games you play? If not, that'd be evil!
You'll have to excuse me. My personal experience encountering the word "log" on the internet has found them to be suicidally uninteresting chat session transcripts, the things you get after chopping down a tree, or, in rare instances, perfectly formed pieces of excrement. With that in mind, surely you can understand why I have trouble reading the sentence "logs are good for you and have always been."
- The Ultimate DooMer
- Posts: 2109
- Joined: Tue Jul 15, 2003 5:29 pm
- Location: Industrial Zone
Re: Zdoom stats logger?
ZDoom does have logging ability, but it's limited to only what the console produces. So you could log the items picked up, and how often you die (and how often you cheat, heh) but that's about it. Type this at the console:Curunir wrote:I know it's probably silly and possibly cannot be done without it being integrated in zdoom (the game outputting log files and all)...
logfile log.txt
to start a log called (wait for it...) log.txt
- Curunir
- Posts: 1041
- Joined: Sun Nov 02, 2003 11:24 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
The Ultimate Doomer is being amazingly useful and helpful twice in a day! I say, a toast to that fine gentleman!
Even that would be enough. But that would still leave me with the .txt file itself. HTML output is going to be nice. But that must require a parser again. Bah! The .txt file will have to make do!

Even that would be enough. But that would still leave me with the .txt file itself. HTML output is going to be nice. But that must require a parser again. Bah! The .txt file will have to make do!
Put a script in each level you want logging for that prints a one-line message to the screen (and thus the console) telling you what you just killed. Then turn on logging.Curunir wrote:The Ultimate Doomer is being amazingly useful and helpful twice in a day! I say, a toast to that fine gentleman!![]()
Even that would be enough. But that would still leave me with the .txt file itself. HTML output is going to be nice. But that must require a parser again. Bah! The .txt file will have to make do!