• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:40
CEST 04:40
KST 11:40
  • 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
Code S Season 1 (2026) - RO4 & Finals Preview4[ASL21] Ro4 Preview: On Course12Code S Season 1 - RO8 Preview7[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13
Community News
Code S Season 1 (2026) - RO8 Results2Weekly Cups (May 4-10): Clem, MaxPax, herO win1Maestros of The Game 2 announcement and schedule !11Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12
StarCraft 2
General
Team Liquid Map Contest #22 - The Finalists Code S Season 1 (2026) - RO4 & Finals Preview Code S Season 1 (2026) - RO8 Results Code S Season 1 (2026) - RO12 Results MaNa leaves Team Liquid
Tourneys
GSL Code S Season 1 (2026) Sparkling Tuna Cup - Weekly Open Tournament KSL Week 89 2026 GSL Season 2 Qualifiers Maestros of The Game 2 announcement and schedule !
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
The PondCast: SC2 News & Results Mutation # 526 Rubber and Glue Mutation # 525 Wheel of Misfortune Mutation # 524 Death and Taxes
Brood War
General
vespene.gg — BW replays in browser Data needed BGH Auto Balance -> http://bghmmr.eu/ Pros React to: TvT Masterclass in FlaSh vs Light BW General Discussion
Tourneys
[ASL21] Semifinals B [BSL22] RO8 Bracket Stage + Another TieBreaker [ASL21] Ro8 Day 4 Escore Tournament StarCraft Season 2
Strategy
Muta micro map competition Fighting Spirit mining rates [G] Hydra ZvZ: An Introduction Simple Questions, Simple Answers
Other Games
General Games
Warcraft III: The Frozen Throne Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Starcraft Tabletop Miniature Game
Dota 2
The Story of Wings Gaming
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread YouTube Thread Russo-Ukrainian War Thread UK Politics Mega-thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
Travel Agencies vs Online Booking Platforms The Automated Ban List
Blogs
Why RTS gamers make better f…
gosubay
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1635 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
OSC
00:00
OSC Elite Rising Star #19
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft355
RuFF_SC2 197
WinterStarcraft179
Ketroc 52
StarCraft: Brood War
GuemChi 6842
Artosis 653
Noble 15
Dota 2
monkeys_forever563
NeuroSwarm152
LuMiX1
League of Legends
JimRising 742
Counter-Strike
taco 831
Other Games
summit1g17381
tarik_tv7882
Maynarde125
Organizations
Other Games
gamesdonequick979
BasetradeTV231
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 100
• davetesta42
• CranKy Ducklings SOOP24
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1539
Upcoming Events
Replay Cast
6h 20m
Wardi Open
9h 20m
Monday Night Weeklies
13h 20m
Replay Cast
21h 20m
The PondCast
1d 7h
Kung Fu Cup
1d 8h
GSL
2 days
Replay Cast
2 days
GSL
3 days
WardiTV Spring Champion…
3 days
[ Show More ]
Replay Cast
3 days
Sparkling Tuna Cup
4 days
WardiTV Spring Champion…
4 days
Replay Cast
4 days
RSL Revival
5 days
Classic vs SHIN
Rogue vs Bunny
BSL
5 days
Replay Cast
5 days
Afreeca Starleague
6 days
Flash vs Soma
RSL Revival
6 days
BSL
6 days
Patches Events
6 days
Liquipedia Results

Completed

Escore Tournament S2: W7
2026 GSL S1
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
YSL S3
SCTL 2026 Spring
RSL Revival: Season 5
Heroes Pulsing #1
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
WardiTV Spring 2026
2026 GSL S2
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 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.