• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:13
CEST 06:13
KST 13:13
  • 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
Maestros of the Game: Week 1/Play-in Preview9[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy13
Community News
LiuLi Cup - September 2025 Tournaments2Weekly Cups (August 25-31): Clem's Last Straw?39Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris48Weekly Cups (Aug 11-17): MaxPax triples again!15
StarCraft 2
General
Team Liquid Map Contest #21 - Presented by Monster Energy Weekly Cups (August 25-31): Clem's Last Straw? Heaven's Balance Suggestions (roast me) Geoff 'iNcontroL' Robinson has passed away Speculation of future Wardii series
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris LiuLi Cup - September 2025 Tournaments Sea Duckling Open (Global, Bronze-Diamond) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
External Content
Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies
Brood War
General
Pros React To: herO's Baffling Game ASL20 General Discussion BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BSL Polish World Championship 2025 20-21 September
Tourneys
Is there English video for group selection for ASL Small VOD Thread 2.0 [Megathread] Daily Proleagues [ASL20] Ro24 Group F
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Warcraft III: The Frozen Throne
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
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread YouTube Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 999 users

[Tool] SC2 Map Analyzer - Page 3

Forum Index > SC2 Maps & Custom Games
Post a Reply
Prev 1 2 3 4 5 14 15 16 Next All
Wihl
Profile Blog Joined June 2010
Sweden472 Posts
Last Edited: 2010-06-26 00:29:53
June 26 2010 00:29 GMT
#41
Awesome tool, tried using it on a few maps and while it does generate the images they contain no text and the tool spams me with:
"PNGwriter:: plot_text - ERROR **: FreeType: Could not find or load font file."

Not sure if im just being bad.
Logo
Profile Blog Joined April 2010
United States7542 Posts
June 26 2010 00:36 GMT
#42
I had to run the tool as administrator to get the fonts to work.
Logo
Wihl
Profile Blog Joined June 2010
Sweden472 Posts
June 26 2010 00:38 GMT
#43
Ah thanks, there we go.
Wihl
Profile Blog Joined June 2010
Sweden472 Posts
June 26 2010 00:47 GMT
#44
Analyzed all my own maps, really liking this. However.. I put like 8 maps in the same directory as the exe and ran the program.

"Opening .\space2.SC2Map...
Warning: Could not open enUS.SC2Data\LocalizedData\GameStrings.txt for reading.
Warning: Could not extract map name from archive, using archive filename instead.
Warning: Map name sc2map begin (amagads typo) reused, map-specific output for previous instance will be clobbered."

It used "sc2map" for all the 8 maps instead of using, lets say, space2 and so on.
chuky500
Profile Blog Joined March 2010
France473 Posts
Last Edited: 2010-06-26 02:24:38
June 26 2010 00:56 GMT
#45
Another small suggestion : since your program can identify bases it would be nice to know how much time it takes to move from the main to the 3rd base, or from the natural to the 3rd base. So you can have an idea if it's easy or hard to defend.
kraemahz
Profile Joined April 2010
United States4 Posts
June 26 2010 01:01 GMT
#46
you'll need a manual


You already have the -h parameter including this information, I don't understand why you wouldn't mention that. It would also help make it feel more like a "standard" command line exec if you included -? as help also.

Another suggestion: you could extend the functionality of help by adding detailed help to the param features that better explains what each function does.

E.g:

sc2mapanalyzer.exe -? -w
Terrible, terrible damage
Logo
Profile Blog Joined April 2010
United States7542 Posts
June 26 2010 01:01 GMT
#47
@Wihl - It uses the map name, not the file name. When you have your map loaded you need to go to Map Info (forget which menu it's under) and set the map name for your maps.
Logo
Pharow
Profile Joined May 2010
United States19 Posts
June 26 2010 01:01 GMT
#48
Good Work! and thanks for contributing something to the community!!
Wihl
Profile Blog Joined June 2010
Sweden472 Posts
June 26 2010 01:24 GMT
#49
Logo some of those maps do have proper map info names set up though.
Shanedon
Profile Joined April 2010
United States147 Posts
June 26 2010 01:31 GMT
#50
Brilliant, I wonder if there will be some kind of number crunching build simulator in the future to make all questions of balanced maps become a thing of the past. But for now, great look, simple function, excellent program.
Gyar...
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 04:44 GMT
#51
On June 26 2010 02:32 MoreFasho wrote:
I've noticed a bigger imbalance on scrap station, distance from main to ramp which matters quite a bit for zerg. In ZvZ when I spawn top on scrap station I will wall -in a little bit with a roach warren/ evo chamber to protect against speedlings/banelings, but this is impossible on the bottom as the creep doesn't extend to the ramp!


This is an interesting point--the map analyzer doesn't compare all of the terrain of the whole map on one side versus another. That's pretty hard to do because its hard for a computer to know which area should correspond to another unless there is perfect symmetry. That's why what it does now is compare the terrain surrounding bases only (a radius of 12 cells by default). So it'll look at whether my main's mineral line is butting up against a cliff and if your mineral is hanging out in a wide open space and report a difference.

One of my plans is to sample the openness of every point along the shortest path from one start location to another. You should get a roller coaster of values as the chokes tighten and open along the way, and this is like a signature that should roughly match for every start location. It's in the works, anyway, and would detect something like you observed, that one base's main choke is closer to the hatchery than the other.
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 05:00 GMT
#52
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.
Archerofaiur
Profile Joined August 2008
United States4101 Posts
Last Edited: 2010-06-26 05:14:07
June 26 2010 05:13 GMT
#53
Epic post. Deffinatly following this now.
http://sclegacy.com/news/28-scl/250-starcraftlegacy-macro-theorycrafting-contest-winners
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 05:21 GMT
#54
chuky500, thanks for the detailed feedback, see answers mixed in.

On June 26 2010 06:15 chuky500 wrote:
I have a suggestion, you could generate a picture that shows how safe spots are on the map, depending on the distance to several things. For example on Steppes of War, on the big ramp below the natural I remember Day9 saying the safe spot to place tanks was on the cliff between the ramp and the natural, just far enough to be able to shoot enemies. You could assign points to judge how safe a spot is, like on a cliff or under a cliff, or if a spot can be shot but not reached by melee units, if a kind of unit can shoot there but not another kind of unit. That would be useful to know what's the safest route to attack for example or if a large way to attack is safer on the left or the right. Or where to place your units in defense. But maybe it would require too much computing time.


This is neat and fits in with something I'm toying with. Stay tuned for future updates!


On June 26 2010 06:15 chuky500 wrote:
It would be nice to have informations on the distance if you take an alternate route too, but I don't know how hard it would be to find the alternate routes.


Alternate routes is a hard concept for a computer. There is an exact shortest path (easy for computer) and many ways to count alternate paths. At some level us humans just gotta get in there and augment what the analyzer can do. Still, if you have a proposal for an alternate route algorithm I am willing to entertain it.


On June 26 2010 06:15 chuky500 wrote:
Another thing is to run your program I had to launch cmd.exe but I had to place myself in your program's directory then type sc2mapanalyzer.exe and then drag my map in the console, but it would have been easier if I could just drag your exe in the console, then drag my map because this doesn't work, it says it can't find the free font (I guess because it doesn't run the exe from the right directory). Or even running your program without opening the console by drag and dropping the map file onto the exe would be fine. I'm using Windows XP btw.


Roger that, verified that running program from command line but in directory other than where it is sitting it cannot find the font file. Will work on it and post back in this thread when a better version is available.


On June 26 2010 06:15 chuky500 wrote:
Also, I tested 2 of my maps and since you display the full path in the picture one of them had the informations cropped in the picture that compares the 6 o' clock vs the 12 o' clock. I don't know if the size of the font is related to the size of the map because my huge map had a smaller font size and the picture didn't crop the 6 and 12 o' clock infos in the file name but for the regular sized map it was cropped. And all my maps are in the My Documents directory anyways so it's not really usefull to display the c:\documents and settings\... and all


The size of the font is fixed and the images are actually different sizes in pixels. If you view them with Windows Photo Gallery, for instance, it shrinks all the images to a fixed size and the bigger images will appear to have smaller font.

Also, have you given your map a name in the editor? Go to map properties and fill it out and see if your images display better. Basically, if the analyzer can't find a name for the map in the data it makes up a name for you based on the filename, which yeah can be a long mess.


On June 26 2010 06:15 chuky500 wrote:
One last thing, on my huge map the cliffs were tinted a bit grey, I don't know if it's a feature but I didn't see my cliffs were a bit grey in my normal sized map.


All of the images use black and grey to show you the 4 possible cliff levels. The lowest elevation which is always unplayable shows up as black. The other three levels are grey, dark for the lowest and getter lighter for higher levels. Is your normal sized map all one cliff level?
Jeffadore
Profile Joined April 2010
United States5 Posts
Last Edited: 2010-06-26 05:31:04
June 26 2010 05:30 GMT
#55
Impressive, you just made the map making community as a whole cum their respective pants
and nice work man, keep it up
hurray, i got into the beta
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 05:31 GMT
#56
On June 26 2010 08:56 Logo wrote:
Does your tool respect no-pathing fills?

Also I'm getting up to 8% positional imbalances on my map that's almost entirely symmetrical. Possibly due to no-pathing fills? The edge of my map, separated by a gap has uneven terrain since it's no-pathing). Other than that there's a small 1 tile imbalance (bases along the line of symmetry can't be positionally balanced) and 1 extra tile right on the line of symmetry (useless tile, just makes it prettier), but is that enough for the map to show something like a 10% difference?


Correct, it does not respect no-pathing fills at the moment. It's on the todo list. And now that you mention it, it would be helpful if you could go to the the project page at SC2Mapster and put bugs or feature requests in as tickets. That way I can organize what's wrong and all.

The imbalance sounds odd for sure. There are two components to the balance, one of which is the distance to the offending base(s). The other is an attribute of the base. So let's say the naturals are exactly in the same place but one natural only has 7 mineral patches. There will be an imbalance by total resources even though the bases are in symmetrical positions.
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 05:34 GMT
#57
On June 26 2010 09:47 Wihl wrote:
Analyzed all my own maps, really liking this. However.. I put like 8 maps in the same directory as the exe and ran the program.

"Opening .\space2.SC2Map...
Warning: Could not open enUS.SC2Data\LocalizedData\GameStrings.txt for reading.
Warning: Could not extract map name from archive, using archive filename instead.
Warning: Map name sc2map begin (amagads typo) reused, map-specific output for previous instance will be clobbered."

It used "sc2map" for all the 8 maps instead of using, lets say, space2 and so on.


Gotcha--I'm hard-coding this beast to grab the English-localized game strings because I was having a problem with getting documentation for StormLib with regard to localization. It's on my todo list now to get this resolved. Maybe you can analyze each map in separate directory until I get a fix for you?
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 05:37 GMT
#58
On June 26 2010 09:56 chuky500 wrote:
Another small suggestion : since your program can identify bases it would be nice to know how much time it takes to move from the main to the 3rd base, or from the natural to the 3rd base. So you can have an idea if it's easy or hard to defend.


The philosophy of the map analyzer is that if it is the same for both players then it is balanced. Its sort of up to you to decide if you want your map to have hard-to-defend third bases, etc.

Still, I got this and your earlier suggestion recorded because I have an idea that would notice whether one base is "cliffable" and another isn't and stuff like that.
dimfish
Profile Blog Joined February 2010
United States663 Posts
June 26 2010 05:38 GMT
#59
On June 26 2010 10:01 kraemahz wrote:
Show nested quote +
you'll need a manual


You already have the -h parameter including this information, I don't understand why you wouldn't mention that. It would also help make it feel more like a "standard" command line exec if you included -? as help also.

Another suggestion: you could extend the functionality of help by adding detailed help to the param features that better explains what each function does.

E.g:

sc2mapanalyzer.exe -? -w


I wanted to release soon (trying to beat phase 2!) so I intentionally put the master explanation at the manual site. I've got your suggestions recorded and on the todo pile!
PrinceXizor
Profile Blog Joined April 2010
United States17713 Posts
June 26 2010 05:58 GMT
#60
Alternate routes is a hard concept for a computer. There is an exact shortest path (easy for computer) and many ways to count alternate paths. At some level us humans just gotta get in there and augment what the analyzer can do. Still, if you have a proposal for an alternate route algorithm I am willing to entertain it.


How about the shortest possible path coming closest to as many expansions as possible? i don't know the exact math, but would something like that be possible? (it's also more likely to be an alternate path, from guarding your expos.
Prev 1 2 3 4 5 14 15 16 Next All
Please log in or register to reply.
Live Events Refresh
OSC
03:00
Mid Season Playoffs
MaNa vs SHIN
SKillous vs ShoWTimE
Bunny vs TBD
Cham vs TBD
CranKy Ducklings116
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 86
StarCraft: Brood War
Britney 4184
sSak 359
Leta 223
Noble 112
Aegong 63
NaDa 29
Icarus 11
Dota 2
monkeys_forever949
Counter-Strike
Stewie2K864
Super Smash Bros
C9.Mang0429
Other Games
summit1g9120
shahzam728
JimRising 539
WinterStarcraft470
Maynarde143
ViBE129
RuFF_SC285
Mew2King80
NeuroSwarm57
semphis_15
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH317
• practicex 23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra883
• Shiphtur203
Upcoming Events
RSL Revival
5h 47m
Reynor vs Astrea
Classic vs sOs
Maestros of the Game
12h 47m
Serral vs Ryung
ByuN vs Zoun
BSL Team Wars
14h 47m
Team Bonyth vs Team Dewalt
CranKy Ducklings
1d 5h
RSL Revival
1d 5h
GuMiho vs Cham
ByuN vs TriGGeR
Cosmonarchy
1d 9h
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
Maestros of the Game
1d 12h
Solar vs Bunny
Clem vs Rogue
[BSL 2025] Weekly
1d 13h
RSL Revival
2 days
Cure vs Bunny
Creator vs Zoun
Maestros of the Game
2 days
Maru vs Lambo
herO vs ShoWTimE
[ Show More ]
BSL Team Wars
2 days
Team Hawk vs Team Sziky
Sparkling Tuna Cup
3 days
Monday Night Weeklies
3 days
The PondCast
6 days
Liquipedia Results

Completed

CSL Season 18: Qualifier 2
SEL Season 2 Championship
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025: Warsaw LAN
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
EC S1
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
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.