Deweh / CyberCAT-SimpleGUI

A simplified offshoot of SirBitesalot's CyberCAT.
MIT License
232 stars 44 forks source link

Preset cross-compatibility with https://github.com/Nats-ji/CP77-Character-Preset-Loader #29

Open Deweh opened 3 years ago

Deweh commented 3 years ago

The format looks fairly straightforward after removing all "4294967295" elements.

Apparent order of elements: 0 - Skin Tone (0-indexed) 1 - Skin Type (0-indexed) 2 - Hair Style (0-indexed) 3 - Unknown (possibly a duplicate of Hair Style?) 4 - Hair Color (0-indexed) 5 - Eyes (0-indexed) 6 - Eye Color (0-indexed) 7 - Eyebrows (0-indexed? Needs confirmation.) 8 - Eyebrow Color (0-indexed) 9 - Nose (0-indexed) 10 - Mouth (0-indexed) 11 - Jaw (0-indexed) 12 - Ears (0-indexed) 13 - Cyberware (1-indexed) 14 - Facial Scars (1-indexed) 15 - Unknown (possibly a duplicate of Facial Scars?) 16 - Facial Tattoo (1-indexed) 17 - Unknown (possibly a duplicate of Facial Tattoo?) 18 - Unknown 19 - Piercing (1-indexed) 20 - Piercing Color (?-indexed) 21 - Teeth (1-indexed) 22 - Eye Makeup (1-indexed) 23 - Eye Makeup Color (0-indexed) 24 - Lip Makeup (1-indexed) 25 - Lip Makeup Color (?-indexed) 26 - Cheek Makeup (1-indexed) 27 - Cheek Makeup Color (0-indexed) 28 - Blemishes (1-indexed) 29 - Blemish Color (0-indexed) 30 - Nails (0-indexed) 31 - Nail Color (0-indexed) 32 - Chest (0-indexed? Needs confirmation.) 33 - Unknown 34 - Unknown 35 - Nipples (0-indexed) 36 - Body Tattoo (0-indexed) 37 - 43 Unknown 44 - Pubic Hair Style (1-indexed) 45 - Pubic Hair Color (0-indexed) 46-48 Unknown

seberoth commented 3 years ago

https://gist.github.com/seberoth/f3efe6a59cad1125882b847c3bcb822b

This is the list of options. If for example "hair_color11" is selected, "hairstyle" is 11, "hair_color11" is the color index and "hair_color1" - "hair_color10" and "hair_color12" - "hair_color_none" are uint.max (4294967295)

Deweh commented 3 years ago

Ah, I see. That's definitely an interesting way of storing things.

Also, I'm not sure if that list got cut off at the end, but it seems to have less elements than the presets (181 in the list, 193 in presets)

seberoth commented 3 years ago

Oups, my bad. List is updated