I've wanted to update this plugin for the new armor as well...
There -is- an XML file containing the color codes and names. The codes are in HEX. I decompiled the dcs.dll file and have access to the raw code, but I'm not a decal developer, so I'm not sure how it's pulling the item information. I have Imp Inventory, which outputs an awful lot of information on each item, but no color information. I was thinking that if Imp could give me the colors in either HEX or RGB, I could easily update the DCS XML file, but no go...
In the dll, there are a lot of calls to things like GetDecalColor() etc... here's a code snippet
Quote:
{
// Fields
public ushort iPalette;
public string name;
public string rgbColor;
// Methods
public AC_COLOR(ushort iPalette, string rgbColor, string name);
public string GetDecalColor();
public string GetName();
}
So the question is... how is the XML 'swatch' file used? Is a value pulled out of Decal and then matched against the list? If so, by the HEX value or by name? It seems like Decal is providing one of the values, and the XML file is used as a reference to display the second value...? I'm thinking Decal provides the HEX and the reference is for a name to call that color, ie., VirindiBlue. If that's the case, where the heck or who the heck came up with the names?
If the color codes for newer armor are at least being seen by DCS, but there's no such HEX/name in the XML file, then you get the 'Unknown' displayed. It would then be a simple task to update the XML file with those values. If the new color codes are not being seen by DCS, then the plugin would frankly need a lot of work done to it...
Thinking Imp would give me color details was a fail, so we need a Decal guru to jump in here and tell us if we're barking up the right tree here... If DCS is seeing the information and someone could write a quick and dirty plug to pull raw color info, I'd be happy to update the 'swatch' file.