• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:21
CEST 14:21
KST 21:21
  • 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
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
Balance hotfix patch 5.0.16b (July 16)18Reynor: GSL Loss Wasn't About Preparation Format16[IPSL] Spring 2026 Grand Finals - This Weekend!5Weekly Cups (July 6 - 12): Protoss strike back12BSL Season 22 Full Overview & Conclusion8
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) Reynor: GSL Loss Wasn't About Preparation Format Is the larve respawn broken? 5.0.16 patch for SC2 goes live (8 worker start) BGE Stara Zagora to be held again in June 2025
Tourneys
Master Swan Open (Global Bronze-Master 2) WardiTV Summer Cup 2026 GSL CK #5 Race War RSL Revival: Season 6 - Qualifiers and Main Event HomeStory Cup 29
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together Mutation # 532 Nuclear Family
Brood War
General
Etiquete rules in Asl? Recommended FPV games (post-KeSPA) Pros Debate: Zerg Unfairly Nerfed? (ASL S22 map) BGH Auto Balance -> http://bghmmr.eu/ screpdb: new Starcraft reporting tool
Tourneys
Escore Tournament - Season 3 Small VOD Thread 2.0 [IPSL] Spring 2026 Grand Finals - This Weekend! [Megathread] Daily Proleagues
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies
Other Games
General Games
Path of Exile General RTS Discussion Thread Nintendo Switch Thread Beyond All Reason Stormgate/Frost Giant Megathread
Dota 2
Looking for a Dota Mentor 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
TL Mafia
TL Mafia Power Rank NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread YouTube Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Series you have seen recently...
Sports
2024 - 2026 Football Thread MLB/Baseball 2023 McBoner: A hockey love story Tennis[sport] Formula 1 Discussion
World Cup 2022
Tech Support
Simple Questions Simple Answers FPS when play League Of Legend on laptop How to clean a TTe Thermaltake keyboard?
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
Poker (part 2)
Nebuchad
The Experiences We Want and …
TrAiDoS
An Exploration of th…
waywardstrategy
Gauntlet SC2: A Retrospectiv…
Ctone23
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8475 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 Qualifier
12:00
Summer Cup, Qualifier #2
WardiTV322
Liquipedia
CrankTV Team League
11:00
Crank Gathers S4: Group Stage
LiquipediaDiscussion
Replay Cast
09:00
Crank Gathers S4: Group Stage
CranKy Ducklings126
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
OGKoka 187
SortOf 156
BRAT_OK 73
StarCraft: Brood War
Calm 5721
Rain 2774
Sea 1689
Jaedong 921
Hyuk 728
Shuttle 596
Mini 415
BeSt 346
firebathero 300
EffOrt 210
[ Show more ]
Soma 191
Snow 184
Rush 175
Stork 168
Zeus 123
Hyun 117
ggaemo 89
Larva 78
scan(afreeca) 47
Free 41
ZerO 41
hero 39
soO 34
JYJ 30
sorry 25
Barracks 22
Terrorterran 22
Sharp 21
ToSsGirL 20
zelot 16
Bale 16
Hm[arnc] 16
Sacsri 14
JulyZerg 13
IntoTheRainbow 12
ajuk12(nOOB) 11
Sexy 10
Yoon 10
Purpose 7
Icarus 4
Dota 2
Gorgc6625
syndereN74
League of Legends
Doublelift2015
Other Games
singsing1659
B2W.Neo661
crisheroes359
Lowko319
Happy238
XaKoH 159
hiko121
amsayoshi68
DeMusliM26
Trikslyr14
ZerO(Twitch)13
Organizations
Other Games
gamesdonequick2306
BasetradeTV221
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• escodisco2118
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2180
Upcoming Events
Epic.LAN
39m
Big Brain Bouts
3h 39m
SHIN vs Elazer
Percival vs Nicoract
Reynor vs Lambo
Replay Cast
11h 39m
RSL Revival
20h 39m
Clem vs Lambo
Scarlett vs Cure
CranKy Ducklings
21h 39m
Epic.LAN
1d
IPSL
1d 3h
Dragon vs Hawk
RSL Revival
1d 20h
Classic vs Trap
herO vs SHIN
Sparkling Tuna Cup
1d 21h
OSC
2 days
[ Show More ]
IPSL
2 days
Bonyth vs Ret
WardiTV Weekly
2 days
Monday Night Weeklies
3 days
PiGosaur Cup
4 days
The PondCast
4 days
Replay Cast
5 days
CrankTV Team League
5 days
Replay Cast
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Proleague 2026-07-13
HSC XXIX
Eternal Conflict S2 E2

Ongoing

IPSL Spring 2026
Acropolis #4
CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
Escore Tournament S3: W3
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026

Upcoming

ASL S22 SEASON OPEN Day 1
Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
CSLAN 4
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E3
Logitech G Connect 2026
StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer 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 © 2026 TLnet. All Rights Reserved.