|
|
is there away to extract the players names?
|
There's ways to get at the info inside the replays, but it's not nearly as straightforward as what's been presented in this thread already. So far, the methods shown here get all info from the file name (as it has been saved by SC2) and the date modified field of the file. So while it can be done, it seems beyond the scope of this thread.
A current solution for adding players' names to the filename exists in SC2Gears. You can batch rename all your files using that program, or even have it automatically save replays (though as stated before in this thread you have to leave the program running while playing for that to work).
|
On September 10 2010 13:57 sid17 wrote: Hey, the bat file for me works perfectly but the vbs script keeps giving me the error
Script C:\user\etc etc Line: 1 Char: 1 Error: Type mismatch: 'Code' Code: 800A000D Source Microsoft VBScript runtime error
i tried deleting the "code" line but then i got an error about subscripts. The bat file works great though and saves me tons of time ^^
All I can suggest is read the thread/instructions carefully, you're probably just entering something wrong in your Task Scheduler/Scheduled Tasks setup. Quotes are important, as are paths to the scripts.
|
On September 11 2010 05:37 Tobit wrote: There's ways to get at the info inside the replays, but it's not nearly as straightforward as what's been presented in this thread already. So far, the methods shown here get all info from the file name (as it has been saved by SC2) and the date modified field of the file. So while it can be done, it seems beyond the scope of this thread.
A current solution for adding players' names to the filename exists in SC2Gears. You can batch rename all your files using that program, or even have it automatically save replays (though as stated before in this thread you have to leave the program running while playing for that to work).
Yeah that would involve actual work
If anyone knows of a replay parser that works on the command line and isn't a PITA to set up (no PHP) I might make a version of the script that can do this.
|
Happy to report that in 1.2 this script will be made redundant by an in-game option to save all replays!
|
does anyone know how to get the cmd.exe to end after it saves? when i schedule this it leaves the cmd.exe running in the background, so if my computer is on for many hours i eventually get like 400 processes running in the background.
sorry to bump the thread but anyone know what i'm talking about here?
|
On December 13 2010 04:53 Blahman wrote: Happy to report that in 1.2 this script will be made redundant by an in-game option to save all replays! But will it auto-save with timestamps? If not, I think I will stick with the solution in the OP.
|
On December 18 2010 21:58 IgnE wrote: does anyone know how to get the cmd.exe to end after it saves? when i schedule this it leaves the cmd.exe running in the background, so if my computer is on for many hours i eventually get like 400 processes running in the background.
sorry to bump the thread but anyone know what i'm talking about here?
make sure the script isn't pausing. at the end of the main code block there is a line that says rem pause, make sure it has a rem before it, otherwise it will sit there waiting for your input.
if that's not it, try running the script from a command line and see where it's getting hung up.
|
On December 19 2010 01:54 Alsn wrote:Show nested quote +On December 13 2010 04:53 Blahman wrote: Happy to report that in 1.2 this script will be made redundant by an in-game option to save all replays! But will it auto-save with timestamps? If not, I think I will stick with the solution in the OP.
good point, no it does not, it just makes them unique by appending a number in parentheses after the map name.
|
FYI you'll need to update your source path if you were using "Unsaved" before, as now it puts unsaved multiplayer replays in the Unsaved\Multiplayer folder now.
for example, (for Windows 7) change:
set source=C:\Users\USER\Documents\StarCraft II\Accounts\12345\1-A1-1-12345\Replays\Unsaved
to
set source=C:\Users\USER\Documents\StarCraft II\Accounts\12345\1-A1-1-12345\Replays\Unsaved\Multiplayer
|
|
|
|