View Full Version : I done something wrong altering grafics help!
10x10pickup Apr 06, 2006, 08:43 AM Ok. here's the scoop. I've been trying to alter goody huts to look like some of the ancent wonders/artfacts of the world. I just finshed my frist try with one goody hut altered to be one of the stone spheres of costa rica. I when to test my work (thank goodness I made backups), when I tryed it in the editor they show up. But so did the pink boxes they are in. I used paint shop pro 9, to make it. I'm have no idea why it's messing up, so thought I would upload it in hopes some one can tell me what I messed up. Here is the altered file:122557
Please help, thank you.
The Last Conformist Apr 06, 2006, 08:50 AM That's a pallette error. You need an application (PhotoShop, Paintshop Pro, and GIMP being the usual suggestions here) that can edit palettes, and make sure the magic magenta is one of the two last colours in the palette (or first, in PhotoShop).
10x10pickup Apr 06, 2006, 09:41 AM That's a pallette error. You need an application (PhotoShop, Paintshop Pro, and GIMP being the usual suggestions here) that can edit palettes, and make sure the magic magenta is one of the two last colours in the palette (or first, in PhotoShop).
I'm working with paint shop pro9. Can you give me run though for dumbies?:confused:
I'm new to make my owen grafics, this was my first try. How do I do that with paint shop pro?
The Last Conformist Apr 06, 2006, 10:07 AM Hit Shift-P for edit palette, and make sure the magic magenta is the last colour. :)
William GBTW Apr 06, 2006, 10:26 AM I did that with my floodplains!
Vuldacon Apr 06, 2006, 01:18 PM lindstrom_lance
Most graphics you will use probably have more than 256 colors and you can only use 254 because Green and Magenta are placed in the last 2 squares of the palette in specific squares.
Usually you will use a 16 Million Color Picture and then Reduce it to a 256 Color Palette with the Green and Magenta placed after. Because a 256 color palette will usuall use all 256 colors from reducing a 16 Million Color Picture to 256, you will not have any remaining squares on the 256 palette to add the Green and Magenta so use the following Technique:
Note, I will use the shortcut keyboard commands here but you can find and manually select many of these commands by clicking the Button on top called Image.
Always a Good Idea to make a Backup of any file you want to change.
1.Open goodyhuts.pcx file in PSP and use Ctrl+Shift+0 (that is a Zero) to change the palette to 16 Million Colors. Use you Graphics and pictures to Make and Place all goody huts as you want them. Complete all work on the goody huts so they are as you want them to be. This is all done using 16 million colors.
2.To make the Palette so it has the Green and Magenta in the correct places you will first need to make a copy of your new goodyhuts.pcx for temporary use. Use the Selection or Free Hand Tools to draw around your goodyhuts image then press Ctrl+C to Copy it. Press Ctrl+V to paste a new image copy on your screen.
3.Using the new copy of your goody huts, change the Green and Magenta colors that surround the goodyhut images to Black. Press E to select the Dropper Tool and then click one the Green Squares. This places the green in the "Foreground and Stroke Properties Box" you will see on the right side of your Screen. Now Click the "Swap Materials" small Double Arrow just under that box to swap the Green you just selected to the Bottom Box "Background and Fill Properties Box". Click Select the Pure Black (0, 0, 0) that is located on the Bottom Left of the Color Palette you see on the Top right of your screen. Now use the "Color Replacer Tool" found by clicking the arrow on the right side of the Dropper tool. Double Click your Image with the Color Replacer Tool selected and all of the Green will be replaced with Black. Use the Above procedure to select and change the Magenta color to Black as well starting by selecting the Magenta color so it is the Properties Box as you did before with the Green. Now that your goody hut images have an all Black Background that replaces the Green and Magenta Colors, you can make your New Palette.
4.Press Ctrl+Shift+6 to use the Reduce Colors to X Colors Box. On this Box, set 254 colors as the Number of Colors. Place a dot in "Optimized Median Cut". Under "Reduction method", Place a Dot in "Nearest color". Note that you can use the Zoom in and Out Buttons under the top left image window to zoom in and out to see the Before (Left Side) and After (Right Side) images. Press OK
5.Press Shift+P to Edit the New Palette. On the Far Bottom Right side of this Palette, palette index number 255, Double Left Click the Square and you will see another Box where you can change the Color. In the Center of this Box you will see a Grid Box of Colors. The 1st Row of Colors on the Left side has the Green and Magenta Colors you need to place on your New Palette. Select the Magenta Color (R:255, G:0, B:255) on the Bottom left of that color grid box or you can type it in manually in the R, G and B slots. Just faster to select the color already there. Click OK. Select the square before the last square that you just changed to Magenta on your Palette, palette index number 254. Double Left click the square and again use the Color grid box to select the Green Color (R:0, G:255, B:0) on the Left Row of that color box. Press OK. Now Press OK on the "Edit Palette Box". You can see the Green and Magenta colors are now in your New Palette (palette on top Right of your screen).
6.Now Save this Palette: Click the Button on top called "Image", Place your Pointer on the word "Palette", located on the dropdown list and then click "Save Palette", located on the next pop out list. You will have a "Save Palette Window" where you can Name the Palette anything you like. "goodyhuts" seems like a good name here :) . You can use either PSP or Microsoft to save your palette but generally you will just save as a Microsoft .pal palette. Note that you can use the "Edit Paths..." button to save the new palette where you want it. a Good Place is C:\Program Files\Corel\Paint Shop Pro 9\Palettes if you have a normal installation of PSP 9. This will save the palette to that palette folder. After saving your New palette, you can delete the temporary copy you made for your goodyhuts because it is no longer needed.
7.Apply your new palette to your 16 million colors goodyhuts image. With your new goodyhuts image selected on the screen, press Shift+O (that is the Letter O) and use the arrow button under palette to find your new palette named "goodhuts" and click it to select it. Now place a Dot in "Nearest color matching" and press "Load". Save your New goodyhuts image "Save As Type .pcx" goodhuts.pcx
The reason for these steps is that if you simply made your new palette 256 colors, the Green and Magenta colors would be in the palette but saved in the wrong places on the palette...the game reads palette index 255 and 254 as transparent...so those colors must be placed in their proper places on the palette. Hope this helps you.
Here is Your goodyhuts after the palette has been made with the above procedure...the only thing I changed was the square you have your new image on...I straightened the border lines.
10x10pickup Apr 06, 2006, 01:34 PM Thank You Vuldacon
It works and now I know for next time, Your pallets for dumdies brakedown was great.
Quinzy Apr 06, 2006, 01:48 PM magenta= 255,0,255
is this the exact colours?
Vuldacon Apr 06, 2006, 01:48 PM here is what your new googyhut palette looks like After being corrected: Follow the procedure Exactly...yes exact colors.
mrtn Apr 07, 2006, 08:27 AM magenta= 255,0,255
is this the exact colours?
Yes, though that's usually unimportant; the important thing is the placement in the palette, not the actual colour. :)
Vuldacon Apr 07, 2006, 04:49 PM Yes, though that's usually unimportant; the important thing is the placement in the palette, not the actual colour.
mrtn... you are correct my friend, just find it easier to state the exact game palette colors that are used in a perticular palette for the sake of simplicity when "trying" to explain the need to have "those colors" placed correctly in the palette...in the above case, the use of Pure Magenta 255. 0, 255 and Green 0, 255, 0 are the colors used on the Game goodyhut.pcx so rather than add more to an already sort of lengthy "explaination", I stayed more direct to try and help with the problem.
mrtn Apr 07, 2006, 08:35 PM Yeah, I know, it's what some people (ever read Terry Pratchett?) calls "lies to children". ;)
And, there's also the fact that the method I use (check the Get Correct Transparency with Photoshop-tutorial in my sig) focus almost solely on the placement in the palette, so different programs call for different solutions. :)
Vuldacon Apr 07, 2006, 10:39 PM mrtn... yes, I have read your tutorial for PSP 7 but it is not directly applicable to PSP 9. In PSP 9 if you want to simple make a color Transparent from your palette...Press Ctrl+Shift+V to get the "Set Palette Transparency" Box. There you can set the transparency value to the current background or to a palette entry. So yes, different programs require different "procedures". ;)
|
|