diff options
-rw-r--r-- | games/darkplaces/README | 10 | ||||
-rw-r--r-- | games/darkplaces/README.SLACKWARE | 7 | ||||
-rw-r--r-- | games/darkplaces/darkplaces.SlackBuild | 28 |
3 files changed, 36 insertions, 9 deletions
diff --git a/games/darkplaces/README b/games/darkplaces/README index 6fa0df8963..3feca3e654 100644 --- a/games/darkplaces/README +++ b/games/darkplaces/README @@ -7,7 +7,10 @@ It makes use of the OpenGL Shading Language and supports Ogg Vorbis. By default the binaries will not be built from source, we will instead use the supplied binaries. if you wish to build your own binaries from source -them pass SOURCE=YES to the build. +them pass SOURCE=YES to the build. There is a known issue with Darkplaces +sometimes failing to compile if MAKEFLAGS is set higher than -j1. This +should only be an issue if you have custom MAKEFLAGS set in your +.bash_profile or in sbopkg.conf. The application launcher will launch the OpenGL version of Quake, however if you would prefer it to launch the SDL version then pass SDL=YES to the @@ -19,4 +22,7 @@ pass DPMOD=YES to the build. *NOTE* DarkPlaces is only a game engine modification; you still need the original quake *.pak game files to play quake. See README.SLACKWARE for -more information on this. +more information on this and information for adding high resolution +textures for people with modern video cards. + + diff --git a/games/darkplaces/README.SLACKWARE b/games/darkplaces/README.SLACKWARE index f0a53ac1e5..5b6d281531 100644 --- a/games/darkplaces/README.SLACKWARE +++ b/games/darkplaces/README.SLACKWARE @@ -6,3 +6,10 @@ Once the pak files are extracted, copy them to /usr/share/games/darkplaces/id1 If you don't own the game, you can use the "darkplaces_shareware_data" package available at SlackBuilds.org. +For people with modern video cards who would like to take advantage of new high +resolution textures download the Rygel high resolution texture pack. Download +the file here + +http://gamesrevival.ru/files/rygel-dp-texturepack-high.pk3 + +and save it in /usr/share/games/darkplaces/id1 diff --git a/games/darkplaces/darkplaces.SlackBuild b/games/darkplaces/darkplaces.SlackBuild index 111d4f7b7b..7d410585e9 100644 --- a/games/darkplaces/darkplaces.SlackBuild +++ b/games/darkplaces/darkplaces.SlackBuild @@ -2,13 +2,29 @@ # Slackware build script for darkplaces -# Written by M.Dinslage (daedra1980@gmail.com) -# Big thanks to Robby Workman for tweaks and -# various script cleanups. +# Copyright 2012 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA +# All rights reserved. Big thanks to Robby Workman for cleaning up my mistakes ;). +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# 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. PRGNAM=darkplaces VERSION=${VERSION:-20110628} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,11 +90,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Let the Makefile set its own flags; -# this way the precompiled and from-source binaries use the same flags if [ "$SOURCE" != "NO" ]; then cd $PRGNAM - make release + make OPTIM_RELEASE="$SLKCFLAGS" release cd - fi |