Fallout New Vegas
0 of 0

File information

Last updated

Original upload

Created by

iranrmrf

Uploaded by

iranrmrf

Virus scan

Safe to use

About this mod

This plugin fixes the Fallout New Vegas mod limit bug. It allows a maximum of 255 plugins to be loaded. It can also cause an increase in fps, remove game stutter and allow for faster loading times especially when using a large number of mods.

Requirements
Permissions and credits
Changelogs
Donations
Installation

You will need NVSE for this plugin to work. Simply overwrite your Data/NVSE folder with the folder in the zip file. It works with MO2.


Conflicts

This fix should have no conflicts whatsoever. A mod limit message might appear. It will happen if you use JIP's Companions Command and Control mod. There is nothing I can do about the message for now. When the mod author returns from his busy schedule I will let him know about what has happened and I'm certain he will patch it. It in no way means that the plugin does not work or that the limit still exists.


Why the Limit Existed

The plugin limit bug existed because the game opens 3 file handles for each plugin and never seems to close them. The reason as to why it does this is still unknown. The game has a hard coded limit of 512 maximum file handles that can be opened at once. When loading anywhere around 140 plugins, the game requires around 420 handles for these alone. Along with bsa files as well as normal files the game requires, the game would easily attempt to open more than 512 handles. This is the reason assets stopped loading and things would begin to go south.


How this Fix Works

 This fix simply bumps the maximum number of file handles up to 2048. The reason that 2048 is used is because it is the maximum number of file handles that Windows usually allows, and the more the merrier. The fix also redesigns the way the game obtains file handles. Due to the file handles not closing, the game would have iterate over all of the loaded plugin handles in order to open a new one. This fix changes this and allows for file handles to be opened instantly.


Performance Boost

The increase in fps, stutter removal and decreased loading times seems to affect everyone to a different extent. This mod can only have positive performance benefits and will in no way affect any of the game's content. The only way to know if it will benefit you is to download it and try it for yourself.


Thanks

Thank you to RoyBatty and lStewieAl for helping me along the way.

Thank you to lStewieAl for gifting me Premium. Please check out his QoL mod Stewie's Tweaks.

Source

https://github.com/iranrmrf/ModLimitFix