Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

The time now is Wed Oct 04, 2023 7:07 pm
All times are UTC + 0
(**) Converting palettes of SHPs
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Bittah Commander
Defense Minister

Joined: 21 May 2003
Location: The Netherlands

PostPosted: Wed Feb 18, 2009 9:42 am    Post subject:  (**) Converting palettes of SHPs
Subject description: I decided to just copy my topic from TibWeb...
Reply with quote  Mark this post and the followings unread

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.

Key Words: #Tutorials #SHPs #Graphics #Media #TiberianSun #Firestorm #RedAlert2 #YurisRevenge #OpenRA #XCCUtilities 


Back to top
View user's profile Send private message Send e-mail ModDB Profile ID YouTube User URL Facebook Profile URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] Mark the topic unread ::  View previous topic :: View next topic
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © phpBB Group

[ Time: 0.1415s ][ Queries: 11 (0.0094s) ][ Debug on ]