I need help with colours

Discussions about all other tools (CusPop, SAV/HOF editors) and hex editing.
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 22nd, 2019, 6:17 am 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
Search: B8 20 00 50 2B C0 50 EB
Change: 20 to R, 2B to B0, C0 to G and B. (G and B must be the same.)
The new RGB values are 0x0B in your case.
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 »

Finally the equations and replacements:
Blue text background
(Original)B8 04 00 50 2B C0 50 B8 18 00 50
(Replaced)B8 ¼X 00 50 B0 ¼Y 50 B8 ¼Z 00 50
Palace wall marks
(Original)B8 30 00 50 B8 26 00 50 B8 14 00 50
(Replaced)B8 ¼X 00 50 B8 ¼Y 00 50 B8 ¼Z 00 50
Red potion bubbles
(Original)B8 38 00 50 2B C0 50 B8 0C 00 50
(Replaced)B8 63 ¼X 50 B0 ¼Y 50 B8 ¼Z 00 50
Red text background
(Original)B8 20 00 50 2B C0 50 EB
(Replaced)B8 ¼X 00 50 B0 ¼YZ 50 EB *Green and Blue must be the same value
X = Red
Y = Green
Z = Blue
*Remember ¼ of the value rounded to integer
This is possible Thanks to David and I hope it becomes useful for you ;) .
65536
User avatar
yourantumayel69
Calif
Calif
Posts: 565
Joined: November 12th, 2019, 9:53 am
Location: Indonesia
Contact:

Re: I need help with colours

Post by yourantumayel69 »

I don't understand why you don't create mod again. If not possible, let me create my new mod.
Pengkhotbah 3:1 (TB) Untuk segala sesuatu ada masanya, untuk apa pun di bawah langit ada waktunya.
Post Reply