The sk2sadat compiler for the ScottKit language allows you to write games for the Scott Adams text adventure system with the following advantages:
Simply download the sk2sadat.pl
file to wherever you want to use it.
Assuming that you have sk2sadat.pl
in the same directory as a ScottKit source code file called mygameproject.sck
and you want to make a game file called mygameproject.dat
, the following commandline should work in Linux or MacOS (in Windows, you'd probably want to replace the ./
with perl
in the beginning):
./sk2sadat.pl mygameproject.sck > mygameproject.dat
To squeeze the most amount of data out of the Scott Adams ".dat" format when compiling a ScottKit source code file, some methods are to be employed.
Nouns for items that aren't used by actions are placed last in the noun list, since "autoget" isn't affected by the 150 noun limit that actions have.
Messages in actions are limited to 99 entries in "even" command slots (2 and 4). To make sure that this limits the game as little as possible, three methods can be used: