View Single Post
08-21-10, 07:26 AM   #75
Ladik
A Fallenroot Satyr
 
Ladik's Avatar
Join Date: Aug 2010
Posts: 23
Ah, I see the problem now. Even if the base MPQs are open for read only, the patches are still opened for writing. It's a bug in StormLib, I'll fix that soon.

Also, I am going to change the patch interface a bit, I believe that it will be easier to use and more flexible. The point is that I remove SFileSetPatchPathPrefix, and the patch prefix will be parameter to SFileOpenPatchArchive instead. This will allow to have different patch prefix for each patch MPQ (perhaps this will be needed for future MPQs).

I believe it's better to do it now, when it's still early released (and BETA after all), than later, when loads of application will have to be recompiled.
__________________
Ladik's MPQ Editor