Quote:
Code:
MPQEditor.exe /patch "locale-enGB.MPQ" "wow-update-12694.MPQ" "wow-update-12759.MPQ" |
For those interested, now that Ladik has released MPQEdit with patch support. Here is a Python library to read PatchFiles (PTCH).
http://www.pastethat.com/9pGwm Released under BSD. |
Sorry, guys, but I had to remove the link. You know our rules! :)
|
Quote:
|
Adys, I think Jerome is a cool name. ;)
Could you post a really short sample? |
Quote:
oldFile = open("old/testfile.lua") f = PatchFile(patchFile) print f.apply(oldFile.read()) oldFile.close() |
Quote:
MPQ editor is an external program , not an addon. |
If you try Adys' python script, append this at the end to actually use his library as a application:
Code:
if len(sys.argv) < 3: I think it's correct, tough I tried to patch ActionButton.lua from local-enUS.mpq with the wow-update-12694.mpq patch and getting MD5 errors. |
Quote:
|
Quote:
For all others who e-mailed me: Thanks for bug reports, I'll fix them problems today, and hopefully a more stable version should be ready this evening. |
Who is Jerome?
|
Edit: Found the error, the right base files are in enUS\patch-enUS.mpq, not in locale-enUS.mpq :rolleyes:
Quote:
Code:
>python patch.py data\locale-enUS\Interface\FrameXML\ActionButton.lua Data\update-12694\Interface\FrameXML\ActionButton.lua Data\patched-12694\Interface\FrameXML\ActionButton.lua "MpqEditor.exe enUs\locale-enUS.mpq wow-update-12694.mpq" opens the file without any error message, but it's empty. The same happens when both update mpqs are used. Thanks for all the work you've done! I'm really looking forward to a working version :) |
Quote:
Thanks for the reports guys. Below is an updated PTCH parser: http://dpaste.com/231608/ Also here is my blizpatch.py in case anyone wants it. Mind you you'll need to change imports to make it work. http://dpaste.com/231609/ |
A new BETA build of MPQ Editor, available on my website, should be now able to handle all patches properly. I fixed several bugs there. Please, let me know if you find a file that you are unable to extract, or it doesn't look well after extracting.
This version should be far more stable that the one I published yesterday late in the night (note for myself: Never ever release anything when it's close to midnight). As usually, there is new BETA version of StormLib available, which also contains algorithms for uncompressing and applying Blizzard patches. Note: The original download link for the experimental version is longer valid. |
Quote:
Thanks a lot, Ladik and Adys, your work is much appreciated. |
Quote:
|
Extracted the files.
But for some odd reason there are alot 1kb .blp files and some larger that can't be converted to .png Don't know if this is a bug, or just the patched data |
Is there a way to open a patch archive for multiple mpqs?
I'm trying to hack support for the wow-update-*.mpqs into the WoWModelViewer. My first idea was to open all the patch archives for each mpq, but that doesn't work, as they may be opened just one time. Does anybody have a better idea, or is anyone already working on this? |
Quote:
|
Quote:
|
All times are GMT -6. The time now is 07:01 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI