Chaosforge Forum
DoomRL => Requests For Features => Topic started by: Simon-v on March 17, 2010, 15:41
-
Currently the mortems are copied to the mortem directory and named according to the following format:
[DD-MM-YYYY H-M-S] NAME.txt
It is my belief that the naming format should be more descriptive and useful, including the following modifications:
- Follow the YYYY-MM-DD date format
- Always use two-digit 24h time
- Include the difficulty
- Include the game type (normal or challenge)
- Include the game outcome (level reached (two digits) or victory type)
The proposed changes will make the mortem archive searcheable, sortable and generally more convenient.
Examples:
2010-03-17 22-34-17 E-Normal-St1 Simon.txt
2010-05-07 02-41-05 N-Normal-15 Simon.txt
2010-07-13 12-03-24 H-AoMr-Pt1 YourName.txt
2010-11-20 14-50-22 U-Ao100-02 HisName.txt
2010-12-31 23-59-59 N!-AoPc-Pt1 SomeName.txt
-
Besides that it makes the file names really long, I like it!
-
DD-MM-YYYY is European standart and should not be changed due to the different nationalities of the players.
Exact time is useless. Seconds are the most useless.
As for the rest, it's nice to have the more detailed description because right now I have difficulties checking my Mortems.
Also good idea make this changeable in the .ini file.
And crazy idea - make mortems assessable from the HoF table if not deleted.
And this is NOT a bug, this is a feature request.
-
I would assume YYYY-MM-DD was suggested so that mortems will be in order. The format depends on your regional settings; if dates on your computer are in YYYY-MM-DD format then the mortems follow that.
-
You can always choose sort by date in your favourite file manager :> (hint, hint!)
-
And this is NOT a bug, this is a feature request.
It was originally thought as "a bug" in that "it makes something broken or unusable", but apparently has grown past the original concept. My apologies. May the moderators move it as they see appropriate.
I will settle on the option to define the format and level of descriptiveness in the .ini file. This may actually be the better way to solve this (although it might be non-obvious to implement).
EDIT: In the mean time, i slapped together a Linux shell script to do just that. Link: http://forum.chaosforge.org/index.php/topic,2904.0.html (http://forum.chaosforge.org/index.php/topic,2904.0.html)
-
Moved to feature requests, because it most likely does count as such. That being said I agree with Simon - having ability to configure how the mortem files are named would be nice.
-
This absolutely has my vote, it's pretty difficult to sort through, especially if all your runs of a specific challenge all have the same character name. (Almost all of my AoPc challenges are named Ghandi)
-
Also I vote for mortems being accessible from HoF page. Maybe they should be stored in some single *.wad or whatever file with option of exporting selected mortems to *.txt files. You could think also of some improvements for this, like automatic *.txt generation of YAVP mortems (but they're always included in *.wad file so you can check them whenever you want - maybe it should be scores.wad to avoid problems.. or maybe even make a one single file to contain scores and info player).
-
I'd just like to say that the script above is very handy, I've been using it with some small modifications.
-
I'd just like to say that the script above is very handy, I've been using it with some small modifications.
Do share!
-
nothing significant, just personal preference & cygwin stuff:
-changed the second difficulty to M instead of N, matching the in-game and differentiating more from N!
-AoP -> AoPu for my own clarity
-expanded Pt/St/Fw to PartialWin/StdWin/FullWin
-for some reason the $endlevel wasn't working for me, possibly something different under cygwin - it is a long messy line with lots of quotes etc., changed it to use head and tail (hardcoded to get the 6th line) and that worked. testing on the command line, each part of the command worked but the whole pipe did not.
-the fix for notepad under windows wasn't needed for me (and would cause an "unfix"), again I think because cygwin handles the \r\n automagically.
I'll attach it anyway.
-
I've adapted some of the tweaks (M for Medium, Pu for Purity and `tr -cd`) into the original script. I assume the cygwin implementation of grep is different than in my distribution.
I can't for the love of Torvalds figure out why `tr -cd` works, but it does.
Since the script thread is locked, i'm attaching it here.