Hello guys!
So, I just followed the tutorial named "How to Write a Starcraft MOD" with all the steps for a super easy modification:
- disabled shields for zealot
- zealot now has 60 hp
- zealot is a medium sized unit
I compiled the mpq, loaded it with mpqDraft, and it totally crashes!!
What info can I give so you can assist me here?
I'm using starcraft broodwar downloaded by torrent (cd version) with the 1.161 Patch.
Thank you guys!!
Post has been edited 1 time(s), last time on Jan 2 2017, 1:38 am by DirectShift.
None.
Can you attach your mpq so we can take a look at it?
If those are the only changes, it should only income changing the units.dat file. Is your file imported to the correct path in the mpq? arr/units.dat should be it.
Where does it crash? During gameplay? Upon start-up? As soon as a zealot is on screen? Do you have any files besides the units.dat file in your mpq?
Thanks for your answers, just tried it again but doing a modification on weapons.dat (gauss riffle of normal marine now does 26 damage) but didn't work neither.
It crashes the moment I do "finalize" on mpqdraft, using "load mpq patch" option.
I'm totally clueless, maybe the starcraft versios is not compatible?
None.
The changes you made will work on any version, so that's not the issue. Are you properly selecting the Starcraft directory on the first screen of MPQDraft? Maybe you're choosing an invalid path or something.
Yes, the path is correct.
Not sure if this helps... but.. this is the error
https://postimg.org/image/aphq057ix/and I'm attaching the mpq (this is another one, the only modification is in units.dat -> marine with 90hp...)
None.
OK, so I uninstalled starcraft and deleted everything.
Then installed it again, applied last patch (1.16.1 I think).
Followed the tutorial again but... nothing... NADA, didn't work.
HOWEVER, I managed to make it work using a "dangerous" method.
I just picked up the Patch_rt.mpq and DIRECTLY added the units.dat there... and voilá... just opened starcraft.exe normally and it worked.
So, for the moment I will stick to this UGLY method, haha!!
Thank you guys!
None.
If you post your mpq file, we can tell you exactly what you're doing wrong so you don't have to use that 'ugly' method.
If it's crashing upon finalizing in MPQDraft, it's definitely a problem with your programs and not with your modded files. I was able to commit the changes fine when using the mpq you provided.
Make sure you're running everything as administrator. Try using mpqdraft to compile it as a Self-Executing MPQ (SEMPQ) and see if you have any better luck with that. If that still doesn't work, get FireGraft, make a new project, and save it as a new .exe, importing your mpq into it when it asks for one.
If you didn't download your MPQDraft from
https://sourceforge.net/projects/mpqdraft/ it might be an older version which can cause a crash like you're seeing.
None.