TexTools/FFXIV_TexTools_UI

[Feature request]: Add color eyedropper, or additional colors to the color picker selections, sortable by context and FFXIV hard-coded index

wikid24 opened this issue · 3 comments

Request box

In it's current form, the 'standard' FFXIV colors are functionally not helpful, where it almost always requires a user to choose 'Advanced', and manually input the RGB values to match their in-game counterpart.

image

This can be a time-consuming task as it requires user to go in-game, take a screenshot of the character's selected color palette( or use Anamnesis and take a screenshot of the color palette from there), then use an eye-dropper tool in an image-editing program to get the RGB values, then manually type into R, G, B textboxes separately into TexTools.

Two requests:

  • Allow a user to use an 'eyedropper' tool to pick a colour from anything being displayed on user's screen at the time.
  • Or if not possible, allow user to select a color based on the in-game FFXIV indexed colour value (from 0 to 191) on a new tab (between 'Standard' and 'Advanced' OR repurposing the 'standard' colors , depending on the context. By context, I mean, if user is looking at skin/hair/color/eye/tattoo, they all show different colour values from the index ranges of 0 to 191.

To assist with getting this developed, I have created a CSV file for each indexed colour palette that provides Hex value,to allow user to pick a color easily in TexTools. Leveraging from a CSV means that if additional races / tribes are added in future expansions, additional CSV files updates can be added to support them with minimal effort, as opposed to hard-coding the values in the TexTools code, but I suppose that depends on whatever solution is developed.

Being able to select a color by the FFXIV color Index value will a TON of save time when building and exporting character rigs for export to FBX.

Screenshot example of color palatte from Anamnesis for Au Ra- Raen Tribe Female:
image

Screenshot example of color palatte from Anamnesis for Au Ra- Xaela Tribe Female:
image

Reason box

Standard colour palatte is is pretty much a 'Where's Waldo' of color picking, I end up having to get the RGB values (and using the eyedropper tool in MS Paint based on a screenshot of the colors from Anamnesis), then I need to manually type the R G B values individually in the 'advanced' section, because in it's current form, it is functionally not helpful, and it is a very time consuming task. When exporting to FBX, this can take a very long time to do, but it could be a really quick process if it didn't require so much manually work.

Examples

Based on the character race/tribe and gender, there are different skin colors that are provided(by index).
Skin Color Index ranges from 0 to 191 and each is different:

  • Au Ra Xaela/Raen Male/Female
  • Hyur Highlander/Midlander Male/Female
  • Elezen Duskwright/Wildwood Male/Female
  • Miqo'te Keeper/Seeker Male/Female
  • Roegadyn Sea Wolf/Hellsguard Male/Female
  • Hrothgar Helions / The Lost
  • Viera Veena/Rava Male/Female
  • Lalafell Dunesfolk/Plainsfolk Male/Female

In total that is 30 combinations of skin tone.

Example:
AuRa Xaela Female, index 0 is hex value #797379
AuRa Raen Female, index 0 is hex value #B09289

  • Hair color index ranges from 0 to 191 are UNIQUE for the same as above (so 30 combinations)
  • Hair Highlight index ranges from 0 to 191 are shared among all races/genders
  • Eye color index ranges from 0 to 191 are shared among all races/genders
  • Lip color index ranges from 0 to 191 are shared among all races/genders, and are split into two: Dark and Light (96 each)
  • Tattoo color index ranges from 0 to 191 are shared among all races/genders

Regarding sample code for an WPF eyedropper control (not sure if helpful or not, but hopefully it helps) :) :

API:
https://learn.microsoft.com/en-us/windows/communitytoolkit/controls/eyedropper

Sample usage:
https://github.com/dsafa/wpf-color-picker

With the help of the Anamnesis dev team, I was able to pull ALL of the color swatches for that is used, including by race & gender:

https://docs.google.com/spreadsheets/d/18Z1ph1Xa-rFvC8FtB7X6IgSbjwPAom5XuDuCtVeNRvo/edit?usp=sharing

The colors in the color picker are just some WPF defaults that are sorted by alphabetical for some insane reason. I have adjusted the color picker to at least start on the advanced tab, but realistically the entire picker needs to be replaced with an alternative.