HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Mpq inserter

09-11-2010, 08:06 PM#1
RadioCity
Hey
im NOT a newbie but my English 3. language

I want to add, something to the Mpq's but, not with the "normal" way ->Ladik's MPQ Editor, etc.

I want it with a script or a Exe.

Do you know winmpq, ?
There you can do it with the Mo `PaQ 2000 Script, but i dont know to use it. That i create scripts for my own files.

And do you know the sfmpq.dll ? i must bind the .dll in Vb, or something ? , that WinMpq auto-start, and run the script in winmpq.

And i try MPQDraft its a very nice Prog, and you can save the Mpq easy as an Exe. and it worked when you start -> the new Exe.
But you must Wc3 Start with the new Exe. because the Files are not written in the Mpq.

....

I HOPE you now what i mean, if not ask

Or do you know how i can write files to the Mpq's ?
I think WinMpq, and sfmpq.dll is needed.
09-21-2010, 03:19 AM#2
Krysho
You might be able to use this to do what you want.

Well, the font replacement you probably do not need, but there is an MPQ editing tool included that is called via a .bat file to replace files in one of the WC3 MPQ files.

I am not sure if it would work for your needs (there is a listfile included, not sure if the program requires a list file before allowing an add operation), but you might be able to modify the .bat file to do what you want easily enough.

If that path is not viable, you can always consider trying StormLib to write your own EXE file to satisfy your needs, assuming you know a language compatible with it. Pretty sure the creator of WinMPQ also provides source files to do MPQ operations.