Windows exe capture - libretro core for RetroArch

WINDOWS EXE CAPTURE - experimental libretro core for RetroArch Version 2.1-wgc

WHAT IT IS

An experimental RetroArch core that launches a Windows program (.exe), captures its window and shows it inside RetroArch, so you can apply RetroArch shaders (CRT, scanlines, etc.) to it, in a way similar to ShaderGlass.

Video is captured with Windows Graphics Capture (WGC). If WGC fails to start, the core automatically falls back to PrintWindow.

Audio does not go through RetroArch: the game’s sound comes out directly from the game itself (the core only sends silence to RetroArch). Save states are not supported.

See readme.txt in 7z file for usage e troubleshooting

New in version 2.1: pick the window to capture from a list

The core can now start without any content: in RetroArch load the core and choose Start Core instead of Load Content. A small window opens with the list of the windows currently open in Windows (title, program name, size). Select the window you want and press OK (or double-click); Refresh reads the list again, Cancel closes it.

This is meant for games that open a launcher and then start the real game as a different program (for example through a store client). In the other two modes the core could not link that window to the program it launched, gave up after 20 seconds and RetroArch showed *Fail

New option “Select the window at start” (default: disabled). When enabled, after launching a game from Load Content, playlist or history, the core shows the window list instead of searching for the window itself. Useful for games with a launcher: click Play in the launcher, press Refresh, select the game window and press OK. Can be saved per game (Save Game Options).

5 Likes

Nice.

Got it working and with smooth frame pacing too (at least as far as AM2R is concerned -haven’t tested with anything else yet).

First, I switched to glcore. With Vulkan I’m unable to get smooth frame pacing with this core for some reason.

Second, disable vsync in RetroArch but enable it in the game/application itself (as always, with RA you can save core-specific .cfg settings so you don’t have to manually change them depending on the core every time).

So for this core, what worked for me:

  • glcore video driver
  • disable vsync in RA / enable it for the game application
  • run the exe/application in a window.
3 Likes

This is… quite intriguing. Thank you, OP, for this!

1 Like

Alright, first problem:

I start a game using the core, and the focus remains always on the game’s individual window. ctrl+shift+F12 will put the focus on Retroarch and the shader I am running, but the game pauses, and I cannot play. I have all the UI pauses turned off that I know of. When I press ctrl+shift+f12 again, it returns to the game window, and the shaders, etc., vanish, to the retroarch window (which I cannot alt tab to).

Ideas?

It is normal for the game to pause when you enter menu mode in Retroarch; this allows you to change the settings at your leisure whilst the game waits to be restarted in game mode.

As for the issue you’ve highlighted: try switching the game to windowed mode via the game’s own settings; read the readme file to understand the options and how to troubleshoot problems.

New version 1.7.

What’s new

1.3-wgc

  • Shortcut (.lnk) support in Load Content. The core reads the program, arguments and start folder from the shortcut and uses them to launch the game.
  • The core info now declares exe|lnk. If RetroArch does not list lnk, delete or rename its core-info cache file (with RetroArch closed) so the new .info is read.

1.4-wgc

  • New options Window base size and Window size multiplier: the core resizes the game window to base × multiplier (for example 320x240 × 1) so the capture starts from an integer multiple of the original resolution.
  • Off by default. Applies only to resizable windows (not dialog windows), once per window, after about 2 seconds; changing the option in the menu re-applies it immediately.

1.5-wgc

  • New option Windows scaling for the game (default: Off). With Off the game is launched without Windows display scaling (for example the 125% used on many laptops), so its window keeps its real size and the capture is not blurred by Windows before the shaders. It works like Properties → Compatibility → High DPI settings → Application, but automatically and only for the launched process. Takes effect at the next launch.

1.6-wgc

  • Attach to a game that is already running. Load Content on an .exe or shortcut whose program is already open with a visible window, and the core captures that window instead of launching a second copy. This is particularly useful for games that first open a launcher with various options and only then launch the game itself.
  • The Windows scaling for the game option does not affect a game that was already open (the scaling is decided at launch).

1.7-wgc

  • A game the core attached to (already running before you loaded the content) is now closed when you close the content in RetroArch, exactly like a game launched by the core.

https://drive.google.com/file/d/1O2Y8lt95xqTR7jL70KewmRhYIlG_ihht/view

2 Likes

It was making the game windowed that did the trick. Though I had set the game to be in a window, it switched from window to full after reaching the title screen every time.

So after playing around some more, noticed there’s some framerate jitter, which makes playing vertical TATE mode Shmups pretty difficult.

I switched to WindowCast Core and the framerate jitter vanished, and they played butter smooth.

Not sure what is causing the jitter in your core, but I’m using the exact same shaders that I use for WindowCast.

Probably some further optimization is needed.

Seems great, however, so far! I like how much easier it is to get a external game up and running and into shaders, versus WindowCast.

Try changing video driver, d3d11 should be the fastest.

(Note: I only tested/played this on the 1st release of WEC -haven’t had the chance to test the newer releases yet).

So, earlier I mentioned the game/exe needed to run in a window in order for me to see anything other than a black screen.

Well, turns out, that was incorrect: The game can be played when it’s configured to use fullscreen without any blackscreen issue with WEC…the issue only occurred when both RA’s start resolution and the game’s resolution were the same.

For example if I started RetroArch at 1280x720 and the game’s fullscreen resolution was also set at 1280x720…then I’d get a black screen. But if I start RA at 1920x1080 beforehand then it would display correctly (it switches to the game’s resolution before starting).

Guessing but, it seems when both the core and RA’s fullscreen resolutions are the same, the core doesn’t have time to update something hence the black screen. Again, just guessing and the issue is fairly trivial to circumvent so not a major issue.

Can you add option to also capture screens… I need use OBS to see game in terminal…

Updated to version 1.8 in the opening post.

Improvements and new shortcuts (old ones don’t work anymore).

New option: borderless full screen for the game (Ctrl + Alt + Shift + Del). This works particularly well for games with 3D graphics. See README and WHAT’S NEW for details

4 Likes

Thank you for continuing to update winexe_libretro.

So far, it worked with everything I’ve tried. Except one game that failed no matter what I tried: Resident Evil 5.

So, whenever I launch the game via the core, the game starts fine no problem, but after 20 seconds or so, the screen goes back to RA’s menu and says “fail to load content”.or something to that effect

It should be noted: it’s completely unrelated to which part of the game I’m in: Doesn’t matter if I let the intro cinematic play or if I rush through the menus to start the game. It always goes back to Ra’s menu with the fail to load content message after 20 secs. I’m guessing this is a built-in timeout when the core fails to detect anything.

Also to be noted, during all of this RE5 has not crashed. Its windows is just minimized. I tried running the game’s exe in a window, fullscreen…same results. After closing RA then closing RE5, the recent history list of RA does not show the game’s exe being the last entry…so the core never loaded anything.

Like I said I tried many games (maybe a dozen or so: Super Meat Boy, Spelunky, RE4Remake, Bioshock 1, Fallout Shelter etc… so far none of them other than RE5 have caused this problem so it’s a bit perplexing.

Tested with the latest 1.9 core version.

I plan to give a look at winexe in the weekend. Meanwhile can you post a log?

RE5 log

Microsoft Windows [Version 10.0.18363.1110]
© 2019 Microsoft Corporation. All rights reserved.

D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64>retroarch --verbose

D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64>[INFO] RetroArch 1.22.2 (Git 9a4726b)
[INFO] === Build =================================================
[INFO] CPU Model Name: AMD Ryzen 7 2700X Eight-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES PCLMUL AVX AVX2 FMA3 LZCNT SHA1 SHA256
[INFO] Version: 1.22.2
[INFO] Git: 9a4726b
[INFO] Built: Sep 6 2026
[INFO] ===========================================================
[INFO] [Input] Found input driver: “dinput”.
[INFO] [Environ] SET_PIXEL_FORMAT: RGB565.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 320x240, Aspect: 1.3333, FPS: 60.0000, Sample rate: 48000 Hz.
[INFO] [Video] Set video size to: fullscreen.
[INFO] [XInput] Found XInput v1.4.
[INFO] [Input] Found joypad driver: “dinput”.
[WARN] [Input] Configured joypad driver “xinput” failed to initialise; falling back to “dinput”.
[WARN] [DInput] Strong rumble unavailable.
[WARN] [DInput] Weak rumble unavailable.
[INFO] [D3D11] Device created (Feature Level: 11.0)
[INFO] [D3D11] Flip model and tear control supported and enabled.
[INFO] [D3D11] Requesting 1 maximum frame latency, using 1.
[INFO] [D3D11] Found GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [D3D11] Found GPU #1: “Microsoft Basic Render Driver”.
[INFO] [D3D11] Using GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [Video] Found display server: “win32”.
[INFO] [Audio] Set audio input rate to: 48000.00 Hz.
[INFO] [Audio] Threaded pipeline: ring holds 4096 frames of core audio.
[INFO] [Audio] Starting threaded audio driver…
[INFO] [Audio] Audio thread priority raised.
[INFO] [MMDevice] Initializing default eRender device…
[INFO] [WASAPI] Built without IAudioClient3 (the SDK’s audioclient.h predates it); shared mode uses the engine’s default period.
[INFO] [WASAPI] Client initialized (shared, FLOAT, 48000Hz, 22.0ms).
[INFO] [WASAPI] Shared: 64 ms setting as a 2016-frame fifo (42 ms) in front of a 1056-frame engine buffer (22 ms) fed a 480-frame period at a time; 64 ms in all, rate control holds the fifo about half full.
[INFO] [Audio] sinc resampler: integer s16 path available.
[INFO] [Audio] Driver “wasapi” reports a 24576-byte buffer: 64.0 ms of float at 48000 Hz against a 64 ms latency setting; rate control holds it near 32.0 ms.
[INFO] [Microphone] Initialized microphone driver.
[INFO] [Display] Found display driver: “d3d11”.
[INFO] [MIDI] Output device: “Microsoft GS Wavetable Synth”.
[INFO] [Playlist] Loading favorites file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_favorites.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_image_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_music_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_video_history.lpl”.
[INFO] [Audio] sinc resampler active path: float
[INFO] [Autoconf] DualShock 4 Controller configured in port 1.
[INFO] [Core] Using content: “D:\ga\PC games\SUplay\RE5\RE5\Launch.exe”.
[INFO] [Core] Unloading core…
[INFO] [Core] Unloading core symbols…
[INFO] RetroArch 1.22.2 (Git 9a4726b)
[INFO] === Build =================================================
[INFO] CPU Model Name: AMD Ryzen 7 2700X Eight-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES PCLMUL AVX AVX2 FMA3 LZCNT SHA1 SHA256
[INFO] Version: 1.22.2
[INFO] Git: 9a4726b
[INFO] Built: Sep 6 2026
[INFO] ===========================================================
[INFO] [Input] Found input driver: “dinput”.
[INFO] [Core] Loading dynamic libretro core from: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\cores/winexe_libretro.dll”.
[INFO] [Override] Redirecting save file to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\saves\Windows EXE Capture\Launch.srm”.
[INFO] [Override] Redirecting save state to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\states\Windows EXE Capture\Launch.state”.
[INFO] [Environ] GET_LOG_INTERFACE.
[INFO] [Environ] SET_VARIABLES.
[INFO] [Content] Content loading skipped. Implementation will load it on its own.
[INFO] [Environ] SET_PIXEL_FORMAT: XRGB8888.
[libretro INFO] [WinExe] pixel size = automatico
[libretro INFO] [WinExe] scala DPI di Windows per il gioco: disattivata
[libretro INFO] [WinExe] avviato D:\ga\PC games\SUplay\RE5\RE5\Launch.exe (pid 2984), cerco la finestra…
[libretro INFO] [WinExe] ERRORE: nessuna finestra trovata entro 20 secondi. Finestre collegate al gioco:
[ERROR] [Content] Failed to load content.
[INFO] [Core] Unloading core…
[INFO] [Core] Unloading core symbols…
[INFO] [Core] Saved core options file to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\config\Windows EXE Capture\Windows EXE Capture.opt”.
[INFO] [Environ] SET_PIXEL_FORMAT: RGB565.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 320x240, Aspect: 1.3333, FPS: 60.0000, Sample rate: 48000 Hz.
[INFO] [Video] Set video size to: fullscreen.
[INFO] [Input] Found joypad driver: “dinput”.
[WARN] [Input] Configured joypad driver “xinput” failed to initialise; falling back to “dinput”.
[WARN] [DInput] Strong rumble unavailable.
[WARN] [DInput] Weak rumble unavailable.
[INFO] [D3D11] Device created (Feature Level: 11.0)
[INFO] [D3D11] Flip model and tear control supported and enabled.
[INFO] [D3D11] Requesting 1 maximum frame latency, using 1.
[INFO] [D3D11] Found GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [D3D11] Found GPU #1: “Microsoft Basic Render Driver”.
[INFO] [D3D11] Using GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [Video] Found display server: “win32”.
[INFO] [Audio] Set audio input rate to: 48000.00 Hz.
[INFO] [Audio] Threaded pipeline: ring holds 4096 frames of core audio.
[INFO] [Audio] Starting threaded audio driver…
[INFO] [Audio] Audio thread priority raised.
[INFO] [MMDevice] Initializing default eRender device…
[INFO] [WASAPI] Built without IAudioClient3 (the SDK’s audioclient.h predates it); shared mode uses the engine’s default period.
[INFO] [WASAPI] Client initialized (shared, FLOAT, 48000Hz, 22.0ms).
[INFO] [WASAPI] Shared: 64 ms setting as a 2016-frame fifo (42 ms) in front of a 1056-frame engine buffer (22 ms) fed a 480-frame period at a time; 64 ms in all, rate control holds the fifo about half full.
[INFO] [Audio] sinc resampler: integer s16 path available.
[INFO] [Audio] Driver “wasapi” reports a 24576-byte buffer: 64.0 ms of float at 48000 Hz against a 64 ms latency setting; rate control holds it near 32.0 ms.
[INFO] [Microphone] Initialized microphone driver.
[INFO] [Display] Found display driver: “d3d11”.
[INFO] [MIDI] Output device: “Microsoft GS Wavetable Synth”.
[INFO] [Playlist] Loading favorites file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_favorites.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_image_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_music_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_video_history.lpl”.
[INFO] [Config] Saved config to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\retroarch.cfg”.
[INFO] [Core] Unloading core…
[INFO] [Core] Unloading core symbols…

To give a point of comparison, below is another log when opening RE4Remake with the core (which works without problems).

RE4Remake log

Microsoft Windows [Version 10.0.18363.1110]
© 2019 Microsoft Corporation. All rights reserved.

D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64>retroarch --verbose

D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64>[INFO] RetroArch 1.22.2 (Git 9a4726b)
[INFO] === Build =================================================
[INFO] CPU Model Name: AMD Ryzen 7 2700X Eight-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES PCLMUL AVX AVX2 FMA3 LZCNT SHA1 SHA256
[INFO] Version: 1.22.2
[INFO] Git: 9a4726b
[INFO] Built: Sep 6 2026
[INFO] ===========================================================
[INFO] [Input] Found input driver: “dinput”.
[INFO] [Environ] SET_PIXEL_FORMAT: RGB565.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 320x240, Aspect: 1.3333, FPS: 60.0000, Sample rate: 48000 Hz.
[INFO] [Video] Set video size to: fullscreen.
[INFO] [XInput] Found XInput v1.4.
[INFO] [Input] Found joypad driver: “dinput”.
[WARN] [Input] Configured joypad driver “xinput” failed to initialise; falling back to “dinput”.
[WARN] [DInput] Strong rumble unavailable.
[WARN] [DInput] Weak rumble unavailable.
[INFO] [D3D11] Device created (Feature Level: 11.0)
[INFO] [D3D11] Flip model and tear control supported and enabled.
[INFO] [D3D11] Requesting 1 maximum frame latency, using 1.
[INFO] [D3D11] Found GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [D3D11] Found GPU #1: “Microsoft Basic Render Driver”.
[INFO] [D3D11] Using GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [Video] Found display server: “win32”.
[INFO] [Audio] Set audio input rate to: 48000.00 Hz.
[INFO] [Audio] Threaded pipeline: ring holds 4096 frames of core audio.
[INFO] [Audio] Starting threaded audio driver…
[INFO] [Audio] Audio thread priority raised.
[INFO] [MMDevice] Initializing default eRender device…
[INFO] [WASAPI] Built without IAudioClient3 (the SDK’s audioclient.h predates it); shared mode uses the engine’s default period.
[INFO] [WASAPI] Client initialized (shared, FLOAT, 48000Hz, 22.0ms).
[INFO] [WASAPI] Shared: 64 ms setting as a 2016-frame fifo (42 ms) in front of a 1056-frame engine buffer (22 ms) fed a 480-frame period at a time; 64 ms in all, rate control holds the fifo about half full.
[INFO] [Audio] sinc resampler: integer s16 path available.
[INFO] [Audio] Driver “wasapi” reports a 24576-byte buffer: 64.0 ms of float at 48000 Hz against a 64 ms latency setting; rate control holds it near 32.0 ms.
[INFO] [Microphone] Initialized microphone driver.
[INFO] [Display] Found display driver: “d3d11”.
[INFO] [MIDI] Output device: “Microsoft GS Wavetable Synth”.
[INFO] [Playlist] Loading favorites file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_favorites.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_image_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_music_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_video_history.lpl”.
[INFO] [Audio] sinc resampler active path: float
[INFO] [Autoconf] DualShock 4 Controller configured in port 1.
[INFO] [Core] Using content: “D:\ga\PC games\SUplay\RE4\RE4\re4.exe”.
[INFO] [Core] Unloading core…
[INFO] [Core] Unloading core symbols…
[INFO] RetroArch 1.22.2 (Git 9a4726b)
[INFO] === Build =================================================
[INFO] CPU Model Name: AMD Ryzen 7 2700X Eight-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES PCLMUL AVX AVX2 FMA3 LZCNT SHA1 SHA256
[INFO] Version: 1.22.2
[INFO] Git: 9a4726b
[INFO] Built: Sep 6 2026
[INFO] ===========================================================
[INFO] [Input] Found input driver: “dinput”.
[INFO] [Core] Loading dynamic libretro core from: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\cores/winexe_libretro.dll”.
[INFO] [Override] Redirecting save file to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\saves\Windows EXE Capture\re4.srm”.
[INFO] [Override] Redirecting save state to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\states\Windows EXE Capture\re4.state”.
[INFO] [Environ] GET_LOG_INTERFACE.
[INFO] [Environ] SET_VARIABLES.
[INFO] [Content] Content loading skipped. Implementation will load it on its own.
[INFO] [Environ] SET_PIXEL_FORMAT: XRGB8888.
[libretro INFO] [WinExe] pixel size = automatico
[libretro INFO] [WinExe] scala DPI di Windows per il gioco: disattivata
[libretro INFO] [WinExe] avviato D:\ga\PC games\SUplay\RE4\RE4\re4.exe (pid 5508), cerco la finestra…
[libretro INFO] [WinExe] Finestra scelta: hwnd=0000000000040058 classe=‘via’ titolo=‘Resident Evil 4’ client=1920x1080 pid=5508
[INFO] [SRAM] Skipping SRAM load.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 1920x1080, Aspect: 1.7778, FPS: 60.0000, Sample rate: 48000 Hz.
[INFO] [Video] Set video size to: fullscreen.
[INFO] [Input] Found joypad driver: “dinput”.
[WARN] [Input] Configured joypad driver “xinput” failed to initialise; falling back to “dinput”.
[WARN] [DInput] Strong rumble unavailable.
[WARN] [DInput] Weak rumble unavailable.
[INFO] [D3D11] Device created (Feature Level: 11.0)
[INFO] [D3D11] Flip model and tear control supported and enabled.
[INFO] [D3D11] Requesting 1 maximum frame latency, using 1.
[INFO] [D3D11] Found GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [D3D11] Found GPU #1: “Microsoft Basic Render Driver”.
[INFO] [D3D11] Using GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [Video] Found display server: “win32”.
[INFO] [Audio] Set audio input rate to: 48000.00 Hz.
[INFO] [Audio] Threaded pipeline: ring holds 4096 frames of core audio.
[INFO] [Audio] Starting threaded audio driver…
[INFO] [Audio] Audio thread priority raised.
[INFO] [MMDevice] Initializing default eRender device…
[INFO] [WASAPI] Built without IAudioClient3 (the SDK’s audioclient.h predates it); shared mode uses the engine’s default period.
[INFO] [WASAPI] Client initialized (shared, FLOAT, 48000Hz, 22.0ms).
[INFO] [WASAPI] Shared: 64 ms setting as a 2016-frame fifo (42 ms) in front of a 1056-frame engine buffer (22 ms) fed a 480-frame period at a time; 64 ms in all, rate control holds the fifo about half full.
[INFO] [Audio] sinc resampler: integer s16 path available.
[INFO] [Audio] Driver “wasapi” reports a 24576-byte buffer: 64.0 ms of float at 48000 Hz against a 64 ms latency setting; rate control holds it near 32.0 ms.
[INFO] [Microphone] Initialized microphone driver.
[INFO] [Display] Found display driver: “d3d11”.
[INFO] [MIDI] Output device: “Microsoft GS Wavetable Synth”.
[INFO] [Playlist] Loading favorites file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_favorites.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_image_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_music_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_video_history.lpl”.
[libretro INFO] [WinExe] cattura WGC avviata
[libretro INFO] [WinExe] passo al modo gioco
[libretro INFO] [WinExe] RetroArch: hwnd=0000000000080254 classe=‘RetroArch’ titolo=‘RetroArch Windows EXE Capture 1.9-wgc’ client=1280x720 pid=5240
[libretro INFO] [WinExe] Gioco: hwnd=0000000000040058 classe=‘via’ titolo=‘Resident Evil 4’ client=1920x1080 pid=5508
[libretro INFO] [WinExe] focus al gioco: si
[INFO] [Environ] SET_GEOMETRY: 1280x720, Aspect: 1.778.
[INFO] [Audio] Sink rate: the device takes 47987.2 Hz against the host clock (-267 ppm of 48000); the writer blocks, so the source follows the device and resampling is not biased.
[INFO] [Environ] SHUTDOWN.
[INFO] [Runtime] Content ran for a total of: 00 hours, 01 minutes, 01 seconds.
[INFO] [Runtime] Saving runtime log file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\logs\Windows EXE Capture\re4.lrtl”.
[INFO] [Core] No content, starting dummy core.
[INFO] [Core] Unloading game…
[INFO] [Core] Unloading core…
[INFO] [Core] Unloading core symbols…
[INFO] [Core] Saved core options file to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\config\Windows EXE Capture\Windows EXE Capture.opt”.
[INFO] RetroArch 1.22.2 (Git 9a4726b)
[INFO] === Build =================================================
[INFO] CPU Model Name: AMD Ryzen 7 2700X Eight-Core Processor
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES PCLMUL AVX AVX2 FMA3 LZCNT SHA1 SHA256
[INFO] Version: 1.22.2
[INFO] Git: 9a4726b
[INFO] Built: Sep 6 2026
[INFO] ===========================================================
[INFO] [Input] Found input driver: “dinput”.
[INFO] [Environ] SET_PIXEL_FORMAT: RGB565.
[INFO] [Core] Version of libretro API: 1, Compiled against API: 1
[INFO] [Core] Geometry: 320x240, Aspect: 1.3333, FPS: 60.0000, Sample rate: 48000 Hz.
[INFO] [Video] Set video size to: fullscreen.
[INFO] [Input] Found joypad driver: “dinput”.
[WARN] [Input] Configured joypad driver “xinput” failed to initialise; falling back to “dinput”.
[WARN] [DInput] Strong rumble unavailable.
[WARN] [DInput] Weak rumble unavailable.
[INFO] [D3D11] Device created (Feature Level: 11.0)
[INFO] [D3D11] Flip model and tear control supported and enabled.
[INFO] [D3D11] Requesting 1 maximum frame latency, using 1.
[INFO] [D3D11] Found GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [D3D11] Found GPU #1: “Microsoft Basic Render Driver”.
[INFO] [D3D11] Using GPU #0: “NVIDIA GeForce GTX 1050 Ti”.
[INFO] [Video] Found display server: “win32”.
[INFO] [Audio] Set audio input rate to: 48000.00 Hz.
[INFO] [Audio] Threaded pipeline: ring holds 4096 frames of core audio.
[INFO] [Audio] Starting threaded audio driver…
[INFO] [Audio] Audio thread priority raised.
[INFO] [MMDevice] Initializing default eRender device…
[INFO] [WASAPI] Built without IAudioClient3 (the SDK’s audioclient.h predates it); shared mode uses the engine’s default period.
[INFO] [WASAPI] Client initialized (shared, FLOAT, 48000Hz, 22.0ms).
[INFO] [WASAPI] Shared: 64 ms setting as a 2016-frame fifo (42 ms) in front of a 1056-frame engine buffer (22 ms) fed a 480-frame period at a time; 64 ms in all, rate control holds the fifo about half full.
[INFO] [Audio] sinc resampler: integer s16 path available.
[INFO] [Audio] Driver “wasapi” reports a 24576-byte buffer: 64.0 ms of float at 48000 Hz against a 64 ms latency setting; rate control holds it near 32.0 ms.
[INFO] [Microphone] Initialized microphone driver.
[INFO] [Display] Found display driver: “d3d11”.
[INFO] [MIDI] Output device: “Microsoft GS Wavetable Synth”.
[INFO] [Playlist] Loading favorites file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_favorites.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_image_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_music_history.lpl”.
[INFO] [Playlist] Loading history file: “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\playlists\builtin\content_video_history.lpl”.
[INFO] [Config] Saved config to “D:\ga_ra_bck\versions\RetroArch 1.22.2. 2026-09-06\RetroArch-Win64\retroarch.cfg”.
[INFO] [Core] Unloading core…
[INFO] [Core] Unloading core symbols…

Just guessing but I’m wondering if the problem with RE5 could be caused by the launcher exe…which could maybe redirect the game to another instance/process/window or whatever, thus throwing off the core as to which window it’s supposed to capture. I don’t know. But it’s the only time I’ve gotten this with the core.

Hi, thanks for the log, it explained the problem.

What was going wrong The core launched Launch.exe and looked for the game window among that process and the processes it started. RE5’s launcher seems to start the real game through another route and then exit, so the game window never belonged to anything the core had launched. After 20 seconds the core gave up and RetroArch showed “Failed to load content”, even though the game was running fine.

Uploaded new version 2.0 in first post.

What’s new in this version (2.0) The core now has a third mode, where you pick the window to capture from a list of the windows currently open in Windows. It doesn’t matter which process the window comes from. The two existing modes (launching an .exe/.lnk, and attaching to an already running game) work as before.

How to use it

Start RE5 the way you normally do, using its own launcher or store, and wait until the game window is open. In RetroArch, load the core “Windows EXE Capture”, but don’t use Load Content. Choose Start Core instead. A small window opens with the list of open windows, showing the title, the program name and the size. Select RE5’s window. If you don’t see it, press Refresh. Then press OK (or double-click the entry). Cancel closes the list without choosing anything. The core captures that window, and the shader and the Ctrl+Alt+Shift hotkeys work as usual.

Good to know

A minimized window is listed with “[minimized]” and is restored automatically when you select it. When you close the content in RetroArch, the game is not closed, because the core didn’t launch it. If the game itself closes, the content closes too. In this mode “Restart” in the RetroArch menu does nothing, since there’s no program for the core to relaunch. For RE5, loading Launch.exe with Load Content will still fail as before. Please use Start Core.

If something doesn’t work, send me the RetroArch log again (run it with --verbose) and I’ll look at it. Thanks for testing!

1 Like

That’s great! Thanks for looking into it. I suspected it was something like that causing the problem. And of course, there might be other games that do this, so it’s not a bad idea to have this fall back/3rd mode.

I’ll be sure to test the latest 2.0 with RE5 when I have time to test and report back.

edit: Yeah, this methods works with RE5

Windows EXE Capture Select Window

Doing it this way works with loading the core first but it won’t work with loading content from a playlist/recent history though.

Ideally, at some point -if possible, you could maybe add an option in the core’s opt to have the Window shown above whenever a content is launched.

Moke-up example: Let’s say this is RE5.opt file (Launch.opt)

winexe_capture = “PrintWindow”
winexe_dpi_scaling = “Off”
winexe_mouse_overlay = “disabled”
winexe_pixel_size = “Auto”
winexe_window_base = “Off”
winexe_window_mult = “1”
winexe_select_window_at start = “enabled”

if the “winexe_select_window” -or whatever the name, option is enabled (would be disabled by default) then you’d get to select the window manually, same as when launching the core with no content.

version 2.1

New option “Select the window at start” (default: disabled). When enabled, after launching a game from Load Content, playlist or history, the core shows the window list instead of searching for the window itself. Useful for games with a launcher: click Play in the launcher, press Refresh, select the game window and press OK. Can be saved per game (Save Game Options).

1 Like

That’s a really neat addition; picking the window after a launcher starts should make the Windows EXE Capture core much easier to use. I like that the choice can be saved per game, too. Could the window list remember its last selection for each game?

Awesome, thanks! Will test and report back.

edit: Works as it should (you’ll have to click refresh in the window for it to work with something like RE5). Much appreciated.