Skip to content

Commit

Permalink
Fix some files in FPKs not decrypting properly
Browse files Browse the repository at this point in the history
  • Loading branch information
emoose committed Sep 30, 2015
1 parent a136f02 commit 62240ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GzsTool/Fpk/FpkEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private Func<Stream> ReadDataLazy(Stream input)

private bool DecryptCryptedFile(byte[] fileData, string filePath, out byte[] decryptedData)
{
var filename = Path.GetFileName(filePath);
var filename = Path.GetFileName(filePath).ToLower();
var hash = Hashing.HashFileNameLegacy(filename, false);
var key = BitConverter.GetBytes(~hash);

Expand Down

0 comments on commit 62240ca

Please sign in to comment.