Script to convert QuakeWorld map textures to grayscale.
This batch script will walk over all maps in a specified QW maps directory and providing it won't find an respective map directory in the QW textures directory it will:
- create a temp dir in the script folder
- covert bsp to wad using qpakman
- extract all textures from the converted wad file to a temp dir using qpakman
- convert extracted textures to grayscale and put them in qw\textures\{MAP} directory using i_view64
- remove all files in the temp dir and the temp dir itself from the current folder
If you want the script to recreate all map textures in grayscale make sure to delete all map dirs from qw\textures first.
- IrfanView 64-bit - latest here
- QPakMan
- Git for Windows (optional)
convert.bat script will expect the following executables to be in the script directory: qpakman.exe, i_view64.exe.
To download the script, simply open cmd or PowerShell prompt:
git clone https://github.com/kindzal/qw-maps-to-grayscale.git qw-maps-to-grayscale
or just download it from here:
https://github.com/kindzal/qw-maps-to-grayscale/archive/master.zip
convert.bat C:\games\quake\qw\maps C:\games\quake\qw\textures
This script will not convert sky textures as it can't be done automatically in a reliable manner. You'll need to do it manually if wanted.
This script will not convert clip and trigger textures.
This script will not convert the original DM maps / SP maps from the .pak file. Get this downloaded seperately from here or here.