Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.1k stars 203 forks source link

MH_ERROR_MEMORY_ALLOC #1231

Open TheFihr opened 8 months ago

TheFihr commented 8 months ago

Hello there i was playing a trial version of new DLsite game RJ01111830 and with that the textractor was working fine, but then i decided to get the full version of the game, but i started getting the MH_ERROR_MEMORY_ALLOC with it and it dosent give any hooks for the game. Is there some easy way to fix this?

Chenx221 commented 8 months ago

It seems that the text of this game can be extracted normally, and I have not encountered the issues you mentioned.

1 2

storycoolbro commented 8 months ago

screenshot of the error message would be helpful. If you haven't done so already try updating your texthook.dll from the alpha builds archive here extract the files and then in the textractor folder replace the texthook.dll with the one you extracted do this for both x64 and x86 versions and make sure to not mix them up.

TheFihr commented 8 months ago

screenshot of the error message would be helpful. If you haven't done so already try updating your texthook.dll from the alpha builds archive here extract the files and then in the textractor folder replace the texthook.dll with the one you extracted do this for both x64 and x86 versions and make sure to not mix them up.

This is what i get when i try to attach the game memory

storycoolbro commented 8 months ago
Capture

have you tried this already?

TheFihr commented 8 months ago

Capture have you tried this already?

Yes i did try the brute force method. But it laggs really badly and eventually just crashes, cause there comes just too much information to handle.

storycoolbro commented 8 months ago

extracting this game right now so I'll see if I can find a hook

storycoolbro commented 8 months ago

It added a working hook on it's own for me, try putting this in your config file 1982323179646:0:HQX14+-24@1CBAD5E9FE0 as that what it added for me didn't even need to activate brute force

TheFihr commented 8 months ago

It added a working hook on it's own for me, try putting this in your config file 1982323179646:0:HQX14+-24@1CBAD5E9FE0 as that what it added for me didn't even need to activate brute force

yeah sadly entering this hook in the file dosent do anything, cause i think the issues is with the Textractor: failed to insert hook Textractor: removing hook: UGUI_set_text and without that it dosent give me any hooks or even if i tried using configure and added that hook it dosent show up in the hook list,

storycoolbro commented 8 months ago

It added a working hook on it's own for me, try putting this in your config file 1982323179646:0:HQX14+-24@1CBAD5E9FE0 as that what it added for me didn't even need to activate brute force

yeah sadly entering this hook in the file dosent do anything, cause i think the issues is with the Textractor: failed to insert hook Textractor: removing hook: UGUI_set_text and without that it dosent give me any hooks or even if i tried using configure and added that hook it dosent show up in the hook list,

Yea the hook it fails to add for you is the hook that works for me. Try adding it via the add hook button if you've not tried that. Also delete the config file so it doesn't start the brute force when you attach. If that doesn't work running textractor as admin might help or reinstalling textractor. Beyond that it's out of my realm of knowledge and hopefully someone else can help you out.

TheFihr commented 8 months ago

It added a working hook on it's own for me, try putting this in your config file 1982323179646:0:HQX14+-24@1CBAD5E9FE0 as that what it added for me didn't even need to activate brute force

yeah sadly entering this hook in the file dosent do anything, cause i think the issues is with the Textractor: failed to insert hook Textractor: removing hook: UGUI_set_text and without that it dosent give me any hooks or even if i tried using configure and added that hook it dosent show up in the hook list,

Yea the hook it fails to add for you is the hook that works for me. Try adding it via the add hook button if you've not tried that. Also delete the config file so it doesn't start the brute force when you attach. If that doesn't work running textractor as admin might help or reinstalling textractor. Beyond that it's out of my realm of knowledge and hopefully someone else can help you out.

Thank you for taking your time and trying to help out. I tried everything, but the same issue stays. A weird issue that only happens to me with the full version of the game. Trial is totally fine.

storycoolbro commented 8 months ago

maybe try with a version not downloaded from DLsite as that's the only other thing I could think of that's different besides the systems we're running on. plus you've already paid for the game so downloading it from a different source shouldn't be a issue. I found it on anime sharing (the mexashare link is the fastest)

storycoolbro commented 8 months ago

I just realized that this game is made with Unity and the last game from this dev I played used the rei patcher to translate the text in game. So tried it out and it works and is super easy to set up plus it also translates most the menus as well

can find it here

download the ReiPatcher version toward the bottom of the list of downloads, extract it inside the game folder where the games .exe is then run the SetupReiPatcherAndAutoTranslator that will add two folders and create a shortcut titled どこでも?おさわり!プリンセス☆タッチ (Patch and Run) open the game with that and it will patch the game to translate the text via google translate by default it can be changed in the AutoTranslator folder in the config file though. Screenshot of translation in game

TheFihr commented 8 months ago

I just realized that this game is made with Unity and the last game from this dev I played used the rei patcher to translate the text in game. So tried it out and it works and is super easy to set up plus it also translates most the menus as well

can find it here

download the ReiPatcher version toward the bottom of the list of downloads, extract it inside the game folder where the games .exe is then run the SetupReiPatcherAndAutoTranslator that will add two folders and create a shortcut titled どこでも?おさわり!プリンセス☆タッチ (Patch and Run) open the game with that and it will patch the game to translate the text via google translate by default it can be changed in the AutoTranslator folder in the config file though. Screenshot of translation in game

ohh Yes this actually works. Thank you very much. I just use this instead for this game and maybe try on some other games if i encounter similar issues.