0neGal / viper

Launcher+Updater for TF|2 Northstar
https://0negal.github.io/viper
GNU General Public License v3.0
151 stars 21 forks source link

bug: Viper detects game as running when it's not #208

Open JustWantToFixViper opened 1 year ago

JustWantToFixViper commented 1 year ago

So I was using NorthStar Viper with no issues previously. I have opened my game with steam prior, but its no longer accepting the filepath for some reason. I have tried switching it back to the EA path now as well and it is having the same issue. I click launch it loads for a while and then eventually just says 'Change Game Path'. I am not sure what I have done because I haven't had any updates other than Nvidia one that I know of. I certainly haven't deleted the game or anything as I can still open it through Steam or EA app. Any tips or help would be greatly appreciated thank you.

0neGal commented 1 year ago

Where are you seeing this "Change Game Path" at? The only place text like that should be in the Viper tab, in the sidebar. And it's just the button you use to change what folder Viper looks in when updating Northstar and alike, it's not a message telling you that something gone wrong with the game path, and that you need to change it.

But I understand the confusion if that's the problem, as others have confused it in the past, and it's something that'll likely be changed or moved to somewhere less confusing.

If that isn't the place, then please do take a screenshot if you're able to.

JustWantToFixViper commented 1 year ago

So basically it launches forever then is the issue. I had it working the last few days but today and last night when I tried running it just loads forever and says running. But then no window opens. I only noticed it when I clicked on the viper icon on the left side, so I thought it was having an issue with the filepath. I switched it back and it seems to have allowed it. The issue is though I launch the game and then the game fails to launch. It doesn’t ever close itself either or give me an error rather it will just do it indefinitely until I close viper and try to launch it again. On Sun, Aug 13, 2023 at 6:32 AM 0neGal @.***> wrote:

Where are you seeing this "Change Game Path" at? The only place text like that should be in the Viper tab, in the sidebar. And it's just the button you use to change what folder Viper looks in when updating Northstar and alike, it's not a message telling you that something gone wrong with the game path, and that you need to change it.

But I understand the confusion if that's the problem, as others have confused it in the past, and it's something that'll likely be changed or moved to somewhere less confusing.

If that isn't the place, then please do take a screenshot if you're able to.

— Reply to this email directly, view it on GitHub https://github.com/0neGal/viper/issues/208#issuecomment-1676312582, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB4P5IPM5KRWJXGXGCQLYHLXVCULZANCNFSM6AAAAAA3OQ4GHI . You are receiving this because you authored the thread.Message ID: @.***>

0neGal commented 1 year ago

Hmm, I have seen reports of some people saying Viper thinks the game is running when it actually isn't. Just to confirm, the launch button is saying "Launching..." or "Running...", just to make sure I get this right.

If possible, next time this happens, could you check and see if any programs with a Titanfall, NorthstarLauncher, Origin or EA Desktop logo is in the task manager whilst it is happening, and which one or more of them is running. More precisely the names of the programs would be: Titanfall2.exe, NorthstarLauncher.exe, Origin.exe and EADesktop.exe all respectively...

Further, when it does this, does it fix itself when restarting Viper or does it simply keep doing it?

JustWantToFixViper commented 1 year ago

Sorry for the delayed response. I have now tried several things to fix it to no avail. I have entirely uninstalled and reinstalled viper. It is odd because for two or three days it was working without any issues. What happens is this. I open viper, and without any prompt it automatically just says 'running' It never goes away, and the game never boots. I have EA open per the videos I've watched on setup recommendations. I have tried uninstalling and reinstalling titanfall 2. I have tried waiting over ten minutes to see if anything changes. I can see EA in my task manager. I attached three screenshots displaying what I am talking about/seeing. I can see EA is open. I can see Viper is open. It just says running and absolutely nothing I have tried has fixed it. The weirdest part to me is that it ran entirely without error for days, and without updating my pc, or doing anything at all it now no longer runs.

I have tried everything I can think of to fix the issue but it persists. Please, if you can help me I would love to play the game again.

On Mon, Aug 14, 2023 at 4:25 PM 0neGal @.***> wrote:

Hmm, I have seen reports of some people saying Viper thinks the game is running when it actually isn't. Just to confirm, the launch button is saying "Launching..." or "Running...", just to make sure I get this right.

If possible, next time this happens, could you check and see if any programs with a Titanfall, NorthstarLauncher, Origin or EA Desktop logo is in the task manager whilst it is happening, and which one or more of them is running. More precisely the names of the programs would be: Titanfall2.exe, NorthstarLauncher.exe, Origin.exe and EADesktop.exe all respectively...

Further, when it does this, does it fix itself when restarting Viper or does it simply keep doing it?

— Reply to this email directly, view it on GitHub https://github.com/0neGal/viper/issues/208#issuecomment-1678008731, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB4P5INXW2GNLLANAOVGJ23XVKCSFANCNFSM6AAAAAA3OQ4GHI . You are receiving this because you authored the thread.Message ID: @.***>

JustWantToFixViper commented 1 year ago

Upon further investigation the issue was that even though I had exited Viper it was running itself in the background for several days. I don't understand how this happened since I had uninstalled and reinstalled the game and the application though? If you have any insight it would be greatly appreciated. I didn't think to go look at the exe stuff until I read your email. I was simply scrolling through the task manager processes and did not see it initially. Thank you so much for being able to help me in this way, but if you do know why this happens I would love to know.

On Mon, Aug 14, 2023 at 4:25 PM 0neGal @.***> wrote:

Hmm, I have seen reports of some people saying Viper thinks the game is running when it actually isn't. Just to confirm, the launch button is saying "Launching..." or "Running...", just to make sure I get this right.

If possible, next time this happens, could you check and see if any programs with a Titanfall, NorthstarLauncher, Origin or EA Desktop logo is in the task manager whilst it is happening, and which one or more of them is running. More precisely the names of the programs would be: Titanfall2.exe, NorthstarLauncher.exe, Origin.exe and EADesktop.exe all respectively...

Further, when it does this, does it fix itself when restarting Viper or does it simply keep doing it?

— Reply to this email directly, view it on GitHub https://github.com/0neGal/viper/issues/208#issuecomment-1678008731, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB4P5INXW2GNLLANAOVGJ23XVKCSFANCNFSM6AAAAAA3OQ4GHI . You are receiving this because you authored the thread.Message ID: @.***>

0neGal commented 1 year ago

I honestly don't know, again, I've seen reports of Viper thinking the game is running when it's not, and only fixing itself after a restart, why this happens I do not currently know, but I am still trying to investigate and figure it out.

But am glad it seemed to have fixed itself in your case!

GeckoEidechse commented 1 year ago

I honestly don't know, again, I've seen reports of Viper thinking the game is running when it's not, and only fixing itself after a restart, why this happens I do not currently know, but I am still trying to investigate and figure it out.

I don't know the cause yet either but I do know that it comes from some process lingering around sometimes after Northstar crashes(?). As that means that a process called NorthstarLauncher.exe is still running, Viper will naturally display the process as running. Of course that also means that restarting the PC naturally fixes this.

The way I "fixed" the issue in FlightCore is that I added a "Kill Northstar process" button in the Repair View that kills the running process and then I just guide the user to that button in the rare cases someone makes a ticket.

You could probably also just have it so that with Northstar running and you hovering the "Play" button it turns into "Kill running Northstar process".

0neGal commented 1 year ago

I have been meaning to add some buttons that perform various debugging tasks and alike in the settings page anyway. So I'll likely look into adding a similar button.

I presume it's currently, completely unknown what causes the lingering process to exist in the first place?

GeckoEidechse commented 1 year ago

I presume it's currently, completely unknown what causes the lingering process to exist in the first place?

Currently, yes. Haven't found a way to reproduce yet so naturally hard to find the cause ^^

XNovaDelta commented 1 year ago

I presume it's currently, completely unknown what causes the lingering process to exist in the first place?

Currently, yes. Haven't found a way to reproduce yet so naturally hard to find the cause ^^

It has also been happening to me with my Northstar and Viper installation on my Windows machines. I have noticed that it only occurs when the EA application has not been executed before opening Titanfall through Viper. In the cases where I haven't opened the EA app before running the game, Northstarlauncher.exe appears as a subprocess of Viper, and the game becomes frozen, and I cannot see its screen.