Hello everybody,
i remade parts of the cache clear function of the ImageManager:
brogar_imagecache.zip
This plugin is licensed under LGPL3,
see
https://www.gnu.org/licenses/lgpl-3.0.html
You can use it for commercial and non-commercial projects.
It would be nice if you mentioned my name, but it isn't necessary.
Most of the Code of this plugin is directly from RPGMaker MZ,
so the MZ license is included as well.
The plugin probably does not work with RPGMaker MV.
----
This plugin will change the way the clear function of the
ImageManager works. It will behave the same for systems with
up to 4 GB of RAM, but with systems larger than 4GB, it will
ignore the clear command when there are not enough images in
the cache (200 x amount of GB above 4G

.
So for example it allows 800 pictures on a system with 8GB and
will delete the whole cache once that limit is reached
本贴来自国际rpgmaker官方论坛作者:Brogar处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/remake-of-the-cache-clear-function-of-imagemanager.156268/