Community

AGI Programming => Mega Tokyo AGI Archive => Topic started by: Allen on October 19, 2003, 07:41:57 AM

Title: Changing colors
Post by: Allen on October 19, 2003, 07:41:57 AM
Ok, it's a bit of a newbie question, but how/where can I change the color of the menubar? I know it's possible because I saw it in Pharaoh Quest.

-Allen
Title: Re:Changing colors
Post by: Chris Cromer on October 19, 2003, 08:57:49 AM
You have to change the palette of the game... which changes white and black for everything(pictures, views, etc...)

So it changes the colors of views and pictures and such even though you only wanted to change the menu colors.
Title: Re:Changing colors
Post by: Kon-Tiki on October 19, 2003, 11:09:18 AM
Besides that, isn't that palet change a hack? You'll have to patch the interpreter, then make the whole game around this new palette.
Title: Re:Changing colors
Post by: Chris Cromer on October 20, 2003, 12:41:29 AM
Yeah, I have actually used the palette hack before. I have 2 templates that have changed menu's. One with a black menu and red text, and the other with a black menu and blue text.
Title: Re:Changing colors
Post by: Eero R on October 20, 2003, 09:08:11 AM
Hmm, someone could write an utility to change the colors on all the pictures and views...
Title: Re:Changing colors
Post by: Chris Cromer on October 20, 2003, 09:09:19 AM
Um it already exists, check Brian's AGI & SCI site. ;)
Title: Re:Changing colors
Post by: Brian Provinciano on October 20, 2003, 10:55:37 AM
1. If you just wanted to change the colour of the menubar, all you'd need to do is change a couple bytes in the decrypted EXE.

2. If you just wanted to change the colour of the status bar with no hacking, you can disable it and draw a custom one.

3. If you want different colours, you can use the modified interpreter with or without the additional mouse support, and my creating the palette using the editor utility also on my site.

4. If you want 256 colours, you can use the special AGI256-2 patch with the editor utility for your graphics. All on my site.
Title: Re:Changing colors
Post by: Allen on October 21, 2003, 01:59:42 AM
2. If you just wanted to change the colour of the status bar with no hacking, you can disable it and draw a custom one.
Thought about that, and Eigen sent me the code. Works fine now.

-Allen