Compare commits

..

No commits in common. "main" and "v1.0" have entirely different histories.
main ... v1.0

1 changed files with 3 additions and 6 deletions

View File

@ -11,13 +11,10 @@ namespace LuckCatchers_Extractor
static void Main(string[] args) static void Main(string[] args)
{ {
br = new(File.OpenRead(args[0])); br = new(File.OpenRead(args[0]));
if (new string(br.ReadChars(8)) != "VOLUME0\0") br.BaseStream.Position = 8;
throw new System.Exception("This is not a LuckCatchers res file.");
System.Collections.Generic.List<Subfile> subfiles = new() System.Collections.Generic.List<Subfile> subfiles = new();
{ subfiles.Add(new());
new()
};
for(int i = 0; i < subfiles[0].size - 1; i++) for(int i = 0; i < subfiles[0].size - 1; i++)
subfiles.Add(new()); subfiles.Add(new());