Closed Fennecai closed 2 years ago
Usually the error means that you have VPK files in the game configuration that end with _001 or some other number. These files are not really VPK files, they just store content for the "real' VPK files, which have the same name but end in _dir. So the solution would be to just remove any VPK files that end in numbers. For example, pak01_001 should be removed, pak01_dir is the "real" VPK file.
Sorry, misclicked, didn't mean to close yet.
I am well aware of how vpk files work. Thats not the problem though because i don't have any of the "part" vpks in the game config. i have only specified the actual vpk indexes (the _dir ones)...
though that said; i have specified a couple wildcard paths that happen to contain those "part" files within. that might be the problem...still worth fixing i think. the wildcard shouldn't be searching for files it cant even use
Yeah that's most likely the issue, there's no check for that currently.
Describe the bug a VMF I have doesn't import because VPK files mess up....or something, idk. My game configuration is correct but the addon fails to import because
file is not VPK (invalid magic)
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected my map to import like it usually has without issues, rather than Dumbledore getting frustrated and getting himself fired whilst casting the overly-complicated file-import spells required to do so; thus resulting in invalid magic which caused the entire complex to simply vanish. We tried to hire Dr. strange in his place but he was a little busy patching up the multiverse after Cave Johnson messed it up for the 80th time this week...
Related files I cant upload it to Github for fear somebody will discover it and use my work without permission (black mesa can eat my bankrupt-), but that said, it happens on any map import anyways.
Logs
Screenshot
Details (please complete the following information):
Additional context Please bear with my jokes. Despite the comical tone of this report; the error is real and i cant seem to figure out what the problem is.