
You are viewing a potentially older version of this package. View Latest Version
RoundsPatchFpsFix
Ultra combat optimizer for ROUNDS! Non-alloc RayCastTrail physics, Sonigon audio voice limiter, combat GC freeze, bullet trail vertex clamp, and map debris cleanup.RoundsPatchFpsFix ⚡🛠️
RoundsPatchFpsFix is a zero-overhead combat performance optimizer and stutter-fix mod for ROUNDS.
While Pykess's Performance_Improvements focuses on reducing hit particle counts and screenshake, RoundsPatchFpsFix tackles the deepest engine-level bottlenecks that cause severe FPS drops and stuttering in giant modpacks (50-100+ mods):
- Mono GC heap churn during firefights
- 4,800+ heap allocations per second in RayCastTrail physics
- Sonigon Audio voice overruns and DSP lag during bullet swarms
- Dynamic TrailRenderer mesh vertex bloat
- Map debris accumulation across multi-round matches
- Main-thread Debug.Log disk I/O stalls
🌟 What's New in v1.0.5
- 🔊 Sonigon Audio Voice Limiter (
AudioConcurrencyLimiterPatch):- Limits identical audio events to max 2 plays per 40ms window during explosions and rapid-fire storms.
- Eliminates audio crackling, DSP buffer overruns, and cuts audio CPU load by ~80% during intense combat.
- 🎯 RayCastTrail Zero-Allocation Physics (
RayCastTrailNonAllocPatch):- Replaces
RaycastAll+CircleCastAll+Concat+ToArrayinRayCastTrail.Update()with static non-alloc buffers. - Eliminates over 4,800 heap allocations every single second during bullet exchanges!
- Replaces
- ⚡ Bullet Trail Lifetime & Vertex Clamp (
TrailRendererOptimizationPatch):- Caps projectile
TrailRenderer.timeto 0.20s and sets minimum vertex distance to 0.1m, reducing dynamic mesh vertex generation by up to 70%.
- Caps projectile
- 🧹 Arena Debris & Decal Purge (
DecalCleanupPatch):- Automatically sweeps lingering wall hit debris and broken box pieces between rounds, keeping FPS just as smooth in round 5 as in round 1.
- ❄️ Mono Garbage Collection Freezing during Combat:
- Freezes GC during active shooting (
GarbageCollector.GCMode = Disabled) and collects cleanly between rounds, ending mid-combat micro-stutters.
- Freezes GC during active shooting (
- 🔇 Combat Log Spam Suppression:
- Silences bullet debug logging during active firefights to prevent main-thread disk I/O stalls in BepInEx and Proton/Wine.
- ⏱️ Smooth 60 FPS Pacing:
- Prevents Intel iGPU 100% thermal starvation, preserving full CPU turbo boost headroom during combat.
- 🤖 Bot Spawn Bug Fix:
- Solves the bot duplication bug when pressing
Bwith debouncing and automatically sanitizes unassigned botPlayerActionsto preventNullReferenceExceptionloops inRoundsWithFriends.
- Solves the bot duplication bug when pressing
⚙️ In-Game Configuration Menu (UnboundLib)
If you have UnboundLib installed, you can configure RoundsPatchFpsFix directly in-game:
- Open the game and click MODS (in Main Menu or Pause Menu).
- Click FpsFix to toggle individual settings:
- Freeze Mono GC During Combat: Disables Mono GC during active shooting.
- Silence Bullet & Effect Debug Logs: Prevents main-thread disk I/O stalls.
- Sonigon Audio Voice Limiter: Eliminates audio DSP lag and distortion.
- RayCastTrail Non-Alloc Physics: Eliminates 4,800+ heap allocs/s.
- Clamp Bullet Trail Lifetimes: Reduces dynamic trail mesh vertex bloat.
- Purge Map Debris & Decals Between Rounds: Prevents 5-round FPS degradation.
- Smooth 60 FPS Pacing: Prevents Intel iGPU power throttling.
- Stable Box2D Physics Solver: Ensures accurate collision detection and prevents contact explosions.
All settings persist automatically to BepInEx/config/com.naccel.rounds.patchfpsfix.cfg.
[!NOTE] Soft Dependency: RoundsPatchFpsFix works 100% out-of-the-box whether UnboundLib is installed or not. Without UnboundLib, optimal settings are automatically applied.
📦 Installation
Works out-of-the-box with Gale, r2modman, or Thunderstore Mod Manager:
- Install via your mod manager (or drop
RoundsPatchFpsFix.dllinto yourBepInEx/plugins/folder). - Launch the game and enjoy smooth, locked high-FPS combat even in giant modpacks!
🛡️ Compatibility
- Fully compatible with ROUNDS 1.0+
- Fully compatible with BepInEx 5.4.19+
- Fully compatible with RoundsDashLoader (for lightning-fast game launch)
- Fully compatible with Performance_Improvements, RoundsWithFriends, EveryonePicks, and all major card packs.