thpatch / thcrap

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

thcrap_configure stuck loading with Wine #178

Open McUberStein opened 2 years ago

McUberStein commented 2 years ago

Every time I launch thcrap_configure through Wine and select the lang_en patch it gets stuck. Here is a screenshot: https://i.imgur.com/xWZfZHu.png , and this it the terminal output:

01b0:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub 01b0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00fc:fixme:imm:ImeSetActiveContext (0x44c2b0, 1): stub 00fc:fixme:imm:ImmReleaseContext (000D00CC, 0044C2B0): stub 038c:fixme:msvcp:_LocinfoLocinfo_ctor_cat_cstr (02D1FCCC 1 C) semi-stub 038c:fixme:msvcp:_LocinfoLocinfo_ctor_cat_cstr (02D1FB3C 1 C) semi-stub 01b0:fixme:file:errno_to_status Converting errno 75 to STATUS_UNSUCCESSFUL 01b0:fixme:file:errno_to_status Converting errno 75 to STATUS_UNSUCCESSFUL 01b0:err:virtual:virtual_setup_exception stack overflow 516 bytes in thread 01b0 addr 0x7bc56fe8 stack 0x230dfc (0x230000-0x231000-0x330000)

Running the latest version of Manjaro with Xanmod (if it matters) and Wine 6.23.

32th-System commented 2 years ago

If you scroll up, does it say C++ EH type: .?AVfilesystem_error@filesystem@std@@ somewhere?

McUberStein commented 2 years ago

Yes it does actually. Here: https://i.imgur.com/Dk9Kv7Z.png . I also switched to Wine-tkg-staging 7.0 to see if it would change anything, but it's still exactly the same.

99kaits commented 2 years ago

having the same bug on wine-staging 7.0 from the arch repos. same exact output in terminal and on the patcher itself

McUberStein commented 2 years ago

I just made a Debian/Arch dual boot, so I decided to try Thcrap again to see if it would make a difference. On Arch, it's exactly the same as Manjaro, but on Debian it works perfectly. It doesn't get stuck, it doesn't crash and it works absolutely perfectly. Don't know why it doesn't work on Arch-based distros though.

kabessao commented 2 years ago

I read this issue a while back trying to use thcrap on my games bought from steam with no luck.

Well guess what, I finally got lucky!

I was able to patch all my games on steam using proton, and that involves no terminal usage whatsoever.

What you need is:

And done! Everything works just as it was on windows, and when I launch the .lnk steam detects its running the original games and marks it as running on my profile.

And just a heads up: put your thcrap in a place you are not gonna move, it paches without editing the original .exe file using .lnk files, and it probably points to the directory of thcrap executables. And don't delete the symlink either for the same reason.