Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only include what is required #13

Open
wootguy opened this issue Feb 8, 2019 · 1 comment
Open

Only include what is required #13

wootguy opened this issue Feb 8, 2019 · 1 comment

Comments

@wootguy
Copy link
Owner

wootguy commented Feb 8, 2019

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

@wootguy
Copy link
Owner Author

wootguy commented Oct 29, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant