Skip to content

Script and associated tools to convert QuakeWorld map textures to grayscale

Notifications You must be signed in to change notification settings

kindzal/qw-maps-to-grayscale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Quake World map textures to grayscale conversion script

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.

Prerequisites

convert.bat script will expect the following executables to be in the script directory: qpakman.exe, i_view64.exe.

Downloading

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

Example usage

convert.bat C:\games\quake\qw\maps C:\games\quake\qw\textures

Notes

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.

About

Script and associated tools to convert QuakeWorld map textures to grayscale

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published