Retro Games: Difference between revisions
Lynn Macey (talk | contribs) |
Lynn Macey (talk | contribs) |
||
| Line 19: | Line 19: | ||
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. | 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== | ==Web Site Game Play== | ||
To supply interactive fiction games through the wiki web site, the games are placed into the resources/ifiction directory in the Mediawiki home page. | 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 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== | ==Z-Machine and Game Sources== | ||
Revision as of 23:25, 23 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
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 is placed on the appropriate web page:
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
Return to: Main Page Interactive Fiction
