Closed xen-000 closed 4 years ago
I wasn't able to recreate this, have you tried using the latest pre release?
That was on the latest prerelease.
I think this is where it happens, specifically at line 334. https://github.com/ruarai/CompilePal/blob/1ba16a16d37d0d09361f2207a7d8f6363eeed74f/CompilePalX/Compilers/BSPPack/AssetUtils.cs#L329-L338
Can you send me a material where this happens?
On Feb 11, 2020, at 7:06 PM, xen notifications@github.com wrote:
That was on the latest prerelease.
I think this is where it happens, specifically at line 334. https://github.com/ruarai/CompilePal/blob/1ba16a16d37d0d09361f2207a7d8f6363eeed74f/CompilePalX/Compilers/BSPPack/AssetUtils.cs#L329-L338
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Anything in this pack https://gamebanana.com/textures/2568
This is now fixed: https://github.com/ruarai/CompilePal/releases/tag/v027.7
If the path to a VTF contains "materials/", it will trim out that part when parsing VMT paths, so it becomes an invalid path. For example, this VTF won't be packed:
Before parsing (not the actual path string, this is just an illustration): "materials/TopHATTwaffle-materials/brick.vtf"
After parsing: "materials/TopHATTwaffle-.vtf"