CatLib

版本 v0.7.1·更新於 2026-10-10

Foundation library for Cat Mail Co. mods.

模組介紹 作者原文

CatLib

Foundation library for Cat Mail Co. mods.

CatLib does nothing to the game by itself. Mods are built on top of it, so when a mod needs it, your mod manager installs it for you.

For players

  • Mods tab. Open Settings and you'll find a Mods tab with every installed mod, its icon, author and version.

Change settings right there and most of them apply straight away. Point at a setting to see what it does and what the default is.

Each mod has a reset button.

  • Your language. Mods use the game's language, all 13 of them.

If a translation reads wrong, you can fix it yourself with a small file, no need to wait for an update.

  • Playing with friends. In the lobby, every player's mods are listed next to the host's, so you can see who has what.

If someone is missing a mod, that mod is paused for the game instead of breaking it, and comes back once everyone has it.

  • Your saves are safe. Mods keep their data in their own files next to your save. The game's save itself is never touched,

so removing a mod leaves it exactly as it was.

  • When the game crashes. A small window tells you what happened and keeps a report you can send to the mod's author.

It also notices when the game freezes while quitting. This part is the CatLib Crash Watcher package, installed together with CatLib.

  • After a game update. The corner of the main menu shows the CatLib version.

If the game has been updated and CatLib hasn't caught up yet, or your game is older than CatLib expects, it says so there.

CatLib's own settings are on the Mods tab too: the crash window, and whether a player with other mods can stay in your lobby.

For mod developers

Everything below is documented in the repository.

  • Settings. CatSettings.For(this) declares settings that apply live while the game runs and appear on the Mods tab

with translated names, sliders, dropdowns and restart marks. Session settings come from the host.

  • Translations. Put Lang/en.json, Lang/ru.json and so on next to the project. Plural forms, the game language

and translation files from players are handled, and a check reports missing or broken texts.

  • Multiplayer. CatNetwork.Declare puts your mod into the compatibility check over Steam. You get the session roster,

paused mods when someone lacks yours, and CatNetwork.Channel for messages between your mod's copies.

  • Saves. CatSaves.For(this) stores data per game save, written with the game's save, atomically and with a backup.

Only the host writes. The game's save file is never opened.

  • Game events. Loading, saving, the network and the player as plain.NET events, with their real order documented.
  • UI. Notifications.Show for messages in the game's style, FoldoutList for lists built from the game's own UI.
  • Game build. GameCompatibility.Status tells whether the running game is the build CatLib was made for.
  • Developer menu. DevMenu.Command adds your tools to one in-game panel on the ` `` key.
  • Crash reports. Crashes in your mod come with a report, both logs and a memory dump.

Depend on CatLib-CatLib- in your manifest. Start with Writing a mod.

Found a bug?

Report it on GitHub. Tell us what you did, which mods you had, and whether you were playing alone, hosting or joining.

  • The game crashed: press Open the report folder in the crash window, zip that folder and attach it.

Older reports are in BepInEx/CatLib/Crashes. Nothing is sent anywhere by itself.

  • Something else went wrong: attach BepInEx/LogOutput.log before you start the game again, because the next start overwrites it.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_IL2CPPCatLib-CrashWatcher

檔案與校驗

檔案名稱
CatLib-0.7.1.zip
檔案大小
403.1 KiB