DbD custom encryption handling

This commit is contained in:
LongerWarrior 2024-05-03 23:40:00 +03:00
parent 2df24242ac
commit 9a9eb02f05
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8edb3a46c989889aed56ebb2cf910bbcf8fa5bed
Subproject commit 38be126747f52c4a72f98d09de2d8073c4af750e

View File

@ -39,6 +39,7 @@ using CUE4Parse_Conversion;
using CUE4Parse_Conversion.Sounds;
using CUE4Parse.GameTypes.UDWN.Encryption.Aes;
using CUE4Parse.GameTypes.DBD.Encryption.Aes;
using EpicManifestParser;
using FModel.Creator;
@ -187,6 +188,7 @@ public class CUE4ParseViewModel : ViewModel
Provider.CustomEncryption = Provider.Versions.Game switch
{
EGame.GAME_Undawn => ToaaAes.ToaaDecrypt,
EGame.GAME_DeadbyDaylight => DbDAes.DbDDecrypt,
_ => Provider.CustomEncryption
};