# retro-kit 0.2.0 brings DirectX and MSVC games into its Ghidra pipeline

> retro-kit 0.2.0 adds Win32 support: DirectX calls with method names, typed middleware imports, and C++ classes from MSVC RTTI.

- Published: 2026-10-16T06:35:45Z
- Score: 7/10
- Tags: decomp, tool, pc
- Port / platforms: PC (Windows) -> PC (Windows) (Tool)
- Web page: https://emu-radar.customfw.xyz/news/retro-kit-0-2-0-win32/
- Sources: https://www.reddit.com/r/recomp/comments/1x6frvs/for_the_pc_side_of_decomp_retrokit_a_ghidra/

[retro-kit](https://github.com/nemo22/retrokit) 0.2.0 adds Win32 games to the list. The release came out October 14 and covers DirectX and C++ titles from the late 1990s and 2000s. The toolkit drives [Ghidra](https://github.com/NationalSecurityAgency/ghidra/releases), a reverse engineering framework, in headless mode, meaning no GUI. Until now the focus was DOS games built with Watcom.

DirectDraw 1-7, DirectSound, DirectInput 1-8 and Direct3D 3-9 calls now come out with method names. The decompiled C reads `(*g_dd->lpVtbl->CreateSurface)(g_dd,&desc,&g_primary,0)` instead of raw pointer math. Miles, Smacker, Bink, FMOD and BASS imports get typed. `retrokit classes` pulls MSVC C++ classes, base classes and vtables out of RTTI. The Rich header gives the compiler version, such as VC++ 6.0 or VS 2005.

The output is readable C. It does not do matching decompilation or static recompilation. Original Watcom compilers for DOS games are rarely around, so byte-matching is usually off the table there. The author says the named analysis could feed a matching effort if someone has the original compiler, and asks which format would help, objdiff-style projects for example.

To try it:

1. Install Ghidra 12.x, JDK 21+ and Python 3.10+.
2. Run `pipx install git+https://github.com/nemo22/retrokit@v0.2.0`.
3. Run `retrokit doctor` to check the setup.
4. Run `retrokit analyze GAME.EXE`.

For a hobbyist, it is a starting point for understanding a Windows-era game or writing a port.
