Commit Graph Go to file
2024-02-06 23:19:55 +08:00
Blender_addons Initial commit 2024-02-06 23:19:55 +08:00
convert_material Initial commit 2024-02-06 23:19:55 +08:00
decompiled_mdl Initial commit 2024-02-06 23:19:55 +08:00
edit_hex Initial commit 2024-02-06 23:19:55 +08:00
unpack_vpk Initial commit 2024-02-06 23:19:55 +08:00
view_material Initial commit 2024-02-06 23:19:55 +08:00
view_model Initial commit 2024-02-06 23:19:55 +08:00
README.md Initial commit 2024-02-06 23:19:55 +08:00

L4D2 .vpk Tools

Unpack and convert

  1. unpack_vpk .vpk using GCFScape (Web Archive link)
  2. edit_hex .mdl using XVI32 (Optional)
  3. convert_material to .tga using VPKTool (Mod DB)
  4. decompiled_mdl to .smd/.vta/.vmx/.qc using Crowbar (Github Repo)

Other things

  • view_material .vmt/.vtf using VTFEdit (Web Archive link)
  • view_model .mdl using hlmvplusplus (Github Repo) (It's normal if it doesn't work)

    Need decompress the .exe and .dll files to the <L4D2_directory>\bin\ directory before running hlmvplusplus.

Next

Import model and texture to Blender

  1. Install Blender
  2. Download Blender Source Tools

    In Blender, go to Edit -> Preferences -> Add-ons page, click the Install button and select the Blender Source Tools .zip file, then check the checkbox to enable it.

  3. Use File -> Import -> Source Engine(.smd, .vat, .dmx, .qc) to do whatever you want.