0 of 0

File information

Last updated

Original upload

Created by

NoNameKz

Uploaded by

NoNameKz

Virus scan

Safe to use

About this mod

Eliminate lag in heavily modded Stardew Valley - Struggling with slow load times or performance dips? This mod improves gameplay by optimizing asset preloading and memory management, ensuring smoother transitions and reduced lag during play!

Requirements
Permissions and credits
Changelogs
Donations
How It Works:
When playing Stardew Valley, performance issues like lag or stuttering can happen, especially when moving between areas or after playing for a long time. This mod works behind the scenes to make sure your game runs smoothly by improving how the game manages resources and loads content.

This mod fixes that by focusing on four key areas:

Smart Performance Management
The mod constantly monitors how well your game is performing and takes steps to prevent any slowdowns or lag spikes.

  • Frame Rate Monitoring: It watches how smoothly the game runs and adjusts settings automatically to maintain a steady performance.
  • Problem Detection: If the game’s performance starts to drop, the mod reacts by optimizing on the fly to restore smooth gameplay.
  • Optional FPS Display: You can choose to see an FPS counter on the screen to track how well your game is running at any moment.

Faster Location Loading

Switching between locations in the game can cause delays as new areas and objects need to load. This mod makes location transitions quicker and more fluid.

  • Preloading Assets: The mod intelligently preloads important game files before you need them, so when you enter a new area, it’s already prepared, reducing loading times.
  • Smoother Transitions: It minimizes stuttering or pauses when you move between areas, like entering buildings or moving to different parts of the map.

Advanced Memory Management

Games can slow down when they use too much memory (RAM), especially during long sessions. This mod helps prevent that by managing memory usage efficiently.

  • Automatic Cleanup: The mod frees up memory by cleaning out unnecessary data that the game doesn’t need anymore, preventing memory-related slowdowns.
  • Three Levels of Cleanup: Depending on how much memory your system has, you can choose between Light, Moderate, or Aggressive memory cleanup to best suit your needs.

Customizable Settings
This mod gives you full control over how it works, so you can adjust it to match your PC’s performance level.

  • Turn Features On/Off: You can enable or disable specific optimizations depending on what you prefer or what works best for your computer.
  • Adjust Performance Goals: Set performance targets (like frame rate limits) based on your PC’s capabilities, whether it’s a high-end machine or an older system.
  • Memory Usage Limits: Fine-tune how much memory the game is allowed to use to avoid crashes or performance dips.

You can find all of these settings in the config.json 
file. To generate this file, make sure to enable the mod and load your save game first. After that, the file will appear in your mod folder, where you can adjust the settings.

{
  "EnableDetailedLogs": true, // Enables detailed performance and operation logging
  "AssetCacheSize": 100, // Maximum number of assets to keep in memory cache
  "MaxCacheItems": 1000, // Limits the total number of items in the cache
  "MaxCacheSizeMB": 100, // Maximum size of the asset cache in MB
  "CacheExpirationMinutes": 30, // Time before unused assets are removed from the cache
  "OptimizeAssetLoading": true, // Enables smart preloading and caching of game assets
  "OptimizeLocationTransitions": true, // Optimizes loading during location changes
  "MemoryThreshold": 512, // Memory usage limit in MB before optimization triggers
  "AggressiveMemoryCleanup": false, // Enables more aggressive memory cleanup
  "TargetFrameRate": 60, // Target frame rate for the game
  "EnableFrameRateOptimization": true, // Automatically adjusts settings to maintain frame rate
  "LowFpsThreshold": 45, // FPS threshold for triggering optimizations
  "ShowFpsOverlay": false, // Displays FPS and performance stats on the screen
  "FpsMessageDelay": 10, // Delay (in seconds) between FPS overlay updates
  "PreloadBatchSize": 5, // Number of assets to load simultaneously during preloading
  "EnableCompatibilityMode": true // Ensures better compatibility with other mods
}



Compatibility:
Compatible with Stardew Valley Expanded (SVE) and Ridgeside Village: Both of these popular mods add a lot of new content, such as new maps and NPCs. This mod has been tested with large content mods like SVE and Ridgeside Village, and it efficiently preloads the assets these mods introduce, reducing the likelihood of lag during location transitions.

  • Note: If you're using multiple large mods like SVE or Ridgeside Village together, the performance improvements may depend on your system's capacity to handle the extra data, but the mod will still optimize loading times and memory usage

General Mod Compatibility: The mod supports other major mods, including Content Patcher (which dynamically modifies assets). It is also compatible with cosmetic mods, new NPCs, new items, and most quality-of-life mods.

Multiplayer Compatibility: The mod should work in multiplayer, providing players with smoother gameplay and reduced lag. Each player's system will manage their own asset loading and memory usage. For the best multiplayer experience, it is highly recommended that both the host (the player who sets up the game server) and all participating players install this mod.


Q&A:
1. Will this mod completely stop all lag in my game?
While it helps reduce lag significantly by managing memory and preloading assets, it may not eliminate all lag, especially if you are using a very large number of mods or have hardware limitations. Results may vary depending on your setup.

2. My game still lags—what can I do?
If you're still experiencing lag, try adjusting the mod's memory settings in the config file to better match your system's capabilities. Also, check for other mods that might be conflicting and update them to the latest versions.

3. Does this mod affect my game’s save files?
No, this mod doesn’t change your save files. It only optimizes how the game loads and handles assets during gameplay.

4. Can I disable this mod anytime?
Yes! You can remove or disable the mod without affecting your game saves or other mods. Just remember that if you disable it, the optimizations will no longer apply.



My Other Mods:
  • Harvest With an Axe: Chop Multiple Trees with an Axe! Have you been frustrated with the Stardew Valley mechanics that make you cut down trees one by one? This mod provides the solution! Now you can cut multiple trees at once!
  • Dynamic Combat: Move freely while attacking, blocking, or unleashing special attacks—no more stiff movements! Attack from any angle with ease; you'll never have to turn your character again. It's a fun mod!