Repository navigation
Releases
StepHack 0.1.0
StepHack is a native OPENSTEP 4.2 front end for NetHack and its relatives, written in C89 and Objective-C for gcc 2.7.2. The game still runs unmodified in its terminal mode inside a window StepHack provides; StepHack adds the conveniences around it. This is the first release.
Games
NetHack 3.6.7, NetHack 5.0, NetHack 3.4.3 (the curses-patched package), Slash'EM, SporkHack, UnNetHack, EvilHack and SpliceHack, as installed by the openstep-pkg packages. Game > New Game lists the ones found on the machine. All eight have been started and played from StepHack on an i386 OPENSTEP 4.2 machine.
What it does
- Cursor keys move you. Arrows, Home, PgUp, End and PgDn become the eight directions, Shift runs, with
number_padon or off.number_padis switched on in an options file that does not set it. - Curses by default where the game has it, in a 110 x 32 window, with line graphics, colour, mouse and the permanent inventory; Slash'EM stays on the plain terminal interface. Line-drawing characters are painted as real lines, whatever font you use.
- An options window for each game (Game > Options...): switches, pop-up menus and fields, saved to the game's own options file without disturbing its comments or other lines.
- System Settings (Game > System Settings...) for the
sysconffile of the games that have one: who may use wizard and explore mode, how many games run at once, and so on. A dated, gzipped backup is made before each save, and Clean Up... removes old ones. - Command bar under the game: Pray, Name, Call, Loot, Chat, Enhance and the rest of the common extended commands.
- Scores window (latest and best games, and each game's own high-score list), and a saved ending screen for every finished game (Game > View Ending...).
- Closing a game's window saves the game, or asks first if you prefer; quitting StepHack hangs up running games and waits for them to save.
- Wizard mode and explore mode starts (New Wizard Mode Game, New Explore Mode Game).
- Colours: black on white (OPENSTEP's own look) or white on black (what the games are written for), with the palette adjusted to stay readable on either; bold text uses the font's bold face.
Tested on
| Architecture | Status |
|---|---|
| i386 | Used on a real OPENSTEP 4.2 machine with all eight games |
| SPARC | The package installs and runs on a SPARC OPENSTEP 4.2 machine, and all eight games run from the terminal there; the games have not yet been played inside StepHack on SPARC |
| m68k | Not tried |
Download
The installer package, as a fat binary (i386, m68k and SPARC), is attached to this release as StepHack-0.1.0-NIS.tar.gz. Unpack it and open StepHack.pkg with Installer.app. To build it yourself on an OPENSTEP machine with all three compiler backends: make -f Makefile.openstep dist-fat; see the README.
A note for anyone changing the code: this OPENSTEP AppKit does not retain the menus it is given, so every menu must be held by the program (the README explains).
MIT licensed. The games themselves have their own licences and are not part of this repository.