Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks a lot Pierre to bringed back gobliiins in a new adventure.
The demo works well with wine or windows but I expected to play it with AGS Engine (ScummVM), unfortunalty at the beginning of the game, when I drop something in the trash of the Parc I got this error.


Do you know if it can be fixed? It will be the trigger for me to buy this game. Thanks 

(3 edits) (+2)

https://github.com/scummvm/scummvm/blob/842a52fd42c23d0290af768bf2593634008467ba/engines/ags/engine/ac/character.cpp#L168

The relevant line in ScummVM.
I'll take a look at it for you.

Will report back once I've found a workaround (although this looks like a coding mistake on Pierre's part, maybe. Been a while since I messed with the AGS engine. RN, I work on reviving ScummC, so that maybe one day people can develop another game with a SCUMM compatible engine).

EDIT: I simply commented out the if-statement, recompiled ScummVM and restarted the game. No error message thus far.
My suspicion is that the AGS engine inside ScummVM is somewhat more strict than the default Windows AGS interpreter and that Pierre set an animation value that is out of bounds for the AGS engine inside ScummVM.

Thanks a lot for your really deep dive analysis!
Would it be relevant to ask for ScummVM AGS to be less restrictive?

It would be better to either fix the scripting bug (RepeatStyle should be either 0 or 1, no other value) or add an exemption based on game_id.

Just ignoring it altogether, for every game, can lead to bugs, memory leaks or segmentation faults.

Would you be okay with opening a ScummVM ticket to add this game and explain the scripting bug?

(+2)

The ScummVM AGS engine is based off the "official" AGS engine branch 3.6.0, which is more restrictive compared to branch 3.5 which was used to build this game. As Happy-Ferret said it'd be better to wait for the dev to fix the bug, as a last resort we could add a workaround specifically for this game.

(1 edit)

Talking about bugs, I ran into plenty on ScummVM's end when trying to bundle the game.

I don't think the documentation is up to snuff in that regard. It says that, on Mac, to drop the game files into "MyGame.app/Contents/Resources/game". That didn't work for me. I ended up having to create a scummvm-autorun file in the Resources folder and hardcode the path to "/Applications/MyGame.app".

Furthermore, the preferences are always saved as "~/Library/Preferences/ScummVM Preferences", no matter what change the bundle identifier in the Info.plist to.

That being said, I'm almost done with a first version of the MacOS demo app bundle. Gonna upload it tomorrow, once I have an icon for it and tested it on another Mac.

Would be great if Pierre saw that and picked up my work so we could have an official Mac build.

Here's a short playthrough of the demo in ScummVM, btw. After I commented out two lines to sidestep the Character.Animate repeat issue.

Sorry Modhack, I know nothing about Scumm... There must be a compatibility. I’m not a programmer. But you had problems putting things in the trash in the 1st level in the PC version?

Yes with the PC version, it crash when I drop the first element to the trash. Happy-Ferret Reported above that it due to the scummvm Character_AnimateEx check .