我对 Gravisuite 和 Advanced Solars 存在的各种问题感到厌烦,它们有着损坏的合成配方。虽然 有许多方法可以修复这些问题,但 Gravisuite 还存在其他底层问题,例如大多数物品的本地化文本损坏、它通过 Hack 方式获取按键绑定而非使用方便的 IC2 API 函数,以及 block_side.png.png 贴图缺失的问题。是时候使用 ASM(字节码操作)了,所以我制作了一个“简单”的单类模组来修复这些问题。
所有原本应期望伤害值为 1 的组件所涉及的合成配方现在都正确生效了,同时所有本地化文本也已修正为正确的内容,例如 item.itemCoolingCore.name(至少与语言文件保持一致)。如果这还不够的话,IC2 的模式切换、Alt 和 Boost 键应该不会再出现问题,尤其是在世界加载之后进行更改的情况下。Sonic Launcher(音波发射器)的名称在 en_US 下被硬编码以修复该问题;你可以将其翻译为你的语言并添加到语言文件中作为 item.sonicLauncher.name,尽管它看起来仍处于开发中阶段,所以不翻译也不会损失什么。Relocator(重定位器)方块也应用了双 .name 修复(或者至少应该如此),并且修复了其贴图。
Patcher 有两个版本:一个带有悬停修复功能,另一个没有。 带修复的版本会使 Advanced Jetpack(高级喷气背包)和 Advanced NanoSuit(高级纳米服)在悬停模式下不再掉落(类似于 IC2 原生的喷气背包行为),而不带此功能的版本则不会出现这种情况(保持原版 GraviSuite 的行为)。这是两者之间唯一的区别。
如果你安装了该模组,任何涉及 Advanced Solars 或 Gravisuite 的 Bug 或崩溃都应在此处报告,因为如果 ASM 存在问题,这些模组仍会留下堆栈跟踪信息。当然,也可能存在其他 Bug,如果我能够复现它们,我随时可以尝试修复它们 
对于希望在整合包中使用此模组的用户:
如果是私有整合包,尽情使用吧,也可以酌情告诉你的整合包用户你对这个 Patcher 有多么惊叹。如果不这么做也没关系。
如果是公开整合包,最好在 这个帖子 中说明你正在使用它,这样我可以了解它的用途分布情况,但你不必明确征求我的许可即可使用它。你也可以选择性地告诉你的整合包用户你对这个 Patcher 有多么惊叹。
I got bored with all the issues with Gravisuite and Advanced Solars having broken recipes, and although there are many ways to fix them, there are other underlying issues in Gravisuite like most of the items having broken localisation, it hacking it's way to get key bindings instead of using the rather convenient IC2 API functions and the missing texture issue of block_side.png.png. It was good enough as time as any to use ASM, so I made a "simple" one class mod to fix them.
All the recipes using components that should expect damage value 1 now do, as well as fixing all the localisations to be correct, such as item.itemCoolingCore.name (at least as correct as the lang file goes). In case that wasn't enough, there should be no issues getting the IC2 mode switch, alt and boost keys, especially if changed after a world has been loaded. The Sonic Launcher's name is also hardcoded for en_US to fix that too, you can translate it into your own language and add it to the lang file as item.sonicLauncher.name, although it seems a little WIP so you're not missing out if you don't. The relocator block has the double .name fix applied as well (or should do at least), and the texture fix for it.
There is two versions of the Patcher, one with hover fix and the other without. The one with the fix causes the Advanced Jetpack and Advanced NanoSuit to no longer fall when in hover mode (like IC2's native Jetpack), whilst the one without does not cause this (natural GraviSuite). This is the only difference between the two.
Any bugs or crashes that involve Advanced Solars or Gravisuite should be reported here if you've got the mod installed, as anything wrong with the ASM will still have a stacktrace from those mods. There is also the chance that there are other bugs anyway, and I can always (try) fix them if I can replicate them 
For those wanting to use it in Modpacks:
If it's a private pack, have fun, optionally tell your fellow pack users how in awe you are of the patcher. If you're not though, that's fine.
If it's a public pack, saying you're using it in the thread is nice so I can get an idea of where it's being used, but you don't have to explicitly ask my permission to use it. And you too can optionally tell your pack users how in awe you are if you want to.
评论 0
登录后参与评分
还没有评论,来抢沙发吧