Man why does documentation always try to make me feel stupid? I want to make a s...

@techokami@woof.tech

Man why does documentation always try to make me feel stupid? I want to make a structure definition for Okteta so I can analyze object lists from Sonic games. Each entry is 6 bytes long (big endian, because 68000) and is a mixture of words, bytes, and bit flags. The list is a variable array that takes up the entire binary file, with a known end marker entry, and is sorted in ascending X coordinate position. If you're curious about the format, info.sonicretro.org/SCHG:Sonic

Okteta's official documents have explanations on making XML-based structure definitions, however they state that these are NOT for anything that has a variable size, which these files do have. Instead, you're supposed to use Javascript (ew) and provide *ZERO* explanations on making Javascript-based structure definitions. The vast majority of the example definitions they provide are all XML-based, and the few Javascript-based ones are poorly documented and don't give me any insight as to the needed bitwise stuff for properly defining the structure.