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 Fri Feb 23, 2024 9:10 am
All times are UTC + 0
Starkku has released a new tool for palettes: the PalTool!
Moderators: Global 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
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Mar 30, 2023 1:30 am    Post subject:  Starkku has released a new tool for palettes: the PalTool!
Subject description: I don't see your true colors shining through, because they are limited to 8 bits!
Reply with quote  Mark this post and the followings unread

Hi everyone! Reinforcements have arrived from Starkku. He has recently created a new tool called PalTool. It is a command line tool that performs certain operations on JASC and Westwood Command & Conquer palette files used in Tiberian Dawn, Red Alert 1, Tiberian Sun, and Red Alert 2. Here is what you need to know to use PalTool in your projects:

Quote:
PalTool

Command line program for performing certain operations on JASC and WW C&C palette files. Does not supplant basic palette editor functionality, at least not as of current.


Usage: PalTool.exe palette_file [output_palette_file] [-a, -m, -r, -c, -t, -s, -p]
-m | Modify colors based on alpha.
-a [number] | Calculate alpha using the average of color values. The number is what the cumulative color value is divided by to get the average, which defaults to 3.
-t [hue|saturation|light|red|green|blue|alpha|brightness|rgb|gradients] threshold-value [new-alpha-value] | Modify alpha based on a threshold. The value listed after determines the threshold type. Defaults to 'saturation' if an invalid value is specified. Colors that pass the threshold value have their alpha set to the new value. The rest are left untouched. No threshold is not valid. The new alpha value defaults to 1. Both threshold & new alpha values should be numbers from 0 to 255.
-s [hue|saturation|light|red|green|blue|alpha|brightness|rgb|gradients] | Sort colors. The value listed after determines the sort method. Defaults to 'rgb' if an invalid value is specified.
-g [startindex] [count] [saturation_threshold] | Sort parameters. The start color index, number of gradients, and saturation split threshold for gradients sort (0-1.0) default to 1, 8, and 0.33, respectively.
-b | Output 6-bit RGB color components instead of 8-bit (only if JASC palette).
-d | Print debug info about palette to console.
-r | Do not save alpha values in the output palette (only if JASC palette).
-c | Save output as WW palette, not JASC palette.
-p | Save a 256x1px PNG image containing one pixel of each palette color.


You can find more information about PalTool by visiting the Official Website. Download PalTool. That's all, folks! Stay tuned at PPM for more news coverage on PalTool!


Key Words: #News #Release #PalTool #TiberianDawn #RedAlert1 #TiberianSun #Firestorm #RedAlert2 #YurisRevenge 

Back to top
View user's profile Send private message Visit poster's website Skype Account
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
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You cannot post new topics in this forum
You can 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.1454s ][ Queries: 11 (0.0095s) ][ Debug on ]