Fixed the texture DIR <-> DAT mapping