This is a little Python script to manage cache file for Unreal Tournament. Been using it for years, figured I might as well put it here.
I only used/tested this with the original UT on Windows and FreeBSD, should work for Linux and possible MacOS X too.

On FreeBSD you can install UT as a port: games/linux-ut. You'll need an original UT CD. The unreal anthology release is on sale for a few euro's (... And will work with the port in spite of the InstallShield crap installer they slapped on).
AFAIK it doesn't work with OpenBSD/Linux emulation.

Note this script will just rename the files to the correct name in the Cache/ directory, it doesn't put them in the correct UT Dirctory (System/, Textures/, etc.).
This is a feature and not a bug because when you're using mods you often don't want to use the standard UT directories and there is no way of figuring out which files belongs to which mod (Or even if it belongs to any mod).