Author Topic: User can't get any game to launch. Has weird workaround.  (Read 1791 times)

Dave Gilbert

  • Mittens Vassal
  • Posts: 2,641
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #20 on: 06 Jun 2018, 20:14 »
COnfirmed. The tester turned off compatibility and was running fullscreen in openGL.

Crimson Wizard

  • Posts: 8,726
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #21 on: 06 Jun 2018, 20:16 »
COnfirmed. The tester turned off compatibility and was running fullscreen in openGL.

But this is not log from running fullscreen, it's a log from running setup.

Anyway, I don't really believe log will show much.

If I had possibility to test this issue, I'd try to find out answers on the questions asked earlier:
So, is this something related to Unawoved, or other games too?
Is it possible to narrow problem down by trying
a) games made with previous versions of AGS
b) other games made with AGS 3.4.1?
« Last Edit: 06 Jun 2018, 20:18 by Crimson Wizard »

Dave Gilbert

  • Mittens Vassal
  • Posts: 2,641
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #22 on: 06 Jun 2018, 20:26 »
From what I've been told, the testers tried running other games and had no problem. So it's something specific to this version of AGS.

And I didn't see your post about it being from the setup file. Will ask him to send another one!

Crimson Wizard

  • Posts: 8,726
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #23 on: 06 Jun 2018, 20:48 »
From what I've been told, the testers tried running other games and had no problem. So it's something specific to this version of AGS.
What about other games made with 3.4.1? Also, is it possible to build test version without steam plugin?

Dave Gilbert

  • Mittens Vassal
  • Posts: 2,641
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #24 on: 06 Jun 2018, 21:12 »
I can compile a non-steam version and see if that will work!

Crimson Wizard

  • Posts: 8,726
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #25 on: 06 Jun 2018, 21:24 »
Hmm, on the other hand, running winsetup does not load plugins, so probably not related...

I was trying to remember what has changed in 3.4.1 in regards to how program is built, and only thing I could figure out is that we now link opengl32.lib.

Oh, and the Allegro libraries are now self-built, not using old ones built by CJ.
« Last Edit: 06 Jun 2018, 21:28 by Crimson Wizard »

Dave Gilbert

  • Mittens Vassal
  • Posts: 2,641
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #26 on: 07 Jun 2018, 14:01 »
Sigh. The user now says the game is running with no problems, but has no idea what he did to fix it. This game is gaslighting me. It's happened to seven people so far, so there's a good chance it will happen again. When it does, I'll tell them to make a log before making any other changes.

Chicky

  • Posts: 3,356
    • Chicky worked on a game that was nominated for an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #27 on: 08 Jun 2018, 12:34 »
AVG Free version gives me no end of trouble with running AGS games, double click the exe and nothing happens par a Windows loading cursor. Even after turning off AVG the same issue happens until I've rebooted. I know anti-virus permissions often do not come into effect until after a reboot, could this be the same issue? If the user 'ring-fenced' the folder, could they have missed the part where you reboot for the permissions to take place?

Crimson Wizard

  • Posts: 8,726
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #28 on: 08 Jun 2018, 12:50 »
Regarding antivirus, there is one dumb idea. Instead of using compiled exe, take acwin.exe from Editor program files, and YourGame.ags file from the Compiled/Data, put them into same folder and try running acwin.exe. See if antivirus will behave differently. In the past I was suspecting that it does not like that game data is appended to exe and program has to be constantly opening executable for reading.

I was planning to add a compile option to not attach game data to exe, but forgot.

NicolaGs

  • Posts: 148
  • Going nowhere fast
    • NicolaGs worked on a game that was nominated for an AGS Award!
      NicolaGs worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #29 on: 09 Jun 2018, 08:16 »
take acwin.exe from Editor program files, and YourGame.ags file
I used this solution for my game in order to prevent a false positive alert with Avast.
But this solution may not be perfect :
mygame.exe was detected by avast both at runtime (on a computer running Avast in realtime) and at scantime (when scanning files with Avast or with an online antivirus such as VirusTotal.com).
(acwin.exe + mygame.ags) were not detected at scantime but they were still detected at runtime for some users.

As there's a silent mode on some AV (like Avast, iirc), it's possible that the AV blocks the game without even displaying any pop up alert... so it could be the issue with some of Dave's testers.
My first game : I Want Out!

Dave Gilbert

  • Mittens Vassal
  • Posts: 2,641
  • Hi. Our names are FRIGGING ADORABLE.
    • Lifetime Achievement Award Winner
    • Dave Gilbert worked on a game that was nominated for an AGS Award!
      Dave Gilbert worked on a game that won an AGS Award!
Re: User can't get any game to launch. Has weird workaround.
« Reply #30 on: 20 Jun 2018, 18:40 »
So now everyone who reported this problem is now telling me that the game now works perfectly. I have no idea how this happened. Maybe a windows update?

Problem solved, I guess.