diff options
author | Treeki <treeki@gmail.com> | 2011-02-11 22:35:05 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-02-11 22:35:05 +0100 |
commit | 6d779d24736ad2ddb2a95e36a4122886308ecf13 (patch) | |
tree | 395e6bf4e53d16d416b880d03d6398bbfa6f0ecd /TestApp | |
parent | f6f657812c1973172d25d7895aabb37f900071a7 (diff) | |
download | nw4rtools-6d779d24736ad2ddb2a95e36a4122886308ecf13.tar.gz nw4rtools-6d779d24736ad2ddb2a95e36a4122886308ecf13.zip |
part of a basic collada exporter
Diffstat (limited to '')
-rw-r--r-- | TestApp/Main.cs | 8 | ||||
-rw-r--r-- | TestApp/TestApp.pidb | bin | 3039 -> 3039 bytes | |||
-rwxr-xr-x | TestApp/bin/Debug/NW4RTools.dll | bin | 40448 -> 157184 bytes | |||
-rw-r--r-- | TestApp/bin/Debug/NW4RTools.dll.mdb | bin | 13672 -> 87288 bytes | |||
-rwxr-xr-x | TestApp/bin/Debug/TestApp.exe | bin | 4096 -> 4096 bytes | |||
-rw-r--r-- | TestApp/bin/Debug/TestApp.exe.mdb | bin | 471 -> 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 Binary files differindex 8cd730e..e277998 100644 --- a/TestApp/TestApp.pidb +++ b/TestApp/TestApp.pidb diff --git a/TestApp/bin/Debug/NW4RTools.dll b/TestApp/bin/Debug/NW4RTools.dll Binary files differindex b0fe3d4..5d89012 100755 --- a/TestApp/bin/Debug/NW4RTools.dll +++ b/TestApp/bin/Debug/NW4RTools.dll diff --git a/TestApp/bin/Debug/NW4RTools.dll.mdb b/TestApp/bin/Debug/NW4RTools.dll.mdb Binary files differindex 9b65235..662ff6c 100644 --- a/TestApp/bin/Debug/NW4RTools.dll.mdb +++ b/TestApp/bin/Debug/NW4RTools.dll.mdb diff --git a/TestApp/bin/Debug/TestApp.exe b/TestApp/bin/Debug/TestApp.exe Binary files differindex 08f7be6..5955864 100755 --- a/TestApp/bin/Debug/TestApp.exe +++ b/TestApp/bin/Debug/TestApp.exe diff --git a/TestApp/bin/Debug/TestApp.exe.mdb b/TestApp/bin/Debug/TestApp.exe.mdb Binary files differindex 98cfa9d..b921fad 100644 --- a/TestApp/bin/Debug/TestApp.exe.mdb +++ b/TestApp/bin/Debug/TestApp.exe.mdb |