Confirm with your password

NetworkSpeedup

Some send packet tweaks

Client & Server

Stars
0
Downloads
3
Version
1.0.0
Updated
Author
KG
Virus scan
✓ Scan successful
Runs on
Client & Server

Description

NetworkSpeedup

Optimizes Valheim's Steam networking send queue by avoiding unnecessary native memory allocations when sending packets.

What it does

Replaces Valheim's ZSteamSocket.SendQueuedPackages() implementation with an optimized version that:

  • Avoids Marshal.AllocHGlobal
  • Avoids Marshal.Copy
  • Sends the existing byte[] directly using a pinned pointer
  • Reduces per-packet allocations and memory copying

Sets server framerate from 30 ticks to 128 ticks (configurable)

Performance

Perfomance won't be even noticable but even 0.01% is a win

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2333 · View mod page

Check out the mod page for detailed installation instructions.

2

Install NetworkSpeedup

This mod must be installed on both the client and the server.

Download NetworkSpeedup 1.0.0

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.