fgsfds / Steam-Superheater

Steam Superheater is an app that can fix and improve games on Steam that are broken or have troubles running on modern systems
GNU General Public License v3.0
130 stars 0 forks source link

Superheater crashes on startup #24

Closed Mellified closed 1 year ago

Mellified commented 1 year ago

I've tried each version of Superheater on my Windows 11 PC. The config.xml is created and a window shows up briefly. Then the application crashes. Launching from the command line - with -dev or not - results in no output. The event log is empty.

I manually installed .NET 6 32 and 64 bit runtimes without improvement.

Are there other runtime dependencies needed? What can be done to troubleshoot this further?

fgsfds commented 1 year ago

Version 0.5.1 should create superheater.log. Can you check if there's anything in it?

Mellified commented 1 year ago

In the same directory the EXE is run from I assume? It creates a config.xml, but no log file.

fgsfds commented 1 year ago

Weird. Can you set UseLocalRepo to true in the config and see it it launches?

Mellified commented 1 year ago

Same behavior - window outline appears, then disappears. No log file.

fgsfds commented 1 year ago

Can you try this and see if log is created?

Mellified commented 1 year ago

There is a log file with this version. The log file shows...

Current directory detected: C:\SteamSuperheater Starting cleanup...

fgsfds commented 1 year ago

Another one. Hopefully it will create crash event in Event Viewer like this

image

Mellified commented 1 year ago

I see other app crashes in Event Viewer, but nothing for Superheater. I did try several times and refreshed the log view.

fgsfds commented 1 year ago

Another one with more logging. Sorry for archive-inside-archive, github doesn't accept files > 25mb or 7zips

Mellified commented 1 year ago

OK, so I have been testing on my Win 11 gaming desktop. I recently installed a fresh copy of Win 11 on my laptop, and tested there as well. Seems like whatever the problem is it is happening on a fresh Windows install too.

I saw an outbound connection to github.com as well, FYI.

Desktop:

[2023-09-30 1:08:30 PM] ---------------- Starting ----------------
[2023-09-30 1:08:30 PM] Microsoft Windows NT 10.0.22621.0
[2023-09-30 1:08:30 PM] 0.5.1.0
[2023-09-30 1:08:30 PM] Starting cleanup
[2023-09-30 1:08:30 PM] Finished cleanup
[2023-09-30 1:08:30 PM] App Initialize started
[2023-09-30 1:08:30 PM] Loading ModelsBindings
[2023-09-30 1:08:30 PM] Loading ViewModelsBindings
[2023-09-30 1:08:30 PM] Loading CommonBindings
[2023-09-30 1:08:30 PM] App Initialize completed
[2023-09-30 1:08:30 PM] Starting Desktop Style Application
[2023-09-30 1:08:30 PM] Initializing MainWindow
[2023-09-30 1:08:30 PM] Initializing MainPage
[2023-09-30 1:08:30 PM] Initializing EditorPage
[2023-09-30 1:08:30 PM] Initializing NewsPage
[2023-09-30 1:08:30 PM] Initializing SettingsPage
[2023-09-30 1:08:30 PM] Initializing AboutPage

Laptop:

[9/30/2023 1:04:29 PM] ---------------- Starting ----------------
[9/30/2023 1:04:29 PM] Microsoft Windows NT 10.0.22621.0
[9/30/2023 1:04:29 PM] 0.5.1.0
[9/30/2023 1:04:29 PM] Starting cleanup
[9/30/2023 1:04:29 PM] Finished cleanup
[9/30/2023 1:04:30 PM] App Initialize started
[9/30/2023 1:04:30 PM] Loading ModelsBindings
[9/30/2023 1:04:30 PM] Loading ViewModelsBindings
[9/30/2023 1:04:30 PM] Loading CommonBindings
[9/30/2023 1:04:30 PM] App Initialize completed
[9/30/2023 1:04:30 PM] Starting Desktop Style Application
[9/30/2023 1:04:30 PM] Initializing MainWindow
[9/30/2023 1:04:30 PM] Initializing MainPage
[9/30/2023 1:04:30 PM] Initializing EditorPage
[9/30/2023 1:04:30 PM] Initializing NewsPage
[9/30/2023 1:04:30 PM] Initializing SettingsPage
[9/30/2023 1:04:30 PM] Initializing AboutPage
fgsfds commented 1 year ago

Well, I have no idea what's going on. I'll think of something.

image

Mellified commented 1 year ago

I installed Visual Studio Community 2022, installed the .net development profile, and tried to open the Superheater.sln project from GitHub. After selecting the "Download.net 4.6" option - but not actually downloading anything! - the app ran.

image image
fgsfds commented 1 year ago

Interesting. Can you check if any of these exes work?

https://drive.google.com/drive/folders/1Sf3Sb1kTJd6Nvh6uoSadru371VuWku9_?usp=sharing

Mellified commented 1 year ago

none: seemed to hang the first time I ran it, but was fine after that - even if I deleted the XML files. rtr: works every time! trim: fails consistently.

fgsfds commented 1 year ago

That's unexpected. I was betting on rtr not working 🙂 Thanks for your help, looks like I won't be using trim for the next releases.