PDA

View Full Version : Memgraft Adding Attack. Something wrong.


Kawagata
04-04-2007, 3:12 AM
Well I started to mod 3 days ago. It's my first mod lol. I added High Templar to have ground attack. I checked ICECC and it already has everything set. Then I open memgraft. I went to Buttons, looked up High Templar, Made everything identical to High Templar- Hero but with the archon stuff. Changed Number of Commands. Compiled it. Compiling is to.
/custom/mgpatch.mgd
I'm using SCBW 1.05. So i can't figure out what i'm doing wrong.

EDIT: Forgot something. Is there a way to make your mod work with the current version and 1.05? Or what's the whole story with that. Is it the MPQDraft that decides using your starcraft?

DiscipleOfAdun
04-04-2007, 9:52 AM
Memgraft will only work for a single version. Depending on which program version you have, it will work for either 1.11b, 1.12b, or 1.13e.

Second, Memgraft isn't nice when it comes to adding buttons to the middle of an existing set. What you're going to have to do is add a blank button, then move every single button's information down until the position field orders them as they are supposed to be in game.

Next, MG comes with it's own loader that is saved out when you hit Save release. That loader operates under a few conditions.

1. The MPQ's specified in the misc tab will exist in your SC directory. Normal modding replaces the patch_rt field with their own.
2. Inside that mpq, the /custom/mgpatch.mgd file exists. This is the first file that is saved out from save release.
3. You have the right SC version.

To determine which SC version you need, there's a neat little trick you can use.

1. DW made the 1.11b version alone.
2. SI released and has his name on the 1.12b version.
3. The 1.13e version has my little acronym on it because I hex edited it in when I did all my hex updating. If this is the one you have, make sure you get the copy that's in the pinned thread here, as it has fixes that older versions don't.


On a side note, MPQDraft actually reads the registry on a windows computer to determine the path of SC. You can change it to use a different exe(if you have multiple versions exe's like I do).

Kawagata
04-04-2007, 10:39 AM
ah ok. I did push everything down. Anyways screw memgraft then. What should i use to add buttons?

DiscipleOfAdun
04-04-2007, 12:24 PM
Well, Memgraft is the most currently publicly available program to edit the buttons...however, there is one alternative that makes it a bit easier. StarGraft was an old camsys program that edited the same information as MG does. If you've noticed, MG has an import function, which imports the .pat file that Stargraft creates. SG is good in the fact that it's interface is more understandable, except it also is a bit buggy....

BTW, when I was still using MG, I did that...creating .pat files and then importing. Works better, because all you have to do is change the mpq and save release.