File | Date | Author | Commit |
---|---|---|---|
base | 2022-08-22 | atsb | [7b21cd] commit of doom3 to sourceforge |
neo | 2022-08-22 | atsb | [7b21cd] commit of doom3 to sourceforge |
.gitignore | 2022-08-22 | atsb | [7b21cd] commit of doom3 to sourceforge |
COPYING.txt | 2022-08-22 | atsb | [7b21cd] commit of doom3 to sourceforge |
Changelog.md | 2022-08-22 | atsb | [7b21cd] commit of doom3 to sourceforge |
README.md | 2022-08-22 | atsb | [7b21cd] commit of doom3 to sourceforge |
gbDoom3 is a Doom 3 GPL source port, known to work on at least Windows, Linux, macOS and FreeBSD.
The goal of gbDoom3 is bring DOOM 3 with the help of SDL to all suitable
platforms and to be as faithful to the original Doom 3 release as possible but with enhancements and additions such as increased portability, more modern code standards and efficiency improvements, without changing how the original Doom 3 functions (this includes config files, menus, mod support) etc..
Bugs present in the original DOOM 3 will not be fixed and will be reverted when discovered they were fixed.
gbDoom3 will put a huge emphasis on portability. The latest Windows, MacOS, Linux will be the 'big three'.
I will be dropping support for MacOS 32bit and PPC (because they are archaic). I have so far fixed the MacOS build to compile on the latest SDK's, using modern Objective-C linkages and header files. Apple Silicon Macs will also be supported.
Supported OS Summary:
1. Windows 10/11 64bit
2. MacOS x86_64 Intel and ARM64 Apple Silicon
3. Linux x86_64
gbDoom3 will pull updates from its upstream project dhewm3 where it is appropriate / possible to do so.
Compared to the original DOOM 3, the changes of gbDoom3 worth mentioning are:
See Changelog.md for a more complete changelog.
This source release does not contain any game data, the game data is still
covered by the original EULA and must be obeyed as usual.
You must patch the game to the latest version (1.3.1). See the FAQ for details, including
how to get the game data from Steam on Linux or OSX.
Note that Doom 3 and Doom 3: Resurrection of Evil are available from the Steam Store at
http://store.steampowered.com/app/9050/
http://store.steampowered.com/app/9070/
Note that Steam does not offer the Resurrection of Evil addon
for German customers (or at least people with German IP adresses).
The build system is based on CMake: http://cmake.org/
Required libraries are not part of the tree. These are:
For UNIX-like systems, these libraries need to be installed (including the
developer files). It is recommended to use the software management tools of
your OS (apt, dnf, portage, BSD ports, Homebrew for macOS, ...).
For Windows, there are two options:
Create a distinct build folder outside of this source repository and issue
the cmake command there, pointing it at the neo/ folder from this repository:
cmake /path/to/repository/neo
macOS users need to point CMake at OpenAL Soft (better solutions welcome):
cmake -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include /path/to/repository/neo
Get a clone of the latest binaries here: https://github.com/dhewm/dhewm3-libs
There are two subfolders:
i686-w64-mingw32
x86_64-w64-mingw32
Issue the appropriate command from the build folder, for example:
cmake -G "Visual Studio 10" -DDHEWM3LIBS=/path/to/dhewm3-libs/i686-w64-mingw32 /path/to/repository/neo
cmake -G "MinGW Makefiles" -DDHEWM3LIBS=/path/to/dhewm3-libs/x86_64-w64-mingw32 /path/to/repository/neo
The binaries are compatible with MinGW-w64 and all MSVC versions.
For cross-compiling, a CMake Toolchain file is required.
For the MinGW-w64 toolchain i686-w64-mingw32
on Ubuntu 12.04, it looks like:
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR i686)
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
set(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
Then point CMake at your toolchain file:
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/Toolchain.cmake -DDHEWM3LIBS=/path/to/dhewm3-libs/i686-w64-mingw32 /path/to/repository/neo
If you want to build for x86_64 aka AMD64 aka x64, replace all instances of i686
in the toolchain file with x86_64
.
The Doom 3 GPL source code release did not include functionality enabling rendering
of stencil shadows via the "depth fail" method, a functionality commonly known as
"Carmack's Reverse".
It has been restored in dhewm3 1.5.1 after Creative Labs' patent
finally expired.
Note that this did not change the visual appearance of the game, and didn't seem to
make a noticeable performance difference (on halfway-recent hardware) either.
The code for our Maya export plugin is included, if you are a Maya licensee
you can obtain the SDK from Autodesk.
See COPYING.txt for the GNU GENERAL PUBLIC LICENSE
ADDITIONAL TERMS: The Doom 3 GPL Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU GPL which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
EXCLUDED CODE: The code described below and contained in the Doom 3 GPL Source Code release is not part of the Program covered by the GPL and is expressly excluded from its terms. You are solely responsible for obtaining from the copyright holder a license for such code and complying with the applicable license terms.
neo/tools/common/PropTree/*
Copyright (C) 1998-2001 Scott Ramsay
sramsay@gonavi.com
This material is provided "as is", with absolutely no warranty expressed
or implied. Any use is at your own risk.
Permission to use or copy this software for any purpose is hereby granted
without fee, provided the above notices are retained on all copies.
Permission to modify the code and to distribute modified code is granted,
provided the above notices are retained, and a notice that the code was
modified is included with the above copyright notice.
If you use this code, drop me an email. I'd like to know if you find the code
useful.
neo/idlib/Base64.cpp
Copyright (c) 1996 Lars Wirzenius. All rights reserved.
June 14 2003: TTimo ttimo@idsoftware.com
modified + endian bug fixes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=197039
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
src/framework/minizip/*
Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
Modifications of Unzip for Zip64
Copyright (C) 2007-2008 Even Rouault
Modifications for Zip64 support
Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
neo/idlib/hashing/MD4.cpp
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD4 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.
License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD4 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.
RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this
documentation and/or software.
neo/idlib/hashing/MD5.cpp
This code implements the MD5 message-digest algorithm.
The algorithm is due to Ron Rivest. This code was
written by Colin Plumb in 1993, no copyright is claimed.
This code is in the public domain; do with it what you wish.
neo/idlib/hashing/CRC32.cpp
Copyright (C) 1995-1998 Mark Adler
neo/renderer/stb_image.h
neo/sound/stb_vorbis.h
Used to decode JPEG and OGG Vorbis files.
from https://github.com/nothings/stb/
Copyright (c) 2017 Sean Barrett
Released under MIT License and Unlicense (Public Domain)
neo/sys/linux/setup/brandelf.c
Copyright (c) 1996 Søren Schmidt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer
in this position and unchanged.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software withough specific prior written permission
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$FreeBSD: src/usr.bin/brandelf/brandelf.c,v 1.16 2000/07/02 03:34:08 imp Exp $
neo/sys/linux/setup/makeself/*, neo/sys/linux/setup/makeself/README
Copyright (c) Stéphane Peter
Licensing: GPL v2