thpatch / thcrap

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

Error while running patched game with wine #189

Closed wdmvv closed 1 year ago

wdmvv commented 2 years ago

wine version: wine-6.0.3 (Ubuntu 6.0.3~repack-1) .net - 4.6.1 directx is installed

what is my problem: if I try to run patched game/config.exe I get error -

wine: Call from 7B010BE6 to unimplemented function api-ms-win-crt-convert-l1-1-0.dll.mbrtoc16, aborting
wine: Unimplemented function api-ms-win-crt-convert-l1-1-0.dll.mbrtoc16 called at address 7B010BE6 (thread 0378), starting debugger...

This is probably not wine problem since I can run game in japanese without any problems reference image - image

full wine log: backtrace.txt

32th-System commented 2 years ago

This is a Wine problem. The next thcrap version will work around that. In the meantime, try going into repos/nmlgc/base_tsa and replacing global.js and th10.v1.00a.js with the files in this zip file

wdmvv commented 2 years ago

ok, thanks

sin-ack commented 2 years ago

Thanks, replacing the files worked.

DankRank commented 1 year ago

this is fixed in commit d7af05bbb421886bfd1e6adb5657ba640897a376