{
  "api_version": "1.0.0",
  "slug": "vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f",
  "url": "https://reversedwithai.com/p/vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f",
  "markdown_url": "https://reversedwithai.com/p/vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f.md",
  "json_url": "https://reversedwithai.com/p/vampire-dll-vampire-the-masquerade-bloodlines-a2afcd6f.json",
  "title": "Decompiled vampire.dll from Vampire: The Masquerade – Bloodlines using pcdecomp",
  "tagline": "A matching C++ decompilation of the game-code DLL for Vampire: The Masquerade – Bloodlines.",
  "summary": "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.",
  "target": {
    "name": "vampire.dll (Vampire: The Masquerade – Bloodlines)",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "Windows",
  "models": [
    "Claude"
  ],
  "tools": [
    "pcdecomp",
    "Microsoft Visual C++ 6.0",
    "ninja",
    "Python 3.11"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "otonomy",
    "url": null
  },
  "sources": {
    "repository": "https://github.com/otonomy/vampire-decomp",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/otonomy/vampire-decomp"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/curation/a2afcd6f-5ca0-41be-9bc5-7f5b022bf441.webp",
    "credit": "Image: GitHub (otonomy/vampire-decomp)"
  },
  "commit_history": null,
  "added_at": "2026-11-28T16:31:09.312007+00:00",
  "updated_at": "2026-11-28T16:31:09.312007+00:00",
  "sources_reviewed_at": "2026-11-30T22:09:10.390791+00:00",
  "reviewed_by": "automated",
  "human_notes": "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": "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",
  "body_md": "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)",
  "ai_use_excerpts": {
    "checked_at": "2026-11-23T07:01:01.902Z",
    "items": [
      {
        "quote": "| `CLAUDE.md` | The working guide the agents followed: VC6 code-generation idioms that decide a match |",
        "url": "https://raw.githubusercontent.com/otonomy/vampire-decomp/HEAD/README.md"
      }
    ]
  }
}
