Dylancyclone / VMF2OBJ

Convert source-engine VMF files into OBJ files with materials (including brushes, displacements, entities, and models)
MIT License
113 stars 6 forks source link

VPK Support of third-party games #35

Open Oninnaise opened 2 years ago

Oninnaise commented 2 years ago

Currently there doesn't seem to be any support for using VPKs that belong to third party source games, like Dark Messiah and Vampire: The Masquerade. Using those VPK's gives an SEVERE: Error while loading vpk file: Invalid signature error.

Any chance that support for these would be added in down the line?

Dylancyclone commented 2 years ago

Hi! I actually don't own either of those games, so it's difficult for me to debug them. Would you be able to send me one of the _dir.vpk files from one of the games (I don't think I'll need any of the other files that contain the data, just the directory.

Also, as a sanity check, you are opening the _dir.vpk file and not one of the numbered files, right? It might throw that error in that case

Oninnaise commented 2 years ago

I was a bit confused what you meant with the _dir.vpk, so I reinstalled Half Life 2 quickly and... that explains it. Dark Messiah has the _dir.vpk files like you mentioned. However, V:TM only has numbered packxxx.vpk files, and no _dir.vpk

I'm not sure how much effort it'd be to get it working considering it uses a different format. But since you don't own the game, I can send you a copy through steam if you'd be open to check it out?