The program name is shagnetron.exe and you get it when you compile CS per the compiling guide :
http://planeshift.svn.sourceforge.net/viewvc/planeshift/trunk/docs/compiling.htmlSee command output below:
shagnetron.exe
Usage: shagnetron [options] <VFS directory | shader file name> <...>
Pre-warms a shader cache with all the shaders from the given directories.
The name is a portmanteau of 'shader' and 'magnetron'.
Available options:
-cachedir=<dir> Specify additional cache VFS directories.
The later a directory is specified the lower its priority.
The first directory is written to.
-nodefaultcaches Do not use default caches set in config
-cacheclear Clear used caches
-quick Do a 'quick' precache.
Precaching will take less time, but some shader processing
will still happen at run time.
I copied this utility to the same location as the shadercache and tried some commands:
shagnetron -cacheclear shadercache
Clearing cache ... ok
shagnetron -quick .\shadercache
shagnetron .\shadercache
It runs very quickly and does not appear to do anything, since the size of the shadercache file does not change by any of these commands
![Huh ???](https://www.hydlaaplaza.com/PlaneShift/smf/Smileys/custom1/huh.gif)
But the concept is interesting, if anyone finds out more pls update.
Rgds, Cron.