ARun: Add IFID Info and Recovery Switches #3
Labels
💡 feature request
New feature request
⚙️ Arun
Arun interpreter
⚙️ terps
ALAN interpreters
⭐ IFID
Topic: Interactive Fiction unique identifier
After having looked into how IFIDs work in ALAN, I gathered the following:
.ifid
file with same-name as the source adventure, and if the file exists (and contains a valid IFID string) it will reuse that IFID again, otherwise it will generate a new IFID..a3c
story file.The problem is that if the user looses the original
.ifid
file, he/she has no way to recover it from the story file (except via an hex-editor).I propose to add to ARun:
-info
switch to show some basic info on the.a3c
file, including its IFID and the compiler version used..ifid
file from an.a3c
story file — i.e. parse the IFID string contained after the ACodeHeader and recreate the lost text file.It seems to me that currently the IFID doesn't play a big role in Alan — it's there, but not much visibility is given to it. For example, it would be good to be able to access the IFID from within an adventure in order to be able to print it — via some built-in keyword constant, like
IFID
. E.g.:The other terps (WinARun, Gargoyle slot, etc.) should also have a menu to show the IFID and compiler version info of the currently running adventure.
The text was updated successfully, but these errors were encountered: