FM 资源包更新器
资源包更新器 是模组 Fancy Menu 的一个扩展。
它允许你将一个 GitHub 仓库设置为资源包的更新源。
快速设置
GitHub 端
你需要拥有一个你有权创建 Release(发布)的 GitHub 仓库。要发布你资源包的新版本,只需上传一个新的 Release 并附上你的 .zip 文件即可。
Minecraft 端
你需要安装 FancyMenu 和 FM Resource Pack Updater。请注意,FancyMenu 依赖其他模组才能运行,你也应该安装这些依赖项。
随 Release 提供了一个名为 fm_setup.zip 的附加文件(在此下载)。下载它,将其复制到 .minecraft/fancymenu_setups/exported_setups 目录中,并在此处解压。
首次启动 Minecraft,并从顶部自定义栏中的 Setup 菜单导入你刚刚下载的配置文件。关闭 Minecraft。
然后你需要修改 .minecraft/config/upgraderp_config.properties 文件。在相应的变量中输入你的仓库引用信息。“rp.name.regex” 应该是匹配你资源包名称的正则表达式。“*.zip” 适用于所有可能的名称,但更新将覆盖你选中列表中的第一个资源包。
再次启动 Minecraft。如果你操作正确且该资源包尚未在游戏中设置,更新按钮应该会显示出来。
FM Resource Pack Updater
Resource Pack Updater is an extension for the mod Fancy Menu.
It allows you to set a GitHub repository as a source for updating a resource pack.
Fast setup
Github side
You need to have a GitHub repository on which you have the right to create a release. To publish a new version of your resource pack, you just need to publish a new release with your .zip attached to it.
Minecraft side
You need to have FancyMenu and FM Resource Pack Updater installed. Be careful, FancyMenu depends on other mods to run, you should install them too.
There is a fm_setup.zip provided with the release as a secondary file (Download it here). Download it, copy it to your .minecraft/fancymenu_setups/exported_setups, and unzip it here.
Launch Minecraft for the first time and from the Setup menu in the top customization bar, import the setup you just downloaded. Close minecraft.
Then you need to go and modify your .minecraft/config/upgraderp_config.properties. Put your repository references in the corresponding variables. "rp.name.regex" should be a regular expression corresponding to your RP name. "*.zip" should work with all names possible, but the update will override the first resource pack in your selected list.
Launch Minecraft again. If you did well and the RP is not already set in your game, the update button should appear.
评论 0
登录后参与评分
还没有评论,来抢沙发吧