Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
Go to file
Eric Wasylishen 03e1171039 decompile: fix some warnings 2021-02-07 00:49:25 -07:00
3rdparty/googletest common: drop glm dependency 2017-04-24 00:20:12 -06:00
bspinfo common: move EntData_ function to common 2021-01-30 21:11:25 -07:00
bsputil decompile: fix some warnings 2021-02-07 00:49:25 -07:00
cmake build: restore mingw support 2016-08-05 04:07:01 -04:00
common common: small tweaks: CopyWinding accepts null, document face side 2021-02-05 22:26:13 -07:00
include decompile: restore coplanar faces 2021-02-06 16:19:15 -07:00
lib decompile: parallelize 2021-02-06 20:23:05 -07:00
light light: build fix. Glass/fence textures will need to be fixed. 2021-02-01 02:20:02 -07:00
lightpreview lightpreview: tweak ui file 2017-04-29 10:42:06 -06:00
man docs: remove _no_bbox_rotation_expansion from qbsp docs, key was removed 2020-10-04 18:08:37 -06:00
qbsp qbsp: dont't clip self-intersecting func_detail_fence and func_detail_illusionary 2020-07-21 20:46:18 -06:00
qbsp3 qbsp3: wip; converting to use ericw-tools/common 2017-10-05 13:24:23 -06:00
testmaps Add test_face_splits.map showing unwanted splitting vs tyrutils-0.15 2019-02-10 00:05:51 -07:00
vis common: move EntData_ function to common 2021-01-30 21:11:25 -07:00
.gitignore bsputil: decompiler wip 2021-01-30 14:49:18 -07:00
.gitmodules decompile: parallelize 2021-02-06 20:23:05 -07:00
.travis.yml change branding to ericw-tools 2017-10-19 16:35:37 -06:00
CMakeLists.txt decompile: parallelize 2021-02-06 20:23:05 -07:00
COPYING
README.md fix build (changelog.txt was renamed) 2020-07-21 21:25:22 -06:00
appveyor.yml appveyor: tweak yml 2021-02-07 00:34:55 -07:00
build-linux-64.sh CI: install TBB on linux/macOS 2020-02-01 17:41:05 -07:00
build-osx.sh CI: install TBB on linux/macOS 2020-02-01 17:41:05 -07:00
changelog.md docs: update changelog, convert to markdown 2020-02-25 01:06:10 -07:00
gpl_v3.txt docs: add license note 2016-06-17 23:07:17 -06:00

README.md

ericw-tools

Original tyurtils:

Build Status Build status

About

ericw-tools 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.md for a brief overview of recent changes or https://github.com/ericwa/ericw-tools 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 required (sorry, no Embree 3.x support right now). The Thread Building Blocks (tbb) library (Embree dependency) may be required.

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, 2019 Community

Ubuntu 14.04 x86_64

sudo apt-get install git cmake build-essential groff

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

mkdir build
cd build

wget https://github.com/embree/embree/releases/download/v2.17.5/embree-2.17.5.x86_64.linux.tar.gz -O embree.tgz
tar xf embree.tgz
sudo apt-get install libtbb2

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

Executables will be located in:

  • ericw-tools/build/qbsp/qbsp
  • ericw-tools/build/vis/vis
  • ericw-tools/build/light/light
  • ericw-tools/build/bspinfo/bspinfo
  • ericw-tools/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.