Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi Sandow! :)

Interesting. It is very hard to tell what is going on without logs of the events.

Could you please try to use Tesseract as well? And attached or internal mode?

There could be a few reasons for this;

  •  Misalignment due to multiple monitors (GameTranslate will always choose the main monitor at the moment..)
  • Screenshots are blocked for whatever reason
  • Other misalignment issues

If you could be so kind and go into the General tab in the Configuration and enable debug mode for the 'Tool', then try the same procedure again, exit and finally open the 'CrashDump' folder from the General tab and send me the debug_tool.txt file.

Thank you!

Oh, certainly, I'd love to help !

Firstly, the main monitor is the one used, just now I tried to use GameTranslate in the other monitor, it indeed does not activate using CTRL on the other screen, only the main one.

I removed the second screen, no change.

I tried Tesseract, no change.

I tried another language (English to French), no change.

I removed Nvidia overlay since it could be in conflict, no change.

If I try to translate your whole message, I get this:

"Répondre à
à
Godnoke
Salut Sandoy"

Here is the crash log, OCR was used.

2025-05-17T21:37:48.993675Z DEBUG ThreadId(01) name: src\lib.rs:1717: Hooking into OpenGL

2025-05-17T21:37:49.096247Z DEBUG ThreadId(01) name: src\lib.rs:1734: Hooking into DX9

2025-05-17T21:37:49.099953Z  INFO ThreadId(02) name: src\lib.rs:315: Mode: Desktop

2025-05-17T21:37:49.102610Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:50: WinRT initialized.

2025-05-17T21:37:49.195002Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:37:49.199628Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(1313434)

2025-05-17T21:37:49.295778Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:60: Created new capture resources

2025-05-17T21:37:49.296733Z  INFO ThreadId(02) name: src\lib.rs:380: Initialized IMGUI

2025-05-17T21:37:49.296891Z  INFO ThreadId(02) name: src\lib.rs:388: Initialized configuration watcher

2025-05-17T21:37:49.321787Z  INFO ThreadId(02) name: src\lib.rs:408: Available CPU threads: 16

2025-05-17T21:37:49.321910Z  INFO ThreadId(02) name: src\lib.rs:409: Using 8 CPU threads for OCR

2025-05-17T21:37:49.362667Z DEBUG ThreadId(01) name: src\lib.rs:1751: Hooking into DX11

2025-05-17T21:37:49.363261Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:37:49.367295Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(1378970)

2025-05-17T21:37:49.444583Z DEBUG ThreadId(01) name: src\lib.rs:1768: Hooking into DX12

2025-05-17T21:37:49.445172Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:37:49.448747Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(1444506)

2025-05-17T21:37:49.524509Z  INFO ThreadId(02) name: src\lib.rs:438: Initialized RapidOCR

2025-05-17T21:37:49.530323Z DEBUG ThreadId(02) name: src\lib.rs:525: Initialized translateLocally

2025-05-17T21:37:49.530578Z DEBUG ThreadId(02) name: src\lib.rs:816: Loading font: T:\GameTranslate/fonts/NotoSans-Medium.ttf

2025-05-17T21:37:49.534000Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.534414Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.534596Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.534774Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.535199Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.535454Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.535701Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.536115Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.536377Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.542389Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.542782Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.543166Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:37:49.611433Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:148: MH_ApplyQueued: MH_OK

2025-05-17T21:37:49.825015Z DEBUG ThreadId(02) name: src\lib.rs:1447: Screen size changed

2025-05-17T21:37:55.536176Z DEBUG ThreadId(02) name: src\lib.rs:1602: Started snipping

2025-05-17T21:37:59.627868Z DEBUG ThreadId(02) name: src\lib.rs:1629: Finished snipping

2025-05-17T21:37:59.635543Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:126: Starting screen capture...

2025-05-17T21:37:59.636383Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:137: Frame pool created.

2025-05-17T21:37:59.653497Z DEBUG ThreadId(23) name::screenshot_wgc: src\screenshot_wgc.rs:183: Staging texture created with desc: D3D11_TEXTURE2D_DESC { Width: 3840, Height: 2160, MipLevels: 1, ArraySize: 1, Format: DXGI_FORMAT(87), SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, Usage: D3D11_USAGE(3), BindFlags: 0, CPUAccessFlags: 131072, MiscFlags: 0 }

2025-05-17T21:37:59.663838Z DEBUG ThreadId(23) name::screenshot_wgc: src\screenshot_wgc.rs:208: Screenshot captured with size: 33177600

2025-05-17T21:37:59.665679Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:248: Capture session closed.

2025-05-17T21:37:59.667717Z DEBUG ThreadId(02) name: src\lib.rs:1088: Successfully sent pre-translation data to translation thread

2025-05-17T21:37:59.668398Z DEBUG ThreadId(22) name: src\lib.rs:548: Successfully received pre-translation data from main thread

2025-05-17T21:37:59.668779Z DEBUG ThreadId(22) name: src\lib.rs:549: Starting translation process..

2025-05-17T21:37:59.669678Z DEBUG ThreadId(22) name: src\lib.rs:567: Time convert to Mat: 572.2µs

2025-05-17T21:37:59.740520Z  INFO ThreadId(22) name: src\lib.rs:602: Time OCR: 65.5306ms

2025-05-17T21:37:59.743974Z DEBUG ThreadId(22) name: src\lib.rs:684: Postprocessed OCR text: "Replying to"

2025-05-17T21:37:59.744528Z DEBUG ThreadId(22) name: src\lib.rs:684: Postprocessed OCR text: "At"

2025-05-17T21:37:59.744891Z DEBUG ThreadId(22) name: src\lib.rs:684: Postprocessed OCR text: "Godnoke"

2025-05-17T21:37:59.745342Z DEBUG ThreadId(22) name: src\lib.rs:684: Postprocessed OCR text: "Hi Sandoy"

2025-05-17T21:37:59.745694Z DEBUG ThreadId(22) name: src\lib.rs:687: Time preprocess regex: 4.8082ms

2025-05-17T21:37:59.746026Z DEBUG ThreadId(22) name: src\lib.rs:694: Translating with translateLocally..

2025-05-17T21:37:59.881045Z DEBUG ThreadId(22) name: src\lib.rs:706: Translated text: Répondre à

2025-05-17T21:37:59.949981Z DEBUG ThreadId(22) name: src\lib.rs:706: Translated text: À

2025-05-17T21:38:00.038579Z DEBUG ThreadId(22) name: src\lib.rs:706: Translated text: Godnoke

2025-05-17T21:38:00.044740Z DEBUG ThreadId(22) name: src\lib.rs:706: Translated text: Salut Sandoy

2025-05-17T21:38:00.045083Z  INFO ThreadId(22) name: src\lib.rs:728: Time translate: 299.0524ms

2025-05-17T21:38:00.046626Z DEBUG ThreadId(22) name: src\lib.rs:747: Postprocessed translated text: Répondre à

2025-05-17T21:38:00.047594Z DEBUG ThreadId(22) name: src\lib.rs:747: Postprocessed translated text: À

2025-05-17T21:38:00.047896Z DEBUG ThreadId(22) name: src\lib.rs:747: Postprocessed translated text: Godnoke

2025-05-17T21:38:00.048217Z DEBUG ThreadId(22) name: src\lib.rs:747: Postprocessed translated text: Salut Sandoy

2025-05-17T21:38:00.048456Z DEBUG ThreadId(22) name: src\lib.rs:749: Time postprocess regex: 3.1375ms

2025-05-17T21:38:00.048740Z  INFO ThreadId(22) name: src\lib.rs:759: Time all: 379.682ms

2025-05-17T21:38:00.049055Z DEBUG ThreadId(22) name: src\lib.rs:760: Finished translating

2025-05-17T21:38:00.049322Z DEBUG ThreadId(22) name: src\lib.rs:767: Successfully sent translation data to main thread

2025-05-17T21:38:00.051858Z DEBUG ThreadId(02) name: src\lib.rs:1262: Successfully received translation data from translation thread

If I try to text snip the word "Interesting", I get a "Failed to find text". Here is the crash log, using OCR.

2025-05-17T21:36:13.036388Z DEBUG ThreadId(01) name: src\lib.rs:1717: Hooking into OpenGL

2025-05-17T21:36:13.122978Z DEBUG ThreadId(01) name: src\lib.rs:1734: Hooking into DX9

2025-05-17T21:36:13.131524Z  INFO ThreadId(02) name: src\lib.rs:315: Mode: Desktop

2025-05-17T21:36:13.135143Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:50: WinRT initialized.

2025-05-17T21:36:13.223036Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:36:13.227316Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(188222642)

2025-05-17T21:36:13.323510Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:60: Created new capture resources

2025-05-17T21:36:13.324449Z  INFO ThreadId(02) name: src\lib.rs:380: Initialized IMGUI

2025-05-17T21:36:13.324608Z  INFO ThreadId(02) name: src\lib.rs:388: Initialized configuration watcher

2025-05-17T21:36:13.348898Z  INFO ThreadId(02) name: src\lib.rs:408: Available CPU threads: 16

2025-05-17T21:36:13.349568Z  INFO ThreadId(02) name: src\lib.rs:409: Using 8 CPU threads for OCR

2025-05-17T21:36:13.386239Z DEBUG ThreadId(01) name: src\lib.rs:1751: Hooking into DX11

2025-05-17T21:36:13.386828Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:36:13.390030Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(188288178)

2025-05-17T21:36:13.467021Z DEBUG ThreadId(01) name: src\lib.rs:1768: Hooking into DX12

2025-05-17T21:36:13.467668Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:36:13.471806Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(188353714)

2025-05-17T21:36:13.554134Z  INFO ThreadId(02) name: src\lib.rs:438: Initialized RapidOCR

2025-05-17T21:36:13.560482Z DEBUG ThreadId(02) name: src\lib.rs:525: Initialized translateLocally

2025-05-17T21:36:13.560936Z DEBUG ThreadId(02) name: src\lib.rs:816: Loading font: T:\GameTranslate/fonts/NotoSans-Medium.ttf

2025-05-17T21:36:13.564558Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.565028Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.565544Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.565885Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.566294Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.566749Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.567171Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.567487Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.567816Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.568227Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.568506Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.568856Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:36:13.643383Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:148: MH_ApplyQueued: MH_OK

2025-05-17T21:36:13.849629Z DEBUG ThreadId(02) name: src\lib.rs:1447: Screen size changed

2025-05-17T21:36:18.678891Z DEBUG ThreadId(02) name: src\lib.rs:1602: Started snipping

2025-05-17T21:36:21.203704Z DEBUG ThreadId(02) name: src\lib.rs:1629: Finished snipping

2025-05-17T21:36:21.211253Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:126: Starting screen capture...

2025-05-17T21:36:21.212015Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:137: Frame pool created.

2025-05-17T21:36:21.229488Z DEBUG ThreadId(23) name::screenshot_wgc: src\screenshot_wgc.rs:183: Staging texture created with desc: D3D11_TEXTURE2D_DESC { Width: 3840, Height: 2160, MipLevels: 1, ArraySize: 1, Format: DXGI_FORMAT(87), SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, Usage: D3D11_USAGE(3), BindFlags: 0, CPUAccessFlags: 131072, MiscFlags: 0 }

2025-05-17T21:36:21.240048Z DEBUG ThreadId(23) name::screenshot_wgc: src\screenshot_wgc.rs:208: Screenshot captured with size: 33177600

2025-05-17T21:36:21.242070Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:248: Capture session closed.

2025-05-17T21:36:21.243986Z DEBUG ThreadId(02) name: src\lib.rs:1088: Successfully sent pre-translation data to translation thread

2025-05-17T21:36:21.244565Z DEBUG ThreadId(22) name: src\lib.rs:548: Successfully received pre-translation data from main thread

2025-05-17T21:36:21.245007Z DEBUG ThreadId(22) name: src\lib.rs:549: Starting translation process..

2025-05-17T21:36:21.245357Z DEBUG ThreadId(22) name: src\lib.rs:567: Time convert to Mat: 28.6µs

2025-05-17T21:36:21.250091Z  INFO ThreadId(22) name: src\lib.rs:602: Time OCR: 3.8505ms

2025-05-17T21:36:21.254205Z  WARN ThreadId(22) name: src\lib.rs:623: Failed to find any text..

2025-05-17T21:36:21.254594Z DEBUG ThreadId(22) name: src\lib.rs:631: Successfully sent translation data to main thread

2025-05-17T21:36:21.261524Z DEBUG ThreadId(02) name: src\lib.rs:1262: Successfully received translation data from translation thread "Interesting" again, but with Tesseract this time -

2025-05-17T21:41:31.423492Z DEBUG ThreadId(01) name: src\lib.rs:1717: Hooking into OpenGL

2025-05-17T21:41:31.521249Z DEBUG ThreadId(01) name: src\lib.rs:1734: Hooking into DX9

2025-05-17T21:41:31.526069Z  INFO ThreadId(02) name: src\lib.rs:315: Mode: Desktop

2025-05-17T21:41:31.528380Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:50: WinRT initialized.

2025-05-17T21:41:31.619246Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:41:31.622835Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(1311620)

2025-05-17T21:41:31.723035Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:60: Created new capture resources

2025-05-17T21:41:31.724025Z  INFO ThreadId(02) name: src\lib.rs:380: Initialized IMGUI

2025-05-17T21:41:31.724214Z  INFO ThreadId(02) name: src\lib.rs:388: Initialized configuration watcher

2025-05-17T21:41:31.754310Z  INFO ThreadId(02) name: src\lib.rs:448: Initialized Tesseract

2025-05-17T21:41:31.759854Z DEBUG ThreadId(02) name: src\lib.rs:525: Initialized translateLocally

2025-05-17T21:41:31.760115Z DEBUG ThreadId(02) name: src\lib.rs:816: Loading font: T:\GameTranslate/fonts/NotoSans-Medium.ttf

2025-05-17T21:41:31.782685Z DEBUG ThreadId(01) name: src\lib.rs:1751: Hooking into DX11

2025-05-17T21:41:31.783011Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:41:31.786912Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(21760748)

2025-05-17T21:41:31.790464Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.790605Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.791025Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.791218Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.791405Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.791591Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.791783Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.792134Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.792305Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.792517Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.792808Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.792988Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:145: MH_QueueEnable: MH_OK

2025-05-17T21:41:31.854218Z DEBUG ThreadId(02) hudhook::mh: C:\dev\programming\hudhook-private-new\src\mh.rs:148: MH_ApplyQueued: MH_OK

2025-05-17T21:41:31.934131Z DEBUG ThreadId(01) name: src\lib.rs:1768: Hooking into DX12

2025-05-17T21:41:31.935558Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:87: WNDCLASSEXW { cbSize: 80, style: WNDCLASS_STYLES(3), cbClsExtra: 0, cbWndExtra: 0, hInstance: HINSTANCE(140702183129088), hIcon: HICON(0), hCursor: HCURSOR(0), hbrBackground: HBRUSH(0), lpszMenuName: PCWSTR(0x0), lpszClassName: PCWSTR(0x7ffccfb1a5e0), hIconSm: HICON(0) }

2025-05-17T21:41:31.939793Z DEBUG ThreadId(01) hudhook::hooks: C:\dev\programming\hudhook-private-new\src\hooks\mod.rs:107: HWND(266018)

2025-05-17T21:41:32.063709Z DEBUG ThreadId(02) name: src\lib.rs:1447: Screen size changed

2025-05-17T21:41:39.883772Z DEBUG ThreadId(02) name: src\lib.rs:1602: Started snipping

2025-05-17T21:41:42.233427Z DEBUG ThreadId(02) name: src\lib.rs:1629: Finished snipping

2025-05-17T21:41:42.241167Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:126: Starting screen capture...

2025-05-17T21:41:42.241848Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:137: Frame pool created.

2025-05-17T21:41:42.259098Z DEBUG ThreadId(23) name::screenshot_wgc: src\screenshot_wgc.rs:183: Staging texture created with desc: D3D11_TEXTURE2D_DESC { Width: 3840, Height: 2160, MipLevels: 1, ArraySize: 1, Format: DXGI_FORMAT(87), SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, Usage: D3D11_USAGE(3), BindFlags: 0, CPUAccessFlags: 131072, MiscFlags: 0 }

2025-05-17T21:41:42.270519Z DEBUG ThreadId(23) name::screenshot_wgc: src\screenshot_wgc.rs:208: Screenshot captured with size: 33177600

2025-05-17T21:41:42.272244Z DEBUG ThreadId(02) name::screenshot_wgc: src\screenshot_wgc.rs:248: Capture session closed.

2025-05-17T21:41:42.274298Z DEBUG ThreadId(02) name: src\lib.rs:1088: Successfully sent pre-translation data to translation thread

2025-05-17T21:41:42.274771Z DEBUG ThreadId(22) name: src\lib.rs:548: Successfully received pre-translation data from main thread

2025-05-17T21:41:42.274930Z DEBUG ThreadId(22) name: src\lib.rs:549: Starting translation process..

2025-05-17T21:41:42.275260Z DEBUG ThreadId(22) name: src\lib.rs:567: Time convert to Mat: 28.3µs

2025-05-17T21:41:42.276170Z DEBUG ThreadId(22) name::opencv: src\opencv.rs:237: Time Convert To Grayscale: 32.5µs

2025-05-17T21:41:42.276647Z DEBUG ThreadId(22) name::opencv: src\opencv.rs:259: Time Apply Otsu: 16µs

2025-05-17T21:41:42.277396Z  INFO ThreadId(22) name::tesseract: src\tesseract.rs:206: Time Preprocess: 985.3µs

2025-05-17T21:41:42.277957Z DEBUG ThreadId(22) name::tesseract: src\tesseract.rs:210: Time Convert To Tiff: 87.4µs

2025-05-17T21:41:42.278608Z DEBUG ThreadId(22) name::tesseract: src\tesseract.rs:220: Time Create image file 280.8µs

2025-05-17T21:41:42.279090Z DEBUG ThreadId(22) name::tesseract: src\tesseract.rs:73: Time set image from mem: 70.3µs

2025-05-17T21:41:42.279829Z DEBUG ThreadId(22) name::tesseract: src\tesseract.rs:73: Time set image from mem: 37.4µs

2025-05-17T21:41:42.280228Z DEBUG ThreadId(22) name::tesseract: src\tesseract.rs:249: Time detecting text boxes: 25.4µs

2025-05-17T21:41:42.280791Z  INFO ThreadId(22) name: src\lib.rs:602: Time OCR: 4.7482ms

2025-05-17T21:41:42.281007Z  WARN ThreadId(22) name: src\lib.rs:623: Failed to find any text..

2025-05-17T21:41:42.281356Z DEBUG ThreadId(22) name: src\lib.rs:631: Successfully sent translation data to main thread

2025-05-17T21:41:42.282901Z DEBUG ThreadId(02) name: src\lib.rs:1262: Successfully received translation data from translation thread



Phew ! My apologies for the big message, ahahah. I can try more stuff, don't hesitate ! Have a good day =)

That's okay haha, thank you very much for wanting to help. So from your description, we can definitely pinpoint the issue to a misalignment.

When you say that you removed the second monitor, do you mean that you disconnected the cable?

When you have debug tool activated, you should also get some debug screenshot images written to GameTranslate/data. You can access it from the crashdump folder if you 'go back' one folder. It'd be great if you could upload the screenshot image after you try to capture my message! :)

Thankful you are bringing this to my attention. It seems a lot of people are experiencing the same bug. Not sure if it is related to Windows 11 yet though..

My pleasure !

I first went into the settings, used the option "Show only 1", it turned off my second screen, after a few tests, I confirmed I could no longer access it and whatever window was open there was automatically transferred to the main screen. I then unplugged the power cable of the screen, and restarted the computer (just in case). All to no avail, the issue is still there.

There's a screenshot folder to debug the OCR ? Wonderful !

This is a photo I took of the area I highlighted



Here are the debug screenshots










The two similar screenshots are respectively "screenshot.png" and "text_boxes.png".

Looks misaligned indeed ! And the size is all wrong, what's seen by the OCR is significantly smaller.

My computer screen is at 4K resolution. I'll try to change the resolution to 1080p and give it another shot... Nope ! Same issue.

Looks like it's a tough nut to crack, huh ?

Oh, and here's the 1080p screenshot. I selected some text in this page. 

Brilliant, that's very helpful. Thank you.

Do you have any games you could try internal or attached mode on? I'm pretty certain you could even use attached mode on the browser if you'd try that. I just want to rule out that it isn't only the 'Desktop' mode that is broken.

Attached GameTranslate to Chrome, here are the results:



















Hmm.. The 'Sandow' screenshot is not the screenshot.png is it? That looks like one of the debug_.png images.

Either way, it is clearly being completely misaligned.. I'll have to dig into this as soon as I have time and let you try a debug version. I'm going to try to install Windows 11 on one of my devices too. 

Sounds great ! Feel free to add me to discord, @sannd0w

Thanks! Will do.

Do you by any chance have scaling set to anything other than 100%? In your 'Display settings' on Windows.