![]() |
|
#1
|
||||
|
||||
|
Even if you have little to no experience hex editing, I designed this tutorial to make it as easy as possible for you to recolor your XMB font and option bar on your PSP. _________________________________________________________________ _______________________________________________________ Tools you will need: 1. A Hex Editor ! In this tutorial I will be using Hex Workshop. Note that Hex Workshop is not free. Free Hex Editors can be found ---> Here I would personally recommend either HxD or XVI32 2. A decompressed/decrypted 3.90 vshmain.prx: ----> 3.90 vshmain.prx If you're using a custom theme with a compressed vshmain.prx and you want to recolor your font & option bar, use PRX compressor 0.41 and the header i supplied to decompress vshmain.prx so you can edit it: ---> PRX Compressor & 3.90 Header _________________________________________________________________ _______________________________________________________ On To the Tutorial ! Step 1. Getting RGB Values. Colors are made up of 3 sets of RGB numbers representing the amount of Red, Green and Blue contained within a color. A color in the RGB color model is described by indicating how much of each of the red, green, and blue is included. The color is expressed as an RGB triplet (r,g,b), each component of which can vary from 0 to a defined maximum value of 255. If all the components are at 0 the result is black; if all are at 255, the result is the brightest representable white. I'm sure most of you know how to obtain RGB values. Any image editing program will show RGB values for your selected color. You can also use a color wheel to get RGB values for a particular color you want to use. To make it easier for you, here's a Wiki link that provides a List of Colors, and each color's RGB values: ---> Wiki List Of Colors _________________________________________________________________ _______________________________________________________ I'll be using the color "Pale Blue" as an example. ![]() Notice the different RGB values for Pale Blue: Red= 175 Green= 238 Blue= 238 Important Note: When we input these values into vshmain.prx, we will be inputting them as floating point numbers. Floating point numbers allow the use of decimal points. In order to input the correct floating point numbers, you must change the RGB values into 4 byte values. The maximum color channel strength is 1. If you input any number greater than 1, It will just look like you just changed it to 1, regardless of the value you enter. In order to get the correct color channel strength values, simply divide each value by 255: Red= 175 Green= 238 Blue= 238 After dividing each value by 255: Red= 0.686 Green= 0.933 Blue= 0.933 These values will be inputted as floating point numbers at specific offsets in vshmain.prx. An offset is basically a location, or position in a file, in this case, vshmain.prx. _________________________________________________________________ _______________________________________________________ The Color Offset Locations In vshmain.prx 3.90 These offsets will change with the release of a new custom firmware. These are for 3.90 only. I will update this tutorial with new offsets when i find them when a new custom firmware version is released. ![]() ![]() Note there a total of 72 offsets. All of the months follow the same offset pattern. Of course you don't have to change every float. If you just want to change one month to "Pale Blue", you can just change the values for the month of January, Or you can change everyone of them to any color you want. Lets start with the offsets (locations) for the font color, the month of January: 0x41298 is the offset location for Red 0x4129C is the offset location for Green 0x412A0 is the offset location for Blue Open your decrypted/decompressed vshmain.prx in your hex editor. In the left column, you will see the offset list. I'm going to scroll down to offset 41290. Now use your mouse to move the cursor to select the byte where the float starts, just in front of 0000 on the 41290 offset line. This is offset 41298 If you look in the pane directly below the offset pane, you will see the data inspector. In the data inspector, you can see that i'm at offset 41298 ![]() Now refer to the RGB color channel strengths for Pale Blue: Red= 0.686 Green= 0.933 Blue= 0.933 Looking at your RGB values for Pale Blue, we want to change the float to the Red value, 0.686: ![]() Now you want to do them same thing for the Green value. Referring to the offset font list, notice 4129C is the offset for green color channel strength for the month of January. On the same offset line, move the mouse cursor over just in front of 17D9 and change the 32 bit float to 0.933: ![]() And finally color channel strengths for Blue for the month of January. Go to offset 412A0, and change the 32 bit float to 0.933: Offset 412A0 is on the next offset line, directly below 41290 Just move the cursor directly in front of 0000 on offset line 412A0: ![]() Now flash your vshmain.prx to see the changes: ![]() Follow the exact same procedure for every other month for the font offsets, and for the infobar offsets. If you prefer different color fonts and option bars for each month, just remember to divide your RGB values by 255 to get the correct floating point values. With a little practice you'll be able to change all of the offsets in no time at all.
__________________
Last edited by Oyabun; 10-26-2009 at 06:15 PM. Reason: Thread needs updating |
|
#2
|
||||
|
||||
|
Good job robs1968,
I've been whating to know how to do this. Gonna go try it now. |
|
#3
|
|||
|
|||
|
thanks robs Im gonna try this now.
|
|
#4
|
|||
|
|||
|
Where is the data inspector on HxD?
|
|
#5
|
||||
|
||||
|
Quote:
No release yet :/ Use XVI32.
__________________
|
|
#6
|
|||
|
|||
|
Yea I downloaded it also but it looks a tad confusing.
Not as straight forward as HxD. |
|
#7
|
||||
|
||||
|
Download Hex Workshop 5.0.2
http://www.softpedia.com/get/Program...Workshop.shtml It's a 30 day full trial.
__________________
|
|
#8
|
|||
|
|||
|
How do I go about compressing the prx?
|
|
#9
|
||||
|
||||
|
Quote:
__________________
|
|
#10
|
|||
|
|||
|
No readme eh?
|
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|