IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> (**) Converting palettes of SHPs
Bittah Commander
post Nov 17 2007, 02:15 AM
Post #1


Forum Administrator
Group Icon

Group: Administrators
Posts: 1,340
Joined: 1-October 06
From: The Netherlands
Member No.: 5
Alliance: GDI
Favorite game: Tiberian Sun



As an example I'm going to use an SHP called "shp.shp" and of which I'm going to convert the isosno palette colors it's using to the isotem palette.

First of open the XCC Mixer, browse to SHP and make sure the palette the SHP currently uses is selected (pres Ctrl+P to open the 'Select palet' window); in this case isotem.pal.


Copy the SHP to the clipboard either by selecting it and pressing Ctrl+C on your keyboard or by right-clicking the SHP and going to Clipboard>Copy.


Open MS Paint, change the canvas of the white background to something something you're sure of is smaller than the SHP you're gong to paste into Paint (this way you'll be sure that the image you're going to import from the clipboard won't have any white boarders around it) and pres Ctrl+V on your keyboard to paste the SHP you copied to the clipboard earlier into paint.
Now pres Ctrl+A on your keyboard and then Ctrl+C to copy the image from paint back onto the clipboard.

Finally go back to XCC Mixer, select the palette you wanted to convert the SHP to (isosno.pal)...

...right-click the SHP of which you're trying to convert the palette, go to Clipboard and then click 'Paste as SHP (TS)'.


A 'Save as' window pops up and you can now either chose to overwrite the old SHP or save it under a different name.
After clicking Save the 'SHP properties' window pops up in which you'll have to specify the width, height and number of frames the SHP has. The values that are currently in the fields are the ones of the SHP you right-clicked to get to 'Paste as SHP (TS)' and since this was the SHP you're trying to convert the palette of, the SHP properties should already be like they should be (so you won't need to change anything in the SHP properties window).

Now click OK and you're done.


--------------------
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 08:44 AM


XGhozt.com