Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style fixes
  • Loading branch information
Andrene committed May 29, 2024
commit 2333c32f69cecd5c44770588aaf6ecd59794919f
16 changes: 8 additions & 8 deletions examples/sc2autosave.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@
keeps the script from looking into the 'Saved' subdirectory.

sc2autosave \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Mutliplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplater/Saved \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer/Saved \
--period 10 \
--depth 0

This next configuration runs in batch mode using the default renaming format.

sc2autosave \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Mutliplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplater/Saved \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer/Saved \
--rename

(ZvP) Lost Temple: ShadesofGray(Z) vs Trisfall(P).SC2Replay
Expand All @@ -96,8 +96,8 @@
by replay format and favors ShadesofGray in the player and team orderings.

sc2autosave \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Mutliplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplater/Saved \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer/Saved \
--rename "{:format}/{:matchup} on {:map}: {:teams}" \
--player-format "{:name}({:play_race})" \
--team-order-by number \
Expand All @@ -112,8 +112,8 @@
length to show both minutes and seconds.

sc2autosave \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Mutliplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplater/Saved \
--source ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer \
--dest ~/My\\ Documents/Starcraft\\ II/Accounts/.../Multiplayer/Saved \
--rename "{:matchup}/({:length}) {:map}: {:teams}" \
--player-format "{:name}({:play_race})" \
--team-order-by number \
Expand Down
2 changes: 1 addition & 1 deletion sc2reader/engine/plugins/creeptracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class creep_tracker:
def __init__(self, replay):
# if the debug option is selected, minimaps will be printed to a file
##and a stringIO containing the minimap image will be saved for
##every minite in the game and the minimap with creep highlighted
##every minute in the game and the minimap with creep highlighted
## will be printed out.
self.debug = replay.opt["debug"]
##This list contains creep spread area for each player
Expand Down