summaryrefslogtreecommitdiff
path: root/TestApp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--TestApp/Main.cs8
-rw-r--r--TestApp/TestApp.pidbbin3039 -> 3039 bytes
-rwxr-xr-xTestApp/bin/Debug/NW4RTools.dllbin40448 -> 157184 bytes
-rw-r--r--TestApp/bin/Debug/NW4RTools.dll.mdbbin13672 -> 87288 bytes
-rwxr-xr-xTestApp/bin/Debug/TestApp.exebin4096 -> 4096 bytes
-rw-r--r--TestApp/bin/Debug/TestApp.exe.mdbbin471 -> 464 bytes
6 files changed, 5 insertions, 3 deletions
diff --git a/TestApp/Main.cs b/TestApp/Main.cs
index b6713e2..a4d9545 100644
--- a/TestApp/Main.cs
+++ b/TestApp/Main.cs
@@ -13,9 +13,11 @@ namespace TestApp {
byte[] file = File.ReadAllBytes(mdlPath + mdlName + ".brres");
ResFile rf = BrresReader.LoadFile(file);
- var objFile = File.Open(mdlPath + mdlName + ".obj", FileMode.OpenOrCreate);
- var sw = new StreamWriter(objFile);
- ObjWriter.WriteModel(sw, rf, mdlName);
+ //var objFile = File.Open(mdlPath + mdlName + ".obj", FileMode.OpenOrCreate);
+ var objFile = File.Open(mdlPath + mdlName + ".dae", FileMode.OpenOrCreate);
+ //var sw = new StreamWriter(objFile);
+ //ObjWriter.WriteModel(sw, rf, mdlName);
+ ColladaWriter.WriteModel(objFile, rf, mdlName);
objFile.Close();
}
}
diff --git a/TestApp/TestApp.pidb b/TestApp/TestApp.pidb
index 8cd730e..e277998 100644
--- a/TestApp/TestApp.pidb
+++ b/TestApp/TestApp.pidb
Binary files differ
diff --git a/TestApp/bin/Debug/NW4RTools.dll b/TestApp/bin/Debug/NW4RTools.dll
index b0fe3d4..5d89012 100755
--- a/TestApp/bin/Debug/NW4RTools.dll
+++ b/TestApp/bin/Debug/NW4RTools.dll
Binary files differ
diff --git a/TestApp/bin/Debug/NW4RTools.dll.mdb b/TestApp/bin/Debug/NW4RTools.dll.mdb
index 9b65235..662ff6c 100644
--- a/TestApp/bin/Debug/NW4RTools.dll.mdb
+++ b/TestApp/bin/Debug/NW4RTools.dll.mdb
Binary files differ
diff --git a/TestApp/bin/Debug/TestApp.exe b/TestApp/bin/Debug/TestApp.exe
index 08f7be6..5955864 100755
--- a/TestApp/bin/Debug/TestApp.exe
+++ b/TestApp/bin/Debug/TestApp.exe
Binary files differ
diff --git a/TestApp/bin/Debug/TestApp.exe.mdb b/TestApp/bin/Debug/TestApp.exe.mdb
index 98cfa9d..b921fad 100644
--- a/TestApp/bin/Debug/TestApp.exe.mdb
+++ b/TestApp/bin/Debug/TestApp.exe.mdb
Binary files differ