mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
Rework for larger files
Up to 1.3GB instead of ~50MB
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user