diff options
Diffstat (limited to 'games/ds-models')
-rw-r--r-- | games/ds-models/README | 36 | ||||
-rw-r--r-- | games/ds-models/ds-models.SlackBuild | 48 | ||||
-rw-r--r-- | games/ds-models/ds-models.info | 4 | ||||
-rw-r--r-- | games/ds-models/slack-desc | 10 |
4 files changed, 51 insertions, 47 deletions
diff --git a/games/ds-models/README b/games/ds-models/README index ce09d97619..2d2050728d 100644 --- a/games/ds-models/README +++ b/games/ds-models/README @@ -1,33 +1,25 @@ -ds-models (3D model packs for gzdoom and skulltag) +ds-models (3D model packs for skulltag) -ds-models allows playing Doom, Heretic, and Hexen with OpenGL and 3D -models, which gives it a much more modern look. +ds-models allows Skulltag to play Doom, Heretic, and Hexen with OpenGL +and 3D models, which gives it a much more modern look. -This model set is released by -=Dark-Assassin=- on the -SkullTag forum. For more information, see the forum thread at -http://www.skulltag.com/forum/viewtopic.php?f=13&t=24238 - -If you never plan to use models with skulltag, passing SKULLTAG=no to -the build script will omit the skulltag-specific models. The resulting -package with be approximately 30% smaller. There's also a GZDOOM=no -option, but it won't make the package smaller (skulltag still requires -the gzdoom models, so they'll still be included). +This model set was released by -=Dark-Assassin=- on the SkullTag +forum. As of r15, ds-models supports Zandronum, but there's no SlackBuild for Zandronum yet, so no support for it here (yet). -This includes scripts "ds-gzdoom" and "ds-skulltag" for starting gzdoom -or skulltag with the models preloaded. +This includes a script called "ds-skulltag" for starting skulltag with +the models preloaded. -To make gzdoom or skulltag always use the models, edit -~/.config/gzdoom/zdoom.ini and/or ~/.skulltag/skulltag.ini and add the -following lines under the [Global.Autoload] marker: +To make skulltag always use the models, edit and/or +~/.skulltag/skulltag.ini and add the following lines under the +[Global.Autoload] marker: -# for both gzdoom and skulltag: Path=/usr/share/games/doom/GZ-Models.pk3 - -# for skulltag only, also add: Path=/usr/share/games/doom/ST-Models.pk3 -Note that the models will only be displayed if gzdoom/skulltag is using -the OpenGL renderer (Options | Display Options in the in-game menu). +Note that the models will only be displayed if skulltag is using the +OpenGL renderer (Options | Display Options in the in-game menu). + +Note: gzdoom doesn't display these models properly. diff --git a/games/ds-models/ds-models.SlackBuild b/games/ds-models/ds-models.SlackBuild index 2b6ce3ca2b..c5da9ad9b4 100644 --- a/games/ds-models/ds-models.SlackBuild +++ b/games/ds-models/ds-models.SlackBuild @@ -1,37 +1,52 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for ds-models -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# Note to self: find and package a decent model pack that works +# properly with current gzdoom versions. If such a thing exists. +# Initial searching and testing indicates maybe not... + +# 20211103 bkw: BUILD=4 +# - fix script being installed to nonexistant /usr/games. +# - remove gzdoom support, since neither gzdoom nor gzdoom-legacy +# works with these models. + +# 20160810 bkw: +# - bump BUILD because: +# - install scripts in /usr/games, not /usr/bin + # 20140324 bkw: # Updated for version r15 # fixed typos in README # fixed .def files for recent gzdoom -# 20160810 bkw: -# - bump BUILD because: -# - install scripts in /usr/games, not /usr/bin +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ds-models VERSION=${VERSION:-r15} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -ARCH=noarch - # Which game(s) to support? # As of r15, Zandronum is also supported, but as there's no SBo build for # it, I won't bother. -SKULLTAG=${SKULLTAG:-yes} -GZDOOM=${GZDOOM:-yes} +SKULLTAG=yes +GZDOOM=no if [ "$SKULLTAG" != "yes" -a "$GZDOOM" != "yes" ]; then echo "You've set both SKULLTAG=no and GZDOOM=no; nothing to package." @@ -41,17 +56,14 @@ fi set -e rm -rf $PKG -mkdir -p $TMP $PKG/usr/{share/games/doom,bin,doc/$PRGNAM-$VERSION} $OUTPUT +mkdir -p $TMP $PKG/usr/{share/games/doom,games,doc/$PRGNAM-$VERSION} $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # The only script provided upstream is for skulltag + gzdoom in one pk3, which # will only work with skulltag. So we build our own individual skulltag and @@ -130,4 +142,4 @@ mkdir -p $PKG/install sed "s/@GAME@/$GAME/" $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/ds-models/ds-models.info b/games/ds-models/ds-models.info index 7e824c4a1b..a788d655cd 100644 --- a/games/ds-models/ds-models.info +++ b/games/ds-models/ds-models.info @@ -1,10 +1,10 @@ PRGNAM="ds-models" VERSION="r15" HOMEPAGE="https://github.com/AA1999/ds-models" -DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/ds-models-r15.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/ds-models-r15.tar.gz" MD5SUM="9092e6862566680ad782673dea5a0980" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/games/ds-models/slack-desc b/games/ds-models/slack-desc index d3a732ba63..2201269041 100644 --- a/games/ds-models/slack-desc +++ b/games/ds-models/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -ds-models: ds-models (3D model packs for gzdoom and skulltag) +ds-models: ds-models (3D model packs for skulltag) ds-models: ds-models: ds-models allows playing Doom, Heretic, and Hexen with OpenGL and 3D ds-models: models, which gives it a much more modern look. ds-models: -ds-models: This model set is released by -=Dark-Assassin=- on the -ds-models: SkullTag forum. For more information, see the forum thread at -ds-models: http://www.skulltag.com/forum/viewtopic.php?f=13&t=24238 +ds-models: This model set was released by -=Dark-Assassin=- on the +ds-models: SkullTag forum. +ds-models: +ds-models: ds-models: -ds-models: This package built with support for @GAME@. ds-models: |