Repository navigation
Add batch Mod actions, menu-state filtering and loader auto-save - #68
Merged
Merged
Conversation
Batch: the Mod list can add several Mods to a combination preset, copy them to a folder or delete them. Delete reuses the single-Mod removal, including its loader links, and stays permanent like before. Menu state: saving a state slot leaves out variables that only hold a Mod menu's open state, page or position, so restoring does not reopen or move the menu. The rules come from real variable names and stay narrow. The main window lists them so any can be kept; the overlay reports how many it left out; a setting turns this off. Saved slots are unchanged. Loader auto-save: the Shortcuts page can set settings_auto_save_interval in d3dx.ini [System], with a backup and a way back to the original value. XXMI: any repository can choose its importer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改内容 / Summary
路线图 C1(大部分)、C4、C6,以及 G3 的自定义导入器。
MainWindow.BatchModActions.cs,可把多个 Mod 加入组合预设、复制到文件夹或删除。单个删除的逻辑抽成RemoveModAndItsLinks,批量删除共用它,先移除加载器里的链接再删目录。批量加标签原来就有。TransientVariablePolicy。规则取自维护者仓库里 1443 个真实变量名,只过滤菜单开关、页码和菜单、图标、面板的位置;调色盘位置和外观参数一律保留。一个 Mod 的变量如果全部命中,就不过滤,避免存出空槽位。只在保存时生效,已保存的槽位不变。LoaderAutoSaveSetting,只读写d3dx.ini[System]里的settings_auto_save_interval,只改数字,其余内容不动。XxmiImporter,优先于游戏预设。EFMI 不在可选列表里,因为终末地有自己的集成启动。用户可见变化 / User-visible Changes
d3dx.ini,可以恢复原值。KeepMenuStateVariables、LoaderAutoSaveOriginals、XxmiImporter,旧配置可以直接读入。验证 / Verification
scripts/test-all.ps1/ Ranscripts/test-all.ps1scripts/test-all.ps1全部通过(Core 1506、数据 24、更新器 32、Endfield 47),scripts/check-code-style.ps1也已通过。已确认:演示环境打开批量对话框,显示正常,没有错误日志。
未验证:
相关 Issue / Related Issue
无 / None
🤖 Generated with Claude Code