Retro Games: Difference between revisions

From The Maceys in California
Line 1: Line 1:
==DosBox Based==
==DosBox Based==
Ok, Still working this one out
Ok, Still working this one out
==Terminal Based==
=Terminal Based=
===Method===
==Method==
https://github.com/tsl0922/ttyd
https://github.com/tsl0922/ttyd


Line 14: Line 14:


Manual page is here: https://github.com/tsl0922/ttyd/blob/main/man/ttyd.man.md
Manual page is here: https://github.com/tsl0922/ttyd/blob/main/man/ttyd.man.md
[https://www.ifwiki.org/Main_Page Installation instructions]


=Z-Machine Based=
=Z-Machine Based=

Revision as of 01:24, 24 January 2026

DosBox Based

Ok, Still working this one out

Terminal Based

Method

https://github.com/tsl0922/ttyd

Download and install the ttyd terminal emulator:

sudo snap install ttyd --classic

Note that the instructions have you download the latest release but it doesn't seem to use it during the install.

Manual page is here: https://github.com/tsl0922/ttyd/blob/main/man/ttyd.man.md

Installation instructions

Z-Machine Based

The Z-Machine is a machine independent format that was used to define text based interactive fiction games. It was developed by Infocom to support their development and game play.

Web Site Game Play

To supply interactive fiction games through the wiki web site, the games are converted from the original Z-Machine format into an HTML equivalent. The html files are then placed into the resources/ifiction directory in the Mediawiki home page.

To run the game on a web page, the following code, with the appropriate game information, is placed on the appropriate web page:

 
<htmltag tagname="iframe" id="serviceFrameSnd" src="./resources/ifiction/Advent.z5.html" height="480" width="800" title="Adventure"></htmltag>

Z-Machine and Game Sources

The Frotz interpreter: https://gitlab.com/DavidGriffith/frotz

Get Infocom games in 'z' format: https://eblong.com/infocom/#zork1

The Frotz interpreter can be run on a terminal. To get it on the website, use the ttyd application.

Perhaps an easier approach is to convert the 'z' files directly to HTML:

https://iplayif.com/api/sitegen

Walk throughs: [1]

Return to: Main Page or Interactive Fiction