Skip to content

Find out whether the name field in block header is actually a c-string #9

Description

@pushfoo

This is likely a low priority edgecase.

The wording of the wiki is ambiguous as to whether the last byte of the name field in a PRAY block header must be a null:

Null-terminated string containing the name of the block, such as a filename. The remaining space is padded with zeros.

Allowing the last byte to be non-null would be more in line with CL's repeated pattern of using known length or length prefixed strings. A custom PRAY files should be tested against the engine to check.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions