Commit Graph

5 Commits

Author SHA1 Message Date
hp3721
8aed43a67f
Add handling for revised player house and room structure (v2.0) (#547)
* Add handling for revised player house and room structure (v2.0)

* Update player room load/dump file type filters
2021-11-19 19:53:04 -08:00
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -07:00
Kurt
8ca3877bfa Differentiate villager types
v1.5 increased the size of GSaveLightMemory by 0xC each; with 160 entries, everything stored after this field (at 0x2F84) increased its offset by 0x780.

  GSaveItemName                     ClothesPTops;                           // @0x14c size 0x8, align 4
  s16                               _58b5e808;                              // @0x154 size 0x2, align 2
  s8                                ClothesPTarget;                         // @0x156 size 0x1, align 1

Should be possible to convert the first revision of villager data to the current format and vice versa. Someone would need to document how they pre-fill these new fields (listed above).
2020-09-29 22:20:53 -07:00
Kurt
f1ed54d4e4 Update offset mappings
Personal works fine since all new fields are added at the end-ish

Still need hashes before things can be re-saved
2020-07-02 21:37:54 -05:00
Kurt
3775b54242 Add placeholder main/personal offset mappings
copied from 1.2's values
saves now load; don't save because hashes & offset repointing not done yet
2020-07-02 21:07:32 -05:00