diff options
author | B. Watson <yalhcru@gmail.com> | 2020-05-02 17:44:43 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-03 08:48:47 +0700 |
commit | b087d6406966828ea1365829b9befad5211b3e9e (patch) | |
tree | fd5ab186ed23d00e02dc20b66dcf84b50c1b2200 /games | |
parent | 1b0e878df48448e62e395d339f8736badd451e95 (diff) | |
download | slackbuilds-b087d6406966828ea1365829b9befad5211b3e9e.tar.gz |
games/jfsw_twin_dragon: Added (game data for Shadow Warrior)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/jfsw_twin_dragon/README | 22 | ||||
-rw-r--r-- | games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild | 45 | ||||
-rw-r--r-- | games/jfsw_twin_dragon/jfsw_twin_dragon.info | 10 | ||||
-rw-r--r-- | games/jfsw_twin_dragon/slack-desc | 19 |
4 files changed, 96 insertions, 0 deletions
diff --git a/games/jfsw_twin_dragon/README b/games/jfsw_twin_dragon/README new file mode 100644 index 0000000000..750c5e2465 --- /dev/null +++ b/games/jfsw_twin_dragon/README @@ -0,0 +1,22 @@ +jfsw_twin_dragon (game data for Shadow Warrior expansion pack) + +Twin Dragon is an expansion to the Shadow Warrior Classic and was +released as a free download on July 4, 1998. It was created by Wylde +Productions and Level Infinity, and features music by Castles Music +Productions[*]. The game features 13 new levels, new sounds, artwork +and a new final boss, Hung Lo, who replaced Zilla. + +After installing the package, "Twin Dragons (Addon)" should appear in +the Game tab of the jfsw launcher. If it doesn't, upgrade jfsw to the +latest build (at least version 20180424_8fc2d54, build 2). + +The expansion doesn't change the first episode of the game. To play the +new levels, choose episode 2 ("Code of Honor") when starting a new game. + +The original Twin Dragon release included a modified Shadow Warrior +executable, which changed the episode and level names for the expansion. +This build doesn't (currently) do that, so you'll see the original names +(e.g. "Code of Honor", rather than "Twin Dragon"). + +[*] This build doesn't include any new music. The Twin Dragon release + zip file doesn't include it. diff --git a/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild b/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild new file mode 100644 index 0000000000..47beeabfdb --- /dev/null +++ b/games/jfsw_twin_dragon/jfsw_twin_dragon.SlackBuild @@ -0,0 +1,45 @@ +#!/bin/sh + +# Slackware build script for jfsw_twin_dragon + +# Written by B. Watson (yalhcru@gmail.com) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +PRGNAM=jfsw_twin_dragon +VERSION=${VERSION:-20200428} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +mkdir -p $PRGNAM-$VERSION +cd $PRGNAM-$VERSION +unzip $CWD/$PRGNAM-$VERSION.zip +chown -R root:root . +chmod 644 * + +mkdir -p $PKG/usr/share/games/jfsw +cp -a td.grp $PKG/usr/share/games/jfsw + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +sed -i 's,\r,,' *.txt +cp -a *.txt *.sh *.diff *.doc *.html $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/jfsw_twin_dragon/jfsw_twin_dragon.info b/games/jfsw_twin_dragon/jfsw_twin_dragon.info new file mode 100644 index 0000000000..dcea332fb5 --- /dev/null +++ b/games/jfsw_twin_dragon/jfsw_twin_dragon.info @@ -0,0 +1,10 @@ +PRGNAM="jfsw_twin_dragon" +VERSION="20200428" +HOMEPAGE="https://shadowwarrior.fandom.com/wiki/Twin_Dragon" +DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/jfsw_twin_dragon-20200428.zip" +MD5SUM="8b99aaf5059079d2c39781fc2746f937" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="jfsw" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/games/jfsw_twin_dragon/slack-desc b/games/jfsw_twin_dragon/slack-desc new file mode 100644 index 0000000000..f9a4b6c342 --- /dev/null +++ b/games/jfsw_twin_dragon/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +jfsw_twin_dragon: jfsw_twin_dragon (game data for Shadow Warrior expansion pack) +jfsw_twin_dragon: +jfsw_twin_dragon: Twin Dragon is an expansion to the Shadow Warrior Classic and was +jfsw_twin_dragon: released as a free download on July 4, 1998. It was created by Wylde +jfsw_twin_dragon: Productions and Level Infinity, and features music by Castles Music +jfsw_twin_dragon: Productions. The game features 13 new levels, new sounds, artwork +jfsw_twin_dragon: and a new final boss, Hung Lo, who replaced Zilla. +jfsw_twin_dragon: +jfsw_twin_dragon: +jfsw_twin_dragon: +jfsw_twin_dragon: |