-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"vpatch error" appears after booting up Touhou 6 #259
Comments
That's weird, because the 4 latest version have been:
Can you open the thcrap log file (in [thcrap's directory]/logs/thcrap_log.txt), check the version number at the top, and make sure it says 2024-06-08? Btw, if it says 2024-05-29, that's the version from 1 week ago where vpatch was broken. |
thcrap_log.txt |
The version is indeed correct. Can you send a screenshot of your Touhou 06 folder, as well as thcrap_log.1.txt? |
It looks like vpatch and game executable is not in the same directory based on log and screenshot path diff. |
I think I'm getting the same issue. I'm getting this error trying to run TH06 with vpatch through thcrap. Every other game with vpatch works fine and running th06 with vpatch through locale emulator also works fine (using the vpatch package for thcrap). EDIT: Okay looking at it more indepth, it seems to be very inconsistent. Messing around with building thcrap_update.dll at previous commits somehow made everything work, even when returning to the original thcrap_update.dll so that I can't reproduce the error again, until some time has passed. I think there is something really weird and subtle going on. Removing d3d8.dll doesn't change anything from what I can see. thcrap_log - with update.dll and error |
Quick analysis of the log with an error: exception C0000005 deep inside LoadLibraryExW. There is no code from either th06 or thcrap on the stack trace. I guess the call with the exception is the one from vpatch trying to inject its dll, and that the exception is then converted to an error code when returning from LoadLibraryA. |
Also getting the same error. In my case it consistently happens in Touhou 6, 7, and 8. |
That happened to me a few times recently, but it only happened once. I just restarted my laptop and it started working again. |
After i updated thcrap and booted up Touhou 6, this error appears which says about a "vpatch error" along with "DLL Injection". Touhou 6 also freezes after this message appears.
The text was updated successfully, but these errors were encountered: