I am trying to make a command line Mix archiver/extractor so the process can be scripted. Currrently I am just working on implementing TD mixes since they are the simplest.
You can see my work at https://github.com/Sonarpulse/CnC-Red-Alert (cncmix.hs, in Haskell, you can run it easily in the GHCi interpreter and test it if you want.)
I looked at http://xhp.xwis.net/documents/MIX_Format.html and have two questions:
1) What Mix file extensions have you implemented in XCC Mixer and XCC Mix Editor? I would like to implement them too for compatibility
2) Are the data structures packed, or is there some alignment of the stuct members?
Thanks,
Sonarpulse