logoalt Hacker News

MortyWavesyesterday at 3:13 PM2 repliesview on HN

It's really bugging me that he somehow reads "The Team" but not the full string "The Team Break at Event Match - Native" whatever that means.


Replies

pimlottcyesterday at 3:23 PM

These are two separate strings. You can see in the hexdump that the character between them is not a space (0x20) but an unprintable control character (0x1D). The article refers to these as "Pascal strings". Unlike C-style strings, they are not null-terminated, but instead are length-prefixed [0]; the first byte of the string stores the length of the string.

So you can see that "The Team" is indeed a single string, starting with the length of 8 (encoded as 0x08), followed by the string "Break at Event Match - Native" with length of 29 (encoded as 0x1D)

0: https://stackoverflow.com/questions/25068903/what-are-pascal...

butlikeyesterday at 3:27 PM

'The Team' is the file that's exposed on the ROM disk when you successfully execute the easter egg.