Skip to content

Commit 08dd6cb

Browse files
committed
add mod xd3 sb4 vertex types
1 parent 4e40781 commit 08dd6cb

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed

src/mtf_mod/common.cpp

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,83 @@ std::map<uint32, MODAttributes> fallbackFormats{
498498
VertexColor,
499499
},
500500
},
501+
{
502+
// xd3 be, sb4
503+
0xb6681034, // P3f_N4c_T4c_U2h_U2h_VC4c_U2h_unk
504+
{
505+
VertexPosition,
506+
VertexNormal,
507+
VertexTangent,
508+
TexCoord,
509+
TexCoord,
510+
VertexColor,
511+
TexCoord,
512+
V{D::R32, F::UINT, U::Undefined},
513+
},
514+
},
515+
{
516+
// xd3 be, sb4
517+
0x49b4f029, // P3f_N4c_T4c_U2h_VC4c_unk
518+
{
519+
VertexPosition,
520+
VertexNormal,
521+
VertexTangent,
522+
TexCoord,
523+
VertexColor,
524+
V{D::R32, F::UINT, U::Undefined},
525+
},
526+
},
527+
{
528+
// xd3 be, sb4
529+
0x926fd02e, // P3f_N4c_T4c_U2h_U2h_VC4c_VC4c_unk
530+
{
531+
VertexPosition,
532+
VertexNormal,
533+
VertexTangent,
534+
TexCoord,
535+
TexCoord,
536+
VertexColor,
537+
V{D::R32, F::UINT, U::Undefined},
538+
},
539+
},
540+
{
541+
// xd3 be, sb4
542+
0x9399c033, // P3f_N4c_T4c_U2h_U2h_VC4c_unk
543+
{
544+
VertexPosition,
545+
VertexNormal,
546+
VertexTangent,
547+
TexCoord,
548+
TexCoord,
549+
VertexColor,
550+
V{D::R32, F::UINT, U::Undefined},
551+
},
552+
},
553+
{
554+
// xd3 be, sb4
555+
0x5e7f202c, // P3f_N4c_T4c_U2h_U2h_unk
556+
{
557+
VertexPosition,
558+
VertexNormal,
559+
VertexTangent,
560+
TexCoord,
561+
TexCoord,
562+
V{D::R32, F::UINT, U::Undefined},
563+
},
564+
},
565+
{
566+
// xd3 be, sb4
567+
0x747d1031, // P3f_N4c_T4c_U2h_U2h_U2h_unk
568+
{
569+
VertexPosition,
570+
VertexNormal,
571+
VertexTangent,
572+
TexCoord,
573+
TexCoord,
574+
TexCoord,
575+
V{D::R32, F::UINT, U::Undefined},
576+
},
577+
},
501578
};
502579

503580
std::map<uint32, MODAttributes> formats{

0 commit comments

Comments
 (0)