Initial commit

This commit is contained in:
Hubert Chen 2024-02-06 23:19:55 +08:00
commit 78b3b3ca81
Signed by: trle5
GPG Key ID: 74D8BCE883FDDEE2
8 changed files with 23 additions and 0 deletions

Binary file not shown.

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# L4D2 `.vpk` Tools
## Unpack and convert
1. unpack_vpk `.vpk` using [**GCFScape**](https://web.archive.org/web/20191202141817/http://nemesis.thewavelength.net/index.php?p=26) (Web Archive link)
2. edit_hex `.mdl` using [**XVI32**](http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm) (Optional)
3. convert_material to `.tga` using [**VPKTool**](https://www.moddb.com/games/vampire-the-masquerade-bloodlines/downloads/tool-quick-and-dirty-bloodlines-tools-v39a ) (Mod DB)
4. decompiled_mdl to `.smd/.vta/.vmx/.qc` using [**Crowbar**](https://github.com/ZeqMacaw/Crowbar) (Github Repo)
### Other things
- view_material `.vmt/.vtf` using [**VTFEdit**](https://web.archive.org/web/20191202151455/http://nemesis.thewavelength.net/index.php?c=238) (Web Archive link)
- view_model `.mdl` using [**hlmvplusplus**](https://github.com/ImguRandom/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](https://www.blender.org/download/)
2. Download [Blender Source Tools](http://steamreview.org/BlenderSourceTools/)
> 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.

Binary file not shown.

Binary file not shown.

BIN
edit_hex/xvi32.zip Normal file

Binary file not shown.

BIN
unpack_vpk/gcfscape186.zip Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.