Compare commits

..

No commits in common. "f80e0fdedb142401bbb0f95a6248e88c810bdaf5" and "35a11c18f6b7ff29ca803f3c2ddd76842caf7d2f" have entirely different histories.

1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,9 @@ namespace Warspear_Online_Extractor
System.Collections.Generic.List<Subfile> subfiles = new();
for (int i = 0; i < count; i++)
{
subfiles.Add(new());
}
string path = Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + "//";
foreach (Subfile file in subfiles)
@ -35,7 +37,9 @@ namespace Warspear_Online_Extractor
class Subfile
{
public int start = br.ReadInt32(), size = br.ReadInt32(), unknown = br.ReadInt32();
public int start = br.ReadInt32();
public int size = br.ReadInt32();
int unknown = br.ReadInt32();
byte unknown2 = br.ReadByte();
public string name = new string(br.ReadChars(55)).TrimEnd('\0');
}