aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-02-20 00:32:48 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:04 -0600
commit2062bf16019ebbc0af74e2c58b6a574c418b3f0c (patch)
tree24ffc0ab529473ff5128cf75783d95a1d56f7193 /games
parentb3ea517f6e6241be714fa669c3c564c0574ca1f5 (diff)
games/steem: Added (Freeware Atari STE Emulator)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/steem/README16
-rw-r--r--games/steem/doinst.sh9
-rw-r--r--games/steem/slack-desc19
-rw-r--r--games/steem/steem.174
-rw-r--r--games/steem/steem.SlackBuild82
-rw-r--r--games/steem/steem.desktop10
-rw-r--r--games/steem/steem.info12
-rw-r--r--games/steem/steem.pdf.xzbin0 -> 257948 bytes
-rw-r--r--games/steem/steem.pngbin0 -> 599 bytes
-rw-r--r--games/steem/steem.sh45
10 files changed, 267 insertions, 0 deletions
diff --git a/games/steem/README b/games/steem/README
new file mode 100644
index 0000000000000..6792b737f6ba2
--- /dev/null
+++ b/games/steem/README
@@ -0,0 +1,16 @@
+Steem is a Freeware Atari STE emulator for Windows and Linux. It runs
+almost every ST program ever made without any problems. Steem is designed
+to be easy to use and has many unique features. Whether you want to run
+great old games, use MIDI apps just like you did on the ST or you have
+some other, more sinister motive, Steem is the emulator for you!
+
+*** Note to first-time users: Press the Pause/Break key to release the
+*** mouse cursor!
+
+Steem is binary-only software, no source available. Package includes
+the emulator binary and UK TOS images. Optionally, you may include the
+US TOS images. To do this, grab them from here:
+
+http://steem.atari.st/tos_us.zip (md5sum: bf250988783a0d468711a1057215fd73)
+
+Place the file "tos_us.zip" in the SlackBuild's directory before building.
diff --git a/games/steem/doinst.sh b/games/steem/doinst.sh
new file mode 100644
index 0000000000000..1103a0f268320
--- /dev/null
+++ b/games/steem/doinst.sh
@@ -0,0 +1,9 @@
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
diff --git a/games/steem/slack-desc b/games/steem/slack-desc
new file mode 100644
index 0000000000000..fe09c3fcd8c70
--- /dev/null
+++ b/games/steem/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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+steem: steem (Freeware Atari STE Emulator)
+steem:
+steem: Steem is a Freeware Atari STE emulator for Windows and Linux. It
+steem: runs almost every ST program ever made without any problems. Steem
+steem: is designed to be easy to use and has many unique features. Whether
+steem: you want to run great old games, use MIDI apps just like you did on
+steem: the ST or you have some other, more sinister motive, Steem is the
+steem: emulator for you!
+steem:
+steem:
+steem:
diff --git a/games/steem/steem.1 b/games/steem/steem.1
new file mode 100644
index 0000000000000..dff864dacdecc
--- /dev/null
+++ b/games/steem/steem.1
@@ -0,0 +1,74 @@
+.TH STEEM "6" "May 2009" "STeem 3.2" "SlackBuilds.org"
+.SH NAME
+steem - the Atari STE emulator for Linux/X11
+.SH SYNOPSIS
+.B steem [options] [disk_image_a [disk_image_b]] [cartridge] [tos_image]
+.PP
+.B steem [options] [state_file]
+.SH DESCRIPTION
+Steem is a Freeware Atari ST/STE emulator for Windows and Linux.
+.SH OPTIONS
+.SS Image Files
+.TP
+\fI[disk_image_a]\fR, \fI[disk_image_b]\fR
+Optional disk images to be used for the ST's A: and B: drives. File types
+supported are ST/MSA/DIM/STT/ZIP/RAR. If 2 disks are specified, the first
+will be ST drive A: and the second drive B:.
+.TP
+\fI[cartridge]\fR
+Optional name of a cartridge image (.STC) to be loaded.
+.TP
+\fI[state_file]\fR
+state file: previously saved state file (.STS) to load. If none is
+specified, Steem will load "auto.sts" provided the relevant option is
+checked in the Options dialog.
+.TP
+\fI[tos_image]\fR
+TOS image file to use. By default, this is set in \fIsteem.ini\fR and does
+not need setting on the command line. For most games and applications,
+the TOS image should be the UK v1.02 image (tos102.img).
+.SS Switches
+Options are case-independent and can be prefixed by -, --, / or nothing.
+.TP
+\fBNOSHM\fR
+disable use of Shared Memory.
+.TP
+\fBNOSOUND\fR
+no sound output.
+.TP
+\fBSOF=<n>\fR
+set sound output frequency to <n> Hz.
+.TP
+\fBPABUFSIZE=<n>\fR
+set PortAudio buffer size to <n> samples.
+.TP
+\fBFONT=<string>\fR
+use a different font.
+.TP
+\fBHELP\fR
+print help message and quit.
+.TP
+\fBINI=<file>\fR
+use <file> instead of steem.ini to initialise options.
+.TP
+\fBTRANS=<file>\fR
+use <file> instead of searching for Translate.txt or Translate_*.txt to translate the GUI text.
+.PP
+All of these options (except INI= and TRANS=) can be changed from the GUI
+once steem is running. It is easiest just to run steem and play with the GUI.
+.SH FILES
+.TP
+\fI/usr/bin/steem\fR
+Shell script wrapper that sets up the environment for the actual steem binary.
+.TP
+\fI/usr/libexec/steem\fR
+Actual steem binary. Don't run directly, as it doesn't behave in a very Linux\-friendly way.
+.TP
+\fI~/.steem/\fR
+Directory steem executes in. Contains \fIsteem.ini\fR and all save\-state files,
+including \fIauto.sts\fR.
+.SH AUTHORS
+Steem was Written by Anthony and Russell Hayward.
+.PP
+This man page and the steem wrapper script were written by B. Watson, for the SlackBuilds.org project (but
+may be used by anyone)
diff --git a/games/steem/steem.SlackBuild b/games/steem/steem.SlackBuild
new file mode 100644
index 0000000000000..274b32609dd6e
--- /dev/null
+++ b/games/steem/steem.SlackBuild
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+# Slackware build script for xsteem
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+PRGNAM=steem
+VERSION=${VERSION:-3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+# Binary-only package, hard-coded ARCH
+ARCH=i486
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+SRCVER=${VERSION/./_}
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/x${PRGNAM}_v${SRCVER}-${ARCH}.tar.gz
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
+
+
+mkdir -p $PKG/usr/bin $PKG/usr/share/$PRGNAM/patches \
+ $PKG/usr/libexec $PKG/usr/share/$PRGNAM/tos \
+ $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION
+
+# binary's already stripped
+install -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM.bin
+install -m0755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM
+
+cp -r patches/* $PKG/usr/share/$PRGNAM/patches
+
+unzip -LL $CWD/tos_uk.zip
+if [ -e $CWD/tos_us.zip ]; then
+ unzip -LL $CWD/tos_us.zip
+fi
+
+cp tos*.img $PKG/usr/share/$PRGNAM/tos
+
+cp -a \
+ *.txt FAQ README win32.help $PRGNAM.new \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+# CRLF's suck..
+sed -i 's/\r//g' $PKG/usr/doc/$PRGNAM-$VERSION/*
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Man page created from the --help output
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+# pdf doc was created by running chm2pdf on the chm help downloaded from
+# the original site.
+xzcat $CWD/$PRGNAM.pdf.xz > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.pdf
+
+# icon converted from the windows icon using wrestool on steem.exe
+mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications
+cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/steem/steem.desktop b/games/steem/steem.desktop
new file mode 100644
index 0000000000000..d0d9fa268637d
--- /dev/null
+++ b/games/steem/steem.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=STeem
+GenericName=Atari ST Emulator
+Type=Application
+Exec=steem
+Icon=steem
+Terminal=false
+StartupNotify=false
+Categories=Game;Emulator;
diff --git a/games/steem/steem.info b/games/steem/steem.info
new file mode 100644
index 0000000000000..bf1975f5cc4f8
--- /dev/null
+++ b/games/steem/steem.info
@@ -0,0 +1,12 @@
+PRGNAM="steem"
+VERSION="3.2"
+HOMEPAGE="http://steem.atari.st/"
+DOWNLOAD="http://steem.atari.st/xsteem_v3_2-i486.tar.gz \
+ http://steem.atari.st/tos_uk.zip"
+DOWNLOAD_x86_64="UNTESTED"
+MD5SUM="7beb9c1faf78ffbd7e50ebf13dc991af \
+ 51778c08eaabe70020b30bf87b04ec7f"
+MD5SUM_x86_64=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
+APPROVED="rworkman"
diff --git a/games/steem/steem.pdf.xz b/games/steem/steem.pdf.xz
new file mode 100644
index 0000000000000..45497a31fe393
--- /dev/null
+++ b/games/steem/steem.pdf.xz
Binary files differ
diff --git a/games/steem/steem.png b/games/steem/steem.png
new file mode 100644
index 0000000000000..b63b0baa75c65
--- /dev/null
+++ b/games/steem/steem.png
Binary files differ
diff --git a/games/steem/steem.sh b/games/steem/steem.sh
new file mode 100644
index 0000000000000..6786153020975
--- /dev/null
+++ b/games/steem/steem.sh
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+# Wrapper script for steem. It's a windows app ported to linux, which
+# *insists* on being able to write to the directory where the binary
+# lives (even just running "steem --help" segfaults if there's no write
+# permission!)
+# This script makes it behave in a more unix-friendly way.
+
+# TODO: find a better way to do this.
+# Currently, the script at least handles spaces and punctuation
+# in the filenames... but it's kinda ugly the way it works.
+# ...especially the "echo exec ... | exec sh"
+
+ARGS=
+
+if [ ! -d ~/.steem ]; then
+ mkdir -p ~/.steem
+ ln -s /usr/share/steem/patches ~/.steem/patches
+ ln -s /usr/share/steem/tos ~/.steem/tos
+ ln -s /usr/libexec/steem.bin ~/.steem
+ cat <<EOF > ~/.steem/steem.ini
+[Machine]
+ROM_File=$HOME/.steem/tos/tos102.img
+
+[Main]
+DebugBuild=0
+
+[Update]
+CurrentVersion=3.2
+EOF
+fi
+
+while [ -n "$1" ]; do
+ if [ -e "$1" ]; then
+ ARG="$( readlink -f "$1" )"
+ else
+ ARG="$1"
+ fi
+ echo $ARG
+ ARGS="$ARGS '$( echo "$ARG" | sed "s/'/'\\\\''/g" )'"
+ shift
+done
+
+cd ~/.steem
+echo exec ./steem.bin $ARGS | exec sh