Awesome Leo, thanks for the info. I took a quick dive in your files and found it in texture_maker.pas
for triangles:
PI := ((TR1[LOD, ii].UKN13 shr 6) *4) +(TR1[LOD, ii].UKN13 and $003F);
for quads:
PI := ((QU1[LOD, ii].UKN12 shr 6) *4) +(QU1[LOD, ii].UKN12 and $003F);
I have never seen a situation like this before, but then again this is an old game and they used old tricks to get things rendered
Thanks again for the sources. would it also be possible for you to send me the sources of your track tool, perhaps via PM?