Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导出整合包 复活 #4758

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open

导出整合包 复活 #4758

wants to merge 52 commits into from

Conversation

youzi-3222
Copy link
Collaborator

@youzi-3222 youzi-3222 commented Sep 17, 2024

Close #98

原始 PR:#4206

原始 PR 截图

image

youzi-2333 and others added 30 commits July 9, 2024 10:50
Co-authored-by: Pigeon0v0 <[email protected]>
Co-authored-by: luolinlin768
@Minemetero
Copy link

能不能给我发个打包后的版本,我想试试qwq

@xinyihl
Copy link

xinyihl commented Nov 8, 2024

能不能给我发个打包后的版本,我想试试qwq

你可以点这里跳转到相应的 actions 页面下载打包的版本
image

@wyc-26
Copy link

wyc-26 commented Nov 8, 2024

能不能给我发个打包后的版本,我想试试qwq

去仓库的 Actions 页下载
image

@Minemetero
Copy link

还停留在2.8.8 恼

@youzi-3222
Copy link
Collaborator Author

youzi-3222 commented Jan 14, 2025

我又发现一个问题,导出整合包功能只有在开启版本隔离后功能才正常。 如果未开启版本隔离,导出整合包高级项依然还在“.minecraft\versions\当前选择的版本”路径下,此时应当更新到“.minecraft”路径下,但当前并没有更新导致高级选项里完全空白(并没有测试基础选项里功能是否正常)。

@luolinlin768 已修复(基本上把路径的操作都重构了一遍……)

f6cbb0f 838cb79

@LTCatt
Copy link
Member

LTCatt commented Jan 14, 2025

简单试了试……


这里这两个卡片可以考虑像安装预览一样合并成一张:
image
image


导出过程建议改成使用 Loader,并且添加到下载任务列表中。这样玩家至少能看到导出进度,不会完全抓瞎不知道要等多久……


导出的 modrinth.index.json 中,path 属性有时候会保留 mod 文件夹中文件的原始文件名,有时候又不会,不知道是啥情况。


如果一个 mod 能同时在 modrinth 和 curseforge 找到匹配的话,可以考虑把下载地址都放到 downloads 数组里,提高容错。

@youzi-3222
Copy link
Collaborator Author

e6e9ebd 1e5d5f0 08ad8e6 74a9d18

如有问题请提出,感谢!

@LTCatt

@Minemetero
Copy link

Minemetero commented Jan 20, 2025

image_2025-01-20_165305652
这是什么东西,我网络可好了,好的一塌糊涂

@tangge233
Copy link
Contributor

这是什么东西,我网络可好了,好的一塌糊涂

CurseForge API 访问需要密钥,该版本没有提供密钥

@LTCatt
Copy link
Member

LTCatt commented Jan 22, 2025

诶这描述框怎么压根啥用都没有

@LTCatt
Copy link
Member

LTCatt commented Jan 22, 2025

诶不是,这个图标选项怎么也啥用都没有……
所以四个框里其实只有名称和版本有用?!

@luolinlin768
Copy link

luolinlin768 commented Jan 22, 2025

测试整合包导出功能的时候发现 导出预览 那没写刷新逻辑
我在某个版本上填写了整合包基础信息后,切换到别的版本后仍会显示刚刚设置的版本信息(也就是说根本没刷新!!)
(看了下modrinth的modpacks格式里面似乎没有设置图标和描述的地方)

图片

第一张截图

第二张截图

@youzi-3222
Copy link
Collaborator Author

youzi-3222 commented Jan 23, 2025

看了一下 Modrinth 的文档,好像没有 Logo 字段……

https://support.modrinth.com/en/articles/8802351-modrinth-modpack-format-mrpack

别的问题都修复了 qnq

@MoYuan-CN
Copy link
Collaborator

MoYuan-CN commented Feb 3, 2025

新的请求:如果实例的 resourcepacks shaderpacks 文件夹中有文件夹格式的包,则先将文件夹压缩成 Zip 文件后再打包入对应位置
这可以避免安装时解压出现 248/260 路径长度限制。

@zkitefly
Copy link
Collaborator

zkitefly commented Feb 3, 2025

新的请求:如果实例的 resourcepacks shaderpacks 文件夹中有文件夹格式的包,则先将文件夹压缩成 Zip 文件后再打包
这可以避免安装时解压出现 248/260 路径长度限制。

这样其他启动器就识别不了吧

@MoYuan-CN
Copy link
Collaborator

包成 zip 为啥会识别不了…… 当作文件解压了不就……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· 新功能 处理中 开发者正在调查或处理该项 🟨 中 优先度:中
Projects
None yet
Development

Successfully merging this pull request may close these issues.

增加导出整合包功能