From 5221c977fe9c7129770bfa1f6201b4ba494c3148 Mon Sep 17 00:00:00 2001 From: NintenHero Date: Fri, 3 Oct 2025 14:54:32 -0500 Subject: [PATCH] Rename start to offset. --- Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index f3033aa..83926a9 100644 --- a/Program.cs +++ b/Program.cs @@ -26,7 +26,7 @@ namespace Temple_Gates_Extractor string path = Path.GetDirectoryName(args[0]) + "\\" + Path.GetFileNameWithoutExtension(args[0]) + "\\"; foreach (Subfile file in subfiles) { - br.BaseStream.Position = file.start; + br.BaseStream.Position = file.offset; Directory.CreateDirectory(path + Path.GetDirectoryName(file.name)); BinaryWriter bw = new(File.Create(path + file.name)); bw.Write(br.ReadBytes(file.size)); @@ -39,7 +39,7 @@ namespace Temple_Gates_Extractor int unknown1 = br.ReadInt32(); int unknown2 = br.ReadInt32(); float checksum = br.ReadSingle(); - public int start = br.ReadInt32(); + public int offset = br.ReadInt32(); public int size = br.ReadInt32(); int unknown3 = br.ReadInt32(); int unknown4 = br.ReadInt32();