HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

WE and UpdateArchive

06-26-2008, 08:23 PM#1
Ayane
Hello world,

I develop an extention for Grimoire, it's work properly but when WorldEditor is runned, all changes on mopaq (mapfile) raise an error with sfmpq.dll.

A sample code:
Code:
        Dim hMpq As UInt32

        mpq.Destroy()
        hMpq = mpq.OpenArchiveForUpdate("c:\testgh1.w3m", SFMpq.MOAU.OPEN_EXISTING)

        mpq.DeleteFile(hMpq, "(attributes)")

        mpq.CloseArchive(hMpq)

Because archive is protected by WE, but i see the source of jasshelper and this is the same thing.

Thanks for any help.