Author Topic: Technical support for our old demo  (Read 155 times)

Offline jeancallisti

  • Lead Artist
  • *****
  • Posts: 2142
  • I love Indy
    • View Profile
Technical support for our old demo
« on: January 03, 2020, 11:39:20 pm »
Please post here if you have any issues with the old demo embedded inside "Relics of the Viking". You can access that hidden game only after you complete "Relic of the Viking"

Offline Cassiebsg

  • Project Team Member
  • *****
  • Posts: 73
  • There are those you believe...
    • View Profile
Re: Technical support for our old demo
« Reply #1 on: January 10, 2020, 10:06:28 pm »
Bug: If playing Relic of the Viking demo with a translation, running the old demo will crash:

Quote
---------------------------
Adventure Game Studio
---------------------------
An error has occurred. Please contact the game author for support, as this is likely to be a scripting error and not a bug in AGS.
(ACI version 3.4.3.1)


Error: Failed to read translation file: ITA.tra:
The translation file is not compatible with this game. The translation is designed for 'Indiana Jones and the relic of the Viking'.

---------------------------
OK   
---------------------------

Not sure how to deal with fixing this. :/ Probably something that needs to be fix at engine level?

Current working solution to play OLD DEMO:
a) run winsetup.exe and set Game Language  to Game Default.

Offline jeancallisti

  • Lead Artist
  • *****
  • Posts: 2142
  • I love Indy
    • View Profile
Re: Technical support for our old demo
« Reply #2 on: January 20, 2020, 02:10:37 pm »
The issue is that running an "embedded" game from within another AGS game forces the same settings as the host game onto the embedded game.

A quick fix would be to check from within Relic if the current language is not English, and in that case displaying a popup that says "Sorry, English only. Please close this game, change language and open again"

Offline selmiak

  • incredible
  • Project Tech-Admin
  • *****
  • Posts: 2096
    • View Profile
    • selmiak's webseite
Re: Technical support for our old demo
« Reply #3 on: January 23, 2020, 01:24:07 pm »
afaik newer versions of AGS let you switch translation file at runtime, so just switch to english as soon as the player wants to start the embedded game. He will come back to an english version of relic then, but at least has no crash. maybe it's possible to store the translation running before the hard switch to english in some global variable and switch back when returning to the host game.

Offline jeancallisti

  • Lead Artist
  • *****
  • Posts: 2142
  • I love Indy
    • View Profile
Re: Technical support for our old demo
« Reply #4 on: January 23, 2020, 04:28:15 pm »
Yes in the mean time I've seen that so it will be fixed quite easily