:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Wed Aug 21, 2019 4:08 pm
All times are UTC + 0
 Forum index » Featured Tools » Community Tools
SHP Palette Analyzer
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Aug 18, 2019 9:12 pm    Post subject:  SHP Palette Analyzer Reply with quote

A quickly slapped together tool to check which colors are used in TS SHP files.

Installation:
unzip in a folder of your choice (best one with write permission)
start the exe


Usage:
click on Select SHPs to add files to the list
mark all files in the list that you want to check
press Start

if "Analyze Palette Usage" is selected, it will count the number of pixel using each color
if "List files using a selected Color" is selected, you first have to select a color in the palette and then tool will then deselect all files that don't use this color

Warning:
the operation can be very time consuming as this isn't done in multiple threads and a 2MB SHP can take a minute or longer to analyze.


SHPPaletteAnalyzer.png
 Description:
 Filesize:  26.12 KB
 Viewed:  128 Time(s)

SHPPaletteAnalyzer.png



SHPPaletteAnalyzer.zip
 Description:

Download
 Filename:  SHPPaletteAnalyzer.zip
 Filesize:  42.93 KB
 Downloaded:  2 Time(s)


_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Aug 18, 2019 10:18 pm    Post subject: Reply with quote

What you have done is known as histogram Wink.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Mon Aug 19, 2019 7:13 am    Post subject: Reply with quote

But... SHP files don't have a palette Razz

Nice idea though... but I wonder what the practical use is.

The only thing I could think of is detecting the existence of theater-sensitive colours on C&C 1 common-theater SHP files, which would indicate problems... but I doubt you made this for C&C1 modding.
_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
General


Joined: 09 Feb 2015

PostPosted: Mon Aug 19, 2019 8:22 am    Post subject: Reply with quote

I have no idea why you thought this would be useful.
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Mon Aug 19, 2019 2:26 pm    Post subject: Reply with quote

Bittah needed a tool to check over all DTA SHPs, which of them use the glowing colors and which colors exactly.

So when you plan to change the palette, you can use this tool to check which colors are unused or which can be rearranged.
_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Nyerguds
General


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Mon Aug 19, 2019 11:08 pm    Post subject: Reply with quote

Heh. Looks like my guess was closer than I thought.
_________________

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 [6 Posts] View previous topic :: View next topic
 Forum index » Featured Tools » Community Tools
Jump to:  
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 can 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

Wildcard SSL Certificates
[ Time: 0.1118s ][ Queries: 15 (0.0054s) ][ Debug on ]