Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
Go to file
Eric Wasylishen 63a858209b qbsp: add offgrid testmaps 2017-06-10 00:48:44 -06:00
3rdparty/googletest common: drop glm dependency 2017-04-24 00:20:12 -06:00
bspinfo all: finish c++ification 2016-10-17 19:52:17 -06:00
bsputil common: add 4x4 (from mesa) and 2x2 matrix inverse 2017-04-23 15:58:51 -06:00
cmake build: restore mingw support 2016-08-05 04:07:01 -04:00
common common: cmdlib: Add IsAbsolutePath from qbsp 2017-04-26 15:04:53 -06:00
include qbsp: add func_detail_fence 2017-06-09 15:13:13 -06:00
light qbsp, light: allow _shadow -1 to disable shadows from func_detail 2017-06-05 14:01:12 -06:00
lightpreview lightpreview: tweak ui file 2017-04-29 10:42:06 -06:00
man qbsp, light: allow _shadow -1 to disable shadows from func_detail 2017-06-05 14:01:12 -06:00
qbsp qbsp: add func_detail_fence 2017-06-09 15:13:13 -06:00
testmaps qbsp: add offgrid testmaps 2017-06-10 00:48:44 -06:00
vis all: make VectorCompare take an explicit epsilon 2017-04-26 14:20:45 -06:00
.gitignore
.travis.yml travis: don't install cmake 2017-01-25 01:18:55 -07:00
CMakeLists.txt stub for lightpreview tool 2017-04-28 13:29:37 -06:00
COPYING
README.md update to embree 2.14.0 2017-03-05 17:09:09 -07:00
appveyor.yml build: appveyor: try enabling lightpreview 2017-04-28 14:08:11 -07:00
build-linux-64.sh build: fix embree path in build-linux64.sh 2017-04-28 15:35:04 -06:00
build-osx.sh build: update mac and linux for embree 2.15.0 2017-04-28 15:26:40 -06:00
changelog.txt light: make bounce of styled lights opt in with "_bouncestyled" worldspawn key 2017-03-27 16:44:04 -06:00
gpl_v3.txt

README.md

tyrutils-ericw

Original tyurtils:

Build Status Build status

About

tyrutils-ericw is a branch of Tyrann's quake 1 tools, focused on adding lighting features, mostly borrowed from q3map2. There are a few bugfixes for qbsp as well. Original readme follows:

A collection of command line utilities for building Quake levels and working with various Quake file formats. I need to work on the documentation a bit more, but below are some brief descriptions of the tools.

Included utilities:

  • qbsp - Used for turning a .map file into a playable .bsp file.

  • light - Used for lighting a level after the bsp stage. This util was previously known as TyrLite

  • vis - Creates the potentially visible set (PVS) for a bsp.

  • bspinfo - Print stats about the data contained in a bsp file.

  • bsputil - Simple tool for manipulation of bsp file data

See the doc/ directory for more detailed descriptions of the various tools capabilities. See changelog.txt for a brief overview of recent changes or https://github.com/ericwa/tyrutils-ericw for the full changelog and source code.

Compiling

Requires CMake 2.8, groff, and a compiler with C99 and C++11 support.
Embree v2.10.0+ is optional but recommended.

Tested on:

  • Ubuntu 14.04 / Clang 3.5.0
  • Ubuntu 14.04 / gcc 4.8.4
  • OS X 10.11 / Xcode 7.3
  • Windows 10 / Visual Studio 2013 Community

Ubuntu 14.04 x86_64

sudo apt-get install git cmake build-essential groff

git clone https://github.com/ericwa/tyrutils-ericw
cd tyrutils-ericw

mkdir build
cd build

wget https://github.com/embree/embree/releases/download/v2.14.0/embree-2.14.0.x86_64.linux.tar.gz -O embree.tgz
tar xf embree.tgz

cmake .. -DCMAKE_BUILD_TYPE=Release -Dembree_DIR="$(pwd)/embree-2.14.0.x86_64.linux/lib/cmake/embree-2.14.0"
make -j8 VERBOSE=1

Executables will be located in:

  • tyrutils-ericw/build/qbsp/qbsp
  • tyrutils-ericw/build/vis/vis
  • tyrutils-ericw/build/light/light
  • tyrutils-ericw/build/bspinfo/bspinfo
  • tyrutils-ericw/build/bsputil/bsputil

Credits

  • Kevin Shanahan (AKA Tyrann) for the original tyrutils
  • id Software (original release of these tools is at https://github.com/id-Software/quake-tools)
  • rebb (ambient occlusion, qbsp improvements)
  • q3map2 authors (AO, sunlight2, penumbra, deviance are from q3map2)
  • Spike (hexen 2 support, phong shading, various features)
  • MH (surface lights based on MHColour)
  • mfx, sock, Lunaran (testing)
  • Thanks to users at func_msgboard for feedback and testing

License

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Builds using Embree are licensed under GPLv3+ for compatibility with the Apache license.