Advertisement
[Suggestion] Improved automatic demo file naming
It's ok, but there's room for improvement
#1
Posted 04 October 2009 - 12:23 PM
I think the idea to put the start date/time into the file at the beginning is the right thing, however there are pitfalls because numbers < 10 are written as e.g. "9" instead of "09". That way, pure filename based sorting gets mixed and isn't very useful that way.
I suggest prefixing all numbers < 10 with a "0",
I suggest prefixing all numbers < 10 with a "0",
#4
Posted 05 October 2009 - 11:19 AM
Solitary, on 04 October 2009 - 10:39 PM, said:
agreed, also if the font/recording indicator could be downsized and/or moved somewhere that would be awesome.
Interesting, this was never an issue for me. It seems the font is already quite small or maybe it does not scale with the resolution?
I'm playing at 1600x1200 and I barely can read it .. no, make that I cannot read it, except the KB counter I think.
OTOH, I wouldn't care if it would be even smaller. It just important to know whether I'm recording or not; I wouldn't remember the filename anyway ...
#5
Posted 08 October 2009 - 07:26 AM
Further improvements:
- Strip color codes properly. Don't replace them with an underscore, just remove them altogether. Same with apostrophes and other illegal characters. I'm not sure about anyone else, but I'd rather see clan tags squished right next to the name rather than have brackets and colons replaced with underscores. 51don vs _51_don.
- Take out the seconds. The file names get cut off really badly anyway, so 3 less characters would be great. Same for first 2 digits of the year. Do mm_dd_yy even if it's a retarded format; at least it's shorter than yyyy_mm_dd (which looks bad with a 2 digit year imo).
Of course the best improvement would be making longer file names. Half of my demos don't even have the first team's name complete. I don't think any have both team names in the filename. I suppose some crappy Apple OS chokes on long file names, though.
- Strip color codes properly. Don't replace them with an underscore, just remove them altogether. Same with apostrophes and other illegal characters. I'm not sure about anyone else, but I'd rather see clan tags squished right next to the name rather than have brackets and colons replaced with underscores. 51don vs _51_don.
- Take out the seconds. The file names get cut off really badly anyway, so 3 less characters would be great. Same for first 2 digits of the year. Do mm_dd_yy even if it's a retarded format; at least it's shorter than yyyy_mm_dd (which looks bad with a 2 digit year imo).
Of course the best improvement would be making longer file names. Half of my demos don't even have the first team's name complete. I don't think any have both team names in the filename. I suppose some crappy Apple OS chokes on long file names, though.
GlaD-don
Past teams:
Partners in Terror | The Dark | Team Terror | Noobs Gone Wild | Xor | Blight Gaming | Area 51 Gaming | Team Lzuruha | Besserman6 | Console | No Care Bears | Zing | Pro5 | American Idols | Team Canada | No Defiance | Unlimited Gaming
<3 to the people who built and sustained the North American competitive community over the years. xil, r, vex, icu, bos, .e, '`|v|~, iF, -x-, ill, un, xor, glad & all the rest. thanks for the games
Past teams:
Partners in Terror | The Dark | Team Terror | Noobs Gone Wild | Xor | Blight Gaming | Area 51 Gaming | Team Lzuruha | Besserman6 | Console | No Care Bears | Zing | Pro5 | American Idols | Team Canada | No Defiance | Unlimited Gaming
<3 to the people who built and sustained the North American competitive community over the years. xil, r, vex, icu, bos, .e, '`|v|~, iF, -x-, ill, un, xor, glad & all the rest. thanks for the games
Advertisement
#6
Posted 08 October 2009 - 07:43 AM
f2 - I'm against the mm_dd_yy format, it breaks file listing sorting; therefore it should stay from greatest to smallest: year, month, day, hour, minute. Yeah, seconds are probably not necessary, I don't see them hurt either and squishing the year can't be bad, too.
f0 on playernames
f0 on playernames
#8
Posted 08 October 2009 - 07:51 AM
mm_dd_yy? Insanity, why would anyone do something as silly as put a smaller value between two larger ones when sorting things? The smallest value should go first in this case. So dd_mm_yyyy. Most of the time I want to access my most recent demos, to check cheaters etc, so month or year are too far away.Â
If i have kept a demo more than 1 month old I have usually renamed it so that I can remember what it is anyway.
If i have kept a demo more than 1 month old I have usually renamed it so that I can remember what it is anyway.
#9
Posted 08 October 2009 - 07:56 AM
some-god, on 08 October 2009 - 07:51 AM, said:
mm_dd_yy? Insanity, why would anyone do something as silly as put a smaller value between two larger ones when sorting things? The smallest value should go first in this case. So dd_mm_yyyy. Most of the time I want to access my most recent demos, to check cheaters etc, so month or year are too far away.
If i have kept a demo more than 1 month old I have usually renamed it so that I can remember what it is anyway.
If i have kept a demo more than 1 month old I have usually renamed it so that I can remember what it is anyway.
Nah. dd_mm_yyyy is not appropriated, bigger units first else you would get something like when file sorting:
05_03_2000 (young)
27_01_1988 (older)
28_02_1988 (old)
See it's all messed up time wise, while it works with bigger units first:
1988_01_27 (older)
1988_02_28 (old)
2000_03_05 (young)
This post has been edited by Crazylys: 08 October 2009 - 07:57 AM
#10
Posted 08 October 2009 - 08:02 AM
Yeah I know what you mean, but when I access my demo files it is not in my filesystem (where i can sort things by date created anyway, just a tiny click away woo.) But in console where i type 08 for a video made today then tab.