Crowbar icon indicating copy to clipboard operation
Crowbar copied to clipboard

Crowbar hangs on Reading VTX file ...

Open programmedsun opened this issue 4 months ago • 2 comments

Hai. Crowbar appears to hang when attempting to decompile the model located here: MDL Link.

  === General Info ===
  
  MDL file type ID: IDST
  MDL file version: 53   Model version override: 52
  MDL stored file name: "survivors/survivor_mechanic.mdl"
  MDL stored file size: 598,436 bytes
  MDL actual file size: 598,436 bytes
  MDL checksum: E68C9904
  
  === Model Files ===
  
  "survivor_mechanic.mdl"
  "survivor_mechanic.dx90.vtx"
  "survivor_mechanic.vvd"
  
  === Material and Texture Info ===
  
  Material Folders ($CDMaterials lines in QC file -- folders where VMT files should be, relative to game's "materials" folder): 
  "Starfelll\Sur_20250726\"
  
  Material File Names (file names in mesh SMD files and in QC $texturegroup command): 
  (Total used: 10)
  "alice_hair 02"
  "alice_hair_and_clothes"
  "alice_face3"
  "????????????????????????"
  "alice_eye"
  "alice_boots"
  "alice_hair_and_clothes_ura"
  "alice_clothes"
  "alice_clothes_ura"
  "alice_body"

Trying with the model version 53:

ERROR: Unable to read beyond the end of the stream.

Compilation logs:

  Decompiling "survivor_mechanic.mdl" ...
    Model version overridden to be 52.
    Reading MDL file header ...
    ... Reading MDL file header finished.
    Checking for required files ...
    ... All required files found.
    Reading data ...
      Reading MDL file ...
      ... Reading MDL file finished.
      Reading VTX file ...
  Decompiling "survivor_mechanic.mdl" ...
    Model version overridden to be 53.
    Reading MDL file header ...

Removing VTX and VVD will cause the model to compile, but the .QC gets cut off, and only the .QCI file seem to work correctly.

programmedsun avatar Jul 31 '25 20:07 programmedsun

it seems to be the tactic of editing the mdl version to prevent decompile, I would suggest overriding to version 49, or even 48.

IJARika avatar Aug 29 '25 00:08 IJARika

it seems to be the tactic of editing the mdl version to prevent decompile, I would suggest overriding to version 49, or even 48.

im not exactly sure wat caused me 2 think that both mdls r on version 52, will check back with those versions

programmedsun avatar Aug 30 '25 18:08 programmedsun