Staredit Network > Forums > Modding Assistance > Topic: Editing menue background - palette weirdness
Editing menue background - palette weirdness
Oct 1 2023, 2:30 pm
By: Netbek  

Oct 1 2023, 2:30 pm Netbek Post #1



Hello.
I changed the menue background image.
This is the path in the MPQ: glue/palmm/backgnd.pcx

In order to make the new background work, I opened the old background in PSP9 and extracted the palette. I then loaded the palette on my new background when saving it.

However, the palette is very limited. The colors are very specific to the original background image.
IMAGE
My new background uses a very different set of colors. It is falsified too much when I load this palette on it. What is the proper way to do this?

Sidenote:
I also noticed that when I open the title screen (glue/title/title.pcx) in PSP9 it has yet another palette. It seems very impractical that all these components of the menue would have all these different palettes. Surely I must be doing something wrong.





Oct 1 2023, 3:11 pm Netbek Post #2



I partially solved the problem.
I accidentaly extracted the palette from a .png version of "glue/palmm/backgnd.pcx" which I had saved for convenience. It messed up the palette.
In particular, it messed up the green text in the main menue (Singleplayer, Multiplayer, Exit, ...)

In the image from my first post you can already see it done correctly. There, as you can see, the palette contains a few green fields. These must be for the green text buttons (Singleplayer, Exit, ...). When I extracted the palette from the .png version, these green fields were not there!
IMAGE




Oct 1 2023, 4:37 pm Corbo Post #3

ALL PRAISE YOUR SUPREME LORD CORBO

Yeah, SC1 uses 256 color pallete, this pallete varies between .pcx and it is always recommended to extract the palletes from native sc files. .pcx, .grp (though we extract the bitmaps out of these) and such, so they don't get palleted back into something sc does not use since it will always use its own and not whatever you make.

As for actually editing palletes, that's pretty much not possible, or at least it would take a lot of time and programming too to get custom palletes going and it kind just isn't worth it.

And yes they all use multiple palletes. It's like 3 different ones or something like that.


Dein Projekt sieht grossartig aus! Tolle Idee

Post has been edited 1 time(s), last time on Oct 1 2023, 8:16 pm by Corbo.



fuck you all

Oct 9 2023, 8:30 am Netbek Post #4



I ACCIDENTLY POSTED IN THE WRONG THREAD.
Post has been moved here.

Post has been edited 2 time(s), last time on Oct 9 2023, 8:45 am by Netbek.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Doodan