Coder Social home page Coder Social logo

qw-maps-to-grayscale's Introduction

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.

qw-maps-to-grayscale's People

Contributors

boguszdybowski avatar kindzal avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.