And in case anyone is wondering wtf the difference between the types are I thought I'd post this table as well:
Type Primitive Color Modifier type Textured 32BIT UV ---- --------- ----- ------------- -------- -------- 00 Polygon Packed Shadow No - 01 Polygon Float Shadow No - 02 Polygon Intensity Shadow No - 03 Polygon Packed Shadow Yes Yes 04 Polygon Packed Shadow Yes No 05 Polygon Float Shadow Yes Yes 06 Polygon Float Shadow Yes No 07 Polygon Intensity Shadow Yes Yes 08 Polygon Intensity Shadow Yes No 09 Polygon Packed Two-parameter No - 10 Polygon Intensity Two-parameter No - 11 Polygon Packed Two-parameter Yes Yes 12 Polygon Packed Two-parameter Yes No 13 Polygon Intensity Two-parameter Yes Yes 14 Polygon Intensity Two-parameter Yes No 15 Sprite Packed - No - 16 Sprite Packed - Yes No 17 Modifier - - - -
And since this is quite a beast I haven't tested all of it. So let me know if something seems messed up.