Repository navigation
Releases
Crowbar-VTMB v0.74-vtmb.5 — Texture Mapping Hotfix
This hotfix resolves texture stretching caused by VTMB model decompilation.
Fixed
- Preserve original UV coordinates outside the 0–1 range when exporting VTMB reference and LOD SMD files.
- Remove per-vertex UV wrapping, which could distort texture mapping after recompilation. The issue was identified on the inner door of
refrigeratorold_anim2.
Updating your models
Decompile the original model again with this version, then recompile the newly exported sources. Previously exported SMD files already contain altered UV coordinates and cannot be repaired by updating Crowbar alone.
No studiomdl update is required. This fix is entirely within Crowbar.
Installation
Download and extract Crowbar-VTMB_v0.74-vtmb.5.zip, then run CrowbarVTMB.exe. Requires Windows and .NET Framework 4.8.
Crowbar-VTMB v0.74-vtmb.4 preserves explicit VTMB bone rotation spaces in QC and simplifies REF/VCLOTH file pairing.
Changes
- Export
$vtmbbonerotation "bone_name" "model"for bones carrying flag bit0x02in the source MDL. This preserves the model's rotation-space choice without guessing from bone names or positions. SMD animations remain standard parent-local data. - Remove obsolete
reference_smdand unusedsource_modelmetadata from VCLOTH exports. QC model/source directives define compiler file binding; geometry, skeleton and cloth binding checks remain required. - Add bone-rotation documentation and update the VCLOTH format documentation.
Compatibility and installation
- Extract Crowbar-VTMB_v0.74-vtmb.4.zip into a writable folder and run CrowbarVTMB.exe. Windows with .NET Framework 4.8 is required.
- Recompiling QC containing
$vtmbbonerotationrequires an updated native studiomdl_vtmb v0.2.2 compiler supporting this command. Older compilers may reject it. - Use VTMB Cloth 0.10.3 for the current metadata-free cloth workflow. Keep each REF SMD and VCLOTH in the same directory with the same filename stem; rename both together.
- Decompile the original MDL with its VTX and optional PHY companions into a new folder. Existing exported files do not receive these changes automatically. Keep authored sources separately when re-exporting.
- A rotation flag already lost in a previously malformed MDL cannot be recovered automatically.
Validation and limitations
Release/x86 build targeting .NET Framework 4.8 completed successfully. The release ZIP was checked for integrity and byte-for-byte agreement with the packaged files; a SHA-256 checksum is supplied separately.
The paired compiler's explicit-rotation fix has user-reported in-game acceptance for a fitted Christof replacement. This does not establish exhaustive Crowbar round-trip coverage. Full Blender export/game acceptance for the latest pairing and metadata changes remains pending. Facial deformation fidelity, complex animation layers and arbitrary model/LOD coverage remain limited.
The package includes the executable, license and public usage documentation. Personal settings, game assets, the compiler and Blender add-on are separate.
Full changelog: v0.74-vtmb.3...v0.74-vtmb.4
Version v0.74-vtmb.3
Crowbar-VTMB v0.74-vtmb.3
Crowbar-VTMB is a dedicated community fork of ZeqMacaw's Crowbar for Vampire: The Masquerade – Bloodlines (VTMB, model format MDL v2531).
This release introduces engine-accurate decoding of unskinned vertex layouts and packed flexes, robust model-space PHY collision export, and staging safeguards for physics meshes.
Key Improvements & Fixes
1. PHY Collision Bone Resolution & Export Reliability
- Model-Space Collision Support: Fixed an export failure on animated props (e.g.
refrigeratorold_anim2.mdl) where PHY collision geometry is authored in model space with bone index-1. Crowbar now automatically resolves the carrier bone by finding an unambiguous root bone with an identity bind pose, without relying on model-specific hardcoding. - Filter Non-Terminal Collision Nodes: Skips collision tree nodes (
flags & 3 != 0) that do not represent terminal geometry, avoiding corrupt face outputs. - Safe SMD Staging: Physics SMD export now writes to a staging file before atomically replacing the destination. If an error occurs during PHY decompression or parsing, Crowbar reports a clear error message instead of publishing a corrupted or empty
_physics.smd. - QC
$rootboneInference: Automatically infers the correct$rootbonedirective in the generated.qcfile for unbound single-solid models, while eliminating invalid empty$rootbone ""lines.
2. Engine-Derived Unskinned Vertex Formats & Flex Decoding (PR #1)
- Unskinned Vertex Layouts: Decodes VTMB v2531 unskinned vertex formats directly reverse-engineered from game binaries.
- Packed Flexes & Header Flags: Adds accurate parsing for packed flex vertex records and engine-specific model header flags.
Package & Asset Verification
- Release Archive:
Crowbar-VTMB_v0.74-vtmb.3.zip - SHA-256 Checksum:
c7d219838ea5706bbc1e685c4daae15f4186700341c3ff42dc97764ee7764e68 - Source Commit:
efe15c5(tag:v0.74-vtmb.3)
Installation & Requirements
- Extract the contents of
Crowbar-VTMB_v0.74-vtmb.3.zipto a writable directory. - Requires Windows and .NET Framework 4.8.
- Decompile original
.mdlfiles together with their.vtxand optional.phyfiles into a clean output directory.
Version v0.74-vtmb.2
Crowbar-VTMB v0.74-vtmb.2
This release improves model decompilation for Vampire: The Masquerade – Bloodlines (MDL v2531), with skinning, eye-material and collision fixes, plus preserved cloth exports.
Changes
- Four bone influences: Preserve up to four Type 0 skinning influences, including the implicit fourth weight, in REF/LOD SMD and VCLOTH exports.
- Eye material bindings: Preserve the original mesh-to-eyeball assignments instead of guessing from material names. Fixes the incorrect QC bindings responsible for Jeanette’s white eyes.
- PHY reference poses: Read explicit solid
originandangleswhen exporting collision geometry. Fixes Sheriff’s collision placement in the tested workflow. - Procedural bones: Export AxisInterp rules as
.vhbfiles with matching QC references. - Preserved cloth: Export existing simulation data into a version 1
.vclothsidecar attached to the REF mesh, without generating artificial cloth bones or a duplicate cloth mesh. - Collision capsules: Export separate, rigged
*_CAPSULES.smdhelpers using the real skeleton, with matching QC commands. - Includes physics-chain and model-header flag export improvements added since the previous release.
Installation
Extract the ZIP into a writable folder and run CrowbarVTMB.exe.
Requires: Windows with .NET Framework 4.8.
The package contains:
CrowbarVTMB.exeREADME.mdRELEASE_NOTES.mdLICENSE.txt
The compiler, Blender add-on and game assets are not included.
Updating existing sources
Decompile the original MDL, together with its VTX and optional PHY companions, into a fresh folder.
Previously exported files are not repaired automatically. Keep your edited sources separately before re-exporting.
Custom VTMB QC commands, VCLOTH data and capsule helpers require the matching updated studiomdl_vtmb compiler.
Validation and limitations
Selected Jeanette skinning/eye, Sheriff collision and cloth/capsule workflows have been tested by the user in the game with the paired compiler.
This does not establish complete compatibility with every model, LOD or render path. Facial deformation encoding, complex animation masks, autolayers and melee metadata remain areas for further work. Full Type 1/2 decoding fidelity is not claimed. Current preserved-cloth authoring is scoped to LOD0.
Credits
Original Crowbar by ZeqMacaw. VTMB fork by robsonner.
Licensed under Creative Commons Attribution-ShareAlike 3.0 Unported; see LICENSE.txt.
This is an independent community fork. Please report issues to [Crowbar-VTMB](https://github.com/robsonner/Crowbar-VTMB), not to the original Crowbar author.
v0.74-vtmb.1
Version v0.74-vtmb.1
Overview
Crowbar-VTMB is a dedicated fork of the Crowbar GoldSource/Source engine modding tool (originally created by ZeqMacaw), customized specifically for Vampire: The Masquerade – Bloodlines (VTMB, model format MDL v2531).
This release introduces native support for Troika's unique Source 2004 branch, enabling seamless decompilation of Bloodlines models into standard, editable QC, SMD, VTA, and VRD source files for authoring, modding, and modern recompilation workflows.
Key Features & Highlights
1. Dedicated VTMB Model Format Support (MDL v2531)
- Comprehensive Decompilation: Native decompilation of Vampire: The Masquerade – Bloodlines
.mdl,.vtx, and.phyfiles into clean, standard-compliant source assets. - Full Vertex Format Support:
- Type 0 Vertices: Complete support for uncompressed 32-bit floating-point vertex serialization (44 bytes per vertex: position XYZ, normals XYZ, UV, and bone weights/indices).
- Type 1 & Type 2 Vertices: Full decoding support for legacy 16-bit and 8-bit quantized vertex formats.
- VTMB-Specific Header Integration:
- Custom
$phonemefilterQC Extension: Introduces a custom$phonemefilter <min> <max>QC command (not part of the official Valve/Troika QC command set). This custom extension was developed specifically for our toolchain to read, preserve, and serialize Troika's unique phoneme transition/crossfade thresholds stored in the model header (offsets0xE8and0xEC). - Accurate bounding box (
$cbox,$bbox), eye position ($eyeposition), and illumination origin ($illumposition) extraction.
- Custom
2. Geometry, Rigging & Meshes (.smd)
- Mesh & Strips Reconstruction: Robust pairing with VTMB companion
.vtx(v107) files to accurately reconstruct polygon triangles, strips, and body parts. - Bone Rigging & Skinning: Bind-pose (
skeletontime 0) and vertex weighting (up to 3 bone weights per vertex) exported cleanly into reference and LOD SMD files. - LOD Support: Proper separation and export of Level-of-Detail geometry.
3. Skeletal Animations (.smd)
- Embedded Sequence Decompression: Direct decompression of RLE rotation and translation keyframes embedded within the
.mdlfile (Bloodlines does not use external streaming.anifiles). - Automatic Sequence Splitting: All animations and sequences are organized and extracted into individual SMD files with proper activity names, framerates, loop flags, and events.
4. Facial Animation & Flexes (.vta)
- Blendshapes & Vertex Animations: Full extraction of facial expressions, eyelid tracking, and phoneme vertex deltas into
.vtafiles. - QC Flex Rules Generation: Clean reconstruction of
$flexfile, flex controllers, flex descriptions, and flex evaluation expressions.
5. Procedural Bones & Physics
- Procedural Bone Rules (
.vrd): Full export ofAxisInterpandQuatInterpprocedural bone definitions into companion.vrdfiles referenced via$proceduralbones. - Collision Physics (
.phy): Physics collision hulls parsed and converted to_physics.smdalong with$collisionmodeland$collisiontextblocks.
System Requirements & Compatibility
- Operating System: Windows 10 (version 1903 or later) / Windows 11.
- Runtime: .NET Framework 4.8 (pre-installed natively on modern Windows 10/11 out-of-the-box).
- Dependencies: None. All required native and managed components (
lzma,steam_api,Steamworks.NET,CrowbarSteamPipe,lzham_x86) are embedded and self-contained.
Attribution & License
- Original Author: ZeqMacaw
- Modified by: robsonner
- License: Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
- License URL: https://creativecommons.org/licenses/by-sa/3.0/deed.en_US
- Source Repository: https://github.com/robsonner/Crowbar-VTMB
Notice: This project is a community-driven modification. The original author (ZeqMacaw) does not endorse, sponsor, or officially support this modified version. All support inquiries and issues should be directed to the Crowbar-VTMB repository.