SU

sh0ckfr/universal-dear-imgui-hook

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

500 stars 0 forks 품질 55 트렌드 54

DirectX 12/11/10/9, OpenGL 및 Vulkan을 위한 보편적인 친애하는 ImGui 걸이. Windows, Linux 및 Steam Deck와 호환되며, 게임 디버깅 및 컨트롤을 위해 NamedPipe를 통해 통합된 MCP를 특징으로 합니다.

개요

A Dear ImGui 오버레이는 다른 응용 프로그램 내에서 인터페이스를 그립니다. 그래픽 API는 사용되며 Claude Code와 같은 AI 조수를 보고 로컬 파이프 또는 유닉스 소켓에 MCP를 통해 게임을 재생할 수 있습니다. API는 runtime에서 검출됩니다: 한 번, 어디에서든지 주사하십시오. Wine 또는 Proton에서 실행되는 Windows 게임은 Windows DLL을 사용합니다. - : 첫 번째 API에서 백엔드가 프레임을 제시합니다. 전에 또는 게임이 그래픽을 초기화 한 후. - : MCP 및 로컬 이름 파이프 (Windows) 또는 유닉스 소켓 (리눅스)를 통해 Claude Code와 같은 조수는 게임을 볼 수 있으며, 플레이어에 기록하고 키를 누릅니다. - : INSERT, 또는 L3 + R3 컨트롤러에, 메뉴를 엽니다; F11는 오버레이를 제거하고 DLL을 언로드합니다. 키는 example/config.cpp의 설정입니다. 메뉴가 열리는 동안 게임은 키보드, 마우스 또는 컨트롤러 입력 (Windows) 및 XInput 컨트롤러가 메뉴를 탐색합니다.

개요(AI 번역)

A Dear ImGui 오버레이는 다른 응용 프로그램 내에서 인터페이스를 그립니다. 그래픽 API는 사용되며 Claude Code와 같은 AI 조수를 보고 로컬 파이프 또는 유닉스 소켓에 MCP를 통해 게임을 재생할 수 있습니다. API는 runtime에서 검출됩니다: 한 번, 어디에서든지 주사하십시오.

| API | 윈도우(x86, x64) | 리눅스(x86-64, ARM64) | 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 | Vulkan | :white check mark : | : 화이트 check mark : | | OpenGL 3.0+ | :white check mark: (WGL) | :white check mark: (GLX, EGL) |

Wine 또는 Proton에서 실행되는 Windows 게임은 Windows DLL을 사용합니다.

내용

  • 특징
  • 빠른 시작
  • 사용법: Windows, 리눅스, 조정, 당신의 메뉴, 도서관으로
  • AI Assistant의 원격 제어
  • API
  • 어떻게 작동
  • 건물
  • 시험
  • 기여
  • 제한
  • 지원

으로 표시된 섹션 ▶ 클릭 중 펼쳐집니다.

특징

  • **모든 API에 대한 하나의 라이브러리 **: 백엔드는 프레임을 제시하는 최초의 API에서 선택됩니다. 전에 또는 게임이 그래픽을 초기화 한 후.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Universal-Dear-ImGui-Hook

A Dear ImGui overlay that draws your interface inside another application, whatever graphics API it uses, and lets an AI assistant such as Claude Code see and play the game through MCP over a local named pipe or Unix socket. The API is detected at runtime: build once, inject anywhere.

API Windows (x86, x64) Linux (x86-64, ARM64)
Direct3D 9, 9Ex :white_check_mark: NOT REQUIRED
Direct3D 10, 11, 12 :white_check_mark: NOT REQUIRED
Vulkan :white_check_mark: :white_check_mark:
OpenGL 3.0+ :white_check_mark: (WGL) :white_check_mark: (GLX, EGL)

Windows games running under Wine or Proton use the Windows DLL.

Contents

Sections marked with ▶ unfold on click.

Features

  • One library for every API: the backend is picked from the first API that presents a frame. Inject before or after the game initializes its graphics.
  • Remote control by an AI assistant: through MCP and a local named pipe (Windows) or Unix socket (Linux), an assistant such as Claude Code sees the game, writes to the player over it and presses its keys.
  • Menu input: INSERT, or L3 + R3 on a controller, opens the menu; F11 removes the overlay and unloads the DLL. The keys are settings in example/config.cpp. While the menu is open the game sees no keyboard, mouse or controller input (Windows), and an XInput controller navigates the menu.
  • No crash from the overlay (Windows, MSVC builds): an exception in the overlay, from a renderer backend or the menu code, removes it instead of taking the game down; the menu key brings it back.
  • Images and frame capture: uih::CreateTexture() turns RGBA pixels into an image for ImGui::Image(), and uih::CaptureFrame() copies what the game draws, without the overlay, on every backend.
  • Several windows: when the game presents to more than one window or swap chain, the overlay stays on one of them and follows the focus.
  • Readable on any display: the interface follows the DPI of the game window, or a fixed scale, with correct colors on sRGB and floating-point back buffers.
  • No injector needed: the DLL can be loaded as dinput8.dll, and the Linux library with LD_PRELOAD.
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "game": { "command": "python", "args": ["C:/path/to/Universal-Dear-ImGui-Hook/remote/uih_mcp.py"] } } }