sa-gl / feedback

🎮 🐛 Issue reporting and tracking for SA:GL Launcher & Website
https://sagl.app
0 stars 0 forks source link

Auto-close/auto-open #25

Closed Karbzee closed 2 years ago

Karbzee commented 3 years ago

When San Andreas (sa-mp) successfully launches, have the SA:GL close automatically to save resources (such as memory, CPU etc), also adding in an ability to detect sa-mp crashes to automatically re-open if the game does crash.

Launch sa:gl, as soon as GTA is detected as running the launcher closes, then if you're playing and the GTA crashes, it automatically re-opens again.

tmfksoft commented 3 years ago

I thought I had responded to this already, but apparently not.

There's two ways to tackle this feature.

Both have pros and cons. Closing the launcher window frees up a lot of resources, however reopening the launcher window can take a second or two (or more) Hiding the launcher window doesn't free up much, if any resources but showing it again is practically instant.

I think we need to look at what the resource usage is as well as what the savings are from each method to decide on the best approach. Though the latter approach (hiding the window) was already on our bucket list but we can test both hiding and closing to see what works best.

For now, I wont commit to a version for this, but I'd like to get it into 1.0.4

Lancerb1 commented 3 years ago

Another idea is giving the user the option to completely close the launcher or have it running in the background while GTA is running.

tmfksoft commented 2 years ago

As an update, this hasn't been forgotten about, It's just not too high up on our TODO list. It'll definitely make it into a release, I'll keep this issue open until it does so.