Skip to main content

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

GameTranslate

In-game translator at your disposal · By Godnoken

Are you using Windows 11? Let us know! Sticky

A topic by Godnoken created 91 days ago Views: 261 Replies: 28
Viewing posts 1 to 8
Developer

I want to get Windows 11 compatibility investigated and at the moment I do not have access to any PC with Windows 11.

So please, if you've got Windows 11, let us know what works and what doesn't!

The application doesn't seem to function at all for me ironically. The setup window refuses to close and causes a spinning loading icon to appear on the mouse cursor when hovering over the window. It cannot be closed. Once I get to the select a hotkey step in the tutorial, the entire application crashes. Exiting the tutorial and using the "AutomaticWindowKey" option causes a crash after a few moments while resizing it. BUT more importantly, the rendering is BUSTED as shown in the first and second screenshot making the app entirely nonfunctional. The game I'm playing using NotoEmoji as the font and I'm trying to translate indonesian to english. See the third screenshot to see what the chat is SUPPOSED to look like.

EDIT: I tried to attach the screenshots but kept receiving an error despite the attachments being less than 3mb each.

Developer

Hi!

Thank you for the report. Would you mind attaching the crashdump.txt files from the crashdump folder? You can find them by going to the Configuration tab, it will be on the left-hand side if you scroll down.

Even better would be if you could turn on Debug mode (also found in Configuration, right-hand side), and send me the debug_ui and debug_tool.txt files.

Just to be clear - Windows 11 is not supposed to be supported at all at the moment, I'd be surprised if it worked at all. Hopefully I will be able to get a hold of a Win11 computer soon so I can make sure it is supported going forward.

That would be absolutely amazing. I moderate for this online game that I'm trying to use this tool with, so it'd be AMAZING if you could support windows 11 aswell (I only speak english and 90% of the playerbase is currently indonesian). After manually exiting the tutorial I cannot seem to reproduce that crashing issue. I'm using OpenGL for the renderer aswell. The main issue is that the rendering for the translations is entirely broken :) I managed to send the screenshots as seperate replies!
UI CrashDump:

Sysinfo:

Some(

    "11 (22631)",

)

[

    Cpu {

        name: "CPU 1",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 2",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 3",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 4",

        CPU usage: 4.7595034,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 5",

        CPU usage: 82.68355,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 6",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 7",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 8",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 9",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 10",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 11",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 12",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 13",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 14",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 15",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 16",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 17",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 18",

        CPU usage: 56.708866,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 19",

        CPU usage: 0.0,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

    Cpu {

        name: "CPU 20",

        CPU usage: 4.7595034,

        frequency: 2300,

        vendor ID: "GenuineIntel",

        brand: "12th Gen Intel(R) Core(TM) i7-12700H",

    },

]

Name: GameTranslate

Version: 0.2.2

Location: in file 'src\download_handler.rs' at line 105

Message: panicked at src\download_handler.rs:105:32:

called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: Uncategorized, message: "The process cannot access the file because it is being used by another process." }

Backtrace [

    { fn: "BaseThreadInitThunk" },

    { fn: "RtlUserThreadStart" },

]

Google Drive; Debug Log
I couldn't attach the full debug log directly, so I uploaded to google drive. Hope this is helpful, feel free to contact me for testing purposes :D

Developer

Hey again bud,

Thank you very much for these logs. I can see that the crashing error in the app itself is related to downloading models. I will look into that.

As for the game Crystal Realms, I tried it myself. It is not a Windows 11 issue but rather a graphics API issue. I believe the original installer uses WGPU and it most likely picks DX12 as its renderer, but for some reason the hotkeys and/or rendering doesn't work at all.

The OpenGL version.. I don't really know what causes these rendering issues. It's not the automatic translation window itself but rather an issue with all the rendering. I would bet my money on that this issue lies with the game developers implementation of OpenGL and unfortunately then would be out of my hands.

Wish I could bring better news than this, but I will look into the DX12 problem as I am also developing a game using the same engine as them. Don't get your hopes up for getting this fixed anytime soon though. The automatic window translation is broken in DX12 and I haven't been able to figure out a solution for that.

(1 edit)

No worries, thanks for the reply! Yea, the game uses bevy aha. I'm using a version of the game compiled to run on opengl instead of directx/vulkan as well, not just the GameTranslator application. Ironically, only when using them together does it produce the broken rendering but that is also the only way the translator TRIES to function haha. I'll try using the non-opengl game version and see if that produces different results too. EDIT: Nah, only using both opengl game, and the opengl option in the translators config produces any sort of working result.

Developer

Hello there bud,

The new update is out now, please try it out and let me know how it works out for you. It should no longer be a problem to use the app with games that use obscure graphics API's (in windowed and borderless fullscreen mode!)

Thank you! :)

I have been using Win 11 for all of my testing, its been working great!

Developer

Very happy to hear that. I should be acquiring my own Windows 11 device in the next few months as well so it will be easier for me to test it out further.

Hello, my PC is a Windows 11 Pro version 24H2, it is up to date. I am using the latest demo version and am trying out the Desktop translation function using the Internal translation engine and the RapidOCR OCR.

The translation is set as such: Source - Japanese   Target - English

No matter the type of text I highlight, GameTranslate gives me the error "Failed to Find Text".

I tried it on Japanese PSP games on an emulator, I tried taking a screenshot of the PSP game and highlighting the text in the screenshot, I tried translating Japanese phrases on Google and Japanese Wikipedia, it just cannot detect any text.

Any idea on what is causing these issues ?

Thank you very much !

Developer

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 =)

Developer

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. 

Developer

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:



















Developer

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

(Just to say that I do not currently use Windows 11, but the more we approach the October 2025 deadline, the more likely it will be that people will move to it.)

Developer

Hard agree, I will try to get my hands on a second device to run Windows 11 off/or dual-boot. It seems that the app doesn't have any problems with it, but it is hard to judge from a few comments.