"You wake up on a sunny August morning with birds singing, and the air fresh and clear. However, your joints are stiff and you have not woken up in your bedroom as you would have expected. Trying to recall what happened the night before, you manage to piece together a few brief glimpses to give the following account:"

dMagnetic is an Interpreter for Magnetic Scrolls. With it, it is possible to play the classic text adventures (or interactive fiction) "The Pawn", "The Guild of Thieves", "Jinxter", "Myth", "Fish!", "Corruption" and "Wonderland" on modern computers. It has been designed with portability in mind, and can be compiled on anything with a C-Compiler. Ubuntu, Debian, Gentoo, OpenBSD, FreeBSD, NetBSD, Solaris, IRIX, Mac OS X, Windows are among the operating systems being supported. It has been published under the BSD 2-clause license, so it does not have to stop there.

Download dMagnetic 0.36

The "Welcome interested developers" release! Not that many features which are of use to the casual gamer, but under the hood, the code has matured. Now it is even possible to build a backend library to run the magic of Magnetic Scrolls with 3rd party frontends! Looking forward to it!!

Documentation (as .tar.bz2)MD5: 5984f4804646d568653062d08df7f495
dMagnetic_036.pdfMD5: 33c11c269818563b18d67d942c57ddbb

Click here to download previous releases...
dMagnetic_datastructures.pdf My personal take on the data structures.


dMagnetic 0.30, .mag input, sixel mode
The Pawn The Guild of Thieves Jinxter Corruption Fish! Myth Wonderland

More screenshots can be found here


Input formats

dMagnetic is not a game itself. It requires the original binaries to run. Those can be found, for example, at the magnetic scrolls memorial in the .mag/.gfx format.
. It is also possible to use one of the following
  • MS-DOS binaries
  • Magnetic Windows Resource Files (.RSC)
  • Commodore 64 binaries as .d64 disk images
  • Amstrad CPC disk images in the .DSK format
  • Archimedes disk images (.adf/.adl)
  • Spectrum +3 diskimages (.dsk format)
  • Atari XL diskimages (.atr format)
  • Apple II diskimages (.nib and .2mg format)

Rendering modes

Since the games are being played in a Terminal Window, a TTY console, the beautiful graphics that Magnetic Scrolls was known for are being rendered in one of the following formats:
  • None - No graphics
  • Monochrome - ASCII Art
  • Low Ansi - ANSI Art
  • High Ansi - More colours
  • UTF - UTF8 characters are being used as pixels
  • Sixel - Where available (for example in mlterm, or in xterm -ti vt340)

How to install

OpenBSDpkg_add dmagnetic
FreeBSDpkg_add dMagnetic
NetBSDpkgin in dMagnetic
Debiansudo apt-get install dmagnetic
Ubuntusudo apt-get install dmagnetic
Homebrewbrew install dMagnetic
Termuxpkg install dMagnetic
wget https://www.dettus.net/dMagnetic/dMagnetic_0.36.tar.bz2
tar xvfj dMagnetic_0.36.tar.bz2
cd dMagnetic_0.36
sudo make install