• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 05:52
CET 11:52
KST 19:52
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
$5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle screp: Command line app to parse SC rep files How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1421 users

[Tool] SC2 Map Analyzer - Page 4

Forum Index > SC2 Maps & Custom Games
Post a Reply
Prev 1 2 3 4 5 6 14 15 16 Next All
korona
Profile Joined October 2009
1098 Posts
June 26 2010 08:17 GMT
#61
Suggested new feature: Mineral node distance analysis - Distance of the mineral nodes from the main building often differs in different base locations. Thus different amount of workers is needed to fully saturate bases in different locations. The new feature would allow to check that corresponding base locations are equal regarding mineral node placement.
ashburn
Profile Joined March 2010
Singapore76 Posts
June 26 2010 08:52 GMT
#62
Great stuff! Thanks
monkh
Profile Blog Joined April 2010
United Kingdom568 Posts
June 26 2010 14:16 GMT
#63
Think i have found a bug. On latest map ive made its not calculating all resources around a couple of expansions.

http://www.sc2mapster.com/maps/modern-warefare/images/4-base-balance-using-map-analyzer/

3o'clock expansion shows 9.5k resources several of the minerals aren't calculated and also the lower natural expansion shows 15.5k resources this one may be due to them being 1 further out but top natural also has this and is calculated right.
Daeden.620
chuky500
Profile Blog Joined March 2010
France473 Posts
Last Edited: 2010-06-26 17:30:06
June 26 2010 17:15 GMT
#64
I found why it was printing the whole map path instead of the map name and it also had to do with the path. If I place the map in the same directory as the exe and I type :
sc2mapanalyzer.exe mymap.SC2Map
Everything works fine, it prints the name of the map. But if the map is still in the same directory and I type sc2mapanalyzer.exe and drag my map in the console it writes this in the console :

sc2mapanalyzer.exe "C:\Documents and Settings\...\Bureau\sc2mapanalyzer-release-1.2\sc2mapanalyzer-release-1.2\mymap.SC2Map"
And now in the generated picture it prints the whole path to the map instead of its name.

Also I just noticed if I just run sc2mapanalyzer.exe without typing a map name, it will process the map that's in the the directory but it won't print a map name at all, just "Shortest path - natural - 6 o'clock to 12 o'clock" and not the name of the map. The picture filename will be called sc2map-shortestPaths.... for example.


Another thing, I suggested that you could measure the distance from the main to the 3rd expansion but I think you missunderstood what I meant. I meant while I'm making a map if I want to have my 3rd expansion as far as in Metalopolis for example I could run your program to know the distance from the main to the 3rd in Metalopolis and then in my map and know how my 3rd compares to Metalopolis. Because the way I have to do it at the moment is I have to run the game, make a probe travel there, then run the demo and check how much time it took. Then do it again on Metalopolis to have a reference. If your program could measure that distance it would be faster to tweak the map.

Also about the alternate route maybe a way to do it would be in the GalaxyEditor to place a point (from the Point layer toolbar) that would act as a waypoint, and give it an obvious name. So your program would just have have to calculate the distance from the main to that waypoint, then from the waypoint to the enemy's main. And if I place 2 waypoints it would calculate the distance
Main->1st Waypoint->Opponent's Main
and then
Main->2nd Waypoint->Opponent's Main
This way you could have different alternate routes.
Logo
Profile Blog Joined April 2010
United States7542 Posts
June 26 2010 17:46 GMT
#65
On June 26 2010 14:00 dimfish wrote:
Show nested quote +
On June 26 2010 05:38 monkh wrote:
I don't think it recognises areas blocked by doodads (i think) i had area blocked by trees on one of my maps and it didn't seem to account for them in travelling distances


Yes, you are right. The main project page over at SC2Mapster explains the problem in detail. Essentially the map data says "put a tree here, put a mineral patch there, put a destructible rock over there" but doesn't tell you the footprint of any of them! I am currently hard-coding the shape of stuff like the various destructible rocks but it would take eons to write down the footprint of everything in the editor that can block pathing.

Two immediate solutions:
1) ask me for a small list of really important doodads that SC2 Map Analyzer should look for OR
2) temporarily add something the analyzer already recognizes, like destructible rocks, over your important line of trees and then take them out after getting the info you needed.


If you start going down this path, you should see if you could allow users to help with adding doodads. If there was some way (like a text file that could be modified) to add doodads to the list then users would be capable of adding doodads that are important to them or start a community project to get every doodad added. There's no sense in you wasting time adding a ton of doodads when the community can do it much faster.
Logo
chuky500
Profile Blog Joined March 2010
France473 Posts
Last Edited: 2010-06-26 17:58:34
June 26 2010 17:55 GMT
#66
Some doodads block the path and some don't. Like the small rocks block 1 square but the huge rocks don't block anything, you have to paint the no-pathing by hand in the editor. Usually big areas blocked by doodads are blocked with no-pathing too because it's hard to put a doodad on each square, so it's safer to paint the no-pathing than to rely on doodads. So in my opinion you should rather check the pathing layer rather than the doodads, because anyway big areas blocked by doodads will most likely have a no pathing layer.
Also reapers can climb on cliffs corners even if there are doodads up there, so I don't think mappers should rely too much on doodads to block the way.
KillerPlague
Profile Joined June 2010
United States1386 Posts
June 26 2010 18:06 GMT
#67
props dude. i'll definitely revisit this thread and see if i can come up with some kooky abuse during the beta. i'm a protoss player, but i've seen zerg and terran do some clever things that i think would be awesome to perfect vs friends when the actual game is released =D
Side 1: Why no dominant players with 90% win ratio Side 2: Nerf Side 1
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 18:14 GMT
#68
On June 26 2010 23:16 monkh wrote:
Think i have found a bug. On latest map ive made its not calculating all resources around a couple of expansions.

http://www.sc2mapster.com/maps/modern-warefare/images/4-base-balance-using-map-analyzer/

3o'clock expansion shows 9.5k resources several of the minerals aren't calculated and also the lower natural expansion shows 15.5k resources this one may be due to them being 1 further out but top natural also has this and is calculated right.


It's awesome that you guys are already digging into this pig--and believe me I will squash every problem in my power. This weekend my brother is visiting from east coast so I'll only be checking on this thread a bit and not able to do any modifications, but I'll try answer questions for the time being.

@monkh: I think you are experiencing an unfortunate side-effect of the tool's approximation of pathing. If you read the analysis details page over at SC2Mapster you'll see the section where I want to use t3SyncPathingInfo which is the optimum, but instead I have to use t3CellFlags. The problem is that the pathing approximation from t3CellFlags pushes the unpathable areas out to where units can walk in-game. This is why the skinniest possible ramp (diagonal) appears to be blocked. I think what's going on for you is that the minerals are too close to the cliff and the base algorithm thinks they are decorations (because they are unreachable). Try an experiment of adding extra space behind the mineral line and see if the tool picks up the missing patches.
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 18:15 GMT
#69
On June 27 2010 02:15 chuky500 wrote:
I found why it was printing the whole map path instead of the map name and it also had to do with the path. If I place the map in the same directory as the exe and I type :
sc2mapanalyzer.exe mymap.SC2Map
Everything works fine, it prints the name of the map. But if the map is still in the same directory and I type sc2mapanalyzer.exe and drag my map in the console it writes this in the console :

sc2mapanalyzer.exe "C:\Documents and Settings\...\Bureau\sc2mapanalyzer-release-1.2\sc2mapanalyzer-release-1.2\mymap.SC2Map"
And now in the generated picture it prints the whole path to the map instead of its name.

Also I just noticed if I just run sc2mapanalyzer.exe without typing a map name, it will process the map that's in the the directory but it won't print a map name at all, just "Shortest path - natural - 6 o'clock to 12 o'clock" and not the name of the map. The picture filename will be called sc2map-shortestPaths.... for example.


Another thing, I suggested that you could measure the distance from the main to the 3rd expansion but I think you missunderstood what I meant. I meant while I'm making a map if I want to have my 3rd expansion as far as in Metalopolis for example I could run your program to know the distance from the main to the 3rd in Metalopolis and then in my map and know how my 3rd compares to Metalopolis. Because the way I have to do it at the moment is I have to run the game, make a probe travel there, then run the demo and check how much time it took. Then do it again on Metalopolis to have a reference. If your program could measure that distance it would be faster to tweak the map.

Also about the alternate route maybe a way to do it would be in the GalaxyEditor to place a point (from the Point layer toolbar) that would act as a waypoint, and give it an obvious name. So your program would just have have to calculate the distance from the main to that waypoint, then from the waypoint to the enemy's main. And if I place 2 waypoints it would calculate the distance
Main->1st Waypoint->Opponent's Main
and then
Main->2nd Waypoint->Opponent's Main
This way you could have different alternate routes.


Excellent, all your observations and suggestions noted!
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 18:16 GMT
#70
On June 27 2010 02:46 Logo wrote:
Show nested quote +
On June 26 2010 14:00 dimfish wrote:
On June 26 2010 05:38 monkh wrote:
I don't think it recognises areas blocked by doodads (i think) i had area blocked by trees on one of my maps and it didn't seem to account for them in travelling distances


Yes, you are right. The main project page over at SC2Mapster explains the problem in detail. Essentially the map data says "put a tree here, put a mineral patch there, put a destructible rock over there" but doesn't tell you the footprint of any of them! I am currently hard-coding the shape of stuff like the various destructible rocks but it would take eons to write down the footprint of everything in the editor that can block pathing.

Two immediate solutions:
1) ask me for a small list of really important doodads that SC2 Map Analyzer should look for OR
2) temporarily add something the analyzer already recognizes, like destructible rocks, over your important line of trees and then take them out after getting the info you needed.


If you start going down this path, you should see if you could allow users to help with adding doodads. If there was some way (like a text file that could be modified) to add doodads to the list then users would be capable of adding doodads that are important to them or start a community project to get every doodad added. There's no sense in you wasting time adding a ton of doodads when the community can do it much faster.


Another great idea--will add a footprint text file that everyone can contribute to!
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
June 27 2010 02:40 GMT
#71
AMAZING, This is fucking brilliant. Thanks
..and then I would, ya know, check em'. (Aka SpoR)
Superouman
Profile Blog Joined August 2007
France2195 Posts
June 27 2010 11:49 GMT
#72
Thank you. It is really a great tool.
Search "[SO]" on B.net to find all my maps ||| Cloud Kingdom / Turbo Cruise '84 / Bone Temple / Eternal Empire / Zen / Purity and Industry / Golden Wall / Fortitude / Beckett Industries / Waterfall
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
Last Edited: 2010-06-28 15:39:24
June 28 2010 06:31 GMT
#73
I followed this instruction
Wherever you decide to store the tool, make sure you leave it with the other files it needs there. Then right-click the sc2mapanalyzer executable and choose to create a shortcut. You can drag that shortcut into a directory with SC2 maps, double-click it, and the tool will analyze all the maps in the directory.

And it kept opening up the cmd with this:
No file arguments, searching current directory for maps . . .
Warning: no map files were analyzed.
To prevent this pause at termination, pass option -p
.Press any key to continue . . .


And then I do and it just closes. I even tried to drag and drop a map onto the exe and it does some shit but then does a similar message which closes cmd once i press any key.
edit- ok it still layed the images out in the program folder, perhaps a way to make the pics save elsewhere?


I dunno if the program can do this but it would be nice if we can redirect the pathing of alternate routes for cliff jumping, walking. A good example would be desert oasis, where a cliff jumper would most likely loop around towards the minerals or there are 2 paths from each main, (and depending on which base you are at the units path this way). And even paths once D-rocks are removed.
Also, could you save the manual into a text document and put it in the zip file.

PS, I noticed some minor errors, when the cliff walk and air are the same distance, the line is slightly shifted on the pic and it says a minor decimal point difference.
Also the cliff walk path doesn't take into consideration when you have pathing blockers laid down on the map. (I could be mistaken and it's just an error on the map though).

PPS- I also noticed that the pathing thing doesn't consider doodads that block.
..and then I would, ya know, check em'. (Aka SpoR)
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 28 2010 16:31 GMT
#74
Between the helpful posts here and comments at SC2Mapster I am collecting a lot of information about what is going wrong for different people. Please post new problems you find, because I'm collecting all of the issues and will be releasing fixes as soon as they are available. Check the OP for updates.
Blacklizard
Profile Joined May 2007
United States1194 Posts
June 29 2010 15:04 GMT
#75
Awesome tool. I could see Blizzard using this themself to make better maps in the future. Definitely something the community will be using a ton.
Scruff
Profile Joined May 2010
Singapore509 Posts
June 29 2010 19:40 GMT
#76
This is so impressive. Will definitely be used lots in competitive play!
I astonish myself everyday
Azide
Profile Joined March 2010
Canada566 Posts
June 29 2010 23:14 GMT
#77
Well fucking done.
Azide and SuperNinja - Best Double Protoss 2v2 Team!
ComatoseSoul
Profile Joined June 2010
United States27 Posts
June 30 2010 04:22 GMT
#78
Thanks a TON for this tool. Used it on a map yesterday which helped tremendously with fixing some minor terrain issues. I like the feedback you've been given so far - my only additional suggestions would be:

+ For doodads, start with the path blockers (doodads explicitly called path blockers.)
+ Add circles around watch towers to show their vision.
Channel56k
Profile Joined June 2010
United States413 Posts
Last Edited: 2010-06-30 23:16:57
June 30 2010 21:15 GMT
#79
When i run the tool it does not analyze/find any of the maps in the folder with the shortcut. Do i not have the files in the write format? Seems like everyone else is getting this so i suspect im overlooking a simple detail.

EDIT: solved!
"Do yourself a favor, and don't listen to me."
HiOT
Profile Blog Joined September 2008
Sweden1000 Posts
June 30 2010 23:05 GMT
#80
On June 30 2010 04:40 Scruff wrote:
This is so impressive. Will definitely be used lots in competitive play!


On June 30 2010 08:14 Azide wrote:
Well fucking done.


On June 30 2010 04:40 Scruff wrote:
This is so impressive. Will definitely be used lots in competitive play!


Jupp, I can't agree more! You sir is a hero in about 3-6 months =)
Officially the founder of Team Property (:
Prev 1 2 3 4 5 6 14 15 16 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 8m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 194
Rex 33
StarCraft: Brood War
Calm 3508
GuemChi 3273
Rain 1640
Bisu 860
Horang2 636
actioN 629
Stork 314
Shuttle 284
Mini 249
Soma 235
[ Show more ]
Pusan 191
Rush 124
JYJ 92
Dewaltoss 92
sorry 85
Killer 81
Larva 60
ggaemo 46
Bale 45
Mind 44
Barracks 41
Mong 41
ZerO 39
soO 35
NaDa 35
hero 25
Shinee 24
zelot 18
Sacsri 17
Terrorterran 13
ajuk12(nOOB) 12
910 11
Noble 9
SilentControl 7
Yoon 6
Dota 2
XcaliburYe180
singsing0
League of Legends
C9.Mang0412
JimRising 389
Counter-Strike
olofmeister1031
shoxiejesuss837
allub162
Other Games
summit1g6373
ceh9552
crisheroes336
XaKoH 144
Fuzer 124
Trikslyr19
ZerO(Twitch)1
Organizations
StarCraft: Brood War
lovetv 8
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
StarCraft 2
TaKeTV 0
[ Show 14 non-featured ]
StarCraft 2
• Light_VIP 55
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Noizen23
League of Legends
• Jankos2344
Upcoming Events
WardiTV 2025
8m
ByuN vs Creator
Clem vs Rogue
Scarlett vs Spirit
ShoWTimE vs Cure
Rex33
IntoTheiNu 0
OSC
3h 8m
Big Brain Bouts
6h 8m
YoungYakov vs Jumy
TriGGeR vs Spirit
The PiG Daily
10h 8m
SHIN vs ByuN
Reynor vs Classic
TBD vs herO
Maru vs SHIN
TBD vs Classic
CranKy Ducklings
23h 8m
WardiTV 2025
1d
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
1d 1h
Ladder Legends
1d 8h
BSL 21
1d 9h
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
1d 23h
[ Show More ]
Ladder Legends
2 days
BSL 21
2 days
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
2 days
Wardi Open
3 days
Monday Night Weeklies
3 days
WardiTV Invitational
5 days
Replay Cast
5 days
WardiTV Invitational
6 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.