thpatch / thcrap

Touhou Community Reliant Automatic Patcher
https://www.thpatch.net
The Unlicense
547 stars 40 forks source link

[TH18, TH19] Window opens, then almost immediately closes when running lang_en patch on Wine #222

Closed redegg89 closed 1 year ago

redegg89 commented 1 year ago

The games run fine in Steam. I have tried:

System Info: Artix Linux kernel 6.3.2-zen1-1-zen Wine 8.8 staging

Logs (Unmarked are th19): thcrap-th18_log.1.txt thcrap-th18_log.2.txt thcrap-th18_log.txt

thcrap_log.1.txt thcrap_log.2.txt thcrap_log.txt

redegg89 commented 1 year ago

Update: Removed patches individually to try to find what causes it, all of them were removed and TH18 still didn't start with the standalone. Also of note is both are through Steam with Steam on the beta branch

brliron commented 1 year ago

Works on my end with both wine 7.7 and wine 8.8. Can you open the thcrap configuration tool, click on "Configure Settings", select "Enhanced" under Exception Detail, save, try again, and send the logs?

redegg89 commented 1 year ago

Sadly I can only use the old version of 'thcrap_configure.exe' because I either can't install .NET 4.6.1 on a 64bit prefix or it gives me a black screen with the message 0148:err:d3d:wined3d_context_gl_update_window Failed to get a device context for window 006083B0. in a 32bit prefix. Is there another way to change the exception detail?

brliron commented 1 year ago

Yes, open config/config.js, and set "exception_detail" to 103

redegg89 commented 1 year ago

Here are the new logs, thanks for the help by the way thcrap_log.1.txt thcrap_log.2.txt thcrap_log.txt

redegg89 commented 1 year ago

I understand this is a relatively small issue, but is there anything I can do while you work on more important issues?

redegg89 commented 1 year ago

Update:

It works now, for whatever reason. My guess is something with my controller being overridden and connected as a directinput device instead of xinput, but the game still worked fine even without that. Maybe it's from me messing around with VK_ICD_FILENAMES, but it looks like I already tried that.