The StormLib library is a pack of modules, written in C++, which are able to read and also to write files from/to the MPQ archives. WWW: https://code.google.com/p/ghostplusplus/