Commit graph

7 commits

Author SHA1 Message Date
6b7d4c66dd Improve error handling in the map and array custom parsers 2025-02-23 15:26:52 -05:00
f304304d19 Simplify string reading
A lot of them are just u32 length + byte string, and can be moved into
a common parsing function.
2025-02-23 15:25:50 -05:00
a4615b29ce Remove leftover binrw debugging 2025-02-23 15:04:13 -05:00
7766b3cd5d Further array fixes and a new test
I think I'm wrong about the ItemSlots struct, but let's see.
2025-02-23 15:02:08 -05:00
e92686e179 Clean up code, imports, and other misc tasks 2025-02-23 14:43:10 -05:00
9dd335f80e Implement proper map parsing, fix array parsing
Finally finished and figured out how maps are handled. It didn't encode
the number of items, it's based on how many bytes you read. I also fixed
arrays so they're also correct, and we'll see if sets break.
2025-02-23 14:38:35 -05:00
aa26d2934f Add initial files 2025-02-19 19:34:13 -05:00