From 2a56e90bce58300ea67fa67c6a23588ba4f4b9a9 Mon Sep 17 00:00:00 2001 From: FudgeRookie Date: Thu, 18 Jun 2026 21:23:51 +0700 Subject: [PATCH] Support key_manifest in Aion2 parsing Add handling for entries named "key_manifest" in CUE4ParseViewModel. The code reads records using Aion2TextLocalizationResource.ReadKeyManifest(entry.Read()) and sets the tab document to a JSON object containing Version=2, RecordCount and Records, using the existing saveProperties/updateUi flow. This enables viewing key_manifest contents in the UI. --- FModel/ViewModels/CUE4ParseViewModel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index cf392929..801e31b5 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -1095,6 +1095,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 records = Aion2TextLocalizationResource.ReadKeyManifest(entry.Read()); + TabControl.SelectedTab.SetDocumentText(JsonConvert.SerializeObject(new { Version = 2, RecordCount = records.Count, Records = records }, Formatting.Indented), saveProperties, updateUi); + } else { FAion2DataFile datfile = entry.NameWithoutExtension switch