Barotrauma 潜渊症

Barotrauma 潜渊症

评价数不足
Enhanced Loading
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
726.774 KB
12 月 13 日 上午 8:03
12 月 14 日 下午 1:02
3 项改动说明 ( 查看 )

订阅以下载
Enhanced Loading

描述
Uses C# to add a producer-consumer framework to optimize Barotrauma's level transition times by addressing the engine's single-threaded loading bottleneck

[Mod is still in Beta, use at your own risk]

Barotrauma's loading speed is tied to framerate (Linear Scaling). This mod automatically disables V-Sync and uncaps the framerate limit only during loading screens. This allows the CPU to process level generation logic at maximum speed. It also uses your CPU's extra threads to "pre-read" submarine and level files in the background. This forces your OS to cache these files into RAM before the main game thread asks for them, effectively eliminating disk latency during the load.

I've tested this with a friend who was running at about 150-200fps. Without the mod, it'd take him ~12 seconds to load into an outpost in the cold caverns on the wallaby. With the mod, he took only around ~5-6 seconds.
My testing (at 400+ fps) allowed me to load into most levels nearly instantly, even on large saves with big subs and lots of items. So...this mod is sort-of hardware dependent (obviously), and you will not get large performance boosts on lower-end specs.


How to Use:
LuaCs is **REQUIRED**
Make sure the game's framerate is NOT capped (no v-sync, no maxframerate set in gpu settings)

TL;DR
Significantly reduces loading times during level transitions.
"Instant" loading for smaller levels or Sandbox mode.
Client-side optimization.
Safe to add/remove mid-campaign.
8 条留言
shoolgate 7 小时以前 
multiplayer inoperative
你好 8 小时以前 
@Wholly Milk Me too
Wholly Milk 11 小时以前 
Seems to cause a crash almost every time the level transitions :steamsad:
你好 15 小时以前 
thank
你好 15 小时以前 
Will this still work when joining someone else's server?
Yinjie 12 月 14 日 上午 8:53 
非常好模组:steamthumbsup:
Frogs 12 月 13 日 下午 4:06 
I really really really like this new tread of optimization mods
Maxwell the Third 12 月 13 日 上午 8:08 
swag.