Rework for larger files

Up to 1.3GB instead of ~50MB
This commit is contained in:
Kurt
2015-07-01 22:11:50 -07:00
parent f9fcae5d79
commit 4b3e60e490

View File

@@ -62,7 +62,7 @@ private void openARC(string path, bool recursing = false)
{
// Pre-check file length to see if it is at least valid.
FileInfo fi = new FileInfo(path);
if (fi.Length > 50000000) { Util.Error("File is too big!"); return; }
if (fi.Length > 1300 * 1024 * 1024) { Util.Error("File is too big!"); return; }
string folderPath = Path.Combine(Path.GetDirectoryName(path), Path.GetFileNameWithoutExtension(path));
// Determine if it is a DARC or a Mini