Commit graph

12 commits

Author SHA1 Message Date
3b26da6b57 Reorganize the entire project 2025-03-02 17:03:20 -05:00
d622799cfa Various set and map fixes, add structured object support 2025-03-02 16:28:17 -05:00
fe745be3e3 Run clippy autofix and fmt 2025-03-02 14:13:41 -05:00
6b436b7af2 Rename PrimaryAssetNameProperty to GenericProperty 2025-03-02 14:12:26 -05:00
4801c2678a Add new PropertyBase trait, implement more things needed for writing
The biggest change is that structs and properties now provide their own name,
which is needed when we want to write everything back to a file. Also a bunch of
reorganization of stuff I didn't understand before.
2025-03-02 14:07:39 -05:00
8f55d00e24 Complete Persistent.sav parsing, fix up a ton of things
This is unfortunately one giant commit, but this now (partially) parses
Persistent.sav. There is still some structs and data left to parse, and
we're suspiciously missing 3KiB of data at the end. But... progress!
2025-02-24 00:30:16 -05:00
4eb1e7dd04 Remove old magic-based property enum
This is now replaced by the pre_assert and string-based version, which
is superior.
2025-02-23 16:03:08 -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
aa26d2934f Add initial files 2025-02-19 19:34:13 -05:00