Which AGS API is supported?

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
Lebostein
Posts: 57
Joined: Wed Nov 02, 2005 7:01 am
Contact:

Which AGS API is supported?

Post by Lebostein »

If I add a current AGS game to ScummVM, I get the warning:
here "this game requests a higher version of AGS script API..."

Which API I have to select in AGS to run with the current ScummVM-Version?
User avatar
Praetorian
ScummVM Developer
Posts: 787
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: Which AGS API is supported?

Post by Praetorian »

Lebostein wrote: Wed Jan 04, 2023 9:55 am If I add a current AGS game to ScummVM, I get the warning:
here "this game requests a higher version of AGS script API..."

Which API I have to select in AGS to run with the current ScummVM-Version?
The warning comes from this line in the code:
https://github.com/scummvm/scummvm/blob ... t.cpp#L344

And, as of yet, the version seems to be v36026 aka "3.6.0 Final" according to:
https://github.com/scummvm/scummvm/blob ... nes.h#L192
and
https://adventuregamestudio.github.io/a ... tants.html

Edit: It looks like we have a few debug printouts on the background text console about the version that ScummVM detects for the game. So that would give you and idea about the issue with your AGS game.

Also, the code suggests that those version variables used only have meaning for AGS versions above "3.4.0 final", which may complicate things. Someone more familiar with the AGS ScummVM engine would probably know more details.
User avatar
criezy
ScummVM Developer
Posts: 949
Joined: Sat Sep 23, 2006 10:41 am
Location: West Sussex, UK

Re: Which AGS API is supported?

Post by criezy »

Which version of ScummVM are you using?

v36026, the version supported in ScummVM, is also the latest version for upstream AGS.
But support for it in ScummVM was added about 6 months ago, after the 2.6 release, so if the game uses that version, you need to use a daily build instead (or wait for the 2.7.0 release).
Post Reply