-
Notifications
You must be signed in to change notification settings - Fork 201
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
Textractor crashes after attaching and searching for hooks #758
Comments
Hey, I'm afraid I don't have a solution to your problem, but just curious to know if you've managed to find a hook for this game that works? I can't seem to find one myself, just a few very broken ones. |
Yes I did manage to find one, the game runs fine now. |
That's awesome. Would you mind sharing the hook code, and any extensions you need for it to hook the text correctly? Thanks a lot! |
This hook works for me: 4:38A0:5CD2068:197699D5:0: string:IndexOfUnchecked (char,int,int) (HWFX4@5CD2068) |
I think I got it to work - not perfectly, but at least good enough to use for Anki card creation with some manual cleaning up. Can't say I completely understand it yet, but with what seems to be called mono games(?) running Unity engine, it seems to be the function that's important, for which you supplied the string:IndexOfUnchecked (char,int,int). After some experimenting, I found that worked okay, but string;op_Equality (string,string) seems to work even better, with all the text appearing in the right order (although some extra dots may be added on certain lines. This is working thanks to the following extensions - What really made the difference after that was using the "Configure game option" so that all other functions don't run simoultaneously, which eats the processing power and renders the game unplayable. The way you do that here is by clicking configure game and then adding only "string;op_Equality (string,string)" and then saving it, as per #307 As for the hook code itself, I still have no idea how to apply those, and even if they are applicable at for Unity games. When I tried to copy your code (HWFX4@5CD2068) and add it, it just gives an error message saying something along the lines of "invalid code format". If somebody is googling this afterward, my tip is to scroll through the list of brute forced hooks until you find the string;op_Equality (string,string) function, then adding the extensions and following the above steps to find configure the game accordingly. Thanks so much again for your help! |
No problem, I am happy you got it sorted! |
The game is Phoenix Wright Ace Attorney Trilogy using Steam.
It gives this error:
Textractor ERROR
Error code: E06D7363
Error address: 761BB812
Error in module: C:\Windows\System32\KERNELBASE.dll
Additional info: 76090000
Additional info: .?AVbad_alloc@std@@
Additional info: bad allocation
Additional info: 19930520
Additional info: 5E32400
Additional info: A9B3EC
and
Textractor ERROR
Error code: C0000017
Error address: 7761D650
Error in module: C:\Windows\SYSTEM32\ntdll.dll
Additional info: 77540000
Additional info: 39353F8
The text was updated successfully, but these errors were encountered: