Retro Games: Difference between revisions

From The Maceys in California
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
==DosBox Based==
=DosBox Based=
Ok, Still working this one out
Ok, Still working this one out
==Terminal Based==
 
===Method===
=Terminal Based=
==Method==
https://github.com/tsl0922/ttyd
https://github.com/tsl0922/ttyd


Line 15: Line 16:
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


==Z-Machine Based==
[https://www.tecmint.com/ttyd-share-linux-terminal-over-web/ 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:
<syntaxhighlight lang=html>
<htmltag tagname="iframe" id="serviceFrameSnd" src="./resources/ifiction/Advent.z5.html" height="480" width="800" title="Adventure"></htmltag>
</syntaxhighlight>


==Z-Machine and Game Sources==
The Frotz interpreter: https://gitlab.com/DavidGriffith/frotz
The Frotz interpreter: https://gitlab.com/DavidGriffith/frotz


Line 23: Line 36:
The Frotz interpreter can be run on a terminal. To get it on the website, use the ttyd application.
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:
Perhaps an easier approach is to convert the 'z' files directly to HTML: [https://iplayif.com/api/sitegen]


https://iplayif.com/api/sitegen
Walk throughs: [http://www.eristic.net/index.html Ifiction Game Walkthroughs]


Return to: {{Highlight|[[Main Page]]}} {{Highlight|[[Interactive Fiction]]}}
Return to: {{Highlight|[[Main Page]]}} or {{Highlight|[[Interactive Fiction]]}}

Latest revision as of 01:26, 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: [1]

Walk throughs: Ifiction Game Walkthroughs

Return to: Main Page or Interactive Fiction