You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I apparently did find this when writing this code, but only saw a single null byte. So it'll accept an extra byte, but only if zero. Perhaps it's getting set to garbage data? Not sure about the 2-byte files.
This is very strange, some lumps have random extra null bytes, and even a few seem to have extra data when uncompressed. Removing the checks makes it seem to parse correctly, so I may just do that. I do want to know what TF2 is actually doing so I can parse fully correctly...
Map link: https://tf2maps.net/downloads/pier.854/. This seems to affect newer maps, https://tf2maps.net/downloads/backlot.2/ and some other maps I tested that haven't been updated in a long time are not affected. Some of the affected maps differ by 1 byte, some by 2 bytes.
The text was updated successfully, but these errors were encountered: