14 lines
544 B
Plaintext
14 lines
544 B
Plaintext
To build this palette, I did the following:
|
|
|
|
* Created the .asn + .obj files by hand
|
|
* Referenced them in a .set file and asked WH40K_TD.exe to render the sprites
|
|
* Screenshotted the output and used GIMP to create a 1x255 image with them all
|
|
* Exported that image as an ASCII .ppm file
|
|
* Used the `generate_palette` script to output Go code \o/
|
|
|
|
Note that palette index 0 is ignored, and hardcoded to be transparent black.
|
|
This is because 0x00 seems to be used as a record separator in .obj files, so
|
|
can't be used as a palette index anyway.
|
|
|
|
|