Z Infection Modpack
Just a pack of mods for friends, rebuilt for infected company.
模組介紹 作者原文
Zikeji's Convenience Modpack Lite
View Main Version
Without the cusotm moons and interiors, that's what lite means, right?
Forking
If you'd like to fork this modpack and make your own, feel free to! I have a few utility scripts that help with releases but the GitHub action does alot of the heavy lifting. I would recommend just creating a new repo and copying my files over so you don't get my commit history.
Attribution
I pulled flushedhead.cosmetics from the inacraft cosmetics megapack at my sister's request.
Instructions
- If you don't have one already, go and create a team.
- Now go to "Service Accounts" for your team and click "Add service account", fill it out, submit, and copy that API token.
- In your GitHub repository, you'll want to go to "Settings" then "Secrets" and create the secret _TOKEN with the value being that API token you just made.
- Now you'll want to update.github/workflows/publish.yml, line 27, change the value of namespace to the name of your team.
- Update the manifest.json with the details of your modpack
- change "website_url" to match your GitHub repository's link, or the link to your Discord server, or whatever.
- change "version_number" to 1.0.0 or whatever you want your initial version to be (0.0.69?).
- change "name" to whatever you want the modpack to be named, keep in mind this name is fairly strict, so avoid special characters, spaces, etc.
- add a little description to the "description"
- update the dependencies with your new modpack's dependencies
You can go to Settings -> Modpacks -> Show Dependency Strings in r2modman to grab the list, then surround it with quotes and commas to match the JSON format.
- clear out the config folder and add any config overrides you want
- if you don't want any, delete the config folder and update line 15 in.github/workflows/publish.yml to remove the publish.yml file
- CHANGE THE ICON.PNG
- Clear out the CHANGELOG.md file and add your initial release info, moving forward after your first release you can use my script to make it easier.
- You should be done, make your first commit and push it up - now go to your repo and watch the action. If anything got messed up the error there will clarify. Otherwise, you should expect your modpack published shortly.
Other Notes
In the action publish.yml we package the modpack into a ZIP, if you need to add a folder to that ZIP be sure to update line 15 with that new folder (such as audio for custom boomboxes). If you want to change other details, such as the category, you can do so in publish.yml as well.
Script Notes
The scripts checkVersions.js and generateChanges.js require NodeJS.
Update Instructions
- Start by running node./checkVersions.js, this file will check all the versions of your current dependencies and update the manifest with changes if necessary.
- If you're just updating dependencies, skip steps 3 thru 5.
- Add any dependency strings to the dependencies for mods you want to add.
- Remove any dependency strings from the dependencies for mods you want to remove.
- Copy any updated configs from your r2modman profile to the config folder in the repo.
- Update the version in the manifest. For me if I add/remove a mod I change the minor version (middle number), if I just updated dependencies or changed a config I update the patch version (last number).
- Run node./generateChanges.js, this will generate your CHANGELOG.md template. If I go back to step 3 for some reason I'll just discard my changes to CHANGELOG.md so I can run this script again.
- Open CHANGELOG.md and add any additional details as necessary.
- Stage changes and commit (I usually just use the new version number as the message)
- Push and wait for it to go live! Watch your GitHub action though, if something went wrong it'll make note of it there.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: