Skip to content

map indicator in battlelobby file #11

Open
xcoponet opened this issue Mar 16, 2016 · 4 comments
Open

map indicator in battlelobby file #11

xcoponet opened this issue Mar 16, 2016 · 4 comments

Comments

@xcoponet
Copy link

Hi, I think that I found how to determine the map from the battlelobby file.

The first line containes several file address "C:\ProgramData\Blizzard Entertainment\Battle.net\Cache\xx\xx*.s2ma". The first four are the same whatever the map is. But the fith is different for each map. I checked with the files you provided with the application and it seems that it is not computer related. I therefore think that you can get the battleground from this feature.

I join a file with the different first line on my computer (map.txt). You can check it and decide to use the feature or not.

Regards.

@poma
Copy link
Member

poma commented Mar 18, 2016

Nice find. Are you sure those indicators stay the same for same maps? Although "cache" part suggest that those things may change often. Maybe some other paths point to selected heroes?

@xcoponet
Copy link
Author

I am not 100% sure but in the file I attached, it was the same 3 times for the Curse Hollow, thus I assume it stay the same for a particular map. Plus, I checked on 2 files you put in the release (v0.2 would be sky temple and v0.3 would be tower of doom which correspond to the screenshots). I think it is worth an investigation.
I will look at some more file from my futur games. I cannot be 100% sure it is not computer dependent and I don't have an other computer to test it right now.

I am pretty sure that a map modification in a patch would change this information in the battlelobby file, which would explain the "cache" part: you download something the first time you play on a map. If it is just on patch, it would not be too much work.

@xcoponet
Copy link
Author

I tried on an other windows user account and on both EU and NA. It confirmed what I thought. I cannot confirm the computer dependent thing myself. I am confident that this feature is fine nonetheless.

@poma
Copy link
Member

poma commented Mar 18, 2016

Great! I will configure my debug version to save all battlelobby files with match data from my games so I will be able to test such info on large amount of files in the future (probably we can even find selected heroes in this file).

To avoid doing additional work I will first just display map name in short stats table. If users will not report incorrect detection and this will survive at least 1 new patch then I will use this info to display map specific stats.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants