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

RoundsPatchFpsFix

Combat optimizer & modpack safety engine for ROUNDS! Eliminates 30 FPS locks & VSync stutter, fixes mouse aim & bot bugs, and auto-patches known crashes in popular mods (Gravity Patch, PCE, RWF, WWC, UnboundLib, Cards+, DemonicPact, ModdingUtils).

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

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 an all-in-one combat performance optimizer, input corrector, and universal modpack stability engine for ROUNDS.

It tackles the deepest engine-level bottlenecks and community mod bugs that cause severe FPS drops, 30 FPS locks, micro-stutters, and crashes in giant modpacks (50-100+ mods):

  • ๐Ÿš€ Unlocked Framerate & 30 FPS VSync Lock Elimination
  • ๐ŸŽฏ Fixed mouse cursor aiming & bot input bugs
  • ๐Ÿ’ฅ 100% pure vanilla bullet collisions & explosion physics
  • ๐Ÿ›ก๏ธ Auto-patches known game-breaking bugs in popular community mods
  • ๐Ÿ”Š Sonigon Audio voice overruns and DSP lag elimination
  • โšก Dynamic TrailRenderer mesh vertex clamping
  • ๐Ÿงน Automatic arena debris and decal purge between rounds

๐ŸŒŸ What's New in v1.0.9

  • ๐Ÿช Cosmic Rounds (CR) Universal Offline & Bot Crash Protection:
    • Fixed fatal NullReferenceException in all 14 Cosmic Rounds projectile cards (Careen, Satellite, Meteor, Comet, Asteroid, Sun, Pulse, Cloud, Drone, Drive, Shooting Star, Bee, Squid, Moon).
    • In local offline and bot matches, Photon.Pun.SyncProjectile is absent on local projectiles, which caused sync.active = true to throw NRE inside card Start() methods. This unhandled exception caused EveryonePicks to panic, abort card selection, and reset the entire match (Hard reset: RWFGameMode.ResetMatch).
    • Implemented an IL bytecode transpiler and exception finalizer that safely guards sync.active, allowing all 14 Cosmic Rounds cards to initialize and function cleanly in offline, bot, and online lobbies.
    • Added a safety prefix on CareenMono.Start ensuring RayHitReflect component exists before reflection callback binding.
  • ๐Ÿฆต Zero-Vector LookRotation Warning Elimination:
    • Enhanced LegRendererSafetyPatch to check all segment distances (start, mid, end). Completely prevents Unity's Look rotation viewing vector is zero log spam when character models spawn or legs collapse.

๐ŸŒŸ What's New in v1.0.8

  • ๐Ÿ‘ค Character Model Disappearance & Glitch Fix:
    • Fixed PlayerManager.ResetCharacters to never delete player entries from PlayerManager.players. All players remain registered, preventing RoundCounter index errors, missing pickers, and orphaned invisible character models.
    • Neutralized Performance_Improvements aggressive "Adaptive MAX" preset from disabling player SpriteRenderer and SpriteMask components or glitching map art.
    • Protected DecalCleanupPatch so it strictly ignores any objects parented to Player, CharacterData, or Gun.
    • Added LegRendererSafetyPatch to eliminate Unity zero-vector LookRotation warning cascades when character limbs are stationary.
  • ๐Ÿ”“ Unlocked FPS & 30 FPS VSync Lock Elimination (EngineOptimizationPatch):
    • Bypassed LowFrameRate.OnJoinedRoom and hooked Optionshandler.ApplyOptions to prevent Unity double-buffering from snapping down to 30 FPS under Linux/Proton.
    • Enforces QualitySettings.vSyncCount = 0 and Application.targetFrameRate = -1 by default for ultra-smooth 60/144/240Hz gameplay without micro-stuttering.
  • ๐Ÿ’ฅ Purified Combat Pipeline (Vanilla Explosions):
    • Completely removed custom explosion wrappers, ensuring explosion logic runs 100% vanilla with zero Explosion.Explode() NRE errors.
  • ๐Ÿ›ก๏ธ Comprehensive Mod Safety Protections (ModSafetyFixesPatch):
    • Shielded Gravity Patch and PCE during match conclusion.
    • Shielded Cards Plus CyberCardEffect.CreateFrame and Cosmic Rounds SatelliteMono.Start from null reference exceptions.
    • Shielded Sonigon audio voice pool teardown on match exit.

๐Ÿ›ก๏ธ Built-In Fixes for Popular Community Mods

In addition to optimizing the base game, RoundsPatchFpsFix actively detects and patches known game-breaking bugs in popular community mods:

  • Gravity Patch:
    • Fixes fatal NullReferenceException at match end (ResetMatch / PlayerManager.ResetCharacters) when resetting character gravity parameters.
  • PCE (Player Customization Extended):
    • Shields PCE.Patches.PlayerPatchFullReset from crashing when players leave or despawn.
  • Will's Wacky Cards (WWC):
    • Automatically resolves missing LocalZoom.dll directly from embedded memory resources to prevent fatal Mono JIT crash loops when picking zoom cards.
    • Fixes WWC.UI.FollowPlayer.Update NRE loop when a player leaves or despawns.
    • Shields WWC.MonoBehaviours.PlasmaWeapon_Mono.UpdateChargeBar() from throwing thousands of NREs per second when using Plasma Shotgun.
  • Rounds With Friends (RWF):
    • Fixes RWF.UI.FollowPlayer.Update NRE loop when tracking despawned players.
    • Fixes RWF.UI.PlayerSpotlight.SetShadowOpacity crash on missing background references.
    • Safe-guards RWF.PrivateRoomHandler against UI exceptions outside private rooms.
  • UnboundLib:
    • Fixes AssignColorID negative index crash (IndexOutOfRangeException: -1) during custom character and bot creation.
  • ModdingUtils & Demonic Pact:
    • Shields PlayerPatchFullReset.Prefix against null player/data references during match reset and round transitions.
  • Cards Plus:
    • Guards CyberCardEffect.SetFont and CreateFrame against child transform out-of-bounds exceptions.
  • Deck Customization:
    • Fixes missing theme color crashes in DeckCustomization.RarityUtils.GetThemeColor().
  • Game UI & Inputs (GoBack):
    • Fixes GoBack.Update NRE loop spam on Escape and controller button presses.
    • Solves Sandbox Space jumping duplicates, Lobby ReadyUp double-toggling, and bot B key burst spawning.

๐Ÿš€ Engine Performance Optimizations

  • ๐Ÿ”“ VSync Lock & Double-Buffering Bypass:
    • Completely eliminates the notorious Unity half-refresh rate drop (30 FPS) by decoupling framerate from double-buffered VSync.
  • ๐Ÿ”Š 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.
  • โšก 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.
  • ๐Ÿ”‡ 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 Frame Pacing (Optional):
    • Configurable 60 FPS cap or fully unlocked framerate for 144Hz/240Hz monitors via configuration file.

โš™๏ธ 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:
    • Silence Bullet & Effect Debug Logs: Prevents main-thread disk I/O stalls.
    • Sonigon Audio Voice Limiter: Eliminates audio DSP lag and distortion.
    • 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: Toggles between 60 FPS lock and fully unlocked FPS.
    • 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, stable 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.