ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
225 stars 26 forks source link

VMT file with no line breaks is not recognized when packing custom content #237

Closed MamiKeRiko closed 2 weeks ago

MamiKeRiko commented 5 months ago

On version 28X (Team Fortress 2)

Attempting to pack a material into your map whose VMT is written in one line or is missing like breaks, which is valid and works in-game, said material will not be packed correctly into the map, leading to a missing texture.

Steps

Expected behavior The material or model should be properly packed into the map, since the VMT is fully functional despite its unorthodox structure and thus displays correctly when the asset is contained in your tf/custom folder and sv_pure isn't 2.

Debug.log debug.log

Exactol commented 2 weeks ago

Can you try this build? https://www.dropbox.com/scl/fi/gmfex44y1l8breffnxnoj/Compile-Pal-028.4.zip?rlkey=9234dk83qbrhe0i4fopgsz5go&st=wmtd87om&dl=0