PoolManager.asi will attempt to identify the cause of a crash in RDR2 if the crash is related to a memory pool within gameconfig.xml. when the game crashes because of a pool this logs that pool value/hash
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is not opted-in to receive Donation Points
fix compatibility with latest version of scripthook
Version v1.5.3
performance improvements
fix logging of named pools
Version v1.5.2f
improved checks of ScriptHookRDR2
now it actually checks if ScriptHookRDR2 is loaded or not
various random improvements
Version v1.5.2d
uploaded for some reason I keep uploading wrong files hopefully this one is right one
Version v1.5.2c
access to some more pools
improvements in seeking memory blocks
Version v1.5.2b
Removed some unnecessary code
Version 1.5.2
fixed logging of unknown pools
improvements to joaat hashing
performance improvements
misc improvements and tweaks
added ScriptHookRDR2 Pools into gameconfig.xml
Version 1.5.1
Finally GetSizeOfPool hook compatibility with ScriptHookRDR2 by hooking into ScriptHook detour function. now it doesn't conflict with ScriptHookRDR2 pool pointers and replaced PoolManager.ini with PoolManager.toml file
Version 1.5
currently added workaround for logging initial pools and removed GetSizeOfPools hook for compatibility with ScriptHookRDR2 and added added vtable list form PS4 for logging unknown pools.
Version 1.4
fixed an issue pointed out by alexguirre
Version 1.3
fixed minor issues that was overlooked
Version 1.2
fixed logging of unknown pools
Version 1.1
initial release
Pool Manager logs every pool value form gameconfig.xml along with the once that are not in it but can be added into it and if the game crashes because of a pool exceeding the original value it reports it by creating PoolManager_Crash.log and reporting the pool values related to that crash.
use openiv to get the gameconfig.xml and increase the value then load it with lml.
added a gameconfig.xml as an optional file if the game crashes increase the related pool values inside it and if game updates it use something like winmerge to add diff and add new values into it. also when I have time I'll increase some values form inside it for over all stability of the game when playing with mods.
note:
updating form previous versions: REMOVE PoolManager.ini it is not needed any more use PoolManager.toml customization like enable/disable pool percentage looging
all the pool names are not currently known so when it finds a pool without a name it reports it's hash instead.
Requirements: ASI loader (dinput8.dll) which comes with ScriptHookRDR2
installation: put PoolManager.asi and PoolManager.toml into game folder (where rdr2.exe is located) and for the gameconfig.xml simply downlaod lml install it and drop the GameConfig folder inside lml folder.