Staredit Network

Staredit Network -> Modding Assistance -> When i Make Custom grps sc crashes
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-29 at 23:07:19
I decided to start using paint to edit my grps and so far i have no luck.Every time i edit a building to and use the grp that was made sc will crash after about 5 seconds of me looking at the building.
What am i doing wrong?
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-29 at 23:10:11
When you're editing a unit's graphics, you always have to use the same amount of frames, or change the iscript. tongue.gif
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-29 at 23:11:48
But i am not deleting or adding any frames.All im doing is taking a building,painting it to what i want it to look like and the game crashes its wierd. sorry.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-09-30 at 07:38:34
Are you using the SC unit pallette?
Report, edit, etc...Posted by Pyro-Fire on 2006-09-30 at 07:54:29
palette doesnt matter. should still show colour



i bet it is because he changes some of the frames sizes..,.


what unit have u modded?
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-30 at 08:12:10
Well then, a few things come to mind...

1. What pyro just said. tongue.gif
2. Did you try running it without the GRP to see if it works?
3. Did the compiler corrupt the GRP file, can you open it with RetroGRP?
4. Are you absolutely certain you have the same amount of frames, 0 included?
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-30 at 15:20:24
1.I made the buildings bigger than there normal size if thats the problem.
2.I id run sc and it lets me look at the buildings for about 5 sec. and the game crashes.
3.The file i used lets me open it in retro grp(the file i am changing is the terran barracks to look like a huge blue tube)
4.I did not add or delete ant frames all i did was edit frame 000 of the terran barracks.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-30 at 16:46:45
1. I highly doubt that's the problem, but if all else fails you could change the size to what it used to be for testing purposes.
2. Sounds to me like you made a mistake in the iscript, as that's the only likely reason that supports that crash.
3. It corrupted the image when compiling, make sure you have the image settings set up right then try to compile again.
4. Are they the same size as the other frames you're compiling, or did you make those frames a different size?
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-30 at 17:00:45
4.If painting makes frames larger then yes they prob got larger but otherwise i dont know.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-30 at 17:05:02
It shouldn't, unless you resize or stretch the image.
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-30 at 17:12:31
well....my painting that i made on the building made it alot bigger.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-30 at 17:14:50
That's a GRP corruption problem, it happens when you don't have the settings right in the images you edit.
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-30 at 17:17:05
so i can solve it by making my painting as big as the barracks right?
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-30 at 17:19:53
No, it sounds to me like you have two problems.

•1. you need to fix up the iscript, you have something in it that's causing a crash
(check for active image overlays/underlays, and non-existent frames being called by playfram)
•2. you have a setting messed up in the image files you're editing, make sure the image specs match that of the original images.
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-30 at 17:23:10
Man.Ithought it would be super easy to do this.Just edit a grp with paint and then you can use it,but i guess its more complicated than that.LOL
Report, edit, etc...Posted by Ojan on 2006-09-30 at 17:32:35
Does the frame look OK in the RetroGRP preview?

Is the size of the frame greater that 256x256? If so, you need to shrink it down. If you only changed that frame, it really shouldn't crash.
Report, edit, etc...Posted by CommmanderMoo19 on 2006-09-30 at 18:08:07
Thats what i dont get.Ive done it on units and they dont crash so i have no clue why its started to crash on buildings
Report, edit, etc...Posted by nirvanajung on 2006-09-30 at 19:43:12
just attach that grp file
or upload that at somewhere and give us link

I think that is best way for the present
Report, edit, etc...Posted by CommmanderMoo19 on 2006-10-01 at 18:46:20
here is the grp file
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-10-02 at 14:47:08
That isn't going to help any, you'd be better off posting the images. (including non-edited images, just in case tongue.gif )
Report, edit, etc...Posted by ShadowFlare on 2006-10-02 at 19:26:49
If you are not changing the number of frames, then the program that you are using is making a corrupt GRP. There isn't really any more to it than that because nothing else besides the number of frames really needs to match up with the original for it to work in Starcraft.

As for why it would be making a corrupt GRP... well, I don't really know. I haven't ever used any GRP creation programs not made by me and my code is perfect in its encoding (to the best of my knowledge wink.gif ). Hmm... maybe I should at least make a simple converter that uses that code and that would convert to and from .bmp files.
Report, edit, etc...Posted by Doodle77(MM) on 2006-10-02 at 19:41:00
you could make it convert from png's too w/ libpng.
Report, edit, etc...Posted by ShadowFlare on 2006-10-02 at 19:41:55
Maybe, but only if it didn't take much work to do so. lol
Report, edit, etc...Posted by CommmanderMoo19 on 2006-10-02 at 20:31:24
if you have a grp editor made by you post it and ill download it thumbup.gif
Report, edit, etc...Posted by Pyro-Fire on 2006-10-03 at 06:38:29
the first frame is way too big.

you should have posted when it crashed.

ill fill this info:

aftr 5 seconds from the beginning of constructing the barrack, the game crashes. why? because the first frame is way too big. you should resize it so the frame dimensions are the same as the other ones.
Next Page (1)