Artikash / Textractor

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

x86 textractor doesn't launch, receive error code C0000005 #1203

Open AsrielCypher opened 7 months ago

AsrielCypher commented 7 months ago

Whenever I try to launch specifically the x86 version of the textractor, it doesn't launch and instead shows this message. I have tried everything under the sun to try to fix it, and this issue persists between versions.

image
ors117 commented 5 months ago

you ever figure this out, i am getting the same issue

storycoolbro commented 1 month ago

how much RAM does your system have?

AsrielCypher commented 1 month ago

I have 64GB of RAM, so I don't think it's a problem. Mayhaps my pc is too new for it?

storycoolbro commented 1 month ago

Unlikely, the C0000005 error code is a windows access violation code typically for when something tried to access memory but either doesn't have permission too or the memory doesn't exist, or rarely a bad sector in the ram but if it's only textractor throwing this code it's very unlikely. Might need to do a clean install of the Microsoft C++ redistributable and possibly textractor as well, also try installing textractor to your desktop instead of your VNs folder. Beyond that all I can do is point you here they briefly go over what causes it and ways you can fix it some of them aren't things you'll typically want to do such as reinstalling windows but trying to figure out what exactly is causing the error would require much more programming knowledge than I have which is very little. Can also be thrown due to there being no available ram for the process to use which is why I asked how much you have.

AsrielCypher commented 1 month ago

I tried installing it in a bunch of different places, but I'll check out that link tomorrow. Thank you so much for pointing me to it, I appreciate it.

AsrielCypher commented 1 month ago

Sadly, none of them (I didn't reset my pc) worked :(

storycoolbro commented 1 month ago

normally when I've seen this error with textractor the error module is in system32 but yours is in textractor.exe and it happens when you launch it. makes me think it might be an issue with the Visual C++ Redistributable frst make sure you have the redistributable for both x86 and x64 easiest way would be to open control panel and click uninstall/remove a program and look for them in the list you may have only installed the x64 version or you may possibly need a different release I have most of them installed although just noticed I don't have the most recent version of the x86 so you shouldn't need that one for it to work. if you do have the x86 version try uninstalling it then installing it again or installing the older versions I believe the 2015 release is the one you need but might be wrong can find here if that doesn't fix it then I'm out of ideas ¯|(ツ)image

AsrielCypher commented 1 month ago

Uninstalled it and reinstalled the textractor and the visual C++. 64 still works, but 86 does not, big sad. I'm just willing to type out the sentences and translate them at this point, it'll improve my listening skills for Japanese doing it that way. Thank you for trying to help though, I appreciate it immensely.

storycoolbro commented 1 month ago

If your interested in an onscreen OCR translator it's kind of a pain to set up as you need a Google cloud vision API key UGT(universal game translator) is something I use for in-game menus that textractor doesn't hook mostly. it only supports horizontal text as well sadly otherwise I'd be using it to read manga. But it's text detection is more accurate than most other OCR translators I've come across it's just it's initial set up is time consuming which is a turn off for most people I imagine.

AsrielCypher commented 1 month ago

Does the OCR translator work without translating anything? I'm trying to practice my Japanese and I'm translating everything myself by hand. If it does, I'll get it.