Games can't be found when running in Wine - SSL_ERROR_SYSCALL
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 766
- Forks
- 51
- Avg merge
- 16d 14h
- Merged PRs (30d)
- 1
Description
thcrap doesn't find EoSD (and probably any other game, I can't test this though) when running in Wine.
I point it to Z:\mnt\data\programy\gry\touhou\windows, which maps to /mnt/data/programy/gry/touhou/windows on my system, the directory where I have installed EoSD in a directory called th06.

Checking thcrap_log.txt (attached below) reveals many errors related to OpenSSL during initialization:
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to mirrors.thpatch.net:443 (code 35)
And when selecting the option to search for games:
(JSON) Resolving versions.js... not found
ERROR: No version definition file (versions.js) found!
Seems as if base_tsa didn't download correctly.
Try deleting the thpatch directory and running this program again.
Which is probably caused by the previous error and the program being unable to contact its servers.
What I tried:
- Reinstalling thpatch according to the error message.
- Using the old tool (does the same thing, but shows the error in UI).
- Reinstalling and re-patching EoSD.
- Using a 32-bit wineprefix.
Versions and other data:
- Wine: 7.0, official Debian build from winehq.org
- OS: Debian GNU/Linux Unstable
- Wineprefix: clean, 64-bit,
cjkfontsinstalled from Winetricks - Game: Fully patched EoSD v1.02 + vpatch (file list + SHA256 sums attached below)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue under the reported Wine and Debian setup, then inspect the attached thcrap_log.txt around OpenSSL initialization and the missing versions.js/base_tsa download. Compare the game-search path with a working environment. Done means identifying and addressing the cause of the SSL failure so game discovery can complete, or documenting a confirmed external limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100