File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 88
99## Creating unit icons
1010
11- 1 . Extract btn-unit* (and all files from special cases below) from base.MPQ and throw them in units/dds/
12- 2 . ` cd units && bash gen.sh <size> `
11+ 1 . Extract btn-unit* (and all files from special cases below) from the appropriate MPQ file and throw them in units/dds/
12+ The MPQ file will be Starcraft II/Mods/Liberty.SC2Mod/Base.SC2Assets for WoL units.
13+ 2 . ` cd units && bash gen.sh <size> ` for <size > in 32, 48, 76
1314 3 . profit.
1415
1516### Special cases:
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ for k in dds/*dds; do
1414 filename=$( basename " $k " )
1515 extension=" ${filename##* .} "
1616 filename=" ${filename% .* } "
17- m=` expr match " $filename " ' \(btn-[a-zA-Z]*-[a-zA-Z]*-\)' `
17+ m=` expr " $filename " : ' \(btn-[a-zA-Z]*-[a-zA-Z]*-\)' `
1818 unit=" ${filename// $m / } "
1919
2020 echo " $k -> icons/$w /$unit .png ($w x $h )"
You can’t perform that action at this time.
0 commit comments