What exactly is the maximum map name length?

Cream Tea

L1: Registered
Apr 26, 2016
39
11
After all these years there doesn't seem to be a solid answer anywhere and it would be nice to finally have one. I've heard of 32 characters being the maximum and I've heard of 28 being the maximum because the ".bsp" part is counted. Yet I've seen maps with far larger names that seemingly work without problems on certain servers. So what is the true answer?
 

Hey man nice trickstab

L1: Registered
Dec 31, 2024
1
1
Today current characters limit is a 63 (without ".bsp" header)
Interesting fact:
If map name is more than 59 characters, map command on console can`t display and just "cut" it (even if use autocomplete via Tab button) and need write it manually
If try compile map which hit limit and have more than 63 characters, game cant load and map command after write and press spacebar, kill game without error
 

Attachments

  • image_2025-01-01_151819283.png
    image_2025-01-01_151819283.png
    1.5 MB · Views: 13
  • image_2025-01-01_151841411.png
    image_2025-01-01_151841411.png
    3.6 KB · Views: 15