• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:09
CEST 12:09
KST 19:09
  • 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 Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall11HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7Weekly Cups (June 30 - July 6): Classic Doubles7[BSL20] Non-Korean Championship 4x BSL + 4x China10Flash Announces Hiatus From ASL78
StarCraft 2
General
RSL Revival patreon money discussion thread The GOAT ranking of GOAT rankings Weekly Cups (June 30 - July 6): Classic Doubles Server Blocker RSL Season 1 - Final Week
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event $5,100+ SEL Season 2 Championship (SC: Evo) $25,000 Streamerzone StarCraft Pro Series announced
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Flash Announces Hiatus From ASL [ASL19] Finals Recap: Standing Tall BW General Discussion A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues 2025 ACS Season 2 Qualifier Small VOD Thread 2.0 Last Minute Live-Report Thread Resource!
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5 Nintendo Switch Thread
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The Accidental Video Game Porn Archive Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 778 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
RSL Revival
10:00
Season 1: Playoffs FINALS
Classic vs Clem
Tasteless3964
Crank 772
Rex64
IndyStarCraft 37
3DClanTV 32
IntoTheiNu 14
LiquipediaDiscussion
Sparkling Tuna Cup
10:00
Weekly #97
CranKy Ducklings34
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 3964
Crank 772
Rex 64
IndyStarCraft 37
MindelVK 1
StarCraft: Brood War
Horang2 21367
Jaedong 918
Larva 628
firebathero 489
Pusan 371
PianO 341
BeSt 261
Leta 161
EffOrt 156
Sharp 115
[ Show more ]
Shinee 96
ToSsGirL 73
NaDa 30
Barracks 25
Last 15
GoRush 11
Hm[arnc] 8
yabsab 5
SilentControl 5
HiyA 4
Dota 2
XaKoH 470
XcaliburYe346
League of Legends
JimRising 521
Counter-Strike
Stewie2K523
x6flipin2
Heroes of the Storm
Khaldor290
Other Games
tarik_tv13194
gofns9687
shahzam413
Happy364
crisheroes274
DeMusliM190
SortOf160
Organizations
StarCraft 2
ComeBackTV 561
StarCraft: Brood War
lovetv 5
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH347
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2111
Upcoming Events
FEL
4h 51m
Elazer vs Spirit
Gerald vs MaNa
BSL20 Non-Korean Champi…
7h 51m
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Wardi Open
1d
Replay Cast
1d 23h
WardiTV European League
2 days
PiGosaur Monday
2 days
uThermal 2v2 Circuit
3 days
Replay Cast
3 days
The PondCast
3 days
Replay Cast
4 days
[ Show More ]
Epic.LAN
5 days
CranKy Ducklings
5 days
Epic.LAN
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

KCM Race Survival 2025 Season 2
HSC XXVII
NC Random Cup

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
2025 ACS Season 2: Qualifier
BSL20 Non-Korean Championship
CSLPRO Last Chance 2025
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.