Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.29 KB

File metadata and controls

35 lines (27 loc) · 1.29 KB

Doom Media Controls

A C# application that streams live gameplay from Chocolate Doom directly into the Windows System Media Transport Controls (SMTC) as a thumbnail. It also extracts real-time player data (Health and Ammo) from the game's memory and displays it as the track title/artist.

Doom Media Controls Demo

How to Run

  1. Chocolate Doom Setup:

    • Ensure your chocolate-doom.exe and DOOM1.WAD are in the cDoom/ subdirectory.
    • Run RunDoom.bat to launch the game with the correct settings.
  2. Media Controller:

    • Run run Media.bat to launch the C# application.
    • It will automatically link up with the running Doom process.
  3. Play:

    • Open your Windows Media Overlay (Volume keys or Win key) to see the live feed!

Features

  • Live Video Thumbnail: captures the game window in the background and updates the Media Controls thumbnail at 30 FPS.
  • DPI Aware: Automatically handles high-resolution displays and scaling.
  • Memory Integration: Reads player Health and Ammo directly from the game's RAM.
  • Background Capture: Works even when the game window is behind other applications.
  • Controller Support: Includes SDL hints to keep controller input active even when the window is unfocused.