Code for 1.5.x texture system (still needs texture file broken up)