0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 00:18:02 +03:00

update NRES file with element count and element size, seen in ResTree .trf

This commit is contained in:
bird_egop
2025-03-09 22:56:59 +03:00
parent 8c4fc8f096
commit a419be1fce
5 changed files with 36 additions and 11 deletions

View File

@ -30,7 +30,7 @@ public class NResExporter
extension = ".bin";
}
var targetFilePath = Path.Combine(targetDirectoryPath, $"{archiveFile.Index}_{fileName}{extension}");
var targetFilePath = Path.Combine(targetDirectoryPath, $"{archiveFile.Index}_{archiveFile.FileType}_{fileName}{extension}");
File.WriteAllBytes(targetFilePath, buffer);
}