Opened 7 days ago

Last modified 7 days ago

#13591 new defect

Achievements explicitly disabled for Heroine's Quest?

Reported by: Crystal-Shard Owned by:
Priority: normal Component: Engine: AGS
Version: Keywords:
Cc: Crystal-Shard Game:

Description (last modified by Crystal-Shard)

In the file https://github.com/scummvm/scummvm/blob/master/engines/ags/plugins/ags_galaxy_steam/ags_galaxy_steam.cpp#L111
the function AGS2Client::get_Initialized explicitly returns false if the current game is either "heroinesquest" or "killyourself".

It says this is because GetCurrentGameLanguage doesn't work, but achievements are not dependent on game language. Expected behavior would to default to English, not to disable the achievement functions.

Please note, I'm the developer for Heroine's Quest so I can answer questions from that end if needed.

Change History (2)

comment:1 by Crystal-Shard, 7 days ago

Description: modified (diff)

comment:2 by Crystal-Shard, 7 days ago

A likely solution:

https://github.com/scummvm/scummvm/blob/master/engines/ags/plugins/ags_galaxy_steam/ags_galaxy_steam.cpp#L159
has a stub for AGS2Client::GetCurrentGameLanguage().

What this function should do, is call AchievementsManager::getCurrentLang() from https://github.com/scummvm/scummvm/blob/master/common/achievements.cpp#L86

Note: See TracTickets for help on using tickets.