-
Notifications
You must be signed in to change notification settings - Fork 127
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
Starting a game from Vortex #1221
Comments
There is actually little we can do about that, even if we went through the trouble of monitoring the spawned process: if it's skse or similar, the process Vortex spawns finishes almost immediately, a good while before the game actually starts to show anything. The best I can offer is to disable the button for a few seconds after it was clicked so you have some feedback that it was clicked - but then the button becoming enabled after that time could be misinterpreted as "oh, the game failed to start". |
@TanninOne How about waiting for the main game binary instead of lets say skse? Even if you use some tools like skse the main binary itself will (or should) start. |
That's not practical either, it would require us to monitor the entire process list waiting for the game binary to show up - which it may never do if - say skse fails - so then Vortex blocks forever. Unless we build in a timeout, which then may be to short. This gets super complicated and error prone. |
I have solved this after all, by polling the process list and matching it against the configured tools/game exe. It's a bit of an awkward solution since polling the process list isn't exactly cheap (~1% CPU load on my 4-core cpu) so it gets disabled while Vortex not the foreground application so that while you're playing the game, Vortex won't be using up that CPU time, but this also means that the button will not update while you're using any other application, you have to click back into Vortex and may have to wait for a few seconds for it to notice it. |
The play button which fire up the game isn't showing if I actually started it or not. If you press the play button multiple times, Vortex will open multiply windows with the game.
Reported by: SlowbroRed
The text was updated successfully, but these errors were encountered: