UltraSmooth

UltraSmooth

A lightweight performance, visual polish, and co-op network optimizer for Stardew Valley 1.6+. Features rock-solid 60/144/240Hz pacing, sub-frame interpolation, 1000Hz mouse polling, zero-alloc caching, fast I/O, and co-op network sync with 1MB buffers.

[center]
[size=5][b]UltraSmooth — Visual Polish, Performance Tweaks & Co-op Optimizer[/b][/size]
[size=3][i]A lightweight quality-of-life performance, visual polish, and co-op network companion for Stardew Valley 1.6+[/i][/size]
[/center]

[line]

[size=4][b]🌟 Overview[/b][/size]
[b]UltraSmooth[/b] is a lightweight client-side companion mod designed to improve motion fluidity, normalize high-refresh framerates, eliminate input lag, and optimize multiplayer co-op networking in Stardew Valley 1.6+.

Whether you play at rock-solid 60 FPS, on high-refresh gaming monitors (120Hz, 144Hz, 240Hz+), or in co-op sessions with friends, UltraSmooth ensures the game world runs at its natural, intended speed without physics bugs, while providing sub-frame sprite interpolation, 1000Hz hardware mouse polling, 1MB socket buffers for heavy co-op farms, and background memory management for heavily modded setups (SVE, RSV, East Scarp, Content Patcher modpacks).

[line]

[size=4][b]⚡ Key Features[/b][/size]
[list]
[][b]High-Refresh Framerate & Physics Pacing (120Hz / 144Hz / 240Hz / Unlocked):[/b] Locks game simulation, NPC pathing, monsters, tree falling, rock breaking, animal behaviors, projectiles, water, and weather to exact 60 TPS natural speed while rendering at full display refresh rates with zero input latency.[/]
[][b]🌐 Isolated Co-op Network Optimizer (Direct-IP / LAN / VPN):[/b] Resolves map warp freezes and "Connection Lost" disconnects when entering heavy farms (SVE, 500+ crops/machines) by expanding Lidgren UDP socket buffers from 128 KB to 1,024 KB (1 MB). Bumps player movement broadcast from 20Hz to real-time 60Hz and smooths remote player interpolation to 100ms. Bypassed 100% in single-player with zero CPU overhead. Includes an interactive in-game Readme popup with on-the-fly [TH / EN] language toggling.[/]
[][b]🖱️ Zero-Lag 1000Hz Hardware Mouse Polling:[/b] Directly samples hardware mouse state immediately prior to rendering, completely bypassing Stardew Valley's legacy 1-frame (~16.6ms) software cursor lag for instant 1:1 desktop cursor tracking.[/]
[][b]Sub-Frame Sprite Motion Interpolation:[/b] Continuously interpolates positions for farmers, NPCs, monsters, and farm animals on high-refresh displays for silky-smooth motion.[/]
[][b]⏱️ Zero-Allocation Time String Memoization:[/b] Eliminates thousands of redundant garbage collections per second caused by minigames and HUD time string queries.[/]
[][b]🎮 True GPU VRAM Texture Pre-Upload:[/b] Pre-binds core UI and item sprite sheets directly to GPU VRAM during loading screens, eliminating the 20–50ms tab opening hitch when opening inventory and crafting menus.[/]
[][b]Instant Item Magnetization & Clean Native Drops:[/b] Clean, native debris handling ensures dropped items from trees, mining, and crops magnetize to the player instantly without delay.[/]
[][b]Background Turbo Load JIT & Fast Save GC Engine:[/b] Pre-warms runtime JIT compilation and reflection caches in the background during the title screen, paired with safe coordinated Gen0 pre-save memory cleanups for hitch-free saving.[/]
[][b]Viewport Vegetation & Crop Frustum Culling:[/b] Skips draw calls for off-screen grass, bushes, trees, and crops to reduce CPU and GPU draw call bottlenecks on large farms.[/]
[][b]O(1) Bitwise Spatial Machine Throttling:[/b] Efficiently throttles per-frame update checks on off-screen kegs, furnaces, and jars using zero-allocation bitwise spatial hashing.[/]
[][b]SDV-Radiance & UI Info Suite 2 Compatibility:[/b] Automatically normalizes shader clocks, cloud shadows, falling blossom petals, and animal petting indicators to real-time speed.[/]
[][b]Clean Zero-Allocation Performance Overlay (F7):[/b] Non-intrusive in-game FPS, frametime sparkline graph, RAM, and Monitor Hz diagnostic HUD.[/]
[/list]
[line]

[size=4][b]⚙️ In-Game Configuration[/b][/size]
UltraSmooth fully supports both [b]Generic Mod Config Menu (GMCM)[/b] and [b]Modern Config Menu (MCM)[/b] for seamless in-game setting adjustments and live FPS mode switching.

[b]Framerate (FPS) Modes:[/b]
[list]
[][b]60 FPS (Standard):[/b] Pure vanilla 60 FPS fixed timestep with background optimizations active.[/]
[][b]60 FPS (Enhanced):[/b] High-precision 60 FPS mode with zero-allocation memory pacing and flat-line frame times.[/]
[][b]60++ (Monitor Hz):[/b] Hardware-synchronized high-refresh mode (120Hz/144Hz/240Hz) with full 60 TPS simulation locks and sprite interpolation.[/]
[][b]??? (Unlimited):[/b] Raw uncapped framerate mode for benchmarking while preserving 60 TPS physics.[/]
[/list]
[line]

[size=4][b]❓ Frequently Asked Questions (FAQ)[/b][/size]

[b]Q: Does this work with multiplayer co-op? Do both Host and Client need to install it?[/b]
[b]A:[/b] [b]Yes, perfectly![/b] UltraSmooth can be installed by either party or both:
[list]
[]If [b]Client (friend)[/b] installs alone: Expands receive buffer to 1MB, immediately preventing warp disconnects when entering the host's large farm, and smooths movement on the client's screen.[/]
[]If [b]Host[/b] installs alone: Expands server socket buffer and broadcasts player movement at 60Hz (friends see the host move smoothly even without the mod).[/]
[]If [b]Both install (Recommended):[/b] 100% full-duplex sync with 1MB buffers and 60Hz real-time movement on both screens![/]
[/list][i]Note: Host and Client settings do not need to match — each client configures their own local broadcast and rendering preferences independently.[/i]

[b]Q: Is this a pixel upscaler or texture smoother like Clear Glasses / Monocle?[/b]
[b]A:[/b] [b]No.[/b] UltraSmooth is for [b]Motion Smoothness, High Refresh Rate Pacing (120Hz/144Hz/240Hz+), Zero Input Lag, and Background Optimizations[/b] — NOT pixel art anti-aliasing or texture filtering. It is 100% compatible to use alongside Clear Glasses or Monocle!

[b]Q: Does this work with large expansion mods (SVE, Ridgeside Village, East Scarp)?[/b]
[b]A:[/b] Yes! UltraSmooth is specifically designed to alleviate GC stutters, machine lag, loading bottlenecks, and multiplayer warp disconnects in heavy modpacks.

[line]

[size=4][b]📥 Installation[/b][/size]
[list=1]
[]Install [url=https://smapi.io]SMAPI[/url] (v4.0.0 or newer).[/]
* Install [url=https://www.nexusmods.com/stardewvalley/mods/5098]Generic Mod Config Menu (GMCM)[/url] or [url=https://www.nexusmods.com/stardewvalley]Modern Config Menu (MCM)[/url] to easily customize settings in-game.[/]
[
]Download UltraSmooth and extract the UltraSmooth folder into your Stardew Valley/Mods folder.[/]
[
]Launch the game through SMAPI. Press [b]F7[/b] in-game to toggle the performance overlay if desired.[/*]
[/list]