The UCGOZLIB.JAR tool allows you to compress and decompress client files from the command line. You will need Java installed and you should have the Java /bin folder added to your Windows PATH variable.

If you don’t know how to install Java or how to add Java to your PATH variables then Google it. It’s easy!

When you download the UCGOZLIB file you get a Netbeans project containing the source code for this tool. And the executable file called UCGOZLIB.JAR

Copy the UCGOZLIB.JAR file into the same folder as the UCGO files you would like to compress or decompress. Then you run the UCGOZLIB.JAR from the command prompt.


java -jar UCGOZLIB.JAR decompress gameclient.cfg

Will decompress the file gameclient.cfg and overwrite it with the new decompressed file.
 java -jar UCGOZLIB.JAR compress gameclient.cfg

Will compress the file gameclient.cfg and overwrite it with the new compressed file.


java -jar UCGOZLIB.JAR decompress DAT_0008 DAT

Will decompress the file DAT_0008.RFI and DAT_0008.RFP into the folder named DAT. It is expected the folder DAT already exists.


java -jar UCGOZLIB.JAR compress DAT_0008 DAT

Will compress the files in the folder DAT into the files DAT_0008.RFI and DAT_0008.RFP Note that any existing DAT_0008 files will be overwritten.

—– —– —– —–


UCGO files comes in two flavours. Individual files and archives.

An UCGO archive consists of two files ending with RFI and RFP e.g DAT_0008.RFI and DAT_0008.RFP. These archives must be decompress into a folder as shown above in the examples.

An individual is simply just one compress file such as the gameclient.cfg file which tells the client which server to connect to. If there are no RFI and RFP files treat it as a single compress file.

When compress and decompressing RFI+RFP files e.g DAT_0008 there’s also a header.txt file in the folder with the files. For example if you do the following:

java -jar UCGOZLIB.JAR decompress DAT_0008 DAT

There will now be a file DAT/header.txt
The header.txt file lists every file which is part of the archive and if you wish to add new files or remove existing files you can edit the header.txt file.


UCGOZLIB.JAR used to decompress texture files from Windows command prompt: