Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Jun 17:56
4e12cbb

欢迎体验 Unity Assets Patcher 的第一个正式版本!

新增

  • 终端界面现在支持多语言显示(en-US, zh-Hans)
  • 新增模组卸载功能,程序会根据安装时保存的记录恢复被修改的 Assets 文件,并清理安装时复制的文件

修复

  • 恶意构造的压缩包不再会导致程序长时间卡住或崩溃,现在 manifest.json 被限制在 10MB,而 Mod 包解压后的大小占用不会超过 10GB
  • 本地化文本不再显示占位符键值,菜单、提示和摘要会正确显示当前语言的实际文案
  • 读取 Assets 数组元素时兼容性更好,字段读取时会忽略数组大小等元数据节点
  • 清理流程失败时也会正确释放已占用的资源,避免文件句柄残留影响后续写入或删除
  • 补丁值超出范围时会给出正确提示,尤其是无法写入目标字段的浮点数值
  • 不安全的文件路径现在会被正确拦截,避免 Mod 包通过相对路径写入目标目录之外的位置
  • 列表结果数量限制现在会正确生效,避免一次性输出过多内容
  • VDF 解析器在特殊输入下更加稳定,读取 Steam 库配置时不再依赖易失效的生成式正则
  • 终端输出很长时,底部快捷键文字不再错乱
  • 从子页面返回后会保留主菜单的选中状态,不再每次都回到默认选项

改进

  • 安装预览摘要更简洁,补丁修改、备份和文件复制等重点变化更容易看清
  • 安装流程和补丁字段查找更快,重复读取 Mod 包和遍历字段树的开销更少
  • 终端界面的交互和渲染更加稳定,页面、提示和列表输出的表现更一致

Welcome to the first release of Unity Assets Patcher!

Added

  • The terminal interface now supports multiple languages (en-US, zh-Hans)
  • Added mod uninstall support. The tool can restore modified Assets files from install records and clean up files copied during installation

Fixed

  • Maliciously crafted packages can no longer make the tool hang for a long time or crash. manifest.json is capped at 10MB, and extracted mod package contents are capped at 10GB
  • Localized text no longer shows placeholder keys. Menus, prompts, and summaries now display the actual text for the current language
  • Improved compatibility when reading Assets array elements by ignoring metadata nodes such as array size fields
  • Cleanup failures now still release acquired resources, preventing leftover file handles from blocking later writes or deletes
  • Out-of-range patch values now produce a proper error, especially for floating-point values that cannot be written to the target field
  • Unsafe file paths are now blocked correctly, preventing mod packages from writing outside the target directory through relative paths
  • List result limits now apply correctly, avoiding overly large output
  • The VDF parser is more stable on edge-case input and no longer depends on fragile generated regular expressions when reading Steam library configuration
  • Long terminal output no longer corrupts the footer shortcut text
  • Returning from a subpage now keeps the main menu selection instead of resetting to the default option

Improved

  • Install preview summaries are easier to scan, with patch changes, backups, and copied files called out more clearly
  • Installation and patch field lookup are faster, with less repeated mod package reading and field tree traversal
  • Terminal interactions and rendering are more stable, with more consistent behavior across pages, prompts, and lists