You are viewing a potentially older version of this package. View all versions.
naccel_inc-RoundsPatchFpsFix-1.0.5 icon

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.

Date uploaded a month ago
Version 1.0.5
Download link naccel_inc-RoundsPatchFpsFix-1.0.5.zip
Downloads 41
Dependency string naccel_inc-RoundsPatchFpsFix-1.0.5

This mod requires the following mods to function

BepInEx-BepInExPack_ROUNDS-5.4.1901 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1901

README

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 + ToArray in RayCastTrail.Update() with static non-alloc buffers.
    • Eliminates over 4,800 heap allocations every single second during bullet exchanges!
  • โšก Bullet Trail Lifetime & Vertex Clamp (TrailRendererOptimizationPatch):
    • Caps projectile TrailRenderer.time to 0.20s and sets minimum vertex distance to 0.1m, reducing dynamic mesh vertex generation by up to 70%.
  • ๐Ÿงน 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.
  • ๐Ÿ”‡ 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 B with debouncing and automatically sanitizes unassigned bot PlayerActions to prevent NullReferenceException loops in RoundsWithFriends.

โš™๏ธ In-Game Configuration Menu (UnboundLib)

If you have UnboundLib installed, you can configure RoundsPatchFpsFix directly in-game:

  1. Open the game and click MODS (in Main Menu or Pause Menu).
  2. 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:

  1. Install via your mod manager (or drop RoundsPatchFpsFix.dll into your BepInEx/plugins/ folder).
  2. 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.