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>
This commit is contained in:
B. Watson 2020-05-02 17:44:43 +01:00 committed by Willy Sudiarto Raharjo
parent 1b0e878df4
commit b087d64069
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 96 additions and 0 deletions

View file

@ -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.

View file

@ -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}

View file

@ -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"

View file

@ -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: