I have got the object code working in AGIL, just if it's amiga change some threes to fours.
How can I find out which version of the original AGI these games used? (Without an amiga?)
The amiga version of Kings Quest 3 (2.15 I think) appears to be an AGI 3 game. (The file formats are.) but the filenames are "dirs", and "vol.*" are all amiga AGI 3 games like this? (I'm busy downloading KQ4 now...)
all Amiga games have the funny packed object. But there are v2 and v3 game difference. v2 filenames are exactly the same as pc. v3 are the version you've discovered. dirs and vol.*.. it doesn't have a gameid like the pc.
When NAGI loads the object file, it tries loading it as whatever it was defined in standard.ini.. but it checks the sizes and makes sure it doesn't go out of bounds. If it does, then it tries the amiga packed version and encryption, and stuff like that. at least until it finds a version that will load without errors.
You could only really detect 3-4 different versions of AGI game without having to go to the interpreter. You've got your two main v2 and v3 distinctions. Then there's versions in between.
v2.272 and earlier interpreters didn't encrypt the object file. All later v2 games did.
v3.002.086 was used by Kings Quest 4 and had a funny version of setting the loops of moving sprites. So if your kq4 game's ego moon walks, that's an early v3 game. All other v3 games didn't implement this funny loop setting.. but had another one that required a certain flag set (flag 20).
If you do try and run these games with an Amiga emulator.. just remember that pc version numbers and amiga version numbers differ.
- Nick