Emglken

From IFWiki

Emglken
Interpreter
[[File:|385px|center]]
Link Home page
Developer Dannii Willis
Formats ADRIFT 4, Glulx, Hugo, TADS 2, TADS 3, Z-code
Interaction style
Systems Browser, Windows, macOS, Linux
System details
Latest version 0.7.0 / 14 Dec 2024
Status Stable
Uses interpreter Bocfel, Git, Glulxe, Hugo, Mjr-T3, Scare
Used byElseIFPlayer, Lectrote, Parchment
Multimedia support Emglken in Parchment has full multimedia support, but in Lectrote only supports graphics
License MIT, some terps GPL-2.0
Notes Note that this interpreter cannot simply be downloaded and run to play game files.
Browse the software database
Edit this infobox

Emglken is a project by Dannii Willis which compiles several interpreters with Emscripten into Javascript and WebAssembly, so that the interpreters can be played anywhere with a modern Javascript runtime, such as any modern web browser.

From the readme:

Over the years many Interactive Fiction interpreters have been written which use the Glk API, or have been adapted to do so. Emglken takes some of these interpreters, compiles them to use the RemGlk-rs Glk library using Emscripten, and then outputs to Javascript and WebAssembly. These interpreters, which once needed to be compiled for each distinct operating system and CPU combination, can now be run anywhere there's a modern Javascript runtime: on the web with Parchment, in desktop apps like Lectrote, or in Node.js directly.

Emglken itself has almost no code at all; this project basically just takes care of compiling all the pieces together with the right settings, as well as providing a common JS interface to handle setting up the connections between each interpreter and GlkOte.

Emglken is available as a console app via npm, as well as being bundled into Lectrote and Parchment.

Interpreters
By format ADRIFTAdvSysAGTAlanGlulxHugoMagnetic ScrollsTADSZ-code
By system BrowserAndroidiOSLinuxmacOSWindows
Browse Recommended interpretersSearch formDrilldown
Other software Authoring systemsUtilities