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

Fix jk2 caching system #114

Open
aufau opened this issue Nov 7, 2018 · 1 comment
Open

Fix jk2 caching system #114

aufau opened this issue Nov 7, 2018 · 1 comment

Comments

@aufau
Copy link
Member

aufau commented Nov 7, 2018

JK2 caches many resources and tries to reuse them on fs module reinitialisation (behaviour not present in original q3 engine). These are for example shaders, .sp files, models, map data etc. The issue is that it fails to invalidate cache in most scenarios, which becomes apparent when changing server/mod without restarting jk2 client.

It may be impossible/very hard to fix it without removing the cache system altogether, but in 2018 I think we could give away some performance for correctness considering how fast the game runs anyway.

@ouned
Copy link
Member

ouned commented Nov 8, 2018

yeah I think removing it would be the best solution

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

2 participants