upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/rpf9dump/Program.cs
diff options
context:
space:
mode:
authorKacper Serewiś <kacper@serewis.nl>2026-11-23 16:51:11 +0100
committerGitHub <noreply@github.com>2026-11-23 09:51:11 -0600
commitc8ab834e0315abc8a93584587b2c8e68f9b9c119 (patch)
treecc31ab34716e91447b7bae8a37cf41c1e9d44365 /tools/rpf9dump/Program.cs
parentee56bf9335fce297c8db660703fd50fe86a6974e (diff)
Preserve TTPF texture depth and dimension in pool manifests (#6838)
Squash-merged after diff review of PR #6838 - ASSET-579: Preserve TTPF texture depth and dimension in pool manifests
Diffstat (limited to 'tools/rpf9dump/Program.cs')
-rw-r--r--tools/rpf9dump/Program.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/rpf9dump/Program.cs b/tools/rpf9dump/Program.cs
index b04d49c01..efb4c9989 100644
--- a/tools/rpf9dump/Program.cs
+++ b/tools/rpf9dump/Program.cs
@@ -100,7 +100,8 @@ if (mode == "ttpf")
100 int n = Interlocked.Increment(ref done); 100 int n = Interlocked.Increment(ref done);
101 if (n % 5000 == 0) Console.WriteLine($" {n}/{info.Textures.Count}"); 101 if (n % 5000 == 0) Console.WriteLine($" {n}/{info.Textures.Count}");
102 } 102 }
103 rows[i] = new { t.Index, t.Name, t.Id, AssetKey = t.AssetKey.ToString("X16"), t.Width, t.Height, t.DxgiFormat, t.Mips, t.SourceMips, t.BaseMipLevel, Limitation = limitation, File = file }; 103 rows[i] = new { t.Index, t.Name, t.Id, AssetKey = t.AssetKey.ToString("X16"), t.Width, t.Height,
104 t.Depth, t.Dimension, t.DxgiFormat, t.Mips, t.SourceMips, t.BaseMipLevel, Limitation = limitation, File = file };
104 }); 105 });
105 // The manifest is the build's completion marker. Keep successful DDS for retry, but withdraw a stale marker. 106 // The manifest is the build's completion marker. Keep successful DDS for retry, but withdraw a stale marker.
106 string manifest = Path.Combine(outDir, "manifest.json"); 107 string manifest = Path.Combine(outDir, "manifest.json");