summaryrefslogtreecommitdiff
path: root/TestApp/Main.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--TestApp/Main.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/TestApp/Main.cs b/TestApp/Main.cs
index 408c95f..3eb49a4 100644
--- a/TestApp/Main.cs
+++ b/TestApp/Main.cs
@@ -8,7 +8,7 @@ namespace TestApp {
public static void Main(string[] args) {
string mdlPath = "/home/me/Games/Newer/ModelRev/";
- string mdlName = "CS_W9";
+ string mdlName = "CS_W1";
//string mdlName = "bgB_4502";
string whatever = (mdlName == "CS_W2" || mdlName == "CS_W3" || mdlName == "CS_W6") ? "a" : "";
@@ -19,7 +19,7 @@ namespace TestApp {
var texs = rf.GetGroup<Texture>("Textures(NW4R)");
// wtf C#?!
foreach (var kv in (IEnumerable<KeyValuePair<string,Texture>>)texs) {
- kv.Value.BaseImage.Save(mdlPath + kv.Key + ".png");
+ kv.Value.BaseImage.Save(mdlPath + "images/" + kv.Key + ".png");
}
//var objFile = File.Open(mdlPath + mdlName + ".obj", FileMode.OpenOrCreate);