Commit Graph

26 Commits

Author SHA1 Message Date
Josh (vector_cmdr)
4426404f2d
Fix Load All Patterns Ownership (#756)
Added Personal for IVillagerOrigin in place of current pattern index for Load All.

Moved ContainsTransparentPixels to ImageUtil.
2026-02-20 22:55:55 +11:00
Kurt
b88c518d5c
Update FieldItemEditor for 3.0.0 (#716)
Updates the Field Item Editor to render layers based on the entire map, and the per-patch positioning of each layer.
Import/export will gracefully handle upgrade/downgrade, and viewport import/export will gracefully update tiles rather than a per-acre basis.

Performance has also been slightly improved; no allocation is done anymore when updating the image.
2026-01-25 16:55:38 -06:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
crunchprank
9d327e0a25
Update GameFileDumper.cs (#575)
Changed the Pro Design Editor to dump files as `nhpd` seeing as that is the extension it looks for upon import.
2021-12-14 13:23:28 -08:00
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
6fb4569ce3 Design Patterns: Load orders by filename, export prompts for filename format
Closes #512
2021-10-16 16:38:33 -07:00
Emil B
083eae90f2
Change pattern system (#504)
To make dumping/loading designs match other dumping/loading buttons (terrain, acre and so on)
+ clicking on "Dump/Load Design" will draw a context menu with 4 options (2 if it's only one design pattern e.g. town flag).
+ when loading designs, I made the Listbox with the design names repopulate (update names) and select the user-selected design instead of going to index = 0;
+ when loading all designs I open a prompt to update "values" or not, instead of by default updating them.
+ fixed file name of dumped singular pro designs to .nhpd instead of .nhd lol
2021-09-06 10:31:11 -07:00
Kurt
d1932a6651 Expose all 100 patterns in editors/dumps (1.9.0)
Closes #471
2021-03-31 22:37:48 -07:00
Kurt
b7b16bdc5e Dump patterns with index
#443
People can zip up indexed or non-indexed for sharing.
2021-01-23 10:32:04 -08:00
Kurt
1c4df60920 Add pattern bulk import
#443
Pattern names don't update on the left side (even for single-imports), don't bother for now. Just save & reopen the editor.
2021-01-22 23:14:14 -08: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
f50071c0be Rework houses to expose more details 2020-05-11 22:20:21 -07:00
Kurt
2b9d8b0c7a De-clutter: Group some buttons into dropdown buttons
Move player house dump to subform

Not sure how to associate player -> playerhouse; for now, we'll just assume they're ordered the same way.
2020-04-26 20:45:41 -07:00
Kurt
4efbb00b4e Add pro design r/w 2020-04-23 17:09:52 -07:00
Kurt
776bc030fe Move design pattern to subform 2020-04-23 16:30:39 -07:00
Kurt
b6878e4ad4 Add offsets for v1.2
up next: bcsv/msbt
2020-04-22 20:09:29 -07:00
Kurt
d21b99978a Add player & villager house dump/load
share your house, but not your toothbrush!
2020-04-19 16:23:59 -07:00
Kurt
0e437bd5d1 Extract villager editing to separate control 2020-04-19 12:12:29 -07:00
Kurt
4943bb07ad Add GUI for design pattern dump/load
same behavior as villager options; hold shift to dump all patterns instead of just the current

hover over the image to see transparent pixels (lime green appearance)
2020-03-30 14:01:53 -07:00
Kurt
772da26a04 Add design pattern read/write
Looks like they might be indexing into the palette differently...
2020-03-30 13:59:41 -07:00
Kurt
b85b69308b Add villager import button 2020-03-29 13:28:26 -07:00
Kurt
7005e31d2a Add decrypted load all (from folder)
If hex editing is your jam, then dump -> manually edit -> import

pls don't mismatch lengths (different patches), it'll silently fail
2020-03-29 13:17:39 -07:00
Kurt
b493b44914 Add dump/load for inventory, add dump for villager 2020-03-28 18:25:24 -07:00
Kurt
88b6776393 Add some xmldoc 2020-03-27 21:01:24 -07:00
Kurt
fb13723b01 Initial commit 2020-03-27 17:54:17 -07:00