summaryrefslogtreecommitdiff
path: root/NW4RTools
diff options
context:
space:
mode:
Diffstat (limited to 'NW4RTools')
-rwxr-xr-xNW4RTools/ObjImporter.cs8
-rwxr-xr-xNW4RTools/bin/Debug/NW4RTools.dllbin237568 -> 237568 bytes
-rw-r--r--NW4RTools/bin/Debug/NW4RTools.dll.mdbbin114593 -> 114610 bytes
3 files changed, 8 insertions, 0 deletions
diff --git a/NW4RTools/ObjImporter.cs b/NW4RTools/ObjImporter.cs
index 7dfe043..dc128ce 100755
--- a/NW4RTools/ObjImporter.cs
+++ b/NW4RTools/ObjImporter.cs
@@ -785,6 +785,14 @@ namespace NW4RTools {
else
vtxSpecs = 0 | (1 << 2) | (1 << 4);
+ // setting up Unk in the hopes it will work, I think this is what it's for..
+ var unkStream = new OutputStream();
+ unkStream.WriteUInt32(vd1);
+ unkStream.WriteUInt32(vd2);
+ unkStream.WriteUInt32(vtxSpecs);
+ shape.Unk = unkStream.GetBuffer();
+
+ // now make the display list
var dl1 = new DisplayListWriter();
dl1.AddPadding(10);
dl1.LoadCPReg(0x50, vd1);
diff --git a/NW4RTools/bin/Debug/NW4RTools.dll b/NW4RTools/bin/Debug/NW4RTools.dll
index 0f298cf..111c9f0 100755
--- a/NW4RTools/bin/Debug/NW4RTools.dll
+++ b/NW4RTools/bin/Debug/NW4RTools.dll
Binary files differ
diff --git a/NW4RTools/bin/Debug/NW4RTools.dll.mdb b/NW4RTools/bin/Debug/NW4RTools.dll.mdb
index c7a54e3..83824f2 100644
--- a/NW4RTools/bin/Debug/NW4RTools.dll.mdb
+++ b/NW4RTools/bin/Debug/NW4RTools.dll.mdb
Binary files differ