summaryrefslogtreecommitdiff
path: root/TestApp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-02-11 22:35:05 +0100
committerTreeki <treeki@gmail.com>2011-02-11 22:35:05 +0100
commit6d779d24736ad2ddb2a95e36a4122886308ecf13 (patch)
tree395e6bf4e53d16d416b880d03d6398bbfa6f0ecd /TestApp
parentf6f657812c1973172d25d7895aabb37f900071a7 (diff)
downloadnw4rtools-6d779d24736ad2ddb2a95e36a4122886308ecf13.tar.gz
nw4rtools-6d779d24736ad2ddb2a95e36a4122886308ecf13.zip
part of a basic collada exporter
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