summaryrefslogtreecommitdiffstats
path: root/games/jfsw/README_game_data.txt
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2018-07-13 22:41:52 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-17 07:15:49 +0700
commit2c0e839923b6853a42533691393dea9629d9fd5e (patch)
tree58f9f71f0a3d7e7b9d866933f2e4907561431bec /games/jfsw/README_game_data.txt
parent70c013179db63be17ff6a1e7b8d797688aa02eb8 (diff)
downloadslackbuilds-2c0e839923b6853a42533691393dea9629d9fd5e.tar.gz
slackbuilds-2c0e839923b6853a42533691393dea9629d9fd5e.tar.xz
games/jfsw: Enhance script and documentation.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/jfsw/README_game_data.txt')
-rw-r--r--games/jfsw/README_game_data.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/games/jfsw/README_game_data.txt b/games/jfsw/README_game_data.txt
new file mode 100644
index 0000000000..d67b11c383
--- /dev/null
+++ b/games/jfsw/README_game_data.txt
@@ -0,0 +1,42 @@
+For the full version, you can copy SW.GRP from:
+
+- An installed copy of the DOS game.
+- The "swinst" directory of the install CD.
+- Download the game from GoG.com, free of charge (account creation
+ required). See: https://www.gog.com/game/shadow_warrior_complete
+- Download the game from Steam.
+- Simply install the jfsw_registered_data package from SBo.
+
+Copy the SW.GRP file to "/usr/share/games/jfsw/sw.grp".
+
+To get the in-game music working, see README_music.txt.
+
+The game engine checksums the files in /usr/share/games/jfsw/, so the
+filenames aren't really critical... except that they *must* be lowercase
+(game fails to start otherwise).
+
+jfsw can also play Wanton Destruction (WT.GRP), the expansion pack to
+Shadow Warrior that was originally developed in the 90s but never released
+commercially. In 2005, it was released as a freeware download. To play
+this version of the game, install jfsw_wanton_destruction.
+
+Possible .grp files:
+Registered sw.grp: 47536148 bytes, md5sum 9d200b5fb4ace8797e7f8638c4f96af2
+"Alternate" sw.grp: 47536148 bytes, md5sum 92006f69a15ffa5f48b7dcd07b75fda9
+Shareware sw.grp: 26056769 bytes, md5sum dafeec1b83bd31edc6dafffc9a75bdb8
+Wanton Destruction wt.grp: 48698128 bytes, d0f8dc0718127ca480abf14f3a9508c2
+
+If you have the "alternate" (hacked? pirated?) version of sw.grp, it
+differs by only a few bytes. jfsw will refuse to "see" it because the
+checksum doesn't match. You can convert it to the version jfsw expects,
+by running these commands (in bash or zsh) in the directory with the
+file in it:
+
+echo -ne '\x2f\x2f\x30\x2f\x30\x2f\x2f\x2f\x2f\x33\x36\xa6\x32\x33\x31\x30' | \
+ dd of=sw.grp conv=notrunc bs=1 seek=39170528
+echo -ne '\x30\xa4\x31\x31\x30\x30\x30\x30\x31\x31\x30\x30\x30\x31\x31\x31' | \
+ dd of=sw.grp conv=notrunc bs=1 seek=39170544
+
+The above may look like gibberish but it does work! Afterwards,
+double-check the length and md5sum of sw.grp. It should match the
+Registered version, above.