Closed starfrost013 closed 7 months ago
how r u gettint wads with textures above 31char
i'm not using wads???? it's quake 2 based and I made engine modifications (.TGA textures only mostly) but the texture file name size limit is stlill arbitrary???
agh i keep forgetting tho i think u can still use wads with q2
sorry about that
It's limited to 31 chars in the Q2 .bsp format, it would require a new format to raise the limit.
There is a warning for this "WARNING: texture name '{}' exceeds maximum length {} and will be truncated\n"
but maybe it's not printing, I'll double check.
Yeah unfortunately this isn't fixable without a secondary BSPX lump or something, and even then you'd still need modified engine support.
If you make an alternate BSP38-based format with longer filenames we can potentially add support for it.
The warning is working in alpha4, it prints near the end of the qbsp
output in the EmitFaces
section:
This is running on the q2_long_texture_name.map
testmap like this:
qbsp.exe -q2bsp -basedir .\q2_wal_metadata\ .\q2_long_texture_name.map
I am working on a quake 2 engine based game and this is not even indicated in a warning message, it would be nice to overload it with a command-line option or something.