This tutorial is for graphics using palletes with 32 colors. This is used for items that can be color changed in edit mode. With this method, you will be using a palette from the game instead of creating the palette yourself. For this example, I am going to replace the Dude Love tights with Sting tights.







Before, we just used a 16 color palette, this time we are going to use a 32 color one. Take a look at the Dude Love palette (191C).







The first row is the default color when no color changes are made in the game's edit mode. The second row defines all the color changes. Note there are 4 types of color in the second row



The green shades (3-10) in the second row define how the color is changed in game from that first row.



The blue shades (1-2) in the second row define how the color is changed in game from that first row. The white shades (11-12) are colors that aren't changed when changing either color. They can be any color. The grey non-shades (13-16) are colors that are transparent. There are none used here, but it is useful for something like the empty section of a t-shirt or a hole in the pant leg. While I'm here, I'm going to extract the palette by choosing "Export Pallete" button on the palette screen and save the file as a Paint Shop Pro pallete, and a VPW Studio palette (both named 191C for this demo). To make it easier, I'm going to save all work files to a new folder called "Sting Pants". I'm also going to save all the CI4Texture files for Dude Love pants to the folder (191D, 191F, 1921, 1923, 1925) by clicking twice on the listing.



Then right clicking the picture and saving it as a png. Now you have these...
191D- Right Waist
191F- Left Waist
1921- Upper Left Leg
1923- Lower Left Leg
1925- Upper Right Leg




Note there is no "Lower Right Leg". That is because the Right Leg will copy and mirror whatever is on the left leg. I chode Dude Love because all I want is a Scorpion logo on the left leg. Other articles of clothing may have mirrored textures for all of the choices, and others may have none. This is something to keep in mind when you are choosing which article of clothing to replace. Also note that "Upper Right Leg" (1925) has "Love" written in reverse. That will always be the way for the right half of most of the tights and pants.



Now I'm going to go into Paint Shop Pro 9. First, I'm going to create a new graphic, and load 191C.



This will give me a pallete to reference, without screwing up any files.



This is a good time to point out that it's better to think of editing positions instead of colors. That is because you are going to be using the same pallete that is in the game. Since the PSP palette is saved in 16 colors, inatead of 32, you would have to set the 16. You may be changing the colors in the graphics, but they will be the same color as the original file. However, they can be easily changed in edit mode of the game to any of the 48 colors of the in-game palette system. Anyways, the next step is to create graphics to inject in the rom, they have to have at least a 16 color palette, and be the same size. You can put anything in there, but the best way is to use other in game graphics as a guide. So I'm going to extract the graphics for "Long Tights" (1881, 1883, 1885). This group is a good example of the mirrored textures.
1881- Waist
1883- Upper Leg
1885- Lower Leg




By the way, even if you did replace the graphics for a particular item you now need, you can still rip the original, since you are actually looking into the original rom and not the one you built. To save time I placed my project old outsider Sting texture into the directory. I used that as a guide to add a Scorpion on the long tights graphic and saved it under "Sting1.png". Note that the graphics that are extracted as png's have a 16 million palette, so they cannot be injected without adjusting them. So decrease the new graphic you made into 16 colors.



Now I have a template for the positions of the colors, I will go to the edit palette for the image I originally created with the Dude Love palette and edit those colors from Dude Love's palette to match the new one I made using the graphic as a guide. The eye dropper makes this very easy. Some other things to note are that and if you want to reference the VPW Studio palette, the RGB numbers there are just the regular RGB numbers divided by 8. It may take multiple tries to get the exact color you want.



Now save that palette



Load the palette into all the graphics you need to plug in. To save time, I renamed the other files as stingupperleg, stinglowerleg and stingwaist. Now I have four graphics that are 16 colors, and the colors match the position of the Dude Love palette. Now it's back to VPW studio. I'm going to inject these files into the appropriate Dude Love textures.
191D- Right Waist - stingwaist.png
191F- Left Waist - stingwaist.png
1921- Upper Left Leg - stingupperleg.png
1923- Lower Left Leg - stinglowerleg.png
1925- Upper Right Leg - sting1.png (the scorpion)

Find the palette files, RIGHT click and choose edit information and replace them all. You can actually place these files in any position that has enough room. There is just an additional step of using the "Edit Information" part on the palettes using the one you extracted at the beginning.



Remember, this doesn't alter the rom, that happens when you choose Project-Build Rom to create a playable rom. Remember to go to file-save to save your progress. Now let's check in game, the position of the palette numbers matches the Dude Love default palette so you have a blue and red combo!



And you can change it in edit mode to this...



or this...



or this!



HEY, WAIT A MINUTE!