-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Question] Cache data GC? #70
Comments
There isn't at the moment. It's a tricky thing to do. Besides that - there's other issues with it: what if the player just prepared several film rolls but have not yet printed images from it? They would get deleted - as they weren't printed. It's not possible to be certain that specific exposure is not in use anywhere. I can't scan whole world and each end every item. And another thing: you would need 20k+ exposures to reach 1GB (with default frame size). |
I've made an addon that can help manage stored exposures: Even though it's does not really do what you asked for, but it's probably the closest thing to it that I can do. |
Thank you. It does help a lot. It’s a simple and efficient approach. Other method like broad searching the whole world or auto references count might be difficult to implement and maintain. |
I noticed that every image shooted store as a .dat file in the directory
world/data/exposure
. Is there any mechanism in game to clean those unused and dropped image which can not be reached by players. I worry that the world directory size goes larger and larger.The text was updated successfully, but these errors were encountered: