Compress
Compress ZDOData synced between server and client.
模組介紹 作者原文
## Compress
- Opt-in server and client data compression when syncing ZDOs.
- ZPackage/ZSteamSocket optimizations for related code in the SendZDOs hot-loop.
Notes
- This mod must be installed on the server to enable compression.
- As a client, if the server does not have the mod then Compress will send uncompressed/vanilla data.
- Your Send rate in the F2 Panel will be the usual ~150 KB/s.
- As a client, if the server does have the mod it will start sending and receiving compressed ZDO data.
- You should see a drop in your Send rate of around 50% to ~80 KB/s.
Installation
- Manual/Vortex
- Un-zip Compress.dll to your /Valheim/BepInEx/plugins/ folder.
*
- Go to Settings > Browse profile folder and un-zip Compress.dll to the /BepInEx/plugins/ folder.
Configuration
- isModEnabled
- Globally enable or disable this mod (restart required).
Changelog
1.3.0
- Temporarily remove the ZSteamSocket.Send patch from Compress as it does not retry on a failed send.
1.2.0
- Added ZPackage.Write(ZPackage) patch that copies the passed in ZPackage buffer directly.
1.1.0
- Added ZSteamSocket.Send() patch that directly sends the ZPackage data on the socket.
1.0.0
- Initial release.
Extra
- Source code available at: Github
- Looking for a chill Valheim server? Comfy Valheim Discord
- Looking for great Valheim servers to play on? valheimlist.org
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
denikson-BepInExPack_Valheim