This interpreter only works in desktop versions of the Chrome browser because it requires a feature that has some security vulnerabilities that have only been resolved on Chrome.

A very rough proof-of-concept port of the TADS 3 interpreter for HTML5. It only supports standard TADS3 games and not newer WebUI TADS3.1 games. It recompiles the TADS3 interpreter code into JavaScript using Emscripten. The interpreter runs entirely in your browser, so it doesn't need to contact any servers while you play. The code requires newer JavaScript features that are available in the most recent browsers or will be available soon. The features it needs is support for shared array buffers and synchronization primitives. 

Although the interpreter seems to work fine, it is intended as more of a proof of concept, so it's not particularly polished or fully featured. It is useful for the preservation of older TADS 3 games and to serve as an architectural guide for creating similar interpreters. The code has very rudimentary support for HTMLTADS, allowing for simple formatting and the showing of images (even those embedded in .GAM files). Full HTMLTADS support requires the writing of a late-1990s, early 2000s era browser engine, so having full fidelity HTMLTADS output is unlikely. Saved games are handled by typing the save and restore commands. It could also use better handling of scrolling, animated scrolling effects, plus improved keyboard controls. 

The source code for the port and instructions for how to use it is available at GitHub.

Leave a comment

Log in with itch.io to leave a comment.