Staredit Network

Staredit Network -> Modding Assistance -> how do i turn a dat into a mpq?
Report, edit, etc...Posted by MageOfMystra on 2005-08-07 at 19:07:34
I'm making a mod, and can't figure out how to turn a dat file into a mpq for conversion into a exe. Is this even possible, or did i do it wrong? confused.gif
Report, edit, etc...Posted by Corbo(MM) on 2005-08-07 at 19:20:08
i think:
with win mpq if you have for example units.dat you simple add it with the extension arr\ when it opens the little box you know
Report, edit, etc...Posted by ZPD on 2005-08-07 at 20:57:07
What Corbo said, just adding that you use WinMPQ to make the MPQ by making a new fiule with it, then adding the .dat files to that. After doing that, you can use use MPQ Draft to load the MPQ and make an EXE out of it.
Report, edit, etc...Posted by MageOfMystra on 2005-08-09 at 12:48:32
OK, i turned it into a mpq file... And I've converted using mpqdraft.... but up rises yet ANOTHER problem! mad.gif Now, when i go on single player to test my mod, it crashes! ranting.gif It says: arr\units.dat The program issued a command, but it is of a invalid length. Or something like that... So, it crashes when i try to test it. I'm testing using Astral Balance, and custom picking my race rather then random. Can anyone fix this problem?
Report, edit, etc...Posted by DT_Battlekruser on 2005-08-09 at 14:48:44
Corrupted DAT file? Try following the Modding Tutorial, Chapter III step for step and seeing if it works for you. That would help me pinpoint any problems.
Report, edit, etc...Posted by MageOfMystra on 2005-08-14 at 17:22:51
sad.gif Oh, man... The dat. was corrupted. Probably shouldn't have used stargraft...

ADDITION:
The mod can be run, but now, up rises yet another question. Is it possible to make a ghost with a let's say.... wraith subunit? Is that even possible, without crashing? If it can be done, then how can you do it? confused.gif
Report, edit, etc...Posted by Yarry on 2005-08-16 at 02:00:26
fro the subunit, you have to edit a new unit to be what you want(use heros) and you have to give it subunit data(this is also another way to give units alot more attacks) and for the dat file, it could be your dat data does not match the current ver
Report, edit, etc...Posted by MageOfMystra on 2005-08-30 at 10:07:16
Well, my mod is almost done. smile.gif But now i require some help with animations, debugging, etc. After a certain amount of time of running a melee map with the mod, it seems to crash. One time after I researched spider mines, another when a zerg and a toss army attacked a zerg base, and others... well at various times. Also, after i changed the grps of some buildings, the moving areas still keep moving/flashing/etc. Is there any way to actually remove the moving parts? I have no experience with ICE and stuff, so I might actually need the code.
Report, edit, etc...Posted by BroodKiller on 2005-08-30 at 10:24:48
OK, crashes in SC are caused mainly by two issues:

!)corrupted DAT files. In this case the crash happens most often at the very runtime of SC, or when you start a game.

@)invalid spriote animations. In this case the crash can happen pretty much at any time, whenever the wrong animation is called.

Reading from your posts I think that it's the latter case, so - as you suspected it well - you'd need to get in touch with Iscript. As for your 'buildings bug', this is in fact the very proper behaviour of the game because what you've actually changed were just the main graphics for a building, and you left all the rest (animations, working overlays etc.) untouched, so they are there just fine.
You'll need to enter the mysterious world of ICE/IceCC, but don't worry - this will be a fantastic journey, trust me. The effects that Iscript editing will allow you are incredible. For example you will be able to create 'critical hits' for your weapons, dealing several times more damage than a single strike! But there are much more...smile.gif

Your first resource should definitely be SCEB (SC Editing Bible). Although it's old and incomplete - that's the best resource available (for the time being....in a not-so-distant future SCEB will be able to go asleep in the Starcraft Hall of Fame...)

http://www.campaigncreations.org/starcraft.../contents.shtml

Bear with it for the beginning, and when it won't be enough - come and ask here,again smile.gif
Report, edit, etc...Posted by scwizard on 2005-08-30 at 12:25:03
QUOTE(MageOfMystra @ Aug 14 2005, 04:22 PM)
sad.gif  Oh, man... The dat. was corrupted. Probably shouldn't have used stargraft...[right][snapback]283928[/snapback][/right]
Wait, your using stargraft for .dat editing???
Use Arsneal III for all you .dat editing needs, don't mess around with stargraft until you've created a more basic mod.
Report, edit, etc...Posted by MageOfMystra on 2005-09-04 at 12:24:33
angry.gif Alright, I'm stepping into IceCC, but for some odd reason, everytime I add a iscript file into the mpq, when I run it, the comp freezes. As soon as a game starts, you can just hear the music (terran) and the screen goes entirely black, with the exception of the cursor moving around. After about 3 seconds, the music stops, and there are some regions of the screen that are entriely black. I can't do any tests with iscript files, because the whole comp freezes! What is the problem here?
Report, edit, etc...Posted by scwizard on 2005-09-04 at 12:31:47
You had some kind of infinte looping iscript thingy.

It's like with other programing. If it crahses, it's becuase your code sucks.

Show me the iscript that you did and I'll show you how to fix it.

EDIT: Your getting way ahead of yourself I think... I bet your trying to do something way too complex
Report, edit, etc...Posted by MageOfMystra on 2005-09-04 at 20:37:34
Merely trying to give a firebat a air attack. smile.gif I'll send the iscript once I get back to my regular comp. And, yes it probably does suck. cry.gif

Well, here it is... I'm not even sure if it was changed, but if it wasn't, then... that'll be even odder..
Next Page (1)