Andrewthe13th / Inventory_Kamera

Scans Genshin Impact characters, artifacts, and weapons from the game window into a JSON file.
MIT License
699 stars 122 forks source link

Immediate Abort of Scanning Process #373

Closed unlikely-charlie closed 2 years ago

unlikely-charlie commented 2 years ago

Current Behavior

I've done everything as I'm supposed to, as far as I'm aware, but I'll detail the process.

I unzipped the Kamera app after downloading, and opened the .exe program.

I've opened Genshin and switched my window to 1600x900 (Windowed) and then went back to the Paimon Menu.

My controls are set to Keyboard, and I don't have Inventory (B) or Characters (C) bound to anything but B and C

I try to scan, and the app immediately aborts the scan, throwing this error:

System.DllNotFoundException:` Failed to find library "tesseract41.dll" for platform x86.

   at InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName)

   at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation..ctor(LibraryLoader loader)

These files are in the folder, but don't seem to be found.

Expected Behavior

The scanner continues to scan

Reproducing a Behavior

I don't know, as I opened the program and immediately experienced the error upon trying to scan.

Device OS

Windows 11

Genshin Impact Version

3.0

Inventory Kamera Version

1.3

Screen resolution, screen mode, and UI scale

1600x900

Additional notes and remarks

I did find a few threads with similar issues but they had no solutions because the OPs didn't include enough information.

Evidence

System.DllNotFoundException: Failed to find library "tesseract41.dll" for platform x86.

at InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName)

at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation..ctor(LibraryLoader loader)

Screenshot (47)

edit: formatting

Preflight Checklist

Cupcak3 commented 2 years ago

System.DllNotFoundException: Failed to find library "tesseract41.dll" for platform x86.

Please make sure you unzipped the release completely and the x86 and x64 folders exist with two files in them image

unlikely-charlie commented 2 years ago

image image image

Unless I'm mistaken I believe I have already?

unlikely-charlie commented 2 years ago

I run Genshin on an external hard drive, could it have to do with that?

Cupcak3 commented 2 years ago

That's not likely. Do you have the latest packages from Microsoft?

unlikely-charlie commented 2 years ago

I'll double check! I believe I have the 64 but not the 86 version. Where do these go on my computer once I get them downloaded?

Cupcak3 commented 2 years ago

The default installer should be fine.

unlikely-charlie commented 2 years ago

That got it working, thank you!