Skip to content

Releases: Dustdustry/PatchEditor

v1.8.2

28 Mar 02:48

Choose a tag to compare

v1.8.2

✨ 新特性

  • 建筑分类能力增强:编辑器现在支持更清晰的建筑分类展示,便于快速定位目标节点。

🐛 修复

  • 追加操作未及时刷新 UI:修复了追加后界面状态不同步的问题。
  • 移除无效节点误清空补丁:修复了特定场景下移除无效节点会导致全部补丁被清除的问题。

🎨 优化

  • 清理过期污染提示:移除了已修复问题对应的旧提示,减少误导信息。

———

✨ Features

  • Enhanced building categorization: The editor now presents building categories more clearly for faster node discovery.

🐛 Bug Fixes

  • UI not refreshing after append: Fixed a synchronization issue where appended content did not update in time.
  • Invalid node removal clearing all patches: Fixed an issue where removing invalid nodes could clear all patches in specific scenarios.

🎨 Improvements

  • Removed obsolete pollution hints: Cleaned up outdated hints tied to already-fixed issues.

Full Changelog: v1.8.1...v1.8.2

v1.8.1

26 Mar 04:45

Choose a tag to compare

✨ 新特性

  • 房主管理入口开放:房主/单机在暂停菜单可直接打开 Patch Manager(联机客户端禁用,避免误操作)。

🐛 修复

  • consumes.remove 脱糖修复:修复 remove: item 被错误转成数组的问题,现统一转为 remove: {item: -},避免解析异常。
  • 排序提示修复:修复排序按钮使用错误文案键导致的提示不准确问题。

🎨 优化

  • 兼容性升级到 v156:构建目标升级到 Mindustry v156,minGameVersion 提升至 156。

———

✨ Features

  • Host patch management enabled: Hosts/single-player users can open Patch Manager from the pause menu (disabled for
    network clients to prevent invalid operations).

🐛 Bug Fixes

  • consumes.remove desugaring fixed: Fixed the issue where remove: item was incorrectly transformed into an array; it
    now consistently becomes remove: {item: -}.
  • Sort tooltip key fixed: Corrected the sort button tooltip i18n key mapping to avoid incorrect prompt text.

🎨 Improvements

  • v156 compatibility upgrade: Updated target to Mindustry v156 and raised minGameVersion to 156.

Full Changelog: v1.8.0...v1.8.1

v1.8.0

23 Mar 11:05

Choose a tag to compare

✨ 新特性

  • 编辑能力
    • 支持 Category 编辑:可直接处理 Category 相关节点修改。
    • 支持游戏内编辑:新增游戏内打开编辑器/管理页面的工作流。
    • Attribute 支持:完善 Attribute 相关内容的识别与编辑。
  • 导出与导入
    • 魔法导出能力升级:支持导出 block 类型、更多特效,并在导出时读取配置。
    • 导入去重清洗:导入 patch 时自动移除重复的修改项。
  • 编辑
    • 显示未知字段:未识别字段也会展示,便于排查数据问题。
    • 更多字段关键字与污染提示:补充关键字匹配并强化风险提示信息。
    • 回撤系统升级:提供全量快照版回撤

🐛 修复

  • 稳定性修复:修复剪切板操作可能导致的崩溃。
  • 节点追加流程:修复追加内容时可能崩溃的问题。
  • 类型变更流程:修复改动已修改类型节点时崩溃的问题。
  • 类型校验与重解析:修复类型检查缺陷及类型修改后未重新解析的问题。
  • Patch 状态同步:修复 patch 名称未同步更新与 manager 未重置的问题。
  • 导入与导出修复:修复导入 consumes 崩溃、魔法导出数组比对不正确及导出不必要类型的问题。

🎨 优化

  • 编辑器界面优化:管理页新增搜索栏并限制高度,标题居中,按钮间距调整,增加滚动面板。
  • 交互流程简化:新增删除 patch 的确认页面。
  • 性能与资源占用:减少 UI 占用并优化 navigate 相关逻辑。
  • 数据一致性优化Stack 脱糖流程保持 JSON 数字类型一致。

此更新日志由gpt生成.


✨ New Features

  • Editing Capabilities:
    • Category Support: Direct handling and modification of Category related nodes.
    • In-Game Editing: New workflow to open the editor/management page directly within the game.
    • Attribute Support: Improved recognition and editing for Attribute related content.
  • Import & Export:
    • Magic Export Upgrade: Now supports block types, additional visual effects, and configuration-driven exports.
    • Import Deduplication: Automatically cleans and removes redundant modification items during patch imports.
  • Editor Improvements:
    • Display Unknown Fields: Unrecognized fields are now visible to assist in troubleshooting data issues.
    • Keyword Expansion & Pollution Alerts: Added more field keyword matching and enhanced risk warnings.
    • Undo System Upgrade: Implemented a full-snapshot based undo system.

🐛 Bug Fixes

  • Stability: Fixed potential crashes during clipboard operations.
  • Node Appending: Fixed crashes occurring during the content appending process.
  • Type Change Flow: Fixed crashes when modifying nodes that have already undergone type changes.
  • Validation & Re-parsing: Fixed defects in type checking and issues where nodes were not re-parsed after type modifications.
  • Patch State Sync: Fixed issues with patch name synchronization and manager reset failures.
  • Import/Export Fixes: Fixed crashes when importing consumes, incorrect array comparisons in Magic Export, and the export of unnecessary types.

🎨 Optimizations

  • UI Refinement: Added a search bar to the management page, implemented height limits, centered titles, adjusted button spacing, and added scroll panels.
  • Workflow Simplification: Added a confirmation page for deleting patches.
  • Performance & Resources: Reduced UI overhead and optimized Maps related logic.
  • Data Consistency: Ensured JSON numeric type consistency during the Stack desugaring process.

Full Changelog: v1.7.9...v1.8.0

Release body generated by gpt.

v1.7.9

24 Feb 07:50

Choose a tag to compare

🐛 Bug 修复

  • 修复移动设备的选择页面出现超出屏幕的问题

🐛 Bug Fixes

  • Fixed an issue where the selection page on mobile devices would overflow the screen.

Full Changelog: v1.7.8...v1.7.9

v1.7.7

06 Feb 13:19

Choose a tag to compare

[v1.7.7]

🚑 紧急 Bug 修复

  • Map 类型无法正常追加
  • 追加时,可能导致原有数据或新数据丢失

🚑 Hotfixes

  • Map Appending: Fixed an issue where Map types could not be appended as expected.
  • Data Integrity: Resolved a critical bug where existing or new data could be lost during the append process.

Full Changelog: v1.7.6...v1.7.7

v1.7.6

04 Feb 12:23

Choose a tag to compare

[v1.7.6]

✨ 新特性

  • 编辑器设置:新增编辑器设置功能,允许用户自定义编辑器的行为。
  • 节点导入导出:支持将节点数据导入和导出,方便数据迁移和备份。
  • 编辑支持:支持 EnumSet 编辑与 BlockFlag 选项选择。
  • 快捷操作:新增了卡片 Tab 的快捷键支持,提升操作效率。
    • Tab: 展开上一次的子节点
    • Shift + Tab: 回到父节点
  • 数组逻辑增强:支持并兼容了嵌套数组的修改逻辑。

🐛 修复

  • 嵌套逻辑修复:修复了嵌套数组总是触发追加(Append)而非修改的逻辑错误。
  • 解析修复[紧急] 修复了解析数组时子节点类型识别错误的问题;修复了追加元素时 PatchNode 未正常初始化的问题。
  • 稳定性修复:解决了初次使用颜色拾取器时可能导致的崩溃问题。
  • 显示修复:修复了数值修改后 UI 未能及时同步显示的问题。
  • 数据处理:修复了数组无法正确覆盖、以及清理数据时带符号的空 JSON 对象处理不当的问题。
  • 初始化修复:修复了打开编辑器时旧数据未清除的残留问题。

🎨 优化

  • 视觉增强:为 ItemStack 的数量显示添加了描边,提升在不同背景下的可读性。

✨ Features

  • Editor Settings: Added editor settings functionality for behavior customization.
  • Node Import/Export: Added support for importing and exporting node data.
  • Editor Support: Added support for EnumSet editing and BlockFlag selection.
  • Shortcuts: Added shortcut key support for Tab to improve workflow efficiency.
    • Tab: Expand the last accessed child node.
    • Shift + Tab: Return to the parent node.
  • Nested Array Support: Improved compatibility and logic for modifying nested arrays.

🐛 Bug Fixes

  • Nested Logic: Fixed an issue where nested arrays would always append instead of updating.
  • Parser Fixes: [Urgent] Fixed incorrect child node types when parsing arrays; fixed uninitialized PatchNode when appending elements.
  • Stability: Fixed a potential crash when using the color picker for the first time.
  • Display: Resolved an issue where modified values were not updating in the UI.
  • Data Handling: Fixed array overwriting issues and improper handling of signed empty JSON objects during cleanup.
  • Initialization: Fixed an issue where old data remained when opening the editor.

🎨 Improvements

  • Visuals: Added an outline to ItemStack counts for better readability.

Full Changelog: v1.7.2...v1.7.6

v1.7.2

19 Jan 11:19

Choose a tag to compare

更新日志 | Changelog

[v1.7.2]

✨ 新特性

  • 信息显示:新增对 ItemStack, LiquidStackPayloadStack 的信息展示支持。
  • 数组编辑:支持对基础数值类型数组进行编辑。

🐛 修复

  • 实时更新:修复了修改对象后无法实时同步显示的问题。
  • 节点重置:修复了 EditorNode 根节点未正常重置的关键问题(Critical Fix)。
  • 颜色拾取:修复了颜色拾取器未设置初始值的问题。
  • 星球追加:修复了无法追加星球的问题。

🎨 优化与重构

  • 交互调整:优化了按钮的触发逻辑,并修正了对象修改类型的 UI 提示。

✨ Features

  • Info Display: Added support for displaying information of ItemStack, LiquidStack, and PayloadStack.
  • Array Editing: Added support for editing primitive value arrays.

🐛 Bug Fixes

  • Real-time Updates: Fixed an issue where modified object information failed to update in real-time.
  • Node Reset: Resolved a critical issue where the EditorNode root node was not being reset properly.
  • Color Picker: Fixed an issue where the initial value of the color picker was not set.
  • Planet Appending: Fixed the issue where planets could not be appended.

🎨 Improvements & Refactoring

  • Interaction: Optimized button logic and corrected the UI hints for object modification types.

Changelog generated by gemini.

v1.7.1

18 Jan 10:02

Choose a tag to compare

更新日志 v1.7.1

✨ 新特性

  • 覆盖机制增强:现在允许修改已覆盖节点的类型。

🐛 修复

  • 覆盖逻辑修复
    • 修复了无法对数组进行空覆盖(Empty Override)的问题。
    • 修复了无法对已覆盖的数组进行追加操作的问题。
    • 修复了无法修改已覆盖对象属性的问题。
  • 稳定性修复:修复了在添加武器时可能导致的程序崩溃问题。

Changelog v1.7.1

✨ Features

  • Override Enhancements: Now allows modifying the type of overridden nodes.

🐛 Bug Fixes

  • Override Logic:
    • Fixed an issue where empty overrides could not be applied to arrays.
    • Fixed an issue where appended overrides on arrays were not working correctly.
    • Fixed an issue where properties of overridden objects could not be modified.
  • Stability: Fixed a crash occurring when adding weapons.

Changelog generated by gemini

v1.7.0

18 Jan 08:26

Choose a tag to compare

✨ Features

  • Selector Enhancements:
    • Added support for universal selection pages compatible with all content types.
    • Introduced intuitive selection for Weapon Textures and TextureRegions.
    • Added search functionality to selection pages.
    • Texture selection now supports alphabetical categorization for faster browsing.
  • Expanded Field Support:
    • Added support for type and aiController fields in UnitType.
    • Added support for the ObjectFloatMap type.
    • Extended syntax sugar support for EffectMulti, MultiBulletType, and DrawMulti.
  • Text Editing: Text input fields now support multi-line input.

🐛 Bug Fixes

  • Node Operations: Fixed issues where certain content could not be overridden and arrays could not be modified individually.
  • Type Management: Resolved a bug preventing type changes for existing array elements.
  • Desugaring: Fixed failures in certain append operations and item/amount desugaring.
  • Display Fixes: Fixed a bug where [] markers in text were incorrectly identified as color codes.
  • Stability: Fixed a bug where patches could not be read correctly upon the first launch.

💄 UI & Polish

  • Visuals: Added card shadows to selectors and polished the class selection page.
  • User Experience: Added tooltips to the texture selection buttons.
  • Layout: Performed various minor adjustments to the overall UI layout.

📝 Resources & Docs

  • Optimized display for several icons.
  • Improved Chinese and English localizations.
  • Updated project documentation.

✨ 新特性

  • 内容选择器增强
    • 现在支持所有内容类型的通用选择页面。
    • 新增武器贴图(Weapon Texture)以及贴图区域(TextureRegion)的直观选择支持。
    • 选择页面现在支持搜索功能
    • 贴图选择支持按首字母分类,查找更快速。
  • 更多字段支持
    • 新增对 UnitTypetypeaiController 字段的支持。
    • 新增 ObjectFloatMap 类型支持。
    • 扩展了 EffectMultiMultiBulletTypeDrawMulti 的快捷配置(语法糖)。
  • 文本编辑优化:文本输入框现在支持换行输入。

🐛 修复

  • 节点操作:修复了部分内容无法被覆盖(Override)以及无法单独修改数组的问题。
  • 类型切换:修复了数组内原有元素无法修改类型的问题。
  • 脱糖修复:修复了部分追加操作及 item/amount 简写失效的问题。
  • 显示修复:修复了文本中 [] 标记被错误识别为颜色代码的问题。
  • 稳定性:修复了某些情况下首次打开无法正确读取内容包的 Bug。

💄 UI 与交互优化

  • 视觉提升:选择器页面添加了卡片阴影,类选择页面更加美观。
  • 操作提示:为贴图选择按钮添加了工具提示(Tooltip)。
  • 布局优化:对整体 UI 布局进行了多项细节微调。

📝 资源更新

  • 优化了部分图标显示。
  • 完善了中英文语言翻译。
  • 更新了项目文档。

Changelog generated by Gemini

v1.6.1

21 Dec 10:44

Choose a tag to compare

🚑️ 修复安卓崩溃