Long story short I am working on a new PALETTE.DAT set for XCOM1/XCOM2 using Hex editing and Photoshop.
Can anyone explain to me PALETTE.DAT in more depth. On UFOPAEDIA wiki says 768 bytes is 1 palette but I found that is actually 778 and first color is always transparent.
Also seems palettes use 3 bytes instead of 4. How do I calculate what color am I dealing with from 3 bytes to 4?
Also I noticed some things are hardcoded for ex menus in XCOM1/XCOM2 use certain colors. Where is this menu color area and is it constant between the two games?
I mean essentially I am trying to make a palette for XCOM2 based on XCOM1 . Some areas of the hardcoded palette may not corespond. What areas are hardcoded?
See below for details