314,760
1,073
314,760
1,073
The game has a hardcoded limit on the number of weapons.meta files that can be loaded and on the total number of weapon components that can be defined, which Rockstar increases everytime new weapons.meta or weapon components are added in DLCs.
Reaching any these limits when installing weapon mods makes the game crash while loading. This ASI allows you to increase these limits to prevent those crashes.
Thanks to CitizenFX/FiveM for their weapon components limit patch.
Installation
Install an ASI loader (dinput8.dll).
Then, just drop 'WeaponLimitsAdjuster.asi' and 'WeaponLimitsAdjuster.ini' in your GTAV directory.
If you have installed the old version and still have 'CWeaponInfoBlob Adjuster.asi' and 'CWeaponInfoBlob Adjuster.ini' in your GTAV directory, delete them. Otherwise, both ASIs will conflict and crash.
Configuration
The 'WeaponLimitsAdjuster.ini' file allows you define the new limits. It has two settings:
Changelog
2.2:
2.1:
2.0:
Source code
Reaching any these limits when installing weapon mods makes the game crash while loading. This ASI allows you to increase these limits to prevent those crashes.
Thanks to CitizenFX/FiveM for their weapon components limit patch.
Installation
Install an ASI loader (dinput8.dll).
Then, just drop 'WeaponLimitsAdjuster.asi' and 'WeaponLimitsAdjuster.ini' in your GTAV directory.
If you have installed the old version and still have 'CWeaponInfoBlob Adjuster.asi' and 'CWeaponInfoBlob Adjuster.ini' in your GTAV directory, delete them. Otherwise, both ASIs will conflict and crash.
Configuration
The 'WeaponLimitsAdjuster.ini' file allows you define the new limits. It has two settings:
- 'CWeaponInfoBlob': determines the maximum number 'weapons.meta' files that can be included in the game files (default: 512).
- 'CWeaponComponentInfo': determines the maximum total number of weapon components that can be defined in 'weaponcomponents.meta' files (default: 1024).
Changelog
2.2:
- Added support for game version b2802.
2.1:
- Now the 'CWeaponComponentInfo' pool size from gameconfig.xml is overwritten with the value defined in 'WeaponLimitsAdjuster.ini', so it is no longer necessary to modify gameconfig.xml.
2.0:
- Added weapon components limit adjuster, adapted from CitizenFX/FiveM.
- Renamed to Weapon Limits Adjuster, formerly CWeaponInfoBlob Limit Adjuster.
Source code
First Uploaded: April 06, 2018
Last Updated: December 19, 2022
Last Downloaded: 2 minutes ago
141 Comments
More mods by alexguirre:
The game has a hardcoded limit on the number of weapons.meta files that can be loaded and on the total number of weapon components that can be defined, which Rockstar increases everytime new weapons.meta or weapon components are added in DLCs.
Reaching any these limits when installing weapon mods makes the game crash while loading. This ASI allows you to increase these limits to prevent those crashes.
Thanks to CitizenFX/FiveM for their weapon components limit patch.
Installation
Install an ASI loader (dinput8.dll).
Then, just drop 'WeaponLimitsAdjuster.asi' and 'WeaponLimitsAdjuster.ini' in your GTAV directory.
If you have installed the old version and still have 'CWeaponInfoBlob Adjuster.asi' and 'CWeaponInfoBlob Adjuster.ini' in your GTAV directory, delete them. Otherwise, both ASIs will conflict and crash.
Configuration
The 'WeaponLimitsAdjuster.ini' file allows you define the new limits. It has two settings:
Changelog
2.2:
2.1:
2.0:
Source code
Reaching any these limits when installing weapon mods makes the game crash while loading. This ASI allows you to increase these limits to prevent those crashes.
Thanks to CitizenFX/FiveM for their weapon components limit patch.
Installation
Install an ASI loader (dinput8.dll).
Then, just drop 'WeaponLimitsAdjuster.asi' and 'WeaponLimitsAdjuster.ini' in your GTAV directory.
If you have installed the old version and still have 'CWeaponInfoBlob Adjuster.asi' and 'CWeaponInfoBlob Adjuster.ini' in your GTAV directory, delete them. Otherwise, both ASIs will conflict and crash.
Configuration
The 'WeaponLimitsAdjuster.ini' file allows you define the new limits. It has two settings:
- 'CWeaponInfoBlob': determines the maximum number 'weapons.meta' files that can be included in the game files (default: 512).
- 'CWeaponComponentInfo': determines the maximum total number of weapon components that can be defined in 'weaponcomponents.meta' files (default: 1024).
Changelog
2.2:
- Added support for game version b2802.
2.1:
- Now the 'CWeaponComponentInfo' pool size from gameconfig.xml is overwritten with the value defined in 'WeaponLimitsAdjuster.ini', so it is no longer necessary to modify gameconfig.xml.
2.0:
- Added weapon components limit adjuster, adapted from CitizenFX/FiveM.
- Renamed to Weapon Limits Adjuster, formerly CWeaponInfoBlob Limit Adjuster.
Source code
First Uploaded: April 06, 2018
Last Updated: December 19, 2022
Last Downloaded: 2 minutes ago
@Alexguirre There is no grenade in the character's hand! Grenade looks like grenade launcher ammo. This happens every time I add DLC. I checked all the files and models, they are all fine. What to do ?
@elsanhoty I have around eleven addon weapons installed,a player told me the ideal value should be 1024,so if I increase the value to 3000 will the game crash?
@RandomGTAFreak Bro I think I asked you about the poolsize value right? I told you I have 10(or 11) addon weapon installed and your suggestion was change the value to 1024. It worked for previous version but when game updated everything seems messed up. May I ask,if I use 1024, which file should I edit at the same time?
i raised the value to 2048. sorry my technical knowledge isnt the best.
Thanks!
@alexguirre My game crash with 10 addon weapons. I asked many guys for help, but still confused. Is there any specific value should I edit in weapon limit adjuster or gameconfig to handle all 10 weapons?
For those who have a lot of addon weapons mods and game crash(like me) after several days attemts I found what happend and how to fix. here is how: I will use'' military carbine addon" as an example
1. go to: dlc.rpf>comnmon>data>ai, extract " weapons.meta"
2. open weapons meta and search "pickup" you will see these two lines:
<PickupHash>PICKUP_WEAPON_PISTOL</PickupHash>
<MPPickupHash>PICKUP_AMMO_BULLET_MP</MPPickupHash>
delete them and save file, then replace.
3. Do the same thing to the rest of addon weapons, delete these two sections.
If you do, your game should be ok to use, no need to edit any files,any values; you can still spawn them as uaual
Hope this can help you......
i mod only 1 tank so this mod work well for me
@JohnMc thanks man
@gentlejoey123458 damn i have all weapons replaced this will take ages to edit :(
@notDONEyet I forget to say that my method can make sure you start your game with all addon weapons installed, but for some reason you cannot spawn the weapon in the game. I will try to re edit files later, and see what I can do. Currently I fixed this problem, but my game is unstable.
how do i use this cant get it to work, game keeps crashing when im trying to load a aircraft or a BTR82A anyone who can help me ? @alexguirre
@alexguirre i use a mod called ''warpackusa'' when i spawn F15ES or ah idk growler something like that when trying to spawn game crashes even if i use this mod im i not useing it corectly i only put the files in gta directory thats it still doesn't work what could be the reason?
I'm trying to install SkylineGTRFreak's M3A3 Bradley IFV and the README text says i need this mod to use the vehicle but it crashed every time while loading, i went into WeaponLimitsAdjuster.ini text and edited the values to 1024 and 2048 but it still crashes, I am very lost and dont know what to do. if anyone could help that would be amazing. Thanks!
i installed it but still crashing
@JohnMc not working
@JohnMc not working friend, mod install but not opening GTA v game friend
@JohnMc not working friend
Yo dev,update this mod.
need update the mod is broken