mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
GlobalShaderCache and TonyHawkProSkater support
Some checks are pending
FModel QA Builder / build (push) Waiting to run
Some checks are pending
FModel QA Builder / build (push) Waiting to run
This commit is contained in:
parent
d5e7aba05c
commit
bde2ce54ed
|
|
@ -1 +1 @@
|
|||
Subproject commit 528eef3c951f031612b69aa1e594e981f5e194bd
|
||||
Subproject commit 76fcf8cca1e5cc0e8949f56eecdf43986235706b
|
||||
|
|
@ -24,7 +24,8 @@ 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.UDWN.Encryption.Aes;
|
||||
using CUE4Parse.GameTypes.UDWN.Encryption.Aes;
|
||||
using CUE4Parse.GameTypes.THPS.Encryption.Aes;
|
||||
using CUE4Parse.MappingsProvider;
|
||||
using CUE4Parse.UE4.AssetRegistry;
|
||||
using CUE4Parse.UE4.Assets.Exports;
|
||||
|
|
@ -200,7 +201,8 @@ public class CUE4ParseViewModel : ViewModel
|
|||
EGame.GAME_DeltaForceHawkOps => DeltaForceAes.DeltaForceDecrypt,
|
||||
EGame.GAME_MonsterJamShowdown => MonsterJamShowdownAes.MonsterJamShowdownDecrypt,
|
||||
EGame.GAME_Rennsport => RennsportAes.RennsportDecrypt,
|
||||
EGame.GAME_FunkoFusion => FunkoFusionAes.FunkoFusionDecrypt,
|
||||
EGame.GAME_FunkoFusion => FunkoFusionAes.FunkoFusionDecrypt,
|
||||
EGame.GAME_TonyHawkProSkater12 => THPS12Aes.THPS12Decrypt,
|
||||
_ => Provider.CustomEncryption
|
||||
};
|
||||
|
||||
|
|
@ -682,6 +684,16 @@ public class CUE4ParseViewModel : ViewModel
|
|||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case "bin" when fileName.Contains("GlobalShaderCache"):
|
||||
{
|
||||
if (Provider.TryCreateReader(fullPath, out var archive))
|
||||
{
|
||||
var registry = new FGlobalShaderCache(archive);
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(registry, Formatting.Indented), saveProperties, updateUi);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case "bnk":
|
||||
case "pck":
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user