Mods Adaptive Streaming Chunk Size

Adaptive Streaming Chunk Size

Download Adaptive Streaming Chunk Size

About

This mod adjusts the Streaming Chunk KB setting based upon whether the game state is currently in the menu or in-game. This is done to work around a severe framerate drop when leaving steel sights mode, while still allowing game resources to be loaded at full speed if the local player has not spawned into the level yet.

Preview

Mod options

Usage

Installation of the mod is straightforward - simply install the mod the same way as any other BLT mod. This mod integrates its options menu as a submenu of BLT's Mod Options menu.

Credits

  • The localizations loading code was from TdlQ's excellent Lobby Player Info mod
  • This mod was requested by slidedrum
  • This mod was improved upon with feedback from slidedrum and McKillem (also; shoutout to Sounds_of_the_Future as well for letting more people know of the existence of this mod prior to its formal release)

Download

http://download.paydaymods.com/download/latest/adaptivestreamingchunksize

Changelog

0.0.1 / revision 1:
- Initial private release

0.0.1.1 / revision 2:
- Replaced the MenuSetup:init_finalize() hook with a generic one applied on
  Setup:init_finalize() instead so it is invoked across all game states
- Replaced the NetworkGameSetup:init_finalize() hook with one applied on
  PlayerManager:spawned_player() to resolve issues with the setting
  adjustment being triggered too early

0.0.1.2 / revision 3:
- Added additional hooks to force the Streaming Chunk KB setting back to 4096
  for the following game states:
  - Main menu
  - Transitioning from in-game back to the main menu / lobby (applies to both
    contract termination and quits)
  - Level restarting
  - IngameLobbyMenuState (i.e. when the mission briefing GUI is shown)

0.0.2 / revision 4 'Slower than sloths, molasses, and glaciers':
- Initial formal release
- Updated for compatibility with BLT 2.x
- Added an empty placeholder icon (cba to make a proper one atm)
- Fixed the setting adjustment not being triggered for Crime Spree hosts
  (thanks to TheRobbebas for reporting the issue)
- Added Mod Options configuration menu
- Added options for controlling the minimum and maximum streaming chunk size
  overrides applied by the mod (minimum defaults to 128 since 32 is likely to
  be too aggressive)

Download Adaptive Streaming Chunk Size