Beginnings of A Sierra AGI Interpreter
Sierra released many well known adventure games, like King's Quest and Police Quest. For obvious reasons these games were not coded from scratch, but rather depended upon engines to run the games.
Once such engine was the AGI engine, which was used to power games such as King's Quest 1 - 3 and Space Quest 1 and 2.
The goal of my project is to build an AGI Interpreter for the CommanderX16.
https://github.com/wizardmanannan/CX16Agi
This is based upon the Meka AGI Interpreter by Lance Ewing, and utilises the code freely available from him website. http://agiwiki.sierrahelp.com/index.php?title=MEKA#Download
Permission to use his code has been obtained in written form: https://github.com/lanceewing/agile/issues/65
I have an interpreter that runs, but it needs a lot of optimisation as it is far too slow at present, caching of files is an obvious way to make things run faster. At present I am using Warp mode.
Also an improvement to loading time is in the works as well.
Graphics, sound and inputs have yet to be done. I will need to replace calls to 'Allegro' the library the original author used for the purpose with calls to the CX16 hardware instead.
I am open to any suggestions for improvements, particularly if anyone can see any way to optimise it.