bump
Some checks failed
FModel QA Builder / build (push) Has been cancelled

This commit is contained in:
LongerWarrior 2024-10-04 01:32:57 +03:00
parent cd3a41d18c
commit e668c53947
2 changed files with 20 additions and 17 deletions

@ -1 +1 @@
Subproject commit f30b4807467a6d91bdb10210ff20db5812160bbf
Subproject commit 69c713361fb53c07a5c55a771555817d2bd28159

View File

@ -15,6 +15,7 @@ using CUE4Parse.Compression;
using CUE4Parse.Encryption.Aes;
using CUE4Parse.FileProvider;
using CUE4Parse.FileProvider.Vfs;
using CUE4Parse.GameTypes.ApexMobile.Encryption.Aes;
using CUE4Parse.GameTypes.DBD.Encryption.Aes;
using CUE4Parse.GameTypes.DeltaForce.Encryption.Aes;
using CUE4Parse.GameTypes.DreamStar.Encryption.Aes;
@ -24,6 +25,7 @@ using CUE4Parse.GameTypes.MJS.Encryption.Aes;
using CUE4Parse.GameTypes.NetEase.MAR.Encryption.Aes;
using CUE4Parse.GameTypes.PAXDEI.Encryption.Aes;
using CUE4Parse.GameTypes.Rennsport.Encryption.Aes;
using CUE4Parse.GameTypes.Snowbreak.Encryption.Aes;
using CUE4Parse.GameTypes.UDWN.Encryption.Aes;
using CUE4Parse.GameTypes.THPS.Encryption.Aes;
using CUE4Parse.MappingsProvider;
@ -50,7 +52,6 @@ using CUE4Parse.UE4.Wwise;
using CUE4Parse_Conversion;
using CUE4Parse_Conversion.Sounds;
using EpicManifestParser;
using FModel.Creator;
@ -192,6 +193,8 @@ public class CUE4ParseViewModel : ViewModel
Provider.ReadScriptData = UserSettings.Default.ReadScriptData;
Provider.CustomEncryption = Provider.Versions.Game switch
{
EGame.GAME_ApexLegendsMobile => ApexLegendsMobileAes.DecryptApexMobile,
EGame.GAME_Snowbreak => SnowbreakAes.SnowbreakDecrypt,
EGame.GAME_MarvelRivals => MarvelAes.MarvelDecrypt,
EGame.GAME_Undawn => ToaaAes.ToaaDecrypt,
EGame.GAME_DeadByDaylight => DBDAes.DbDDecrypt,
@ -685,7 +688,7 @@ public class CUE4ParseViewModel : ViewModel
break;
}
case "bin" when fileName.Contains("GlobalShaderCache"):
case "bin" when fileName.Contains("GlobalShaderCache", StringComparison.OrdinalIgnoreCase):
{
if (Provider.TryCreateReader(fullPath, out var archive))
{