Page 1 of 1

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Sun Aug 22, 2021 2:32 pm
by lucianoaibar
Hi.
"Adventure Game Interpreter" (AGI) is a game engine developed by Sierra On-Line back in the 80's.
Is well known for games like Leisure Suit Larry and King's Quest.

This is the version for DOS (16-bit, EGA graphics).
Basically the reverse engineering of several files now everything compacted in a single assembly file.


Download:
https://github.com/lucianoaibar/AGI2_16bit_DOS

What's next?
* Convert assembly functions to C
* Create a 32-bit version, maybe for Windows API.

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Mon Aug 23, 2021 5:34 am
by MrFlibble
Hello, and welcome to the forums!

Nice project, I took an interest in community-made AGI games recently. Any chance you'd provide compiled DOS binaries too?

Also, will this work with fanmade games? A while ago I tried Sarien for DOS but it does not seem to have any sound support at all.

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Mon Aug 23, 2021 6:28 am
by lucianoaibar
Thank you.

And here it is the compiled file:
http://mediafire.com/file/91edcgyq95h8yk0/AGI2.EXE/file
Put into build/C/

I will try to test Sarien and I will let you know the results.

UPD:
MrFlibble wrote: Hello, and welcome to the forums!

Nice project, I took an interest in community-made AGI games recently. Any chance you'd provide compiled DOS binaries too?

Also, will this work with fanmade games? A while ago I tried Sarien for DOS but it does not seem to have any sound support at all.
I thought Sarien was a fan made game. haha
I'm new with AGI stuff.
I spent several months doing this reverse engineering just for fun, uusing Larry 1 for testing.
and Larry 1 works 100% fine with my version. With sound and EGA graphics.

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Tue Aug 24, 2021 2:00 pm
by MrFlibble
Thanks for uploading the binary! I tested it with the VooDoo Girl fangame, and it works, but the sounds are played through PC Speaker, while the Sierra AGI binary it originally comes with uses SoundBlaster/Adlib FM synth sound.

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Tue Aug 24, 2021 3:17 pm
by lucianoaibar
Good news!
Ok. I will try to add that sound support.
For the next week. I hope so.

EDIT:
sry
this is AGI 2 from 1987 without sound card support.

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Wed Aug 25, 2021 1:42 pm
by MrFlibble
lucianoaibar wrote: EDIT:
sry
this is AGI 2 from 1987 without sound card support.
Hmm, the Sierra AGI binary that comes with VooDoo Girl is actually from November 1986, but it does play sound via SB/AdLib FM. I think there's an unofficial patcher that enables sound card support for AGI games (I understand that it affects data files and not the binary), but apparently it does not work with your reconstructed version.

Maybe you should get in contact with AGI fan sites, I think there are still active boards, perhaps they could provide more useful feedback than me.

BTW, IIRC the community-created interpreters can also distinguish between various sub-versions of AGI2 and (I think) AGI3, based on the game data files.

AGI v2 - Sierra On-Line game engine (Larry, King's quest, etc)

Posted: Wed Aug 25, 2021 5:07 pm
by lucianoaibar
idk but acording to this
en.wikipedia.org/wiki/Sound_Blaster
the first sound blaster card was developed on 1989. Two years later.