The virtual machine of the Silmarils games, rewritten from C to PHP, plays the original data in your browser.
▶ Play Robinson's Requiem
The Silmarils games (Ishar, Transarctica, Robinson's Requiem, Targhan…) all run on the same virtual machine, ALIS (Actor Language Integrated System): the game is a script that the machine runs on each computer. This project ports to PHP the free re-implementation by Olivier Huguenot and Vadim Kindl and runs it on JumPHP, PHP compiled to WebAssembly. When it starts, the engine offers the games whose data it has; the first one is Robinson's Requiem (PC CD, 1994), a 3D survival adventure on a hostile planet.




The game list offers Robinson's Requiem (PC CD), the original scripts; … - ALIS sources, the same game with each script compiled from its readable source; and … HD: the picture scaled by the GPU as sharp pixels, the game's texts redrawn with a real font at the screen's resolution, and the 3D rendered a second time, at twice the resolution, by the original 3D engine.


The 109 scripts of Robinson's Requiem were decompiled to a reconstructed ALIS source language:
the machine's instruction names, the original compiler's structures (if … { } else { }, while,
labels, left-to-right expressions). Compiled again, they give back the scripts byte for byte. See
the ALIS language (overview and the table of every instruction).
The same scripts also exist in the 90s form, as a developer of the time could have written
them: French words, named and declared variables, si … alors … finsi blocks, $52 numbers.
The two forms translate into each other word for word and give the same bytes.
And in ALIS BASIC, as close as can be to what Silmarils' developers most likely wrote on their
Atari ST: the machine's original instruction names are GFA BASIC words (LOCATE, BOX,
INK…), hence PUTNAT, IF … ENDIF, GOSUB, ADD x, n,
&H52 and typed variables (vague|, souris_x&). F2 switches
form in the editor.
The ALIS editor is built into the engine (home screen: ALIS EDITOR): colours, search, compiling with the line of the mistake, then F5 to play with your version of the script.

Mouse: everything with a click, as on the PC. Keyboard: ↑ ↓ ← → to move, Esc for the game's menus, F11 / F12 quick save and load, F10 back to the game list. Gamepad: the d-pad and button A.
Robinson's Requiem © Silmarils 1994 (André Rocques, Louis-Marie Rocques, Fabrice Hautecloque, Jean-François Trévien, Éric Galand…). ALIS re-implementation: maestun/alis by Olivier Huguenot and Vadim Kindl (MIT licence). PHP port: JumPHP. The game's data is in no public repository.