is it possible to read from and write to the map MPQ archive with a script (e.g. python) in an easy way? I've looked around and found some Python libraries on this, but as far as I can see none of them implements writing to the archive. Can I use the ComponentList feature of the editor somehow (e.g., can I tell the editor to convert my map into a ComponentList and vice-versa via some command line?)
I would be very grateful for any suggestions on this.
@ImperialGod: Could you tell me one command line MPQ program? This would be great!
@Mille25: Yes, I am currently using the map as a sc2components file. I didn't know that the editor is supporting them so well (e.g., from inside the editor there is no way to distinguish between the two formats). Although it would be cool to work with the MPQ archive directly, using the sc2components is certainly an acceptable way to do it :)