I have an addon which I downloaded. It works fine. I then un-pbo'ed it using "UnPBO.exe", edited the config.cpp, then re-pbo'ed using "MakePBO.exe.
I now get an "Out of Memory Error" one one specific weapon, which causes a CTD, but every other weapon works fine.
I have gone over and over my changes in the config.cpp and I can't find any typos, errors, whatever, for that one weapon. BTW - I edited all of the weapons, not just the one that is now crashing.
I tried running "MakePBO.exe" with the options to NOT compress the various graphic files, but that made no difference.
So, is it possible that "UnPBO.exe" or "MakePBO.exe" is corrupting this addon is some way? Or does it 100% have to be something I did in the config.cpp file? That is the ONLY thing I touched, I didn't touch any of the graphics/models/sound files.
It crashes on this one specific weapon whether I equip it in an init line for the player, or pull it out of an ammo box. Note that it doesn't crash when the script runs *loading* the weapon into the ammo box...only when I equip it from the box at runtime. That made me think something got messed up with the graphic/model files during the Make/Un PBO process?
Any help is appreciated!
(If it matters, the file is "G36Commando.pbo" by Nicholas Vinen.)