When playing Unreal Tournament 2004 online all the downloaded files are placed in the ~/.ut2004/Cache directory and given an odd string for the name then the files are all listed in the ~/.ut2004/Cache/cache.ini file.This is all Ok, but none of these files will be available for off-line use. This is a script that was created for uncaching ut2003 files that I have modified and tweaked for UT2004.
This script will first check if you have the needed directories in ~/.ut2004 and create them if needed as Linux does not create directories on the fly when trying to move files. It will then proceed to move and rename the files to their proper directories and leave a backup of the cache.ini incase it’s needed due to error and replace cache.ini cleaned for new files. This will also keep an ongoing log in the $target directory which is ~/.ut2004 which is timestamped and keeps a list of all files moved.The script is also easily modifiable to do the same for UT2004 mods by simply changing the target=~/.ut2004 to where the mod is installed. For example with Red Orchestra you only need to change this one line to read target=~/.ut2004/RedOrchestra and it will do the same checks and actions but in the ~/.ut2004/RedOrchestra directory.
0 Responses to “UT2004 UnCache script”
Leave a Reply
You must login to post a comment.