I need help with colours

Discussions about all other tools (CusPop, SAV/HOF editors) and hex editing.
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

I need help with colours

Post by Emiliano »

I found that some colors cannot be changed with PR or Cuspop (The blue text Background, The palace wall marks and the red potion bubbles)
I wil show you below
I want to change them to gray I know well to use RGB, but I wanna know how to change them
Here are the conversions I want to do:
The blue text Background from 16 0 97 to 37 37 37
The Palace wall marks from 195 154 81 to 143 143 143
The red potion Bubbles from 227 0 48 to 91 91 91
I hope you can help me :(
I already know that I'm making unnice graphics but I still want your help :cry:
Attachments
prince_028.png
prince_028.png (3.19 KiB) Viewed 5878 times
prince_027.png
prince_027.png (5.66 KiB) Viewed 5878 times
65536
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: I need help with colours

Post by David »

Emiliano Fierro wrote: November 16th, 2019, 8:21 pm Here are the conversions I want to do:
The blue text Background from 16 0 97 to 37 37 37
The Palace wall marks from 195 154 81 to 143 143 143
The red potion Bubbles from 227 0 48 to 91 91 91
blue text background:
Search: B8 04 00 50 2B C0 50 B8 18 00 50
Change: 04 to the red component, 2B to B0, C0 to the green component, 18 to the blue component.
The new RGB values are 0x09 in your case. (37/4 rounded to integer.)

palace wall marks: viewtopic.php?p=15233#p15233
Search for: B8 30 00 50 B8 26 00 50 B8 14 00 50
Change: 30, 26, 14 to the RGB values of the new color.
The new RGB values are 0x24 in your case. (143/4 rounded to integer.)

red potion bubbles: viewtopic.php?p=26260#p26260 -- under option a)
Search: B8 38 00 50 2B C0 50 B8 0C 00 50
Change: 38 to the red component, 2B to B0, C0 to the green component, 0C to the blue component.
The new RGB values are 0x17 in your case. (91/4 rounded to integer.)
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

Thanks :D
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

But which codes are correct?
Your instruction is not clear :(
Attachments
Replaced codes.txt
(283 Bytes) Downloaded 94 times
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

And I need them in this format (I don't know the name)
So I can replace them with Tasm in edit.com
With this wonderful program, now I can create more things ♥ :D
Attachments
edit_000.png
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

I could do the first code, but it's still in hex format, and I need it in the other format
Do you know any code converter from hex to the format used in MS-DOS?
Attachments
NEWBLUET.DAT
(34 Bytes) Downloaded 90 times
BLUETEXT.DAT
(34 Bytes) Downloaded 93 times
65536
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: I need help with colours

Post by Norbert »

Emiliano Fierro wrote: November 17th, 2019, 4:57 amTasm in edit.com
You should use a different, more flexible program.
If you are on Windows, read this.
If you are on DOS, you can use HexIt or uHex.
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

Thanks, it seems easier to use :)
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

I made a tutorial of changing the colors with a hex editor
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

Norbert wrote: November 17th, 2019, 1:32 pm
Emiliano Fierro wrote: November 17th, 2019, 4:57 amTasm in edit.com
You should use a different, more flexible program.
If you are on Windows, read this.
If you are on DOS, you can use HexIt or uHex.
But those some for Linux, I have Windows 8
So they won't work.
65536
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: I need help with colours

Post by Norbert »

Emiliano Fierro wrote: November 19th, 2019, 10:39 pm
Norbert wrote: November 17th, 2019, 1:32 pm
Emiliano Fierro wrote: November 17th, 2019, 4:57 amTasm in edit.com
You should use a different, more flexible program.
If you are on Windows, read this.
If you are on DOS, you can use HexIt or uHex.
But those some for Linux, I have Windows 8
So they won't work.
For Windows you can use the mentioned wxHexEditor. Click here and wait 5 seconds to download:
https://sourceforge.net/projects/wxhexe ... p/download
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

Norbert wrote: November 20th, 2019, 3:10 am
Emiliano Fierro wrote: November 19th, 2019, 10:39 pm
Norbert wrote: November 17th, 2019, 1:32 pm

You should use a different, more flexible program.
If you are on Windows, read this.
If you are on DOS, you can use HexIt or uHex.
But those some for Linux, I have Windows 8
So they won't work.
For Windows you can use the mentioned wxHexEditor. Click here and wait 5 seconds to download:
https://sourceforge.net/projects/wxhexe ... p/download
Thanks :)
How do I display the program maker in DOS?
65536
4DPlayer

Re: I need help with colours

Post by 4DPlayer »

Emiliano Fierro wrote: November 20th, 2019, 3:33 am
Thanks :)
How do I display the program maker in DOS?
It’s a Windows program, like Apoplexy.
You cannot open it in DOS.
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

4DPlayer wrote: November 20th, 2019, 5:30 pm
Emiliano Fierro wrote: November 20th, 2019, 3:33 am
Thanks :)
How do I display the program maker in DOS?
It’s a Windows program, like Apoplexy.
You cannot open it in DOS.
Thanks :)
I want to use the same program used by Lance Groody to make PoP
Where or how can I find it?
65536
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 718
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Re: I need help with colours

Post by Emiliano »

I forgot something very important
The red text background in the end of the game
Which values should I change from the original to ¼X
I wait your answer before I release my mod
I want to change the values from 130 0 0 to 43 43 43
The new values will be ¼(43) = 10.75, rounded to integer = 11
But I need the formuler to replace the original
Attachments
prince_032.png
prince_032.png (5.88 KiB) Viewed 5738 times
65536
Post Reply