resguy
resguy copied to clipboard
Only include what is required
resguy will add every file path it finds, even if the file isn't actually used by the map. Don't do that.
An example: A map series uses a global .gmr file that replaces zombie and hgrunt models. Map 1 in the series does not include zombies, so the .res file should not include the zombie replacement model.
This can cause FSB_OVERFLOW errors because too much stuff is precached and the server has like a million plugins. the precache limit is 8192 but really only about 1000 can be precached before the resource size limit is exceeded.
https://forums.svencoop.com/showthread.php/43424-Very-big-res-files?p=529523&viewfull=1#post529523
Another example: Some settings in the worldspawn entity can be overridden by the cfg file (globalmodellist, globalsoundlist, materials_file). Resguy should ignore files referenced in the worldspawn entity if those settings are overridden.