Setting up decompdecomp on Windows
Work packet: WP-011: Case File #1 decompdecomp Collaboration holds the trial’s rules, status, checklist and decision log. This page is how to carry them out.
These steps get a Windows 11 PC ready to join the Case File #1 cooperative decompilation room, which is part of WP-011. There are five installs, then a build that checks the collaborator’s figures, then the join.
What the trial is for. Matched C rebuilds the original 2002 Windows program. It isn’t a port, and it isn’t engine code. The project’s deliverable is still an independent ScummVM engine, written from documented behavior. The decompilation is research evidence for that engine (WP-011 §ScummVM integration boundaries). The trial asks a narrower question: does decompdecomp produce that evidence faster or more cheaply than Ghidra work alone? decompdecomp’s guide marks its Windows PC support as beta, so expect some friction.
Where each instruction comes from
The page mixes three kinds of instruction. Each one is tagged with its source:
| Tag | Source | What it covers |
|---|---|---|
| decompdecomp | The tool’s README and GUIDE, read 2026-11-11 against release v1.0.10-alpha.1 |
How the tool installs, which compilers it supplies, how rooms and agents work |
| Case File #1 project | The collaborator’s project files: its README, tools/configure.py and config |
Which compiler this game is matched with, the build commands, where the game files go |
| WP-011 | This project’s trial rules | Spend caps, helper count, how the trial is measured, what gets recorded, hygiene |
decompdecomp is young and self-updates, and its docs leave some screens undescribed. Where they don’t cover a step, this page says so, so you know to look and write down what you find.
Before you start
- Windows 10 or 11, x86-64, with an account that can approve an installer. decompdecomp: Windows PC games don’t need WSL 2. The exception is decompdecomp’s own Ghidra when there’s no Windows JDK. That route needs a WSL Linux distribution, and installing one needs administrator rights (step 4).
- Your own legally obtained Case File #1 files: the executable and
libexpat.dll. This project keeps them in the gitignoredtools/exes/casefile1/(tools/exes/README). WP-011: the executable’s SHA-256 must match the WP-007 lock. decompdecomp: every member of a room needs an identical copy. - Case File #1 project: a local clone of the Case File #1 decompilation by Simeon Armenchev (monyarm), outside this checkout. The repository is private: ask Mony for access. Put the game files in the clone’s gitignored
orig/folder asorig/casefile1.exeandorig/libexpat.dll.
1. Install decompdecomp
Source: decompdecomp.
- Open the latest release and download
decompdecomp-<version>-windows-x64-setup.exe. The guide also mentions an MSI; use whichever Windows installer the release actually lists. - Run it. Setup also installs WebView2 and .NET Framework 4.8 if they’re missing. If Windows SmartScreen stops an unsigned installer, choose More info → Run anyway. Then start decompdecomp from the Start menu.
- Record the version you installed. The app offers one-click updates, and WP-011 records the tool version with every finding.
2. Install the Visual C++ 6.0 compiler
decompdecomp: the GUIDE’s platform table lists, for Windows PC, “Visual C++ 6.0 · 7.0 · 7.1 · 2005 · 2008 · 2010 · 2017”, plus any other version “from your own copy” for 32-bit games. The GUIDE says proprietary compilers install after you accept their licenses in a Setup screen, but v1.0.10-alpha.1 has no Setup entry in its sidebar. The compilers install from Compilers & tools instead (observed 2026-11-11).
Case File #1 project: the game is matched with Visual C++ 6.0 by default, with one file on 7.1. Those two are the ones you need. Changed 2026-11-15: Mony made decomp.me’s msvc6.5pp, the VC6 Processor Pack, the project’s default, added as a custom compiler (WP-011). Every member needs it installed too (Mony, 2026-11-16). It isn’t on decompdecomp’s card; step 5 below adds it.
You don’t need to install Visual Studio, old or new. decompdecomp’s docs don’t mention it. What matters is the period compiler that decompdecomp supplies, because every attempt is rebuilt with that compiler and compared byte for byte.

- Open Compilers & tools from the sidebar.
- On the Microsoft Visual C++ 6.0, 7.0 and 7.1 (PC) card, choose Install, and accept the license if it asks. That one card covers both versions this game needs. Skip the 2005–2010 and 2017 cards. Use Microsoft Visual C++ (your own copy) only for
msvc6.5pp, in item 5. - The install downloads the three compilers from the decomp.me community’s archives (GitHub releases and
files.decomp.dev) and prints where it put them:%LOCALAPPDATA%\decompnet\toolchains\msvc, with a6.0,7.0and7.1folder, each holdingBin\CL.EXE(observed 2026-11-11). Step 6 uses that folder. - WP-011: the
6.0folder holds VC6 RTM, build 8168 (itsCL.EXE,C1XX.DLLandC2.DLLall report 12.00.8168, observed 2026-11-14). Case File #1’s own C++ was built with the later Processor Pack, build 8943. The project’s default is now the Processor Pack compiler in step 5. See WP-011 §decomp.me’s VC6 builds. - Case File #1 project: add the Processor Pack compiler, decomp.me’s
msvc6.5pp.- Download
msvc6.5pp.tar.gzfrom themsvcwin9xrelease of OmniBlade/decomp.me. It’s about 6.7 MB, and the copy used here had SHA-2560DE4C5DC848D59B8AF842EB157FFE8B1D24FBA6621B18BE67EA9932E219CE14E. -
Extract it to a folder of its own beside decompdecomp’s projects, for example
%USERPROFILE%\Decomp\compilers\msvc6.5pp. Keep it out of%LOCALAPPDATA%\decompnet\toolchains, which decompdecomp manages itself. The folder holdsBin,Include,MFCandATL.$dst = "$env:USERPROFILE\Decomp\compilers\msvc6.5pp" New-Item -ItemType Directory -Force $dst | Out-Null tar -xzf "$env:USERPROFILE\Downloads\msvc6.5pp.tar.gz" -C $dst - In Compilers & tools, give that folder to the Microsoft Visual C++ (your own copy) card. It should read the version as 13.00.9044: the copy’s
C2.DLL, the Processor Pack’s code generator.CL.EXEis 12.00.8804 andC1XX.DLL12.00.8964 (observed 2026-11-16).
decompdecomp: a copy’s name in a project is
MSVC/own-<C2.DLL version>(kits/visualcpp.py,consoles/pc/__init__.py,v1.0.10-alpha.2). So a member’s copy has to be the same build as the host’s for the room’s project to find it. The same archive guarantees that (Inferred from the source). - Download

3. Install Java
Ghidra runs on Java, and step 4 uses it twice: for decompdecomp’s own Ghidra and for a standalone copy. Ghidra needs a 64-bit Java development kit (JDK), version 21 or newer; its install guide names the minimum for each release (JDK 21 for 11.x and 12.x). A Java runtime alone isn’t enough, because decompdecomp looks for javac.exe beside java.exe (why). Install the JDK before Ghidra, so decompdecomp finds it instead of reaching for its own Java, which on Windows needs WSL 2.
On Windows
- Install a 64-bit Windows JDK, version 21 or newer. Any JDK that meets Ghidra’s minimum works; a long-term support (LTS) release, 21 or 25, changes least over the trial. Oracle JDK 27.0.1 also works with decompdecomp’s Ghidra (observed 2026-11-13).
- Oracle JDK: on Oracle’s Java downloads, pick the version’s tab, then Windows → x64 Installer.
- Eclipse Temurin: the
.msifrom adoptium.net, with Add to PATH left on.
-
In a new PowerShell window, check that decompdecomp will accept it. This repeats its own test, and must print
Trueand a version of 21 or more:$java = (Get-Command java).Source; $real = (Get-Item $java).ResolvedTarget ?? $java Test-Path (Join-Path (Split-Path $real) 'javac.exe'); java -versionFalsemeans thejavafound first is a runtime withoutjavac, or an older Java ahead of the new one on the PATH.(Get-Command java).Sourceshows which. - If decompdecomp is open, quit it completely and start it again, so it sees the new PATH.
- Record the JDK’s vendor and version for the trial record.
Not on a Raspberry Pi
decompdecomp doesn’t run on a Pi, and this setup doesn’t put Ghidra there either. decompdecomp’s README lists Linux on x86-64 only, v1.0.10-alpha.1 ships no ARM64 Linux package, and its Visual C++ compilers are 32-bit x86 Windows programs, which it runs on Linux through wibo or wine (read 2026-11-11). Join the room from the Windows PC, or from an x86-64 Linux machine. The studio’s Pi 5 test box has OpenJDK 21 and does no decompilation work (Jeff’s call, 2026-11-11).
4. Install Ghidra
decompdecomp: the GUIDE names Ghidra as the analysis tool for Windows PC projects started from scratch. For x86 work it is optional: it writes the C drafts that agents start from (“Ghidra (optional) for x86”). The GUIDE describes no Ghidra step for joining a room.
Case File #1 project: the collaborator’s function list came from Ghidra, so joining his project doesn’t need Ghidra to find functions. This project needs Ghidra anyway for WP-001.
Ghidra inside decompdecomp: install a Windows JDK first
v1.0.10-alpha.1 offers Ghidra on its Compilers & tools screen (540 MB; see step 2’s screenshot). Ghidra needs a Java development kit (JDK), version 21 or newer. decompdecomp uses the computer’s own JDK when the java on the PATH belongs to one: version 21 or newer, with javac.exe beside java.exe (a Java runtime alone doesn’t count). Otherwise it installs its pinned Eclipse Temurin 21, which on Windows is a Linux build that runs under WSL 2. Without a WSL Linux distribution, that install stops with “WSL has no working Linux distribution yet” (observed 2026-11-11). The README and GUIDE don’t mention any of this; it is read from decompdecomp’s source (toolchains.py, forks/ghidra.py).
So give it a Windows JDK first:
- Install it and run the check in step 3, then restart decompdecomp.
- Choose Install on the Ghidra card. It downloads Ghidra only, with no Java development kit, and needs no WSL distribution. Observed 2026-11-13 with Oracle JDK 27.0.1: it installed Ghidra 12.1.4 into
%LOCALAPPDATA%\decompnet\toolchains\ghidra, and that folder’s.decompnet-toolchain.jsonsays"wsl": false.
There are two other ways through. Whichever you pick, record it in the trial record, because it changes what the agents start from.
- Skip Ghidra. The agents then work without Ghidra drafts. Step 6’s build doesn’t use Ghidra either.
- Install a WSL Linux distribution, so decompdecomp’s own Temurin can run. This needs administrator rights:
- Open PowerShell with Run as administrator. Without it, the install stops with “The requested operation requires elevation” and
Wsl/ERROR_CANCELLED(observed 2026-11-14). If your account can’t elevate, ask IT to run this step. - Run
wsl --install -d Ubuntu. You need this even when WSL itself is already installed.wsl --versioncan print a WSL version while no distribution is installed.wsl --list --verbosetells them apart: on a computer with no distribution it says “Windows Subsystem for Linux has no installed distributions” (observed 2026-11-14). - Restart if Windows asks you to. Then open Ubuntu from the Start menu once and create its Linux user name and password.
- Quit decompdecomp completely, start it again, and choose Install on the Ghidra card.
- Open PowerShell with Run as administrator. Without it, the install stops with “The requested operation requires elevation” and
Ghidra for this project’s own analysis
decompdecomp keeps its own Ghidra for the app. For WP-001 and your own reading of the executable, install a Windows copy:
- Use the JDK from step 3. Ghidra’s install guide names the minimum for each release (JDK 21 for 11.x and 12.x).
- Download Ghidra from ghidra-sre.org or its GitHub releases. Unzip it to a folder with no spaces in the path, such as
C:\tools\ghidra_<version>, and start it withghidraRun.bat. - Record the Ghidra and JDK versions. The docs don’t say whether decompdecomp can use this copy instead of its own, so don’t count on it.
5. Set up an agent provider and a spend limit
decompdecomp: its GUIDE describes no budget cap, but v1.0.10-alpha.2 has one (observed 2026-11-16). Under Settings → Agents, Budget stops helper agents once a project’s agents have spent that much in US dollars, “as the agents report it”. 0 means no limit, which is the default. Its dollars are the same app-priced figure as the spent figure below, so for a subscription such as a Claude plan the budget is an API-equivalent stop, not your bill. The same panel’s Functions per agent session (default 8) starts a fresh agent session after that many functions, which keeps each session’s context small. Otherwise, when a provider limit is hit, it waits for the limit to reset and then carries on. It pauses only after five fast failures in a row. The guide reports that a small function cost about 8 cents with Claude Code; that figure is the tool’s, not ours.
Don’t take the trial’s cost from decompdecomp’s own spent figure. The collaborator reports (2026-11-12) that it prices subscription usage, such as a Claude plan, as if it were API usage. Take the cost from the provider’s billing page.
WP-011: set both stops. The provider’s own limit caps the real spend, and decompdecomp’s Budget stops the agents at the trial’s app-priced cap.
- Pick a provider.
- API key: DeepSeek, OpenRouter, OpenAI, or any OpenAI-compatible API, including a local model. decompdecomp recommends this route.
- CLI agent: Claude Code, Codex CLI, and others. The app installs the agent and tells you how to sign in.
- In the provider’s console, set the strongest spending limit it offers before creating the key. Providers differ: some have a hard cap, others only prepaid credit or budget alerts. Prepaid credit equal to the trial’s dollar cap works as a hard stop.
- In decompdecomp, open Agents & models → API key and paste the key. Don’t put it in any file in any repository.
Give the agents Mony’s matching notes
Case File #1 project: Mony reports (2026-11-16) that one standing instruction “greatly improves the rate of matches”: point the agents at the MSVC matching notes in his outmatch repository. You don’t need outmatch’s tools for this, only its notes.
-
Clone outmatch into decompdecomp’s own folder, beside its projects:
git clone https://github.com/monyarm/outmatch "$env:USERPROFILE\Decomp\outmatch" -
In the decompdecomp app, not a terminal, go to Agents & models, open Agent prompts, then open App instructions. Tick Use a custom override. The box then becomes editable, with decompdecomp’s built-in text still in it. Add this line at the end, with your own full path, and choose Save prompts. Don’t clear the text that’s there: an override replaces decompdecomp’s own instructions rather than adding to them.
Read C:\Users\<you>\Decomp\outmatch\skills\msvc-matching\references for more info on how to match functions.Point it at the
referencesfolder, not the skill. Mony reports that decompdecomp doesn’t load skills well. decompdecomp: App instructions is one of four prompt fields. The others are the three initial prompts, for ROM work, imported projects and polishing. It can be set for all helpers or for one helper, and it’s literal text, not a template (src/decompnet/app/prompt_settings.pyandstatic/js/prompt-settings.js,v1.0.10-alpha.2). The Agent prompts panel sets it for all helpers. Each running helper’s Prompts link sets it for that helper only. -
Pull the clone before each session. Mony updates the notes.
WP-011: the notes are large. One file, brickpark-levers.md, is about 335 KB (observed 2026-11-16). If an agent reads the whole folder for every function, that’s a lot of tokens per attempt. Watch the first few attempts’ cost against the cap. If reading the notes eats the budget, name the smaller files in the instruction instead.
Which model. From the collaborator’s own use on this game (Reported, 2026-11-13): DeepSeek V4.1 Flash through opencode made most of the cheap early matches, and Claude Opus is very good at this, especially as several instances. Claude Fable used up usage too fast for him to measure it. The functions left are the larger ones, so expect a higher cost per match than his early figures. Details are in WP-011.
6. Check a build of Mony’s repository
WP-011. Build one of Mony’s pushed commits and measure it. This is what turns his reported progress into a local measurement. It isn’t a step before joining the room: the room itself credits each match to the agent that made it (step 7), so the trial doesn’t need a “before” build to show what our agents added. Treat the clone as read-only. Pull his pushes; don’t push.
Case File #1 project: the build needs Python 3.12 and ninja on the PATH. Make sure python is a real Python install, not one bundled inside another app; py -3.12 avoids the problem. In the clone:
py -3.12 tools/configure.py casefile1 --msvc "$env:LOCALAPPDATA\decompnet\toolchains\msvc"
ninja
ninja rebuild
--msvc takes the folder that holds 6.0\Bin\CL.EXE, which is step 2’s install folder. The one file built with 7.1 finds its compiler in the same folder.
ninja rebuild reassembles the whole program from C where the C matches and from your copy’s bytes elsewhere, and reports whether the result is byte-identical. objdiff.json gives per-function progress in objdiff.
Record, with the commit hash of the clone:
- Functions with C, matched byte for byte, and not matched
- Whether
ninja rebuildreports the program byte-identical - Build warnings or failures, and which files caused them
7. Join the cooperative room and run the trial
decompdecomp for the mechanics, WP-011 for the limits.
- Ask Mony for the current invite link, privately. The room runs over a temporary tunnel, so the link changes every time he restarts decompdecomp, and an old one won’t work.
- In decompdecomp, choose New project → Join a team’s room. Paste the link, type your display name, and pick your copy of the game (
orig/casefile1.exe). decompdecomp: the host credits every match your agents make to<display name>.<agent>, for examplejeff.claude-1, and you keep the same name when you reconnect. Pick one name and keep it: that’s how the trial’s matches are counted. - WP-011: before pressing Start agents, check that the agents have the matching-notes instruction, and set a small helper count: 2 for the trial. decompdecomp: one start can launch up to 24; the docs don’t say where the count is set.
- WP-011: stop when the trial cap is reached (100 functions or your dollar cap, whichever comes first). Then record the matches your agents made, from the “who matched what” list on the project’s overview. On the host they show as
<display name>.<agent>, so Mony’s copy can confirm the count.
Keep each project’s material in its place
There are three separate places. Nothing moves between them except what the Trial record below lists.
| Place | What lives there | Rules |
|---|---|---|
| This repository (public) | Docs, evidence, the trial record | Never commit a room link, an API key, the game files, a decompdecomp project, or matched C. .gitignore blocks tools/decomp/, decompdecomp/, .env files and the game data, but those rules are a backstop, not the process. |
| Mony’s repository (private) | Matched C, project config, the game files in gitignored orig/ |
Its contents stay off this public site (WP-011 §Legal and repository hygiene). Read-only for us: Mony pushes the room’s progress, ours included, every day or so. |
decompdecomp’s own folder (Decomp under your user folder, ~/Decomp in its docs) |
The app’s projects, logs and room state | Already outside both repositories. Leave it there. |
Run git status before every commit, in both repositories.
Trial record for WP-011
Record these in the WP-011 decision log and trial metrics.
Setup (once):
- decompdecomp version
- Compiler versions and the toolchain path, including the
msvc6.5ppcopy’s folder and the version decompdecomp reads from it - That App instructions carries the matching-notes instruction, and the outmatch commit the notes came from
- decompdecomp’s Ghidra: installed (with your own JDK, or its Temurin under WSL 2) or not used. Plus the JDK version, and the version of any standalone Ghidra
- Provider, model and spending limit
Build check (step 6):
- The commit hash you built
- Functions with C, matched, and not matched
- Rebuild result
Post-trial (step 7):
- Your display name in the room, and the matches credited to it
- Functions attempted, matched, near misses and failures
- Helper count, wall time, and agent cost from the provider’s billing (not the app’s “spent” figure)