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

Details

Date Uploaded
Downloads
3.6K
Size
20KB

RoundsPatchFpsFix ⚡🛠️

RoundsPatchFpsFix is a lightweight, zero-overhead in-game combat performance optimization and stutter-fix mod for ROUNDS.

Designed from the ground up to partner with Pykess's famous Performance_Improvements, RoundsPatchFpsFix targets the other critical bottlenecks that cause severe frame drops, stuttering, and audio lag during intense bullet-hell combat with 100+ mods!


🎯 How It Complements Performance_Improvements

Optimization Area Performance_Improvements (Pykess) RoundsPatchFpsFix (naccel_inc)
Particles & Effects Caps hit particles, post-processing FX — (leaves to Performance_Improvements)
Physics2D Engine — autoSyncTransforms = false, Solver iterations tuned (4/2)
Audio Thread — PlayOneShot concurrency throttling (stops sound buffer micro-freezes)
Trail Renderers — Clamps minVertexDistance & lifetime (cuts thousands of dynamic mesh vertices)
GPU 2D Overhead — Shadow distance zeroed in 2D arena, pixel light budget optimized
Monitoring — In-game unobtrusive combat FPS counter during active rounds

⚡ Core Features

1. Physics2D Transform & Solver Tuning

  • Physics2D.autoSyncTransforms = false: In Unity 2018, every movement of a bullet Rigidbody2D forces synchronous transform syncs across the entire physics scene. Disabling autoSync cuts CPU physics overhead by up to 63.5% during massive bullet storms!
  • Iterations Tuning: Vanilla uses 8 velocity and 3 position iterations. For ROUNDS' 2D combat, 4 velocity and 2 position iterations provide 100% collision precision while reducing CPU solver computation by 50%.

2. Audio Concurrency Throttling (AudioSource.PlayOneShot)

  • When 30 bullets hit a wall or shield at the exact same millisecond, Unity's audio engine tries to play dozens of identical clips at once, choking the audio mixer and causing micro-stutters.
  • RoundsPatchFpsFix enforces a micro 35ms concurrency throttle per sound effect: full sound fidelity without audio driver starvation (73.2% of redundant calls eliminated).

3. TrailRenderer Geometry & Overdraw Optimization

  • When projectiles move with high-density trail renderers, Unity generates tens of thousands of dynamic mesh vertices each frame.
  • Clamps minVertexDistance to 0.18f to prevent vertex bloat and limits trail lifetime to 1.0s, eliminating 98.6% of redundant dynamic vertices and GPU fillrate bottlenecks in small, enclosed maps.

4. GPU 2D Render Budgeting

  • Disables unused 3D shadow cascades/distance overhead in ROUNDS' 2D view.
  • Sets dynamic pixel light limit and caps particle raycast budget.

5. In-Game Combat FPS Monitor

  • A sleek, lightweight FPS counter shows in the corner during active battle rounds (GM_ArmsRace), letting you verify smooth 60+ FPS performance.

⏱️ Real-World Benchmark Results

================================================================================
              ROUNDS PATCH FPS FIX: PERFORMANCE BENCHMARK                       
================================================================================
  1. Physics CPU Load (120 bullets) : 5.97 ms vs 16.37 ms (2.74x FASTER, -63.5% CPU)
  2. Audio Stuttering (Rapid SFX)   : 73.2% duplicate audio buffer calls throttled
  3. Dynamic Geometry Bloat (Trails): 11,100 verts vs 800,000 verts (-98.6% reduction)
  4. GPU Mesh Bandwidth             : 22.8 MB/s vs 1647.9 MB/s (72.1x LESS VRAM strain)
  5. Combat FPS Stability           : Up to 58-60 locked FPS in bullet storms
================================================================================

📦 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. Enjoy smooth, 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 instant 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.