(Long-time lurker, rare poster, hello, etc)
tancients wrote:
Warden since got updated from when WoWMe stopped being really used. It's a bit of a different
beast now, but it's possible a new WoWMe could work. Maybe. Would recommend other options though, personally. :p
Hey mate,
I've been trying to pretty much recreate what you did, working on the assumption that by "You can still do it by using the patching system in place however (...)" you mean the Cataclysm-style incremental patch MPQs (eg wow-update-oldworld-13286.MPQ), with the MPQ_FILE_PATCH_FILE bit in the block header and TPatchInfo/TPatchHeader. I've run into a bit of a bump though, as I'm not that familliar with MPQ internals, and StormLib doesn't appear to support creating files of this type - you can apply existing ones to base MPQs so that subsequent searches/extracts will take the patches into account. But this is not what we want (this is the reverse of what we want!).
So just wanted to ask for a few hints - is the above what you meant? I'd rather not spend even more time trying to doctor patch MPQs by hand if there is a simpler solution. Did you create new files, or append the PTCH header/patch data to existing ones? If it's the former, I'd be very thankful to see an example on how you did it, because I can't seem to get it right. Same goes for the latter case actually - I'm still not fully clear about the unit/blocking scheme in MPQ archives, so if I just toss another TPatchInfo/TPatchHeader, followed by the patch data, at the end of the file, things go horribly wrong (and I'm attributing this to the blocking).
I've spent the past two days with StormLib in the debugger and editing giant MPQ files in hex, so I'd appreciate it if I at least knew I was heading the right direction
