<!-- Canonical page: https://reversedwithai.com/p/vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f -->
Canonical page: https://reversedwithai.com/p/vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f

# Decompiled vampire.dll from Vampire: The Masquerade – Bloodlines using pcdecomp

> A matching C++ decompilation of the game-code DLL for Vampire: The Masquerade – Bloodlines.

This project provides a byte-for-byte matching decompilation of vampire.dll from Vampire: The Masquerade – Bloodlines. It uses the pcdecomp tool and AI agents to reconstruct C++ source code that compiles to the original binary.

## Key facts

- Target: vampire.dll (Vampire: The Masquerade – Bloodlines)
- Category: Firmware and hardware
- Platform: Windows
- Models: Claude
- Tools: pcdecomp, Microsoft Visual C++ 6.0, ninja, Python 3.11
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: otonomy
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The project provides a matching decompilation of vampire.dll, the game-code library for Vampire: The Masquerade – Bloodlines (2004). The author reports that the work uses pcdecomp, a tool for 32-bit Windows games that compiles C++ source code and compares the output against the original binary byte-for-byte. The repository contains 18,978 written blocks, including 16,590 functions and 2,388 static initializers. The author documents that AI agents followed a guide, CLAUDE.md, to apply specific Microsoft Visual C++ 6.0 code-generation idioms required for matching. As of November 2026, the standalone build of vampire.dll matches the original binary with no remaining known differences. The project also includes work-in-progress decompilation for client.dll, which is currently at 67.5% completion. Users must provide their own legally obtained copy of the game files to perform builds or verification. The author notes that Windows path length limits can cause git errors if the repository is cloned into a directory with a long path. The project is licensed under CC0 1.0 Universal, which applies only to the contributors' own work. [https://raw.githubusercontent.com/otonomy/vampire-decomp/HEAD/README.md](https://raw.githubusercontent.com/otonomy/vampire-decomp/HEAD/README.md)

## Human work and limitations

The project uses a hybrid approach of manual coding, automatic pcdecomp passes, and AI-assisted function matching. The standalone build requires specific environment configurations, including the Microsoft Visual C++ 6.0 compiler and the Processor Pack.

## Reproduce it

git clone https://github.com/otonomy/vampire-decomp.git; cd vampire-decomp; copy "<game folder>\Vampire\dlls\vampire.dll" orig\; python configure.py --vc6 "C:\Program Files (x86)\Microsoft Visual Studio"; ninja; ninja verify

## AI use in the original source

- "| `CLAUDE.md` | The working guide the agents followed: VC6 code-generation idioms that decide a match |" ([source](https://raw.githubusercontent.com/otonomy/vampire-decomp/HEAD/README.md))

Excerpts checked against the source on 2026-11-23.

## Sources

- [Repository](https://github.com/otonomy/vampire-decomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: otonomy (2026). Decompiled vampire.dll from Vampire: The Masquerade – Bloodlines using pcdecomp. Reversed with AI. https://reversedwithai.com/p/vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f
