HearthSim / Hearthstone-Deck-Tracker

A deck tracker and deck manager for Hearthstone on Windows
https://hsreplay.net/downloads/
4.75k stars 1.12k forks source link

HDT no longer working with Wine/Linux. #3987

Open dvlohp opened 4 years ago

dvlohp commented 4 years ago

Since a few days, probably starting with 1.9.6, HDT no longer works with Wine/Linux.

When I start it up, I only get the "Loading..." splash screen. I can press the "SKIP" button, but this does not change anything (apart from adding an appropriate message to the log). I took a look at the git repository, but all recent changes look harmless to me. I tried wine 4.20, 4.21, 5.0rc, with and without staging patches. I also killed my wine directory and reinstalled everything, but it still hangs. Could this be caused by some server changes?

To reproduce:

hdt_log.txt:

3:56:41 PM|Info|Core.Initialize >> HDT: 1.9.6.3877, Operating System: Microsoft Windows 7 7601, .NET Framework: 394806 3:56:42 PM|Info|Updater.StartupUpdateCheck >> Checking for updates 3:56:42 PM|Info|Updater.GetReleaseUrl >> Downloading releases file 3:56:42 PM|Info|Updater.GetReleaseUrl >> using 'live' release: https://github.com/HearthSim/HDT-Releases 3:56:43 PM|Info|Updater.SquirrelUpdate >> Checking for updates (ignoreDelta=False) 3:56:44 PM|Info|Updater.SquirrelUpdate >> No new updated available 3:56:45 PM|Info|SplashScreenWindow.ShowConditional >> Showing splashscreen... 3:56:45 PM|Info|ThemeManager.LoadThemes >> Found theme: classic 3:56:45 PM|Info|ThemeManager.LoadThemes >> Found theme: dark 3:56:45 PM|Info|ThemeManager.LoadThemes >> Found theme: frost 3:56:45 PM|Info|ThemeManager.LoadThemes >> Found theme: minimal 3:56:45 PM|Info|GameV2.Reset >> -------- Reset --------- 3:56:47 PM|Info|OverlayWindow.SetTopmost >> Hearthstone window not found 3:56:47 PM|Info|GameV2.Reset >> -------- Reset --------- 3:56:47 PM|Info|HsReplayDecks.Load >> Loaded from disk: Count=1126, ServerTS=12/17/2019 11:29:19 AM, Downloaded=12/17/2019 1:05:44 PM Age=02:51:03.2786979 3:56:47 PM|Info|HsReplayDecks.Load >> Complete: Count=1126, ServerTS=12/17/2019 11:29:19 AM, Downloaded=12/17/2019 1:05:44 PM Age=02:51:03.2789511 3:56:53 PM|Info|SplashScreenWindow.StartSkipTimer >> Showing skip button 3:58:16 PM|Info|SplashScreenWindow.SkipBorder_OnMouseDown >> Skip was pressed

riQQ commented 4 years ago

Which is the last version that works?

dvlohp commented 4 years ago

Hmm, I just tried with the full binary packages provided on the github release page (to see which was the last working version), and they all work as expected.

It seems that the problem is with the updater/downloader I used until now (the one you can download from hsreplay.net/downloads/).

Until now, I used the binary provided there to download and install HDT and then always called users//"Local Settings"/"Application Data"/HearthstoneDeckTracker/HearthstoneDeckTracker.exe

beheh commented 4 years ago

The HDT updater uses Squirrel, but I don't believe we've changed or updated that in a long time.