mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-01 21:36:43 -05:00
ExHeaderPath use DecryptedExHeader.bin file
This commit is contained in:
@@ -354,7 +354,7 @@ private bool checkIfExHeader(string path)
|
||||
ExHeaderPath = null;
|
||||
// Input folder path should contain the ExHeader.
|
||||
string[] files = Directory.GetFiles(path);
|
||||
foreach (string fp in from s in files let f = new FileInfo(s) where f.Name.ToLower().StartsWith("exh") && f.Length == 0x800 select s)
|
||||
foreach (string fp in from s in files let f = new FileInfo(s) where (f.Name.ToLower().StartsWith("exh") || f.Name.ToLower().StartsWith("decryptedexh")) && f.Length == 0x800 select s)
|
||||
ExHeaderPath = fp;
|
||||
|
||||
return ExHeaderPath != null;
|
||||
|
||||
Reference in New Issue
Block a user