• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:19
CEST 16:19
KST 23:19
  • 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
[ASL21] Ro24 Preview Pt2: News Flash8[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy15ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book20
Community News
Weekly Cups (March 23-29): herO takes triple6Aligulac acquired by REPLAYMAN.com/Stego Research7Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool49Weekly Cups (March 9-15): herO, Clem, ByuN win4
StarCraft 2
General
Team Liquid Map Contest #22 - Presented by Monster Energy Aligulac acquired by REPLAYMAN.com/Stego Research Weekly Cups (March 23-29): herO takes triple What mix of new & old maps do you want in the next ladder pool? (SC2) herO wins SC2 All-Star Invitational
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Season 4 announced for March-April StarCraft Evolution League (SC Evo Biweekly) WardiTV Mondays World University TeamLeague (500$+) | Signups Open
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
Mutation # 519 Inner Power The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat
Brood War
General
ASL21 General Discussion A cwal.gg Extension - Easily keep track of anyone Behind the scenes footage of ASL21 Group E BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL21] Ro24 Group E 🌍 Weekly Foreign Showmatches [ASL21] Ro24 Group F Azhi's Colosseum - Foreign KCM
Strategy
Fighting Spirit mining rates What's the deal with APM & what's its true value Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Starcraft Tabletop Miniature Game General RTS Discussion Thread Darkest Dungeon
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1160 users

Developing SC2 Map Analysis Tool - need help!

Forum Index > SC2 Maps & Custom Games
Post a Reply
intelliweblife
Profile Joined October 2012
Germany6 Posts
October 23 2012 18:35 GMT
#1
Hi,

My name is Andy an I'm currently working on a SC2 Map Analysis Tool for my Bachelor Thesis.
It is supposed to parse replays and gather statistical information about each map. You can then look up these for each matchup and compare with other maps.

If there is an advanced map designer out there who would like to help develop such a tool I'd apprechiate that you contact me to talk about details. Most of all the calculation of parameters and the visualization are important.

Have a nice day,

Andy
HypertonicHydroponic
Profile Blog Joined October 2010
437 Posts
October 23 2012 18:55 GMT
#2
Unfortunately bro, I think this is going to get closed since you are asking for help on homework which I think is something that this website frowns upon, and also there is not much substance in your post for discussion (also bad).

That said, hopefully I can point you in the right direction. Currently there is a tool "SC2 Gears" which helps to save/rename, organize, and draw statistics from replays. I believe this still works, although I haven't updated mine in a while.

There is also a Map Analyzer (use TL search) tool which up until patch 1.5+ helped mappers by generating images with a certain set of relevant map data.

If you look these up and ask in the proper threads, you might get a little further in your search to collaborate on your project and may get some ideas to help you understand what's already out there and what might be left that is still needed. (fix the map analyzer plz!) Good luck!
[P] The Watery Archives -- http://www.teamliquid.net/forum/viewmessage.php?topic_id=279070
EatThePath
Profile Blog Joined September 2009
United States3943 Posts
October 23 2012 19:16 GMT
#3
I vote for including a cluster analysis feature!
Comprehensive strategic intention: DNE
intelliweblife
Profile Joined October 2012
Germany6 Posts
Last Edited: 2012-10-23 22:16:20
October 23 2012 22:07 GMT
#4
Thx very much for your reply Hypertonic. You might absolutely be right about the substance, sorry for that. My goal was to give as less information as I can because I'd like to have a little chat with advanced map developers without them being influenced by my ideas and progress thus far. Also I wanted to keep my post as short as possible to avoid tldr

I've also already observed the two programms you mentioned. Mine aim to close the gap between those two. SC2 Gears is for players and Map Analyzer only analyzes the map itself. My programm is to analyze player behaviour through the replays and give detailed map statistics and information.

The help I am asking for is furthermore demanded by my prof as research. I am not asking for help to program, I need help to determine what parameters to use and how to visualize them so people could make use of such a tool.

and EatThePath, what is that cluster analysis feature you desire?

more discussion is welcome

ps: this tool will later be released online and could be of use to wide range of people, so I hope I'm in the right forum for suportig map development in SC2...
EatThePath
Profile Blog Joined September 2009
United States3943 Posts
October 23 2012 22:32 GMT
#5
So, you're saying this tool needs to "understand" maps, in a way. And you want to talk to mapmakers to focus on the important aspects of maps that the program should consider? Like chokepoints, open areas, cliffs, air space, base locations, expansion pattern, xel naga tower placement... etc. ??

Cluster analysis is a way to analyse multi-dimensional data and look for patterns, which seems applicable here. The end user doesn't have to read the analysis itself, but it could be used graphically for that purpose if you wanted. It's kind of like doing a statistical correlation analysis but is based on an iterative algorithm that tries to group data points and keep improving until it's found the best grouping. Maybe the wikipedia will be of some help.

For example, if you simply integrated dimfish's map analyzer as is for data about a map, and combined it with data from a replay, you could get data like: every unit that died, what player it belonged to, where it died, at what time it died, what the openness of the terrain was where it died, how far from the nearest base, etc etc. Any number of things. Then you can see if this data groups by clusters (which could be in any dimension). By including some more interesting dimensions, you can find patterns you might not expect. So the unit death data would obviously cluster at certain points in time when battles take place, and also at certain map locations where battles took place. But it'd be interesting to see, does it also cluster around bases? Around towers? In open or narrow terrain, depending on race? Does it vary between maps?

It's a very powerful way to make sense of huge amounts of data.
Comprehensive strategic intention: DNE
TheFish7
Profile Blog Joined February 2012
United States2824 Posts
October 23 2012 22:45 GMT
#6
This thread might be of some help

http://www.teamliquid.net/forum/viewmessage.php?topic_id=371246
~ ~ <°)))><~ ~ ~
intelliweblife
Profile Joined October 2012
Germany6 Posts
Last Edited: 2012-10-23 23:03:39
October 23 2012 23:02 GMT
#7
The poor thing is, you can't track unit deaths... or at least I can't. Unit death seems to be dealt with by the game engine. So there's nothing in the replay data that I can analyze
But thanks for your suggestion. Any help is appreciated.

What you can so with cluster analysis ist determine where fights take place.


@TheFish: thx for the link.
EatThePath
Profile Blog Joined September 2009
United States3943 Posts
Last Edited: 2012-10-24 04:55:09
October 24 2012 04:54 GMT
#8
Hmmm... yeah I guess it makes sense that unit deaths wouldn't be in the replay file, it'd be redundant. I know they are plainly available while the game is running because triggers can use them.

Well, you can use cluster analysis for lots of other things too. It can get as abstract as you want. Keep it in mind, although it can get computationally expensive.
Comprehensive strategic intention: DNE
intelliweblife
Profile Joined October 2012
Germany6 Posts
October 24 2012 12:17 GMT
#9
I will keep it in mind. As is going to be run on a webserver there is not that much computing power :/
Randomaccount#77123
Profile Blog Joined May 2010
United States5003 Posts
Last Edited: 2012-10-24 13:42:15
October 24 2012 13:39 GMT
#10
--- Nuked ---
intelliweblife
Profile Joined October 2012
Germany6 Posts
October 24 2012 15:06 GMT
#11
These are really good suggestions Barrin, thx.

Because this is a Bachelor Thesis at the moment I am not only limited in time but also by my subject which is to analyze replays and display significant information.

I think at the moment you could more likely call the programm a map-player-behavior analyzer. But in the future I want to use other sources and improve the tool furthermore. At this stage you could later tell if your map is played as it was intended and maybe also where to make changes.

EatThePath
Profile Blog Joined September 2009
United States3943 Posts
October 24 2012 15:42 GMT
#12
The use of such a tool over time as the metagame develops would be cool and informative as well. This just depends on having it and using it though. gl, keep asking questions as needed
Comprehensive strategic intention: DNE
meursault
Profile Joined January 2011
United States59 Posts
Last Edited: 2012-10-24 19:40:12
October 24 2012 19:20 GMT
#13
I've thought a little bit about doing something like this in the past (my PhD is in computer sciences and visualization). Can you PM me with your school and Advisor? I will tell you my information in PM also. Are you thinking about going to grad school?

You can't gather everything you need just from parsing the replay or map files. You need the SC2 client running the simulation to produce the data you need. You also don't have direct access to it without some significant work.

Ideas that I've had are the following:


Heat maps of deaths and damage being done

Given a set of replays show a heat map of vision at different times in the map

maps of how favorably or unfavorably an engagement turned out for different sides (possibly filtered by units involved in engagements)



In order to gather this information you need something like external maphack. The source for this is on github at the following location:

https://github.com/MrNukealizer/SCII-External-Maphack

(admins if you want to remove this go ahead - I can talk to OP in pms if necessary)

You should be able to adapt this to gather the necessary information while the replay is playing back in real time.

To do this over a large number of systems you need the following

- a large number of low-end pcs to collect the data
- automated ability to launch the viewing of a replay along with modified external maphack to collect the information you need
- data collection and aggregation across all these low-end pcs
- visualization of results


For a Bachelor's thesis I would think the following would be more than adequate and would be very impressive
- the act of using the external maphack source to collect this data from a replay and store it - you should not be logged in when you do this to reduce your chance of being banned
- plotting the data using a couple clever visualizations (read Tufte's books if you have not) both for individual replays and an aggregation of 5-20 replays (you could do this data collection on your own PC in a couple nights of work)
- A discussion of how to do this for much larger datasets and how to do achieve it as inexpensively as possible (if your advisor has a lab - you could run replay analysis at night when people aren't around)


If you wanted a slightly more hardcore version of the Bachelor's this I would recommend the following
- if you play a lot of games modify external maphack to collect these statistics while you play and store them - this way you could get this data for several hundred to thousands of games all played by the same player If blizzard catches you doing this they will ban you even if you aren't displaying the information while you play (don't display the information if you do because it would be unethical)
- make visualization of the heat maps that I suggested and see if it give you quantitative ideas on how to improve your play
- make animations of these heatmaps and how they evolve in time



What I would think would be appropriate for a masters thesis
- same as above but fully automated system for processing replay files and turning them into a list of unit positions and deaths
- more care in the visualization styles and choices
- disk images both for VM's and for getting going quickly that take a PC with certain specs and make it into a replay processing machine so that this could be scaled to the cloud

PhD thesis
- full cloud processing of replays at a massive scale
- open to the public with visual analytics similar to SC2gears but using far more data
- analysis of the visualization choices used and feedback from players
- note that Blizzard might shut this down
intelliweblife
Profile Joined October 2012
Germany6 Posts
October 26 2012 10:57 GMT
#14
These are great ideas, but this kind of analysis would exceed the scope of my work.

I have to stick with the replay files only.

I can calculate:
- game length
- winration
- expansion timing
- gas timimg
- apm
- Units & upgrades
- Mules / scans
- cronoboosted Structures
- Hotspots for fights
- rage quits

each overall and for every matchup.

any suggestions on that?

Randomaccount#77123
Profile Blog Joined May 2010
United States5003 Posts
October 26 2012 16:15 GMT
#15
--- Nuked ---
monkalizer
Profile Joined October 2012
Sweden5 Posts
Last Edited: 2012-10-31 08:22:18
October 31 2012 08:21 GMT
#16
I have been working on a GIS based system based on OpenLayers, PostGIS and other web techologies to extract and present data produced in debug files. You cant extract heatmap data from replays, but it is possible if you build your own trigger packages. It was discontinued due to incompetense and just general lack of inspiration.

HereHere is a simple version of a heatmap system made in excell.
monkalizer.blogspot.se
lefix
Profile Joined February 2011
Germany1082 Posts
October 31 2012 20:43 GMT
#17
it'd be nice if we could get win ratios based on spawn positions.
Map of the Month | The Planetary Workshop | SC2Melee.net
Please log in or register to reply.
Live Events Refresh
WardiTV Team League
12:45
Group B
WardiTV649
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 265
ProTech121
StarCraft: Brood War
Britney 7813
Calm 7042
Bisu 2898
Sea 2413
Horang2 1769
Shuttle 1091
Mini 904
Soma 887
Hyuk 823
EffOrt 696
[ Show more ]
Stork 526
firebathero 424
Snow 297
ggaemo 295
actioN 286
Rush 270
Soulkey 202
hero 140
PianO 131
sorry 66
[sc1f]eonzerg 57
Backho 52
Barracks 51
Hyun 49
Aegong 41
910 33
Shinee 28
Movie 26
zelot 25
Terrorterran 17
Hm[arnc] 16
scan(afreeca) 14
IntoTheRainbow 13
Rock 12
soO 7
Dota 2
Gorgc4820
BananaSlamJamma642
canceldota101
Counter-Strike
edward74
oskar68
Heroes of the Storm
XaKoH 145
Other Games
singsing1913
B2W.Neo1435
hiko652
crisheroes303
DeMusliM269
KnowMe152
RotterdaM122
ArmadaUGS100
Livibee68
QueenE53
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 7
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• iHatsuTV 5
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis2590
• TFBlade1077
Upcoming Events
OSC
9h 41m
RSL Revival
19h 41m
TriGGeR vs Cure
ByuN vs Rogue
Replay Cast
1d 9h
RSL Revival
1d 19h
Maru vs MaxPax
BSL
2 days
RSL Revival
2 days
uThermal 2v2 Circuit
2 days
BSL
3 days
Afreeca Starleague
3 days
Replay Cast
4 days
[ Show More ]
Sparkling Tuna Cup
4 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-03-31
WardiTV Winter 2026
NationLESS Cup

Ongoing

BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
CSL Season 20: Qualifier 2
RSL Revival: Season 4
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

Escore Tournament S2: W1
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
StarCraft2 Community Team League 2026 Spring
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
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 © 2026 TLnet. All Rights Reserved.