Skip to content

Is there a way to find out from which TM game a map file is? #71

Answered by BigBang1112
Brainshaker95 asked this question in Q&A
Discussion options

You must be logged in to vote

There is a way. Currently, the most accurate one to differentiate games is to check for existence+nonexistence of data chunks.

I've been implementing this aside on my Gbx Web Tools project and I will eventually port it to GBX.NET likely in 1.3.

For example, the latest chunk of CGameCtnChallenge is 0x02A, so you can invalidate that the map is from TMF by checking if there's a chunk of a higher ID, and then you follow on with other conditions.

At micro-update scenarios it gets harder and you will have to add chunk versioning and other specifics into the conditions, but when you take two sample replays for example and compare them on https://gbxexplorer.net, you can spot micro-differences qu…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@Brainshaker95
Comment options

@thaumictom
Comment options

@Brainshaker95
Comment options

@Brainshaker95
Comment options

Comment options

You must be logged in to vote
2 replies
@Brainshaker95
Comment options

@Brainshaker95
Comment options

Answer selected by BigBang1112
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants