AI prompts
base on Original source code of Sierra On-Line's AGI adventure game interpreter. Found in the unused parts of original game disks! # AGI
This repository contains over 80% of the original source code of Sierra On-Line's AGI adventure game interpreter, complete with comments, and, in some cases, a change history containing programmer initials.
These files were extracted from the unused parts of original Sierra AGI game disks, primarily from disk 1 of version 2.0D of Space Quest II (the 720KB version), and a few additional files from disk 1 of version 2.14 of King's Quest III (the 720KB version). Anyone who bought these versions of the games from Sierra On-Line unknowingly has a copy of the same original AGI source code files hiding on their disks. Back in the days when these games were best sellers for Sierra, there could very well have been tens of thousands, if not hundreds of thousands of people across the world who unknowingly had access to Sierra's AGI interpreter source code at their finger tips. Surprisingly, it wasn't until decades later that someone first noticed this, the first known discovery by onlne user NewRisingSun in October 2016.
The reason for the existence of AGI interpreter source code on those original game disks is due to the way in which the customer copies of disks were mass produced. Sierra used a disk duplication machine called a FormMaster that loaded the whole content of the master disk into memory. This involved loading every single byte of every sector of the master disk into memory, regardless of whether the sectors were currently being used on the master disk or not, i.e. it also copied the supposedly "free" space. Normally this wouldn't have mattered, assuming that Sierra fully formatted their master disks before preparing them for a release, but in the case of these SQ2 and KQ3 disks, they appear to have missed that step. Unfortunately for Sierra, these particular master floppy disks had previously been used to hold a copy of the AGI interpreter source code.
In those days, when a file was deleted from a DOS floppy disk, it did not completely erase the data, in fact all it did was mark those sectors as no longer being in use. The data itself remained on the disks. In the case of the SQ2 disk, over half of the disk was left unused after the files for version 2.0D of SQ2 were copied onto the disk. This meant that the data of the deleted files on that second half of the disk remained on there and was then copied to all of the customer copies.
It makes for a great digital archeology story. Due to this slip up, the source code has been preserved where it might otherwise have been lost forever. I don't think that its existence is commonly known of though, which is why I decided to create this repo and to spread the word.
For more detail regarding this blunder, you can read my blog post below:
[The Space Quest II Master Disk Blunder](https://lanceewing.github.io/blog/sierra/agi/sq2/2024/05/22/do-you-own-this-space-quest-2-disk.html)
<br>
> [!NOTE]
> Recently, I released my own AGI interpreter called [AGILE](https://github.com/lanceewing/agile-gdx) that runs directly in a web browser. The original AGI interpreter source code was a great source of information to help make sure that my implementation was as accurate as possible. For those who are interested, you can try it out here: [https://agi.sierra.games/](https://agi.sierra.games/)
", Assign "at most 3 tags" to the expected json: {"id":"10372","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"