Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game not launching, Antimalware Service Executable #92

Open
cadusouza opened this issue Aug 1, 2022 · 68 comments
Open

Game not launching, Antimalware Service Executable #92

cadusouza opened this issue Aug 1, 2022 · 68 comments

Comments

@cadusouza
Copy link

Any game I add on STEAM via UWPHook is not being playable.

On Steam the game says it's running, but it doesn't.

Also my windows Antimalware Service Executable goes into overdrive using high amounts of CPU and Memory

does anyone know how to fix this issue?

@bublz00
Copy link

bublz00 commented Aug 1, 2022

I am having the same issue! Steam says it's running but the Antimalware executable goes haywire. I tried a few things to fix it but I can't get any other outcomes. I played around a bit with the Windows Defender settings, no luck. Tried running UWPHook as admin and then adding the app, no luck. I'm not exactly a "power user" so that's all I've tried so far. If I have any luck, I'll update.

I can open the games just fine through the Xbox app.

@AnthonMS
Copy link

AnthonMS commented Aug 2, 2022

Having the same issue. Let me know if there is anything I can assist with by handing over a log or some manual debugging or something.

@RyanPMcL
Copy link

RyanPMcL commented Aug 3, 2022

Same issue. Nothing actually launches, it just appears as running in Steam.

@TheBingPlays
Copy link

ditto on this issue.

@ibrabeicker
Copy link

+1

@BrianLima
Copy link
Owner

Hi, i know that this has been reported for a while, but i couldn't yet find a cause, i had little to no time to work on this issue because of my personal life and job needing much more time than the expected in the last year, so i'm taking a vacation during August and will do my best once i'm back to understand and fix this issue. In the meantime if someone applies a patch that fix the issue, i could try to make a beta release and contact some of the people either here or on Reddit to test it.

@GianCarlosB
Copy link

Same thing here.

@shgaspardr
Copy link

Same here!

@RyanPMcL
Copy link

Today I was able to launch UWP games from steam. Not sure what I changed, but it works for me now.

@bublz00
Copy link

bublz00 commented Aug 17, 2022

Today I was able to launch UWP games from steam. Not sure what I changed, but it works for me now.

I still can't open them. I checked Windows Update and saw an update for Windows Defender but even after installing that, I'm getting the same results.

@retribyte
Copy link

Having the same issue.

@Shiroe93
Copy link

Shiroe93 commented Aug 21, 2022

@BrianLima Having the same issue, but i found that if you check the "run as admin" in the option it starts to work again so i think that's an authorization problem

@TheBingPlays
Copy link

TheBingPlays commented Aug 26, 2022

@BrianLima Having the same issue, but i found that if you check the "run as admin" in the option it starts to work again so i think that's an authorization problem

Run what as admin? steam or UWPHook? ran both as admin and no luck

@Shiroe93
Copy link

you go in to uwphook shortcut proprieties --> compatibility tab and check ran as adimin and apply
now when you start the game on steam a security pop-up from windows will appear click yes and the game should be starting normally
WARNING: i spoke to the developer on twitter and he does't advise this solution (because is obviously a security risk)
personally i totaly agree and my previous comment was intended to help him better understand the issue not to be used by a end user infact i disabled it myself as soon as i've finished testing

@nazsol
Copy link

nazsol commented Aug 29, 2022

Same problem here, the above fix does work but like said it is a security risk and also Steam does not show you are playing a game.

@BrianLima
Copy link
Owner

Hi people, we have a new release, could someone who has thiss problem currently give it a try and see if it works?

https://github.com/BrianLima/UWPHook/releases/tag/2.11.0

@nazsol
Copy link

nazsol commented Sep 5, 2022

Hi people, we have a new release, could someone who has thiss problem currently give it a try and see if it works?

https://github.com/BrianLima/UWPHook/releases/tag/2.11.0

Same problem as before for me unfortunately.

I added 14 games and only 4 launch.

The games that aren't launching are -
Besiege
Descenders
Dragon Ball Fighters
Golf With Your Friends
Lemnis Gate
Mortal Kombat 11
Sniper Elite 5
Teenage Mutant Ninja Turtles: Shredder's Revenge
Turbo Golf Racing
Worms W.M.D

On a plus note Antimalware isn't going off like it did before and Steamgrid images are working whereas previously they didn't.

@Potajito
Copy link

Potajito commented Sep 5, 2022

Same issue here, even with the latest version. I only tried Tinykin and Immortality, and both seem to "launch" for a couple of seconds, and then nothing. Doesn't seem to be related to the antivirus in my case.

@TheKerevas
Copy link

It also happens to me with Forza Horizon 5, I click on Play but nothing happens, I have no problems with antivirus

@stevealexandre
Copy link
Contributor

stevealexandre commented Sep 7, 2022

Guys, look at #93 fix is coming before the end of the week. Working on it ✌ Just have a last issue to fix.

@alex-brunskill
Copy link

@stevealexandre - cheers for working on this, any news on when the fix will be merged and released?

@BrianLima
Copy link
Owner

I'm reviewing it still

@stevealexandre
Copy link
Contributor

The fix is available right now.
To all, download the last release and you will have to delete and create again all your games to enjoy the fix.

@alex-brunskill
Copy link

alex-brunskill commented Sep 12, 2022

Thank you, unfortunately though I'm still having the same issue. I click play, an installing first time setup window comes up but nothing more. It's now also only finding 3 games and one's that were working such as Halo Wars aren't found. I'm on Windows 10, not sure if that makes any difference.

@stevealexandre
Copy link
Contributor

Hum, let me take a look, I will install halo wars to check it.
Do you confirm you have download the last release published today and import all your games again ?

@alex-brunskill
Copy link

alex-brunskill commented Sep 12, 2022

I have re-installed the three games it found, the .exe doesn't seem to work for me either. Had to download the .zip and extract, then run which worked to add them in, although they won't launch.

Version 2.11.0 worked for me with some games, 2.12.0 didn't at all.

@TheKerevas
Copy link

Once installed the installer does not work, opening from the Zip yes. I noticed that UWPHook no longer finds all my Microsoft apps but only Forza Horizon 5 which is the only Microsoft Store game installed. Starting Forza Horizon 5 it tells me "Access to path 'C: \ Program Files (x86) \ Briano \ UWPHook \ debug.log' denied"

@stevealexandre
Copy link
Contributor

@BrianLima I confirm on my side too the installer install a version which not working (process start and instant killed. Seems like an error somewhere. Maybe should be a good idea to put some error log on real error with the logger I've added to follow them easier).

@alex-brunskill can you confirm me which halo wars? 1 or 2 or both? Unfortunately, if microsoft does not create the right manifest, we will have some trouble to handle them at the moment.
On the 3 games found, they are working ? If not, list them to take a look.

@stevealexandre
Copy link
Contributor

Once installed the installer does not work, opening from the Zip yes. I noticed that UWPHook no longer finds all my Microsoft apps but only Forza Horizon 5 which is the only Microsoft Store game installed. Starting Forza Horizon 5 it tells me "Access to path 'C: \ Program Files (x86) \ Briano \ UWPHook \ debug.log' denied"

Interesting issue. Will create a fix for the logger to create them in the appdata because program files needs always admin permissions. About other microsoft apps, it's a normal behavior, we are looking for manifest and executable right now and integrated apps does not have the same structure. Since it was design I think to handle game, it will be difficult to handle all cases.

@stevealexandre
Copy link
Contributor

PR #98 + #99 are created. Waiting action from @BrianLima right now to review, merge and generate all the needed to fix issues.

Any chance you can share a build with your fixes?

Brian is currently reviewing them and merging.
I'm waiting for it since on my side, I have an issue which doesn't allow me anymore to run game through steam without launching UWPHook with run as admin option.
He has merged one of two a few minutes and I think he will merge the second before the end of the day with the release.

@BrianLima
Copy link
Owner

Hey, i've reviewed both PR's and did the tests, everything, is ok, i'll do the release later today.

For it, i will be changing the path for the installation to try to avoid the admin rights issue.

@BrianLima
Copy link
Owner

Hey, the new release is pushed: https://github.com/BrianLima/UWPHook/releases/tag/2.13.0
Could you guys report if the newer fixes and the new install location improve this behavior?

@borg100
Copy link

borg100 commented Sep 18, 2022

Thanks for the update.

Unfortunately, it doesn't appear to be working for these games:

  • Yakuza: Like a Dragon
  • PowerWash Simulator

But the games do run if I execute the command directly in a command prompt window.

@stevealexandre
Copy link
Contributor

Thanks for the update.

Unfortunately, it doesn't appear to be working for these games:

  • Yakuza: Like a Dragon
  • PowerWash Simulator

But the games do run if I execute the command directly in a command prompt window.

Only for these two games ? Are you able to run other games?

@BrianLima
Copy link
Owner

Both PowerWash and Yakuza LAD work fine on my end, have you removed the games from your library and re-imported them in the new version @borg100?

@TheKerevas
Copy link

Forza Horizon 5 doesn't work. I reinstalled UWPHook and re-added the game but nothing. I click on play, I appear on Steam that I have opened the game but then it disappears

@borg100
Copy link

borg100 commented Sep 19, 2022

@stevealexandre I made a list of the games I tried.

Working:

  • Donut County
  • Grounded
  • Minecraft for Windows 10
  • Tell Me Why

Not working:

  • Craftopia
  • Embr
  • Human Fall Flat
  • Minecraft Dungeons
  • No Man's Sky
  • PowerWash Simulator
  • Yakuza: Like a Dragon

All the "Not working" games work fine when launched from the Xbox app or with UWPHook using the command prompt.

@BrianLima I did and verified in Steam; all games are using the latest version of UWPHook.

@stevealexandre
Copy link
Contributor

stevealexandre commented Sep 19, 2022

@TheKerevas and @borg100 could you try to configure UWPHook to run as admin in his compatibility option? (Option available in properties of the exe file in compatibility tab)
Run as admin

@borg100
Copy link

borg100 commented Sep 19, 2022

@stevealexandre After enabling the "run as admin" option, the game launches as expected (following UAC prompt).

@stevealexandre
Copy link
Contributor

stevealexandre commented Sep 19, 2022

@stevealexandre After enabling the "run as admin" option, the game launches as expected (following UAC prompt).

Ok thanks for the test. Last question, can you confirm you have your windows updated ?

@BrianLima I think something as changed recently with an update of steam or windows which cause some issue running uwphook via steam without admin option. (I think it's windows because you don't have this issue and steam is auto updated)

@borg100
Copy link

borg100 commented Sep 19, 2022

Ok thanks for the test. Last question, can you confirm you have your windows updated ?

I haven't used this PC in a while and automatic updates have been disabled. I'll update Windows and then try again without the compatibility option and report back.

@stevealexandre
Copy link
Contributor

stevealexandre commented Sep 19, 2022

Ok thanks for the test. Last question, can you confirm you have your windows updated ?

I haven't used this PC in a while and automatic updates have been disabled. I'll update Windows and then try again without the compatibility option and report back.

Thanks for the information.
Interesting to see the launch seems random following computer.
Could you try this version 2.14.0b with your games listed ? I have implemented a new way to start apps and to check if is running.

@borg100
Copy link

borg100 commented Sep 19, 2022

@stevealexandre No change after updating Windows and using v2.13.

Could you try this version 2.14.0b with your games listed ? I have implemented a new way to start apps and to check if is running.

@stevealexandre The games are launching now. Thanks for working on this. 👍

I noticed a few bugs, just wanted to mention it in case you weren't aware.

  1. The export function is broken. The shortcuts were not created. I had to use v2.13 to create the shortcuts and then manually change the target paths in Steam.

Screenshot 2022-09-19 094933

  1. If you enable the "streaming mode" option, the game does not launch anymore.

@stevealexandre
Copy link
Contributor

stevealexandre commented Sep 19, 2022

@stevealexandre No change after updating Windows and using v2.13.

Could you try this version 2.14.0b with your games listed ? I have implemented a new way to start apps and to check if is running.

@stevealexandre The games are launching now. Thanks for working on this. 👍

I noticed a few bugs, just wanted to mention it in case you weren't aware.

  1. The export function is broken. The shortcuts were not created. I had to use v2.13 to create the shortcuts and then manually change the target paths in Steam.

Screenshot 2022-09-19 094933

  1. If you enable the "streaming mode" option, the game does not launch anymore.

I have tried Embr with my release and everything is working on my side without any issue on export.
Same for streaming option, working on my side.
Both of these functionnalities are not being modified in my release.

Are you admin of your computer currently?

@stevealexandre
Copy link
Contributor

stevealexandre commented Sep 19, 2022

Ok found the issue, for moment, get your api key in the setting of uwphook (click on key, login on the website steamgriddb et get your key)
I will let Brian review this part since it's a trouble with encrypted assets of games.

@TheKerevas
Copy link

Ok thanks for the test. Last question, can you confirm you have your windows updated ?

I haven't used this PC in a while and automatic updates have been disabled. I'll update Windows and then try again without the compatibility option and report back.

Thanks for the information. Interesting to see the launch seems random following computer. Could you try this version 2.14.0b with your games listed ? I have implemented a new way to start apps and to check if is running.

With this version everything works perfectly on Forza Horizon 5

@stevealexandre
Copy link
Contributor

@TheKerevas can you try this latest fix to have icons without api key please with your games ?
https://github.com/stevealexandre/UWPHook/releases/tag/2.14.1b

Thanks.

@FDuplat
Copy link

FDuplat commented Oct 1, 2022

Just to add to this thread, tried to play Metal Hellsinger and Moonscars:

2.13 exe on default folder: Import grid works but both games won't launch
2.13 zip on desktop: Same problem
2.14.1 on desktop: Both games launch without a problem but steamgrid doesn't work so no icons on steam

@Noughter
Copy link

Noughter commented Oct 3, 2022

I got the same problem and all the Games i add on Steam won't start. I tried using the 2.14.1b prerelease but that one is just crashing on startup for me not sure what i can do

@stevealexandre
Copy link
Contributor

I got the same problem and all the Games i add on Steam won't start. I tried using the 2.14.1b prerelease but that one is just crashing on startup for me not sure what i can do

I've tried it on other computer and no crash on my side. If 2.14.1b crash on your side, you should have an other problem.

Just to add to this thread, tried to play Metal Hellsinger and Moonscars:

2.13 exe on default folder: Import grid works but both games won't launch 2.13 zip on desktop: Same problem 2.14.1 on desktop: Both games launch without a problem but steamgrid doesn't work so no icons on steam

Do you have tried the 2.14.1b ?
What do you mean by streamgrid doesn't work? by putting your api key or without? Did you get an error popup?

@FDuplat
Copy link

FDuplat commented Oct 4, 2022

Just to add to this thread, tried to play Metal Hellsinger and Moonscars:
2.13 exe on default folder: Import grid works but both games won't launch 2.13 zip on desktop: Same problem 2.14.1 on desktop: Both games launch without a problem but steamgrid doesn't work so no icons on steam

Do you have tried the 2.14.1b ? What do you mean by streamgrid doesn't work? by putting your api key or without? Did you get an error popup?

Oh i'm sorry the lack of info and my mistake aswell, yes it was 2.14.1b but only the little icons by the side were missing, not the big ones on steamgrid. I used my API key, both were successfully exported and no errors.

image

image

@stevealexandre
Copy link
Contributor

Just to add to this thread, tried to play Metal Hellsinger and Moonscars:
2.13 exe on default folder: Import grid works but both games won't launch 2.13 zip on desktop: Same problem 2.14.1 on desktop: Both games launch without a problem but steamgrid doesn't work so no icons on steam

Do you have tried the 2.14.1b ? What do you mean by streamgrid doesn't work? by putting your api key or without? Did you get an error popup?

Oh i'm sorry the lack of info and my mistake aswell, yes it was 2.14.1b but only the little icons by the side were missing, not the big ones on steamgrid. I used my API key, both were successfully exported and no errors.

image

image

Ok thanks for the info. Will take a look before the end of the week with the two games given and give you an update of the analyze.

@odlt98
Copy link

odlt98 commented Oct 7, 2022

1+ still same issue
Just downloaded the latest version none of my added games will launch

@stevealexandre
Copy link
Contributor

1+ still same issue
Just downloaded the latest version none of my added games will launch

Which version exactly and which game? Did you try the 2.14.1b?

@matt0903
Copy link

matt0903 commented Oct 8, 2022

1+ still same issue
Just downloaded the latest version none of my added games will launch

Same issue here as well. Using 1.14.1b.
Tested on Age Of Empires V will test some more soon.

@SpeedyLom
Copy link

2.14.1b fixes the issue I was having opening Slay the Spire, many thanks for your hard work! 😁

@stevealexandre
Copy link
Contributor

@XmutanoX new release with a fix for your two games 2.15.0
@matt0903 I assume you're talking about AOE IV and not V which does not exist in the current world. Checkout my new release 2.15.0. Tested and working.

Since Brian seems away and not available, I will manage only issues submitted on my project repo from now : https://github.com/stevealexandre/UWPHook/issues.
This will be until Brian will merge my repo in his own. (The property of the app is still at Brian of course)

@cruellime
Copy link

cruellime commented Oct 21, 2022

@BrianLima Having the same issue, but i found that if you check the "run as admin" in the option it starts to work again so i think that's an authorization problem

This worked for me although I added a step. (I'm on UWPH 2.13.0.0.)

In uwphook properties (right click on shortcut) go to compatibility and then "Change settings for all user".
Just check the Run this program as administrator, save, then re-add your games.
Works for me, might work for you.

Games that worked after I did the above ^
Death Stranding, DJ Max V, and Scarlet Nexus

@stevealexandre
Copy link
Contributor

@BrianLima Having the same issue, but i found that if you check the "run as admin" in the option it starts to work again so i think that's an authorization problem

This worked for me although I added a step. (I'm on UWPH 2.13.0.0.)

In uwphook properties (right click on shortcut) go to compatibility and then "Change settings for all user". Just check the Run this program as administrator, save, then re-add your games. Works for me, might work for you.

Games that worked after I did the above ^ Death Stranding, DJ Max V, and Scarlet Nexus

Is not recommanded to run as admin. You can create a big security breach with that. use the 2.15.1 https://github.com/stevealexandre/UWPHook/releases/tag/2.15.1 which implement a new logic to run games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests