ROUNDS
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
3.6K
Size
33KB

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.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.