diff --git a/hexpat/msh.hexpat b/datadoc/imhex/msh.hexpat similarity index 100% rename from hexpat/msh.hexpat rename to datadoc/imhex/msh.hexpat diff --git a/hexpat/pak.hexpat b/datadoc/imhex/pak.hexpat similarity index 100% rename from hexpat/pak.hexpat rename to datadoc/imhex/pak.hexpat diff --git a/hexpat/yatf.hexpat b/datadoc/imhex/yatf.hexpat similarity index 100% rename from hexpat/yatf.hexpat rename to datadoc/imhex/yatf.hexpat diff --git a/hexpat/mesh_researcher_pro_msh.py b/datadoc/mrp/mesh_researcher_pro_msh.py similarity index 92% rename from hexpat/mesh_researcher_pro_msh.py rename to datadoc/mrp/mesh_researcher_pro_msh.py index 7468c60..76e1330 100644 --- a/hexpat/mesh_researcher_pro_msh.py +++ b/datadoc/mrp/mesh_researcher_pro_msh.py @@ -85,7 +85,8 @@ for i in range(0, mesh_count): # Add it and set everything up, add verts, faces, # and normals/UV if provided mesh = mrp.create_mesh(mtlFilename) - mesh.set_vertices(verts[1], tp="Float") + # We set fm="XZY" cause Europa uses a Y-up coordinate system. + mesh.set_vertices(verts[1], fm="XZY", tp="Float") mesh.set_faces(faces[1], tp="Short") if normals[0] != 0: mesh.set_normals(normals[1], tp="Float")