Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

Do lump names have a limited character set?

Recommended Posts

printz said:

The wiki says that only certain characters are allowed in lump names. Really? They are arrays...

From a purely technical POV, no, there is no limitation other than that \0 can't be a part proper of a lump name, as it will serve to terminate the name regardless of whatever may follow.

The problem will come in when importing/exporting lumps, and with tools which don't anticipate control characters or extended ASCII appearing in lump names. As for the latter, it's a bad idea to use them anyway as for PSX, N64, and related ports' wads, characters in a lump name with bit 7 (when numbering 0 to 7) set mean the lump is compressed. Some wad tools might apply that rule a bit too liberally if they're console-port aware.

Share this post

Link to post

So basically anything that can be typed from the US keyboard, except small letters, is allowed.

Share this post

Link to post

You can type small letters too. The all-caps thing is a convention, nothing more.

For example, in SLADE's preferences, on the editing page, you can uncheck "force uppercase entry name in wad archives" if you really want to type lower-cased lump names.

Share this post

Link to post

The old interoperability rule applies here: be liberal with what you accept, and conservative with what you produce.

Do you really need anything except A-Z, 0-9, hyphen and underscore? I doubt it.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this