Skip to content

Version v0.74-vtmb.3

Choose a tag to compare

@robsonner robsonner released this 03 Nov 17:41
· 5 commits to master since this release

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 $rootbone Inference: Automatically infers the correct $rootbone directive in the generated .qc file 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

  1. Extract the contents of Crowbar-VTMB_v0.74-vtmb.3.zip to a writable directory.
  2. Requires Windows and .NET Framework 4.8.
  3. Decompile original .mdl files together with their .vtx and optional .phy files into a clean output directory.