SICGames / TBChestTracker

Automatic chest counter program for the game Total Battle
GNU General Public License v3.0
18 stars 5 forks source link

Splash Screen crashes on Extracting Tesseract Trained Models #68

Open SICGames opened 2 hours ago

SICGames commented 2 hours ago

System.net.httpclient been updated because of a vulnerability discovered by Microsoft. By doing so, it no longer waits to complete the download of the trained Tesseract models.

Workaround is to download it manually through https://www.github.com/tesseract-ocr/tessdata_best

click on Releases and download the zipped archive (source code). Once done downloading, go to Windows Explorer and type in %localappdata%\SICGames\TotalBattleChestTracker

delete the files inside Temp folder. Paste the downloaded zip file inside the Temp folder. Rename it to tessdata_best.zip

Relaunch TotalBattleChestTracker. It should skip over the download and extract the tesseract trained models into TessData.

SICGames commented 2 hours ago

It seems to work but if anyone who has issues with this, this can be a solution.

SICGames commented 1 hour ago

tessdata_best causes a lot of AccessViolationException when initializing Tesseract. It is best just to download tessdata manually. Newer version only downloads tessdata and not tessdata_best