Skip to content

Overlay not rendering on Japanese version - Window title mismatch #9

@tomoisia

Description

@tomoisia

Bug Description

The overlay fails to render on the Japanese version of Elden Ring because of a window title mismatch.

Root Cause

In src/d3drenderer.cpp line 269:

gameWindow_ = FindWindowW(L"ELDEN RING™", nullptr);

The code searches for window title ELDEN RING™ (with trademark symbol), but the Japanese version's actual window title is ELDEN RING (without the ™ symbol).

Environment

  • Elden Ring Version: v2.6.1.1
  • Region: Japanese
  • EXE MD5 Hash: 0F8C973FFB4CCE2AA9899A6777172A8C
  • Actual Window Title: ELDEN RING
  • GPU: NVIDIA GeForce RTX 4070 SUPER
  • OS: Windows 11

Symptoms

  • DLL loads successfully
  • Fonts load completely
  • Console shows normal initialization
  • Challenge.txt is generated (proving game memory reading works)
  • But overlay never renders on screen
  • Keybinds (=, F8) have no visible effect

Solution

Changing line 269 from:

gameWindow_ = FindWindowW(L"ELDEN RING™", nullptr);

to:

gameWindow_ = FindWindowW(L"ELDEN RING", nullptr);

This fixed the issue completely.

Suggested Fix

Consider using a more flexible window search that works with both versions, such as:

gameWindow_ = FindWindowW(L"ELDEN RING", nullptr);

or using EnumWindows with partial title matching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions