IridiumIO / CompactGUI

Transparently compress active games and programs using Windows 10/11 APIs
GNU General Public License v3.0
5.11k stars 237 forks source link

Cant open Compact GUI #451

Closed PhantomMist closed 3 months ago

PhantomMist commented 4 months ago

I tried to open compact gui for the last hour or so but it isn't working. Event viewer isn't giving me anything to work with. I installed .net 8 and even .net 9 like it said in the instruction. It doesnt show up in task manager either. The only thing it could potentially be is this LEDKeeper2.exe. I do have a msi Laptop with windows 11. Any advice would be appreciated on what to do. Im also a tech noob/rookie so im sorry in advance. image

Iridium-IO commented 4 months ago

It's funny because I'm having the issue on my own computer now too lol. I think I messed up the single-instance detection and there's a scenario where if CompactGUI is minimised to the system tray, and you try to open a new instance, both will fail but lock you out.

The other issue is that it might have glitched your settings file which I haven't quite figured out the cause of yet.

First try:

Open task manager and kill all CompactGUI.exe instances, and see if it works then.

If that doesn't work, navigate to %IridiumIO/CompactGUI/ and open the settings.json file. Send the contents of the file to me here, but I'm expecting the window height/width values to be broken (they should say 800 height, 500 width). Deleting the file should fix that issue

HarikalarKutusu commented 3 months ago

I think it started with latest Windows update last week, to dotnet-8.0.7. I cannot open the program from taskbar icon anymore and I had all items checked to test the new background-compress features. To fix it I disabled them from the settings file:

  "ShowNotifications": false,
  "StartInSystemTray": false,
  "EnableBackgroundWatcher": false,
  "EnableBackgroundAutoCompression": false,

As "StartInSystemTray" is false, I now can reach the program. I also disabled autostart with windows. Possibly unrelated to this, but I was not able to manually check the watch list, with above settings I can like before.

Iridium-IO commented 3 months ago

I'm almost certain it'll be the "start in system tray" option, that one seems to cause issues particularly on a fresh boot of windows

PhantomMist commented 3 months ago

It's funny because I'm having the issue on my own computer now too lol. I think I messed up the single-instance detection and there's a scenario where if CompactGUI is minimised to the system tray, and you try to open a new instance, both will fail but lock you out.

The other issue is that it might have glitched your settings file which I haven't quite figured out the cause of yet.

First try:

Open task manager and kill all CompactGUI.exe instances, and see if it works then.

If that doesn't work, navigate to %IridiumIO/CompactGUI/ and open the settings.json file. Send the contents of the file to me here, but I'm expecting the window height/width values to be broken (they should say 800 height, 500 width). Deleting the file should fix that issue

So there is no instances of CompactGUI.exe when i run it even when i do run as administrator. I also cant seem to find %IridiumIO/CompactGUI/ as well. I downloaded it both ways from github release to the winget. Im sorry if i messed up a process somehow to download this program image image

PhantomMist commented 3 months ago

I figured it out. It was getting blocked by my computer security system because "the .exe came from another computer" so I unblocked it and it seems to be working now. It is always the simplest solutions that i overlook when working with tech problems. Thanks yall for the help.

jtfen86 commented 3 months ago

Having this problem too and setting StartInSystemTray in the config file to false fixed it.