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?
When you're editing a unit's graphics, you
always have to use the same amount of frames, or change the iscript.
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.
Are you using the SC unit pallette?
palette doesnt matter. should still show colour
i bet it is because he changes some of the frames sizes..,.
what unit have u modded?
Well then, a few things come to mind...
1. What pyro just said.
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?
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.
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?
4.If painting makes frames larger then yes they prob got larger but otherwise i dont know.
It shouldn't, unless you resize or stretch the image.
well....my painting that i made on the building made it alot bigger.
That's a GRP corruption problem, it happens when you don't have the settings right in the images you edit.
so i can solve it by making my painting as big as the barracks right?
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.
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
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.
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
just attach that grp file
or upload that at somewhere and give us link
I think that is best way for the present
That isn't going to help any, you'd be better off posting the images. (including non-edited images, just in case
)
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
). Hmm... maybe I should at least make a simple converter that uses that code and that would convert to and from .bmp files.
you could make it convert from png's too w/ libpng.
Maybe, but only if it didn't take much work to do so. lol
if you have a grp editor made by you post it and ill download it
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.