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

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
Post Reply
lucianoaibar
Newbie
Newbie
Posts: 4
Joined: Sun Aug 22, 2021 2:15 pm

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

Post 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.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3792
Joined: Sun Dec 05, 2010 11:39 am

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

Post 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.
lucianoaibar
Newbie
Newbie
Posts: 4
Joined: Sun Aug 22, 2021 2:15 pm

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

Post 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.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3792
Joined: Sun Dec 05, 2010 11:39 am

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

Post 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.
lucianoaibar
Newbie
Newbie
Posts: 4
Joined: Sun Aug 22, 2021 2:15 pm

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

Post 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.
User avatar
MrFlibble
Demoniac Demo maniac
Demoniac Demo maniac
Posts: 3792
Joined: Sun Dec 05, 2010 11:39 am

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

Post 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.
lucianoaibar
Newbie
Newbie
Posts: 4
Joined: Sun Aug 22, 2021 2:15 pm

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

Post 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.
Post Reply