mirror of
https://github.com/4sval/FModel.git
synced 2026-08-06 11:12:53 -05:00
Back4Blood support
This commit is contained in:
parent
a660c27bcc
commit
2fefbfebb6
|
|
@ -1 +1 @@
|
|||
Subproject commit 024b005c4d15e8082ecebfb202700d59bb6113c0
|
||||
Subproject commit e218a3bbd67e4dfc198350179aa25bcdaedb4077
|
||||
|
|
@ -49,6 +49,7 @@ using CUE4Parse.UE4.BinaryConfig;
|
|||
using CUE4Parse.UE4.CriWare;
|
||||
using CUE4Parse.UE4.CriWare.Readers;
|
||||
using CUE4Parse.UE4.FMod;
|
||||
using CUE4Parse.UE4.GameFeatures;
|
||||
using CUE4Parse.UE4.IO;
|
||||
using CUE4Parse.UE4.Localization;
|
||||
using CUE4Parse.UE4.Lua.unluac;
|
||||
|
|
@ -851,6 +852,13 @@ public class CUE4ParseViewModel : ViewModel
|
|||
|
||||
break;
|
||||
}
|
||||
case "bin" when entry.Name.Contains("GameFeatureVersePaths", StringComparison.OrdinalIgnoreCase):
|
||||
{
|
||||
var archive = entry.CreateReader();
|
||||
var versePathLookup = new FGameFeatureVersePathLookup(archive);
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(versePathLookup, Formatting.Indented), saveProperties, updateUi);
|
||||
break;
|
||||
}
|
||||
case "bank":
|
||||
{
|
||||
var archive = entry.CreateReader();
|
||||
|
|
@ -1096,6 +1104,11 @@ public class CUE4ParseViewModel : ViewModel
|
|||
var l10nData = new FAion2L10NFile(entry, Provider);
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(l10nData, Formatting.Indented), saveProperties, updateUi);
|
||||
}
|
||||
else if (entry.NameWithoutExtension.Equals("key_manifest"))
|
||||
{
|
||||
var keymanifest = new FAion2KeyManifestFile(entry, Provider);
|
||||
TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(keymanifest, Formatting.Indented), saveProperties, updateUi);
|
||||
}
|
||||
else
|
||||
{
|
||||
FAion2DataFile datfile = entry.NameWithoutExtension switch
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user