修复提及 Lightspeed Agent 的启动错误
如果 Java 以 Error opening zip file or JAR manifest missing 或 agent library failed Agent_OnLoad 报错退出,并指向 lightspeed-bootstrap-agent-*.jar,你可以从启动器中修复它。
- 打开实例的 JVM 参数。PCL2:版本设置 → 设置 → 高级启动选项。Prism(Windows、Linux、macOS):编辑实例 → 设置 → Java。如果实例继承了全局设置,也请检查全局 Java 设置。
- 删除指向
lightspeed-bootstrap-agent-*.jar 的整个 -javaagent: 参数,包括周围的引号。移除其 -Dlightspeed.agent.owner=… 和 -Dlightspeed.bootstrapCacheDir=… 条目。保留内存设置和其他模组的 Agent。
- 清除指向
pack-compiler.cmd 或 pack-compiler.sh 的 Lightspeed 预启动命令。在 Prism 中,这位于设置 → 自定义命令。在 PCL2 中,它位于高级启动选项。
- 更新 LightSpeedRe。如果你停留在旧版本构建上,请在实例的
config/lightspeed-common.toml 中设置 installBootstrapAgent = false。完全关闭并重新打开启动器后再启动游戏。
启动报错修复(简体中文)
- 在 PCL2 的「版本设置 → 高级启动选项」或 Prism 的「编辑实例 → 设置 → Java」打开 JVM 参数。如果实例沿用全局参数,也检查启动器的全局 Java 设置。
- 删除指向
lightspeed-bootstrap-agent-*.jar 的整条 -javaagent: 参数和它两边的引号,并移除这一组的 -Dlightspeed.agent.owner=…、-Dlightspeed.bootstrapCacheDir=…。保留内存参数和其他模组的 Agent。
- 若启动前命令引用 Lightspeed 的
pack-compiler.cmd 或 pack-compiler.sh,只清空该命令。升级模组,或在旧版的 config/lightspeed-common.toml 中设置 installBootstrapAgent = false,然后完全关闭并重新打开启动器。
整合包作者应在分发前清理导出配置里的这些本机设置。
完整指南与修复脚本 · 完整中文教程与修复脚本
这是 Lightspeed 模组的高版本(1.20.1+)移植版。
它移除了已经在 vanilla Minecraft 1.20.1 中实现的模型烘焙优化,仅保留了资源包缓存功能,从而加快启动速度。
(目前仅计划提供 Forge 1.20.1 和 NeoForge 1.21.1 的移植版。)
自 1.2.0 版本起,此模组引入了高并发加载以提高启动速度。如果在使用此模组时遇到任何问题,请尝试在配置文件中禁用相关选项。
Fix a startup error mentioning the Lightspeed Agent
If Java stops with Error opening zip file or JAR manifest missing or agent library failed Agent_OnLoad and names lightspeed-bootstrap-agent-*.jar, you can fix it from the launcher.
- Open the instance’s JVM arguments. PCL2: Version Settings → Settings → Advanced Launch Options. Prism (Windows, Linux, macOS): Edit Instance → Settings → Java. Check global Java settings too if the instance inherits them.
- Delete the whole
-javaagent: argument that points to lightspeed-bootstrap-agent-*.jar, including surrounding quotes. Remove its -Dlightspeed.agent.owner=… and -Dlightspeed.bootstrapCacheDir=… entries. Keep memory settings and other mods’ agents.
- Clear a Lightspeed pre-launch command that points to
pack-compiler.cmd or pack-compiler.sh. In Prism, this is under Settings → Custom Commands. In PCL2, it is under Advanced Launch Options.
- Update LightSpeedRe. If you are staying on an older build, set
installBootstrapAgent = false in the instance’s config/lightspeed-common.toml. Fully quit and reopen the launcher before launching again.
启动报错修复(简体中文)
- 在 PCL2 的「版本设置 → 高级启动选项」或 Prism 的「编辑实例 → 设置 → Java」打开 JVM 参数。如果实例沿用全局参数,也检查启动器的全局 Java 设置。
- 删除指向
lightspeed-bootstrap-agent-*.jar 的整条 -javaagent: 参数和它两边的引号,并移除这一组的 -Dlightspeed.agent.owner=…、-Dlightspeed.bootstrapCacheDir=…。保留内存参数和其他模组的 Agent。
- 若启动前命令引用 Lightspeed 的
pack-compiler.cmd 或 pack-compiler.sh,只清空该命令。升级模组,或在旧版的 config/lightspeed-common.toml 中设置 installBootstrapAgent = false,然后完全关闭并重新打开启动器。
Modpack authors should clear these local settings from exported profiles. 整合包作者应在分发前清理导出配置里的这些本机设置。
Full guide and repair script · 完整中文教程与修复脚本
This is a high-version (1.20.1+) port of the Lightspeed mod.
It removes the model-baking optimizations that were already implemented in vanilla Minecraft 1.20.1, keeping only the resource-pack cache feature, which speeds up launch times.
(Currently, only ports for Forge 1.20.1 and NeoForge 1.21.1 are planned.)
Since version 1.2.0+, this mod introduces high-concurrency loading to improve startup speed. If you encounter any issues while using this mod, please try disabling the related option in the configuration file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧