Skip to content

Releases: BAKAOLC/STS2-RitsuLib

0.3.5

28 May 13:19
v0.3.5
fec2baa

Choose a tag to compare

  • Extended the right-click interaction interfaces to support users to support multiple right-click interaction logic simultaneously
    • Added registration capability to support non-self models to support right-click interaction
  • Added CardTransform related listener capabilities
  • Added obsolete tags to string-based CardKeywordCardTagCardPile methods
    • Now it is recommended to use the values converted to CardKeywordCardTagCardPile enumeration types to directly use the original methods for operation
    • Corrected some incorrect timing restrictions to ensure that the target value can be obtained at any time

  • 额外扩展了右键交互的接口,以支持用户同时支持多个右键交互逻辑
    • 额外添加了注册能力以支持让非自身模型也能支持右键交互
  • 增加了 CardTransform 相关监听能力
  • 给 string 系的 CardKeywordCardTagCardPile 方法添加了过时标签
    • 现在更推荐直接使用转换为 CardKeywordCardTagCardPile 枚举类型的值来直接使用原版方法进行操作
    • 修正了一些错误的时点限制以保证在任意时机都能获取到目标值

Full Changelog: v0.3.4...v0.3.5

0.3.4

28 May 09:56
v0.3.4
fdd9394

Choose a tag to compare

  • Publiced some interfaces and capabilities of RitsuGodotNodeFactory, and provided a simple wrapper to allow registering custom Godot node factories
  • Continued to strengthen the encapsulation of HarmonyIl, to support more needs for usage scenarios
  • Adjusted the logging strategy of ModPatcher, now ignored patches will be output in INFO logs
  • Cleaned up a legacy compatibility code for 0.99.1 version, because this version is no longer supported in the supported compatibility range
  • Added a set of additional network message link injections to support more complex network synchronization needs
  • Added a set of right-click interaction interfaces to support user-defined right-click interaction logic
    • This functionality is implemented based on the runtime identity identifier mechanism to solve the recognition problem when a model has multiple instances
  • Added RNG registration support to allow users to register additional RNG instances on top of the original RNG
  • Added IModRelicVisibility interface to allow users to hide Relics and control the visibility of the Relic UI

  • 公开了部分 RitsuGodotNodeFactory 的接口和能力,并提供了简易包装以允许注册自定义的 Godot 节点工厂
  • 继续强化了对 HarmonyIl 的封装,以支持更多的使用场景的需求
  • 调整了 ModPatcher 的日志策略,现在 ignored patches 会在 INFO 日志中输出
  • 清理了面向 0.99.1 版本的一个遗留兼容性代码,因为该版本已经不在支持的兼容性范围内
  • 补充了一组额外的网络消息链路注入,以支持更复杂的网络同步需求
  • 增加了一组右键交互的接口,以支持用户实现自定义的右键交互逻辑
    • 该功能基于运行时身份标识符机制实现,以此解决同一模型有多个实例时的识别问题
  • 增加了 RNG 注册支持,以允许用户在原版 RNG 的基础上注册额外的 RNG 实例
  • 增加了 IModRelicVisibility 接口以允许用户隐藏 Relic 和控制遗物 UI 的可见性

Full Changelog: v0.3.3...v0.3.4

0.3.3

27 May 14:05
v0.3.3
81294af

Choose a tag to compare

  • Added the ErrorNoTrace extension method, which is used to output ERROR level logs without stack trace information
    • Therefore, the Error log that should be ERROR level logs is lowered to WARN level to more accurately indicate the severity of the log
  • Optimized the implementation of some health prediction systems, to support more needs
  • Extended the functionality of the ModSettings system, to support more needs
  • Added a progress bar to the Toast, and provided the ability to control the Toast after it is displayed
  • Added a Mod Image to RitsuLib
  • Fixed the issue that the victory data is incorrectly uploaded once for each failed game in the telemetry data

  • 增加了 ErrorNoTrace 扩展方法,用于在输出 ERROR 级别的日志时,不输出堆栈跟踪信息
    • 因此回调了原本因 ERROR 级别日志会产生大量堆栈输出噪音,从而降低到 WARN 级别的 ERROR 日志,以更准确的指示日志的严重性
  • 优化了部分血量预测系统的实现,以支持更多需求
  • 扩展了 ModSettings 系统的功能,以支持更多需求
  • 给 Toast 增加了剩余时间显示进度条,并且提供了允许在弹出 Toast 后进行一定的操控的能力
  • 给 RitsuLib 增加了一张 Mod Image
  • 修复了遥测数据中会对胜利对局错误的重复上传一次失败对局数据的问题

Full Changelog: v0.3.2...v0.3.3

0.3.2

25 May 16:29
v0.3.2
7c2f7d2

Choose a tag to compare

  • Enhanced the functionality of the NodeAttachment system, and supplemented the Chinese annotation description
  • Added the ModDataStoreCache type to the ModDataStore class, which simplifies the logic of automatically caching persistent objects, without the need to manually manage the lifecycle of the cache instance
  • Modified the implementation of Harmony Transpiler il rewriting, added a wrapper tool class to simplify the il rewriting implementation, and provided a simple verification mechanism
  • Extended the display time of the update notification Toast, to ensure that users have enough time to know that there is an update
  • Adjusted the differences in some patch targets between different versions
  • Optimized the code of some working paths, to ensure stability

  • 增强了 NodeAttachment 系统的功能,并补充了中文注释说明
  • ModDataStore 补充了 ModDataStoreCache 类型,以简化自动缓存持久化对象的逻辑,而无需手动管理缓存实例的生命周期
  • 修改了有关 Harmony Transpiler 的 il 重写实现,添加了包装工具类以简化 il 重写实现,并提供了简单的验证机制
  • 略微延长了检查更新时的提示信息 Toast 显示时间,以保证用户有足够的时间了解到存在更新
  • 调整了部分 Patch 目标在不同版本之间的差异
  • 优化了部分工作路径的代码,以保证稳定性

Full Changelog: v0.3.1...v0.3.2

0.3.1

24 May 19:59
v0.3.1
e694a60

Choose a tag to compare

  • Provide the ability to set the material of the card image (note: in the card library, only visible after unlocking)
  • The primary target version has been updated to 0.106.1
  • Optimized the implementation of the extra corner amount labels feature
  • Added the ability to view the source of each content (What Mod Is This From)
    • Disabled by default, needs to be enabled in settings
  • Fixed some multi-language display errors in commands
  • Added CreateHsvShaderMaterial method, which can be used to create another material to implement card frame tone modification, to provide better color quality
  • Added NodeAttachment system, which can be used to automatically attach nodes to various nodes when they are ready
    • Note: To maintain sufficient auditability, the invasiveness of this system is not as great as the related implementation of BaseLib.
      Most needs should still be met, if any needs are found that cannot be met, please raise an Issue.

  • 提供了给卡图设置材质的能力(注意:在图鉴中时,仅解锁后可见)
  • 更新了主要面向版本为 0.106.1
  • 优化了额外角标功能的实现
  • 增加了查看各个内容来自于什么 Mod 的功能(What Mod Is This From)
    • 默认关闭,需要在设置中手动启用
  • 修复了部分指令的多语言显示错误问题
  • 增加了 CreateHsvShaderMaterial 方法,用于创建另一种材质来实现卡框色调修改,以提供更好的颜色质量
  • 增加了 NodeAttachment 系统,用于给各种节点自动附加子节点
    • 注意:为保持足够的可审计性,因此该系统的侵入性不如 BaseLib 的相关实现。
      大多数需求应当仍然满足,如果发现有无法满足的需求,请在 Issue 中提出。

What's Changed

Full Changelog: v0.3.0...v0.3.1

0.3.0

22 May 02:50
v0.3.0
607d773

Choose a tag to compare

  • Added some null path call intercept handling for FMod to address some issues with the FMod plugin
  • Breaking Change: Removed the RunSidecar design, which has been completely replaced by RunSavedData
  • Added the ability to register TargetTypes, to support custom TargetType registration
  • The primary target version has been changed to 0.106.0, and 0.104.0 compatibility support has been removed
    • The loading target detection mechanism of the Loader has been strengthened, and now the hash verification will be used for branch version files, and the version that does not match will be discarded directly

  • 对 FMod 的空路径调用进行了一定拦截处理,以解决 FMod 插件对此存在的一些问题
  • 破坏性变更: 删除了 RunSidecar 的相关设计,该系统已被 RunSavedData 完全取代
  • 添加了 TargetType 的注册能力,以支持自定义 TargetType 的注册
  • 主要目标版本已更改为 0.106.0,并删除了 0.104.0 的兼容性支持
    • 强化了 Loader 的加载目标检测机制,现在会对分支版本文件使用哈希校验,未匹配的版本将直接被丢弃

Full Changelog: v0.2.40...v0.3.0

0.2.40

21 May 04:18
v0.2.40
f80d8a6

Choose a tag to compare

  • Added support for injecting missing localization keys into LocTable
  • Fixed a potential stack overflow issue in the autocomplete feature when dealing with recursive model references

  • 补全了 I18NLocTable 缺少的部分注入支持
  • 修复了之前新加入的自动补全能力对于部分 Warper 模型有可能产生循环递归而导致栈溢出崩溃的问题

Full Changelog: v0.2.39...v0.2.40

0.2.39

20 May 18:57
v0.2.39
ce692c5

Choose a tag to compare

  • Fix the issue that may report an error when clicking on the relic list in a new map

  • 修复在新地图中点击遗物列表时可能会报错的问题

Full Changelog: v0.2.38...v0.2.39

0.2.38

20 May 18:30
v0.2.38
ca395cc

Choose a tag to compare

  • Re-optimized part of the telemetry logic to ensure more stable operation
  • Modified the reading logic for ModManager, especially for the Mod type, to bypass the crash issue during reading caused by fields being changed to properties in the ported version

  • 重新优化一部分遥测逻辑,保证其工作更稳定
  • 修改了对 ModManager 的读取逻辑,尤其是对 Mod 类型的读取,以绕过移植版中将字段改为属性导致读取时闪退的问题

Full Changelog: v0.2.37...v0.2.38

0.2.37

20 May 12:23
v0.2.37
57ae075

Choose a tag to compare

  • Optimized the usage of i18n texts to avoid reading texts before initialization is complete
  • Fixed the missing fallback paths
  • Fixed the RunSavedData working path to ensure it works for all versions
  • Fixed and optimized the TimeLine and Epoch working logic to make it more consistent with the game's original behavior
  • The telemetry feature will be temporarily disabled on mobile devices

  • 调整了部分内容多语言文本的使用时机,以避免在未初始化完成时读取
  • 修正了缺失的部分 fallback 路径
  • 修正了 RunSavedData 的工作路径以保证各个版本均能正常工作
  • 修正优化了 TimeLine 和 Epoch 的工作逻辑以使其更符合游戏原版的表现
  • 现在移动端将暂时禁用遥测功能

What's Changed

New Contributors

Full Changelog: v0.2.36...v0.2.37