Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 3.04 KB

CONTRIBUTING.md

File metadata and controls

53 lines (40 loc) · 3.04 KB

To setup the Herodotus Modpack Develop Enviroment, please follow these steps:

Preparation

You would need the following softwares:

  • MultiMC, for launching the game and managing the instances.
  • VisualStudio Code, for editing the files, we assume you already installed the ZenScript syntax extensions and other necessary things.
  • Git, for push, pull, fetch all the files.

Deploying

  1. Get the latest dev build in Actions, install it with MultiMC
  2. In your MultiMC, add a new 1.12.2 instance called Herodotus.
  3. Edit the instance, install Forge 14.23.5.2854.
  4. Open the Herodotus folder inside the MultiMC instance folder, move all the folders and files inside to another unrelated temp folder(do this after you shut down MultiMC).
  5. Clone the repository to the Herodotus folder.
  6. Move the files you moved in Step4 back to the Herodotus folder, so the MultiMC could detect the instance and launch it.
  7. Open the instance's folder you installed in Step1, copy the .../.minecraft/mods/ folder to Herodotus/.minecraft/.
  8. Launch the Herodotus instance for the first time, discharge all your personal config changes in Git.
  9. Fetch with the repository.

Now you're ready to go, thank you for your contributing to the Herodotus Modpack!

Tips:

  • The dev instance doesn't really need to be named as Herodotus, but for the further convenience, we recommended you to.
  • For the "personal config changes", we mean all the config that were generated by the mods you added extraly, which doesn't contained in the original pack.

为了搭建 Herodotus 开发环境, 请遵循以下步骤:

准备工作

您将需要安装以下软件:

  • MultiMC, 用于启动游戏和管理实例.
  • VisualStudio Code, 用于编辑文件, 我们假设您已经安装了 ZenScript 语法高亮拓展及其他必要的拓展.
  • Git, 用于提交, 获取, 同步所有文件.

部署

  1. 在 Actions 的 dev 工作流中获取最新的构建文件, 使用 MultiMC 安装.
  2. 在 MultiMC 中, 新建一个游戏版本为 1.12.2, 名为 Herodotus 的实例.
  3. 编辑该实例, 安装 Forge 14.23.5.2854.
  4. 打开 MultiMC 实例文件夹中的 Herodotus 文件夹, 将其中所有文件移动到一个与工程文件毫无关联的临时文件夹中 (请在关闭 MultiMC 后执行此步骤).
  5. 将仓库克隆到 Herodotus 文件夹.
  6. 将所有在第四步中转移走的文件转移回 Herodotus 文件夹, 这样 MultiMC 就可以检测到并启动此实例了.
  7. 打开您在第一部中安装的实例的实例文件夹, 将 .../.minecraft/mods/ 文件夹复制到 Herodotus/.minecraft/ 中.
  8. 第一次启动 Herodotus 实例, 在 Git 中将所有您对配置文件的个人更改撤销.
  9. 与仓库同步文件.

您已经搭建好了开发环境, 感谢您对 Herodotus 整合包的贡献!

提示

  • 开发环境实例并不是必须要命名为 Herodotus, 但为了日后方便, 我们建议您这样做.
  • 文中所提到的 "对配置文件的个人更改", 代表所有您额外加入的, 并不包含在原整合包里的模组生成的配置文件.