diff --git a/investigation/Palette/generate-palette b/investigation/Palette/generate-palette deleted file mode 100755 index 72b39a8..0000000 --- a/investigation/Palette/generate-palette +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env ruby - -lines = File.read("palette.ppm").split("\n") -lines = lines.select { |l| l[0] != "#" } - -raise "Not an ASCII ppm" if lines.shift != "P3" -raise "Incorrect dimensions" unless lines.shift == "1 256" -raise "Incorrect maxval" unless lines.shift == "255" -raise "Too many lines left" unless lines.size == 768 - -puts < d:\warflics\missions\jungtil.flc -# - -0:DEF 2; - -0:TYPE 2; - -END OF FILE - - diff --git a/investigation/Palette/palette.obj b/investigation/Palette/palette.obj deleted file mode 100644 index eaf9938..0000000 Binary files a/investigation/Palette/palette.obj and /dev/null differ diff --git a/investigation/Palette/palette.obj.rendered-by-wh40k-td-screenshot.png b/investigation/Palette/palette.obj.rendered-by-wh40k-td-screenshot.png deleted file mode 100644 index 804e03e..0000000 Binary files a/investigation/Palette/palette.obj.rendered-by-wh40k-td-screenshot.png and /dev/null differ diff --git a/investigation/Palette/palette.ppm b/investigation/Palette/palette.ppm deleted file mode 100644 index 8d96e13..0000000 --- a/investigation/Palette/palette.ppm +++ /dev/null @@ -1,772 +0,0 @@ -P3 -# CREATOR: GIMP PNM Filter Version 1.1 -1 256 -255 -255 -255 -255 -128 -0 -0 -0 -128 -0 -128 -128 -0 -0 -0 -128 -128 -0 -128 -0 -128 -128 -192 -192 -192 -192 -220 -192 -166 -202 -240 -255 -255 -255 -240 -240 -240 -221 -221 -221 -203 -203 -203 -187 -187 -187 -178 -178 -178 -168 -168 -168 -157 -157 -157 -147 -147 -147 -137 -137 -137 -127 -127 -127 -117 -117 -117 -106 -106 -106 -96 -96 -96 -86 -86 -86 -76 -76 -76 -61 -61 -61 -49 -49 -49 -36 -36 -36 -24 -24 -24 -12 -12 -12 -0 -0 -0 -134 -134 -255 -113 -113 -241 -93 -93 -228 -72 -72 -214 -63 -63 -200 -55 -55 -186 -46 -46 -172 -38 -38 -158 -29 -29 -144 -20 -20 -131 -12 -12 -117 -3 -3 -103 -3 -3 -91 -3 -3 -79 -3 -3 -68 -3 -3 -56 -255 -145 -145 -242 -123 -123 -230 -101 -101 -217 -79 -79 -205 -70 -70 -193 -61 -61 -181 -53 -53 -169 -44 -44 -157 -35 -35 -144 -26 -26 -132 -18 -18 -120 -9 -9 -108 -8 -8 -94 -7 -7 -79 -7 -7 -65 -6 -6 -147 -142 -185 -132 -126 -172 -117 -109 -159 -102 -93 -146 -95 -86 -133 -88 -78 -123 -82 -73 -115 -77 -67 -107 -72 -61 -100 -67 -55 -92 -61 -50 -84 -56 -44 -76 -51 -38 -68 -46 -32 -60 -40 -27 -52 -35 -21 -44 -200 -150 -137 -187 -130 -115 -175 -110 -94 -164 -95 -77 -154 -79 -61 -143 -64 -44 -137 -60 -42 -132 -55 -38 -125 -50 -33 -120 -48 -29 -111 -44 -26 -103 -39 -24 -94 -35 -21 -83 -30 -18 -72 -25 -14 -61 -20 -10 -121 -107 -34 -109 -94 -29 -96 -82 -25 -84 -69 -20 -77 -62 -17 -70 -55 -14 -63 -47 -12 -56 -40 -9 -93 -120 -53 -80 -103 -42 -66 -86 -31 -53 -69 -20 -49 -60 -16 -45 -52 -12 -43 -44 -10 -43 -38 -8 -136 -145 -44 -118 -128 -37 -101 -111 -30 -83 -94 -23 -70 -79 -17 -56 -65 -11 -42 -50 -6 -28 -36 -0 -57 -134 -64 -48 -118 -54 -38 -101 -43 -29 -85 -33 -22 -71 -25 -15 -58 -17 -7 -45 -8 -0 -32 -0 -143 -87 -56 -126 -75 -45 -110 -64 -35 -93 -52 -24 -85 -44 -16 -72 -36 -12 -64 -32 -8 -56 -24 -4 -127 -96 -54 -115 -85 -46 -102 -75 -39 -90 -64 -31 -82 -57 -25 -75 -51 -20 -68 -44 -15 -61 -38 -10 -141 -86 -56 -126 -75 -46 -110 -65 -36 -95 -54 -26 -88 -51 -25 -73 -40 -18 -57 -29 -10 -42 -18 -3 -172 -199 -199 -138 -173 -173 -104 -148 -148 -71 -122 -122 -37 -97 -97 -3 -71 -71 -4 -56 -56 -4 -41 -41 -217 -209 -200 -202 -194 -184 -188 -178 -167 -173 -163 -151 -158 -147 -134 -148 -136 -123 -137 -125 -112 -126 -114 -101 -116 -104 -91 -105 -93 -80 -94 -82 -69 -84 -71 -58 -73 -60 -47 -62 -50 -36 -52 -39 -25 -41 -28 -14 -231 -232 -207 -219 -217 -180 -208 -201 -152 -196 -186 -125 -184 -171 -98 -173 -155 -70 -161 -140 -43 -150 -129 -39 -139 -119 -37 -127 -109 -33 -117 -99 -29 -105 -89 -25 -90 -76 -21 -75 -62 -18 -60 -49 -14 -45 -35 -10 -128 -99 -127 -113 -73 -112 -97 -47 -97 -82 -21 -82 -75 -2 -74 -68 -2 -67 -52 -3 -50 -35 -4 -33 -247 -178 -102 -229 -152 -75 -212 -127 -48 -194 -101 -21 -179 -87 -16 -161 -73 -12 -142 -59 -9 -124 -45 -5 -255 -0 -0 -194 -3 -3 -161 -2 -2 -255 -227 -11 -209 -185 -8 -169 -150 -6 -103 -190 -255 -2 -130 -232 -4 -4 -209 -0 -255 -0 -7 -180 -7 -3 -132 -3 -255 -114 -230 -255 -17 -205 -203 -6 -156 -246 -164 -73 -221 -123 -16 -177 -95 -4 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -0 -132 -18 -18 -113 -13 -13 -94 -7 -7 -107 -8 -8 -120 -9 -9 -193 -62 -62 -181 -54 -54 -168 -45 -45 -157 -36 -36 -144 -27 -27 -62 -50 -36 -57 -45 -31 -52 -39 -25 -46 -34 -20 -41 -28 -14 -255 -251 -240 -160 -160 -164 -128 -128 -128 -255 -0 -0 -0 -255 -0 -255 -255 -0 -0 -0 -255 -255 -0 -255 -0 -255 -255 -255 -255 -255 diff --git a/investigation/Palette/palette.rgb.raw b/investigation/Palette/palette.rgb.raw deleted file mode 100644 index 8b1aeb4..0000000 Binary files a/investigation/Palette/palette.rgb.raw and /dev/null differ diff --git a/investigation/Palette/palette.txt b/investigation/Palette/palette.txt deleted file mode 100644 index 175c931..0000000 --- a/investigation/Palette/palette.txt +++ /dev/null @@ -1,13 +0,0 @@ -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. - - diff --git a/investigation/Palette/palette.xcf b/investigation/Palette/palette.xcf deleted file mode 100644 index b686042..0000000 Binary files a/investigation/Palette/palette.xcf and /dev/null differ