Skip to content

[Feature] 检查压缩包类的文件是否损坏 #6910

Open

Description

@Minecraft269

概述 | Summary

如标题描述
导入/加载压缩包类的文件检查并提示
在游戏启动前(或者在模组列表中)显示出那些损坏的模组并阻止启动 以防止崩溃

原因 | Reason

防止因为压缩包损坏而导致一些问题
防止因模组损坏而导致游戏崩溃

详情 | Description

依旧来自崩溃报错群
刚看完两个模组损坏导致的崩溃

minecraft-exported-crash-info-2026-09-26T20-00-55.zip
minecraft-exported-crash-info-2026-09-26T20-56-52.zip

诶不是这边怎么又能上传了

image

日志: hmcl-exported-logs-2026-11-15T14-11-41.log

Activity

  1. ToobLac commented on Sep 27, 2026

    @ToobLac
    Contributor

    完全没有可行性。请问根据什么校验?如果是和远程对比的话,都损坏了启动器怎么知道上哪找远程文件去

  2. changed the title [-][Feature] 校验模组是否损坏[/-] [+][Feature] 检查模组是否损坏[/+] on Sep 27, 2026
  3. Minecraft269 commented on Sep 27, 2026

    @Minecraft269
    ContributorAuthor

    完全没有可行性。请问根据什么校验?如果是和远程对比的话,都损坏了启动器怎么知道上哪找远程文件去

    是检查模组完整性 (检查头(CEN header)和尾(END header))

  4. CiiLu commented on Sep 27, 2026

    @CiiLu
    Contributor

    没什么意义,损坏的模组本身就会红底 + “无效的模组” tag,并且如 #5821 所说,无法保证启动器与游戏行为一致。

  5. Minecraft269 commented on Sep 30, 2026

    @Minecraft269
    ContributorAuthor

    损坏的模组本身就会红底 + “无效的模组” tag

    你自己都说

    无法保证启动器与游戏行为一致。

    况且 目前HMCL启动器相关提示还是比较不准确的(比如I18NU这种Core MOD在我这红底了) 而且有非常多的模组显示未知模组 但这些模组都是正常的

    并且如 #5821 所说,无法保证启动器与游戏行为一致。

    我没有看到相关问题

  6. changed the title [-][Feature] 检查模组是否损坏[/-] [+][Feature] 检查压缩包类的文件是否损坏[/+] on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions