Add PBD Post-Processor that appends EPBD data if the loaded PBD does not contain it.

This commit is contained in:
Ottermandias 2025-08-13 16:50:26 +02:00
parent 9aff388e21
commit a7246b9d98
8 changed files with 187 additions and 52 deletions

View file

@ -8,6 +8,7 @@ using OtterGui.Compression;
using OtterGui.Raii;
using OtterGui.Text;
using OtterGui.Widgets;
using Penumbra.GameData.Data;
using Penumbra.GameData.Files;
using Penumbra.Mods.Editor;
using Penumbra.Services;
@ -80,7 +81,7 @@ public class FileEditor<T>(
private Exception? _currentException;
private bool _changed;
private string _defaultPath = string.Empty;
private string _defaultPath = typeof(T) == typeof(ModEditWindow.PbdTab) ? GamePaths.Pbd.Path : string.Empty;
private bool _inInput;
private Utf8GamePath _defaultPathUtf8;
private bool _isDefaultPathUtf8Valid;