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
a6b20a2609 Update offsets for 1.4
thanks @Treeki (https://twitter.com/_Ninji) !
2020-07-29 19:50:22 -07:00
Kurt
da06fd4c46 Interim parse update and load/save
Offsets are placeholder for now until cylindricalearth is updated with the new offset parse
2020-07-29 19:21:20 -07:00