HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

hack for campaign editor?

12-17-2006, 10:53 PM#1
RaveEye
Hey wc3.

Im work with a campaign that have a lot of models imported(most terrain models). but I have to open wc3, go to custom campaign and select my campaign, to see all my custom models.

Im wondering if its possible to make a hack for we,
that let you test the map directly from we so you are able
to see your models.
12-18-2006, 01:19 AM#2
Pyrogasm
Try the "Test Map" button?
12-18-2006, 10:56 AM#3
PitzerMike
Simply configure Grimoire or WEHelper so that they load your campaign archive when starting the game.
12-18-2006, 04:50 PM#4
RaveEye
how do I do that?
12-19-2006, 02:39 PM#5
PitzerMike
From grimoire help:

- Copy loadmpq.dll to your warcraft directory

- Create a file loadmpq.conf in your warcraft directory with this format:
<priority> <mpqname>
Example: 15 yourcampaign.w3n

- Add/uncomment in war3.lua
injectdll(proc,"loadmpq.dll")
12-19-2006, 09:06 PM#6
PipeDream
loadmpq.dll needs to be in your warcraft directory? that shouldn't be necessary.
Ah, out of date documentation. loadmpq.conf probably does need to be in the warcraft directory, I'll fix that.
12-20-2006, 10:58 AM#7
RaveEye


Can someone please tell me how excatly I do?

I have the loadmpq.dll in my warcraft folder. but I dont understand
this:

- Create a file loadmpq.conf in your warcraft directory with this format:
<priority> <mpqname>
Example: 15 yourcampaign.w3n

- Add/uncomment in war3.lua
injectdll(proc,"loadmpq.dll")
12-25-2006, 03:33 PM#8
RaveEye
Someone please! I really need to know how to do
12-26-2006, 03:36 AM#9
wyrmlord
I think Pipe's directions were pretty self-explanatory, but I will try to simplify them even more. First off, move the loadmpq.dll file back to its appropriate spot in Grimore's folder. You now need to create a .conf file in your Warcraft 3 directory. A .conf file is really just a .txt file with a different extension. Now, you do need to move the MPQ file you want to load into the Warcraft 3 directory. Inside the .conf file, add the following line:

15 <name of the MPQ file>

If the name of your MPQ file was: SomeMPQFile.mpq the line in the .conf file would look like this:

15 SomeMPQFile.mpq

Now, back in Grimore's folder, find the war3.lua file. Open this up with any text editor and find the line:

-- injectdll(proc,"loadmpq.dll")

You need to remove the "--" from this line, it should look like this when you're done:

injectdll(proc,"loadmpq.dll")

Save the war3.lua file and you're done! When you start up Grimore the MPQ file will replace PatchMPQ temporarily.