LightSpeedRe - Launch optimizations logo

LightSpeedRe - Launch optimizations

Reduces your waiting time by loading modpacks significantly faster (currently 48% - 71%)

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.

启动报错修复(简体中文)

  1. 在 PCL2 的「版本设置 → 高级启动选项」或 Prism 的「编辑实例 → 设置 → Java」打开 JVM 参数。如果实例沿用全局参数,也检查启动器的全局 Java 设置。
  2. 删除指向 lightspeed-bootstrap-agent-*.jar 的整条 -javaagent: 参数和它两边的引号,并移除这一组的 -Dlightspeed.agent.owner=…、-Dlightspeed.bootstrapCacheDir=…。保留内存参数和其他模组的 Agent。
  3. 若启动前命令引用 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.

The LightSpeedRe - Launch optimizations Team

profile avatar
Owner
  • 7
    Followers
  • 19
    Projects
  • 6.4M
    Downloads