pyvispatch is a tool which patches levels for the original Quake to give them transparent water in GLQuake and many modern clients. This is accomplished by reading in new visibility data from small patch files and replacing the older information within the original levels. pyvispatch can patch both standalone BSP files as well as levels stored in Quake PAKs.
This tool is a full re-implementation of the original VisPatch utility, authored by Andy Bay and enhanced by O.Sezer, in Python. pyvispatch was created to:
- Reduce some limitations of the original VisPatch such as relative directory handling
- Address bugs in the output of PAK files
- Make it easier to extend the tool or include it with other applications
- Provide a basis for other Quake tools that I would like to write and enhance
vispatch.py [-h] [--version] [-D DIRECTORY] [-d VIS_FILE] [-n | -e] file
level filename pattern, .bsp or .pak type, wildcards and additional levels of relative subdirectories are allowed
show this help message and exit
show program's version number and exit
-D DIRECTORY, --dir DIRECTORY
the directory that the level files are in (default: current directory)
-d VIS_FILE, --data VIS_FILE
the vis data file (default: vispatch.dat)
instead of overwriting the original level files, if files are inside a .pak create a new .pak with the modified files, else if they are individual .bsp files copy a backup of each old file to name.bak before patching
retrieve all the vis data from the given file
Now possible to include a subdirectory along with the file argument that is relative to the current directory or whichever directory is specified by the -D argument.
pyvispatch comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see COPYING for details.