Staredit Network > Forums > Modding Assistance > Topic: colour problem
colour problem
Jan 15 2009, 2:25 am
By: thunderaga  

Jan 15 2009, 2:25 am thunderaga Post #1



anyway to fix this problem?




None.

Jan 15 2009, 2:32 am Biophysicist Post #2



Yes. Don't use blue. Or at least not that shade of blue.



None.

Jan 15 2009, 2:45 am RoryFenrir Post #3



looks like something retro grp produced lol... what compiler you using? wrong palate maybe?



None.

Jan 15 2009, 3:24 am thunderaga Post #4



this was the original image




None.

Jan 15 2009, 4:50 am poiuy_qwert Post #5

PyMS and ProTRG developer

Are you sure the palette of the BMP is correct? If so what program did you use to compile it to a GRP? I might have had that problem with RetroGRP before.




Jan 15 2009, 5:06 am RoryFenrir Post #6



just try decompling a sc grp, then paste that over the bmp in paint and recompile... with a good compiling program



None.

Jan 15 2009, 5:38 am Syphon Post #7



Palettes wrong, change it in Photoshop, or GIMP.

also, awesome GRP.



None.

Jan 16 2009, 12:12 am thunderaga Post #8



I put the pallet is that this is what it turned out to be




None.

Jan 16 2009, 12:18 am poiuy_qwert Post #9

PyMS and ProTRG developer

You must have applied the palette wrong. If you don't know how to work with palettes, tell us what image editor you use and someone could give you the correct steps to do it. For now, the easiest way for you is to just do what Rory said:
1) Decompile an existing GRP with a correct units.pal
2) Open the resulting BMP in Paint or something and simply paste your image on top
3) Save BMP
4) Compile BMP to GRP




Jan 16 2009, 6:18 pm thunderaga Post #10



ok
it worked! thanks :)

I wonder why it does that?



None.

Jan 16 2009, 8:25 pm poiuy_qwert Post #11

PyMS and ProTRG developer

Because each pixel has an index that points to a color in the palette, if your palette is wrong then the pixels point to to wrong palette index. For example the player color is at index 8 or something in the starcraft palette, but if you have the wrong palette the index could be 20 or something. In game it draws color 20, which in the starcraft palette is not what you thought.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
Please log in to shout.


Members Online: Roy, NudeRaider