2012-12-19 22:56:20 +00:00
____ ____ ____ _____ ____ ______ ______
/ __ \ / __ ) / __ \ ____ ____ ____ ___ |__ / / __ ) / ____// ____/
/ /_/ // __ |/ / / // __ \ / __ \ / __ `__ \ /_ < / __ |/ /_ / / __
/ _, _// /_/ // /_/ // /_/ // /_/ // / / / / /___/ // /_/ // __/ / /_/ /
/_/ |_|/_____//_____/ \____/ \____//_/ /_/ /_//____//_____//_/ \____/
2012-12-19 15:18:18 +00:00
_________________________________________
2014-04-05 15:38:42 +00:00
RBDOOM-3-BFG Readme - https://github.com/RobertBeckebans/RBDOOM-3-BFG
2012-12-19 15:18:18 +00:00
2014-04-05 15:38:42 +00:00
Thank you for downloading RBDOOM-3-BFG.
2012-12-19 15:18:18 +00:00
_______________________________________
CONTENTS
_______________________________
2012-11-26 18:58:24 +00:00
This file contains the following sections:
2012-12-19 15:18:18 +00:00
1) SYSTEM REQUIREMENT
2012-11-26 18:58:24 +00:00
2012-12-19 15:18:18 +00:00
2) GENERAL NOTES
3) LICENSE
4) GETTING THE SOURCE CODE
2012-11-26 18:58:24 +00:00
2012-12-19 15:18:18 +00:00
5) COMPILING ON WIN32 WITH VISUAL C++ 2010 EXPRESS EDITION
2012-11-26 18:58:24 +00:00
2012-12-19 15:18:18 +00:00
6) COMPILING ON GNU/LINUX
2014-05-10 14:50:01 +00:00
7) INSTALLATION, GETTING THE GAMEDATA, RUNNING THE GAME
2012-12-19 15:18:18 +00:00
2013-01-06 19:43:54 +00:00
8) CHANGES
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
9) CONSOLE VARIABLES
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
10) KNOWN ISSUES
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
11) BUG REPORTS
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
12) CODE LICENSE EXCEPTIONS
2012-11-26 18:58:24 +00:00
2012-12-19 15:18:18 +00:00
___________________________________
1) SYSTEM REQUIREMENTS
__________________________
Minimum system requirements:
CPU: 2 GHz Intel compatible
System Memory: 512MB
Graphics card: Any graphics card that supports Direct3D 10 and OpenGL >= 3.2
Recommended system requirements:
CPU: 3 GHz + Intel compatible
System Memory: 1024MB+
Graphics card: Geforce 9600 GT, ATI HD 5650 or higher.
2012-11-26 18:58:24 +00:00
2012-12-19 15:18:18 +00:00
_______________________________
2) GENERAL NOTES
______________________
This 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.
Note that Doom 3 BFG Edition is available from the Steam store at
http://store.steampowered.com/app/208200/
2012-11-26 18:58:24 +00:00
Steam:
------
The Doom 3 BFG Edition GPL Source Code release does not include functionality for integrating with
Steam. This includes roaming profiles, achievements, leaderboards, matchmaking, the overlay, or
any other Steam features.
Bink:
-----
2014-04-05 15:38:42 +00:00
The RBDoom3BFG Edition GPL Source Code release includes functionality for rendering Bink Videos through FFmpeg.
2012-11-26 18:58:24 +00:00
Back End Rendering of Stencil Shadows:
--------------------------------------
The Doom 3 BFG Edition GPL Source Code release does not include functionality enabling rendering
of stencil shadows via the "depth fail" method, a functionality commonly known as "Carmack's Reverse".
2012-12-19 15:18:18 +00:00
_______________________________
2012-11-26 18:58:24 +00:00
2012-12-19 15:18:18 +00:00
3) LICENSE
______________________
2012-11-26 18:58:24 +00:00
See COPYING.txt for the GNU GENERAL PUBLIC LICENSE
ADDITIONAL TERMS: The Doom 3 BFG Edition 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 BFG Edition GPL 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.
2012-12-19 15:18:18 +00:00
____________________________________________
4) GETTING THE SOURCE CODE
___________________________________
This project's GitHub.net Git repository can be checked out through Git with the following instruction set:
> git clone https://github.com/RobertBeckebans/RBDOOM-3-BFG.git
2013-01-06 19:43:54 +00:00
If you don't want to use git, you can download the source as a zip file at
https://github.com/RobertBeckebans/RBDOOM-3-BFG/archive/master.zip
2012-12-19 15:18:18 +00:00
___________________________________________________________________
2014-05-15 21:46:53 +00:00
5) COMPILING ON WIN32 WITH VISUAL C++ 2013 EXPRESS EDITION
2012-12-19 15:18:18 +00:00
__________________________________________________________
2014-05-15 21:46:53 +00:00
1. Download and install the Visual C++ 2013 Express Edition.
2012-12-19 15:18:18 +00:00
2014-05-15 21:46:53 +00:00
2. Download and install the latest CMake.
2012-12-19 15:18:18 +00:00
2014-05-15 21:46:53 +00:00
3. Generate the VC13 projects using CMake by doubleclicking a matching configuration .bat file in the neo/ folder.
4. Use the VC13 solution to compile what you need:
2012-12-19 15:18:18 +00:00
RBDOOM-3-BFG/build/RBDoom3BFG.sln
2014-04-05 15:38:42 +00:00
2014-05-15 21:46:53 +00:00
5. Download ffmpeg-20140405-git-ec8789a-win32-shared.7z from ffmpeg.zeranoe.com/builds/win32/shared
2014-04-05 15:38:42 +00:00
2014-05-15 21:46:53 +00:00
6. Extract the FFmpeg DLLs to your current build directory under RBDOOM-3-BFG/build/
2012-12-19 15:18:18 +00:00
__________________________________
6) COMPILING ON GNU/LINUX
_________________________
1. You need the following dependencies in order to compile RBDoom3BFG with all features:
On Debian or Ubuntu:
2014-04-05 15:38:42 +00:00
> apt-get install cmake libsdl1.2-dev libopenal-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
2012-12-19 15:18:18 +00:00
On Fedora
2014-04-05 15:38:42 +00:00
// TODO add ffmpeg libs for bink videos
2013-01-06 16:48:30 +00:00
> yum install cmake SDL-devel openal-devel
2013-01-06 19:43:54 +00:00
2014-04-28 20:55:15 +00:00
On openSUSE (tested in 13.1)
> zypper in openal-soft-devel cmake libSDL-devel libffmpeg1-devel
2014-05-10 14:50:01 +00:00
For SDL 2 replace "libSDL-devel" with "libSDL2-devel".
"libffmpeg1-devel" requires the PackMan repository. If you don't have that repo, and don't want to add it, remove the "libffmpeg1-devel" option and compile without ffmpeg support.
If you have the repo and compiles with ffmpeg support, make sure you download "libffmpeg1-devel", and not "libffmpeg-devel".
2014-04-28 20:55:15 +00:00
2014-05-10 14:50:01 +00:00
Instead of SDL1.2 development files you can also use SDL2. Install SDL 2.0 and add to the cmake parameters -DSDL2=ON
2013-01-06 19:43:54 +00:00
SDL2 has better input support (especially in the console) and better
support for multiple displays (especially in fullscreen mode).
2012-12-19 15:18:18 +00:00
2013-01-07 17:20:45 +00:00
2. Generate the Makefiles using CMake:
2012-12-19 15:18:18 +00:00
> cd neo/
> ./cmake-eclipse-linux-profile.sh
2014-04-05 15:38:42 +00:00
3. Compile RBDOOM-3-BFG targets with
2012-12-19 15:18:18 +00:00
> cd ../build
> make
2013-01-06 19:43:54 +00:00
___________________________________________________
2014-05-10 14:50:01 +00:00
7) INSTALLATION, GETTING THE GAMEDATA, RUNNING THE GAME
2013-01-06 19:43:54 +00:00
__________________________________________
2014-05-10 14:50:01 +00:00
If you use the prebuilt Win32 binaries then simply extract them to your
C:\Program Files (x86)\Steam\SteamApps\common\Doom 3 BFG Edition\ directory and run RBDoom3BFG.exe.
The following instructions are primarily intented for Linux users and all hackers on other operating systems.
2013-01-06 19:43:54 +00:00
To play the game, you need the game data from a legal copy of the game, which
unfortunately requires Steam for Windows - Steam for Linux or OSX won't do, because
2014-04-05 15:38:42 +00:00
(at least currently) the Doom 3 BFG game is only installable on Steam for Windows.
Even the DVD version of Doom 3 BFG only contains encrytped data that is decoded
2013-01-06 19:43:54 +00:00
by Steam on install.
Fortunately, you can run Steam in Wine to install Doom3 BFG and afterwards copy the
game data somewhere else to use it with native executables.
Winetricks ( http://winetricks.org/ ) makes installing Windows Steam on Linux really easy.
Anyway:
2014-04-05 15:38:42 +00:00
1. Install Doom 3 BFG in Steam (Windows version), make sure it's getting
2013-01-06 19:43:54 +00:00
updated/patched.
2014-04-05 15:38:42 +00:00
2. Create your own Doom 3 BFG directory, e.g. /path/to/Doom3BFG/
2013-01-06 19:43:54 +00:00
3. Copy the game-data's base dir from Steam to that directory
(e.g. /path/to/Doom3BFG/), it's in
/your/path/to/Steam/steamapps/common/DOOM 3 BFG Edition/base/
2014-04-05 15:38:42 +00:00
4. Copy your RBDoom3BFG executable that you created in 5) or 6) and the FFmpeg DLLs to your own
Doom 3 BFG directory (/path/to/Doom3BFG).
2013-01-06 19:43:54 +00:00
2014-04-05 15:38:42 +00:00
Your own Doom 3 BFG directory now should look like:
2013-01-06 19:43:54 +00:00
/path/to/Doom3BFG/
-> RBDoom3BFG (or RBDoom3BFG.exe on Windows)
2014-04-05 15:38:42 +00:00
-> avcodec-55.dll
-> avdevice-55.dll
-> avfilter-4.dll
-> avformat-55.dll
-> avutil-52.dll
-> postproc-52.dll
-> swresample-0.dll
-> swscale-2.dll
2013-01-06 19:43:54 +00:00
-> base/
-> classicmusic/
-> _common.crc
-> (etc)
5. Run the game by executing the RBDoom3BFG executable.
6. Enjoy
2014-05-10 14:50:01 +00:00
7. If you run into bugs, please report them, see 11)
2012-12-19 15:18:18 +00:00
___________________________________________________
2013-01-06 19:43:54 +00:00
8) CHANGES
2012-12-19 15:18:18 +00:00
__________________________________________
2014-05-10 14:50:01 +00:00
- Flexible build system using CMake
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
- Linux support (32 and 64 bit)
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
- New OpenAL Soft sound backend primarily developed for Linux but works on Windows as well
- Win64 support
- Implemented soft shadows using PCF hardware shadow mapping
The implementation uses sampler2DArrayShadow and PCF which usually
requires Direct3D 10.1 however it is in the OpenGL 3.2 core so it should
be widely supported.
All 3 light types are supported which means parallel lights (sun) use
scene independent cascaded shadow mapping.
The implementation is very fast with single taps (400 fps average per
scene on a GTX 660 ti OC) however I defaulted it to 16 taps so the shadows look
really good which should you give stable 100 fps on todays hardware.
The shadow filtering algorithm is based on Carmack's research which was
released in the original Doom 3 GPL release draw_exp.cpp.
- Changed light interaction shaders to use Half-Lambert lighting like in Half-Life 2 to
make the game less dark. https://developer.valvesoftware.com/wiki/Half_Lambert
2013-01-06 19:43:54 +00:00
___________________________________________________
2014-05-10 14:50:01 +00:00
9) CONSOLE VARIABLES
2012-12-19 15:18:18 +00:00
__________________________________________
2014-05-10 14:50:01 +00:00
r_useShadowMapping 1 - Use soft shadow mapping instead of hard stencil shadows
2012-12-19 15:18:18 +00:00
___________________________________________________
2014-05-10 14:50:01 +00:00
10) KNOWN ISSUES
2012-12-19 15:18:18 +00:00
__________________________________________
2014-05-10 14:50:01 +00:00
Doom 3 wasn't designed to work with shadow maps so:
2012-12-19 15:18:18 +00:00
2014-05-10 14:50:01 +00:00
- Some lights cause shadow acne with shadow mapping
- Some shadows might almost disappear due to the shadow filtering
2012-12-19 15:18:18 +00:00
___________________________________________________
2014-05-10 14:50:01 +00:00
11) BUG REPORTS
2012-12-19 15:18:18 +00:00
__________________________________________
2014-04-05 15:38:42 +00:00
RBDOOM-3-BFG is not perfect, it is not bug free as every other software.
2012-12-19 15:18:18 +00:00
For fixing as much problems as possible we need as much bug reports as possible.
We cannot fix anything if we do not know about the problems.
The best way for telling us about a bug is by submitting a bug report at our GitHub bug tracker page:
https://github.com/RobertBeckebans/RBDOOM-3-BFG/issues?state=open
The most important fact about this tracker is that we cannot simply forget to fix the bugs which are posted there.
It is also a great way to keep track of fixed stuff.
If you want to report an issue with the game, you should make sure that your report includes all information useful to characterize and reproduce the bug.
* Search on Google
* Include the computer's hardware and software description ( CPU, RAM, 3D Card, distribution, kernel etc. )
* If appropriate, send a console log, a screenshot, an strace ..
* If you are sending a console log, make sure to enable developer output:
RBDoom3BFG.exe +set developer 1 +set logfile 2
NOTE: We cannot help you with OS-specific issues like configuring OpenGL correctly, configuring ALSA or configuring the network.
____________________________________________________________________________________
2014-05-10 14:50:01 +00:00
12) CODE LICENSE EXCEPTIONS - The parts that are not covered by the GPL:
2012-12-19 15:18:18 +00:00
_______________________________________________________________________
EXCLUDED CODE: The code described below and contained in the Doom 3 BFG Edition 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.
2012-11-26 18:58:24 +00:00
JPEG library
-----------------------------------------------------------------------------
2012-12-19 15:18:18 +00:00
neo/libs/jpeg-6/*
2012-11-26 18:58:24 +00:00
Copyright (C) 1991-1995, Thomas G. Lane
Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered; and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the work of
the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences; the authors accept
NO LIABILITY for damages of any kind.
These conditions apply to any software derived from or based on the IJG code,
not just to the unmodified library. If you use our work, you ought to
acknowledge us.
NOTE: unfortunately the README that came with our copy of the library has
been lost, so the one from release 6b is included instead. There are a few
'glue type' modifications to the library to make it easier to use from
the engine, but otherwise the dependency can be easily cleaned up to a
better release of the library.
zlib library
---------------------------------------------------------------------------
2012-12-19 15:18:18 +00:00
neo/libs/zlib/*
2012-11-26 18:58:24 +00:00
2012-12-30 16:28:23 +00:00
Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler
2012-11-26 18:58:24 +00:00
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:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Base64 implementation
---------------------------------------------------------------------------
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:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
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.
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.
2013-01-06 18:03:03 +00:00
IO for (un)compress .zip files using zlib
2012-11-26 18:58:24 +00:00
---------------------------------------------------------------------------
2013-01-06 18:03:03 +00:00
neo/libs/zlib/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:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
2012-11-26 18:58:24 +00:00
MD4 Message-Digest Algorithm
-----------------------------------------------------------------------------
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.
MD5 Message-Digest Algorithm
-----------------------------------------------------------------------------
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.
CRC32 Checksum
-----------------------------------------------------------------------------
neo/idlib/hashing/CRC32.cpp
Copyright (C) 1995-1998 Mark Adler
OpenGL headers
---------------------------------------------------------------------------
neo/renderer/OpenGL/glext.h
neo/renderer/OpenGL/wglext.h
Copyright (c) 2007-2012 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Materials.
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
Timidity
---------------------------------------------------------------------------
2012-12-19 15:18:18 +00:00
neo/libs/timidity/*
2012-11-26 18:58:24 +00:00
Copyright (c) 1995 Tuukka Toivonen
From http://www.cgs.fi/~tt/discontinued.html :
If you'd like to continue hacking on TiMidity, feel free. I'm
hereby extending the TiMidity license agreement: you can now
select the most convenient license for your needs from (1) the
GNU GPL, (2) the GNU LGPL, or (3) the Perl Artistic License.
2012-12-19 15:18:18 +00:00