Replay deleter 
13 comments




Hello community \o/
I've met one problem, if i play CC too much, i will have a bunch of a replays, that i dont need.
For example, i've played 20 times in hotseat while testing/making/fixing new gun/map/gamemode. And i will have a lot of "Hotseat Game.ccrp" files.
For another example, i've played a much, and i have some nice replays, that i wish to keep.
So i made those 2 bat files:
DelReps.bat
DelHotseatReps.bat





What do they do?
First one will delete those kinds of a replay:
Code:
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
1986-01-31 15-50-41 - Adadqwda.ccrp
1993-07-24 14-57-35 - DAFUQ.ccrp
1999-01-18 20-34-11 - Hotseat Game.ccrp
2002-03-15 22-20-22 - My server.ccrp
2004-12-18 23-15-56 - A nice game.ccrp
2008-01-21 15-45-12 - I like bacon.ccrp
2010-11-07 15-27-25 - Hotseat Game.ccrp
2011-12-15 10-57-30 - Hotseat Game.ccrp
2012-11-05 12-42-10 - Made from squirells.ccrp
2040-00-00 00-00-00 - Fantom.ccrp
3050-14-45 57-45-45 - Hotseat Game.ccrp
1993-07-24 14-57-35 - DAFUQ.ccrp
1999-01-18 20-34-11 - Hotseat Game.ccrp
2002-03-15 22-20-22 - My server.ccrp
2004-12-18 23-15-56 - A nice game.ccrp
2008-01-21 15-45-12 - I like bacon.ccrp
2010-11-07 15-27-25 - Hotseat Game.ccrp
2011-12-15 10-57-30 - Hotseat Game.ccrp
2012-11-05 12-42-10 - Made from squirells.ccrp
2040-00-00 00-00-00 - Fantom.ccrp
3050-14-45 57-45-45 - Hotseat Game.ccrp
Second will erase those:
Code:
1
2
3
4
2
3
4
1999-01-18 20-34-11 - Hotseat Game.ccrp
2010-11-07 15-27-25 - Hotseat Game.ccrp
2011-12-15 10-57-30 - Hotseat Game.ccrp
3050-14-45 57-45-45 - Hotseat Game.ccrp
2010-11-07 15-27-25 - Hotseat Game.ccrp
2011-12-15 10-57-30 - Hotseat Game.ccrp
3050-14-45 57-45-45 - Hotseat Game.ccrp
Since games saves them in that format "Year-Month-Day Hour-Minute-Second - Server name.File extension", i used a file mask which can be seen on screenshots below, that will delete only game made replays, or any renamed to that style.
For example, i have:
Code:
1
A-Little-Ownage.ccrp
and after executing a batch file, it will delete game made replays and keep replays that i renamed and wish to have.





Just unzip 2 bat files into the game directory and have fun






Those files was made by me in Notepad++
Feel free to modify it for yourself and ask me some questions if you dont understand something.
Re-upload only with my permission.





edited 2×, last 20.01.14 05:37:11 pm

Comments
13 comments



Log in!
You need to log in to be able to write comments!Log in
My problem? lold here.
Its you who came here and told to "Ctrl+A & delete".
Okay, looks like we deal with a badass here, who can do it for himself. So can i, i did it, and shared it, if you dont like it - who cares.
Yep. Over.
Its you who came here and told to "Ctrl+A & delete".
Okay, looks like we deal with a badass here, who can do it for himself. So can i, i did it, and shared it, if you dont like it - who cares.
Yep. Over.
I don't get your problem, discussion is over.
btw. You can do this without cd: del "replays/??-??-shit.*", so you kinda fail there.
btw. You can do this without cd: del "replays/??-??-shit.*", so you kinda fail there.
No, you're wrong. It still would requite cd for a better use, unless you want to put it in the "replays" folder and find it every time you want to delete replays.
I also lol'd at your comments below, because this isn't a program or application. It's just one line of batch script.
@
mafia_man: Ctrl+A? Yea sure, if you want to delete ALL REPLAYS.
edit: Oh wait a minute, not just replays, everything in "replays" directory. Who knows whats in there.
edit2: Just tested. You cant have directorys inside "Replays" one. Game just dont see them.

edit: Oh wait a minute, not just replays, everything in "replays" directory. Who knows whats in there.
edit2: Just tested. You cant have directorys inside "Replays" one. Game just dont see them.



