SC2RAR Source Code

February 15th, 2011

As I have little to no time for updating the project myself these days I hereby release it to everyone under the GPL license.

It is written in C#/.NET, it uses MpqLib for accessing the replay mpqs, the code is not really commented at all, and you will have to figure the parsing out on your own as I have lost my handy reference file.

Please note that any future release of SC2RAR is not made or quality checked by me, and you should always virus scan unknown software with a scanner such as http://www.virustotal.com/.

Download:SC2RAR SOURCE

- warcode

SC2RAR Update 10

October 9th, 2010

Changelog:

* The program will now silently fail to rename games vs AI opponents. THIS IS HOW IT IS SUPPOSED TO WORK.
* Added some more languages to the internal translation of race names. If a race appears as an X, and it is NOT random, its because I don’t know the correct translation for that race.
* Some bugfixes

Download links:
SC2RAR Update10

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

SC2RAR Update 9

August 22nd, 2010

Changelog:
* A lot of bugfixes
* Should hopefully work for all regions now, Blizzard seems to have some difference in their formats, so non-europe/NA regions might have to check “Other” in the filter list to make it work. Sorry!
* Added the option to play a sound when a rename is complete. The included sound is quite loud, so set the volume for the program individually OR replace “sound.wav” with your own sound. Can only play wavs, and is not throttled. If using SC2RAR to rename multiple replays, this feature should be turned off.
* There is a new option to copy replays into folders based on game type
* Added dynamic options “Normal” and “Normal.”. These display “Player(R) vs Player(R)”.
* You can now have the program replace the regular map name with one you specify. Simply edit “maplist.txt” and add a new line for the map in the format “Oldmapname|Newmapname”. This also works for translating map names.

It would be very nice if someone in non-English areas can create a maplist.txt that translates the map names for their locale to English. This way I can create different pre-set versions for people to download. Remember to save the txt file as UTF-8, as ASCII doesn’t handle special characters very well.

Dynamic Variables
I got a request to list the possible variables for the dynamic system, so here it is.
Matchup
Map
Players
Players.
Normal
Normal.
Date
ID

You can request more dynamic options, but “Incrementing replay number” is already on the todo list.

Download links:
SC2RAR Update9

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

SC2RAR Update 8

August 1st, 2010

Changelog:
* Fixed a bug that was causing the dynamic format to not save properly
* Added an option of moving the replay instead of copying it.
* Added an option for filtering out certain types of replays (1v1, 2v2, 3v3, 4v4, FFA, Other).

Known Issues:
* There are some issues with games played against the computer.
* Very little testing has been done on this version, please report any bugs.

Download links:
SC2RAR Update8

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

ReplayRenamer & SC2RAR Update 7

August 1st, 2010

Changelog:
* Updated the program to work with the release version of Starcraft 2.

Known Issues:
* Close to no testing has been done on this version, please report any bugs.

HOW TO CONFIGURE SC2RAR TO AUTO-SAVE REPLAYS
* Set the watch folder to your version of C:\Users\USER\Documents\StarCraft II\Accounts\12345\1-A1-1-12345\Replays\Unsaved
* Set the output folder to your version of C:\Users\USER\Documents\StarCraft II\Accounts\12345\1-A1-1-12345\Replays\Multiplayer
* All “Unsaved” replays will then be copied to the “Multiplayer” folder and renamed.

Download links:
ReplayRenamer Update7
SC2RAR Update7

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

ReplayRenamer & SC2RAR Update 6

May 8th, 2010

NOTE: I will not be updating the programs until after the release of the game.

Changelog:
* Fixes some patch 11 issues involving extra players being added in games.

Known Issues:
* Might still be some problems with reading of the replay player list. Please report it if anything happens.
* Non-English race names are broken. Working on that.

Download links:
ReplayRenamer Update6
SC2RAR Update6

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

ReplayRenamer & SC2RAR Update 5

April 24th, 2010

Changelog:
* Now works again after patch 9/10 changed the SC2Replay data structure.
* No longer works with any pre-patch 9 replays.

Known Issues:
* Non-English language replays will some times produce an X instead of P/Z/T in the matchup listing. This can be fixed by emailing me the replay along with an explanation of which race it should be. (And if you want to help me keep track, what language it is in).

Download links:
ReplayRenamer Update5
SC2RAR Update5

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

ReplayRenamer & SC2RAR Update 4

April 14th, 2010

Changelog:
* BUGFIX: Sorting by player in 2v2 and up should now work properly.
* BUGFIX: You should now be able to properly use the setup menu after the first time.
* Feature: Added the option to sort by race. This moves the race to the front and is only effective for 1v1. Player sort can not be used at the same time.
* ReplayRenamer Feature: Replays with non-English chars in them will now be renamed properly.

Known Issues:
* Non-English language replays will some times produce an X instead of P/Z/T in the matchup listing. This can be fixed by emailing me the replay along with an explanation of which race it should be. (And if you want to help me keep track, what language it is in).

Download links:
ReplayRenamer Update4
SC2RAR Update4

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Feature suggestions and general feedback can be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

SC2 RAR Update 3

April 7th, 2010

Now with fancy graphics and more!

Changelog:
* There is now a graphical setup wizard/menu. Access it by right clicking the tray icon (interceptor).
* Replays can now be copied into a different folder and renamed. This should fix any disconnect problems people were having.
* Note: Setting the “Copy-to” folder as the folder you are watching works, but you will end up with both replays in the same folder, so it is not recommended.

Known Issues:
* Non-English language replays will some times produce an X instead of P/Z/T in the matchup listing. This can be fixed by emailing me the replay along with an explanation of which race it should be. (And if you want to help me keep track, what language it is in).
* Renaming of replays that have non-English characters in them might fail. I will attempt to solve this in update4.

Download link:
SC2RAR

Feature suggestions and general feedback can now be given by clicking the feedback button on the left side of the browser, or by clicking the “Forum” link in the right-hand menu.

SC2RAR u3 – Beta3

April 5th, 2010

SC2RARu3BETA3.rar

Can anyone who had issues with SC2RAR crashes/disconnects try this?
1. Unpack in new directory
2. Run program and choose folder
3. Right click on icon in tray and select “Set Player Name”, enter your battle.net name and click Apply.
4. Close the program and open config.ini
5. Change the 0 to a value between 15 and 60
6. Start program and use normally

This will delay the renaming of the replays by 15 to 60 (or more) seconds, so wait at least a minute after exiting the score screen to see if the problem is resolved.

Please post a comment if the problem persists, either below or in the Teamliquid.net forum post.