Compare commits
2 Commits
35a11c18f6
...
f80e0fdedb
Author | SHA1 | Date |
---|---|---|
NintenHero | f80e0fdedb | |
NintenHero | 44992f3647 |
|
@ -20,9 +20,7 @@ namespace Warspear_Online_Extractor
|
||||||
|
|
||||||
System.Collections.Generic.List<Subfile> subfiles = new();
|
System.Collections.Generic.List<Subfile> subfiles = new();
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
{
|
|
||||||
subfiles.Add(new());
|
subfiles.Add(new());
|
||||||
}
|
|
||||||
|
|
||||||
string path = Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + "//";
|
string path = Path.GetDirectoryName(args[0]) + "//" + Path.GetFileNameWithoutExtension(args[0]) + "//";
|
||||||
foreach (Subfile file in subfiles)
|
foreach (Subfile file in subfiles)
|
||||||
|
@ -37,9 +35,7 @@ namespace Warspear_Online_Extractor
|
||||||
|
|
||||||
class Subfile
|
class Subfile
|
||||||
{
|
{
|
||||||
public int start = br.ReadInt32();
|
public int start = br.ReadInt32(), size = br.ReadInt32(), unknown = br.ReadInt32();
|
||||||
public int size = br.ReadInt32();
|
|
||||||
int unknown = br.ReadInt32();
|
|
||||||
byte unknown2 = br.ReadByte();
|
byte unknown2 = br.ReadByte();
|
||||||
public string name = new string(br.ReadChars(55)).TrimEnd('\0');
|
public string name = new string(br.ReadChars(55)).TrimEnd('\0');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue