Beginnings of A Sierra AGI Interpreter

Talk about your programs in progress. Discuss how to implement features, etc.
Forum rules
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)

Feel free to post works in progress, test builds, prototypes, and tech demos.

Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
Post Reply
Manannan
Posts: 70
Joined: Fri Oct 14, 2022 7:23 am

Beginnings of A Sierra AGI Interpreter

Post by Manannan »


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. 


 

ryanyoder
Posts: 2
Joined: Fri Aug 20, 2021 9:47 am

Re: Beginnings of A Sierra AGI Interpreter

Post by ryanyoder »

This is a great idea and can help open up homebrew and ports. I thought about this last week and am glad to see someone is building it.
Post Reply