• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:01
CET 07:01
KST 15:01
  • 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
herO wins SC2 All-Star Invitational3SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)16Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
herO wins SC2 All-Star Invitational PhD study /w SC2 - help with a survey! SC2 Spotted on the EWC 2026 list? Starcraft 2 will not be in the Esports World Cup When will we find out if there are more tournament
Tourneys
$70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament SC2 AI Tournament 2026 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone
Brood War
General
[ASL21] Potential Map Candidates BGH Auto Balance -> http://bghmmr.eu/ Gypsy to Korea BSL Season 2025 - Full Overview and Conclusion A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Small VOD Thread 2.0 Azhi's Colosseum - Season 2
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026!
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread NASA and the Private Sector Canadian Politics Mega-thread
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Navigating the Risks and Rew…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1548 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
Next event in 3h 59m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 175
Ketroc 44
StarCraft: Brood War
Larva 288
actioN 147
Light 125
Movie 113
Shinee 86
ZergMaN 47
Hm[arnc] 39
Bale 36
HiyA 13
Icarus 9
League of Legends
JimRising 907
C9.Mang0453
Other Games
summit1g6705
WinterStarcraft293
XaKoH 137
Mew2King82
Organizations
Other Games
gamesdonequick1500
StarCraft: Brood War
UltimateBattle 103
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Laughngamez YouTube
• Migwel
• sooper7s
StarCraft: Brood War
• Diggity4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Scarra1507
• Lourlo1288
• Stunt308
Other Games
• Shiphtur92
Upcoming Events
The PondCast
3h 59m
OSC
4h 59m
Clem vs Cure
ByuN vs TBD
TBD vs Solar
MaxPax vs TBD
Krystianer vs TBD
ShoWTimE vs TBD
Big Brain Bouts
2 days
Serral vs TBD
BSL 21
3 days
BSL 21
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
WardiTV Invitational
6 days
Liquipedia Results

Completed

Proleague 2026-01-20
SC2 All-Star Inv. 2025
NA Kuram Kup

Ongoing

C-Race Season 1
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.