I'm trying to play around with some pathfinding algorithms and wanted to try them out in starcraft maps to have some actual use-case scenarios that I can test them on, and to that end I'm trying to extract the navigable tiles from a given .scm or .scx file. Using this page, I've been able to extract the TILE data from the .chk file (which I believe is the one I'll need as it looks more applicable than the MTXM due to excluding 'doodads' and I'm really not certain what ISOM does, I'm guessing pseudo 3D information used for placing the wireframe cursor?), but that just leaves me with the megatile indexes. I'm now trying to get the subtiles and their properties based on information I found on this page, but I'm not finding where that information is stored or how it relates to the megatile indexes I currently have.
I was able to find the BW tileset files with no problem in the BrooDat.mpq under the tileset folder in it, however the StarDat.mpq file I have doesn't appear to be structured anything like the BrooDat.mpq file, and as such I'm clueless where to find the StarDat.mpq tilesets. I've included the StarDat.mpq (listfile) file as an attachment for reference. I've also seen that the majority of the files in each BW tileset folder are just graphic files. I did find the dddata.bin which I'm guessing is where the subtile information with properties is located, but I don't know what format it's in or how to get that information from it.
Any information about how these files are structured, how to get the subtiles for each megatile, how to get the properties for those subtiles, or a place that would be better suited for this question (if this is the wrong place to ask) would be immensely helpful and greatly appreciated.
Attachments:
Post has been edited 2 time(s), last time on Apr 7 2021, 1:36 pm by MufinMcFlufin. Reason: Didn't hit 'Attach!' when uploading (listfile), and made a few s
None.