Commit Graph

232 Commits

Author SHA1 Message Date
Kurt
02fba973d8 Update item/flag/remake parameters 2021-04-27 23:26:48 -07:00
berichan
7fe8bcb53e bulk-remove bushes, closes #311 2021-04-12 19:29:17 +01:00
Kurt
18ed4c3396 Add Festive wrapping handling
Closes #474

New Horizons loves to reuse and reinterpret data based on values, hence the GUI toggling done for Uses/Variations/Genes... we have to do something similar here. Feels best to be done behind the scenes via code instead.
2021-04-05 17:32:35 -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
0798aa5a97 Add batch editor
Similar to PKHeX's batch editor, probably with some stubbed functionality.

Example to change Oak Trees to apple trees:
=ItemId=60000
.ItemId=60001
;
=ExtensionItemId=60000
.ExtensionItemId=60001

Example to unbury all items:
=IsBuried=True
.IsBuried=False
.IsDropped=True
2021-03-21 11:51:57 -07:00
Kurt
fab60f95d9 Update offsets for 1.9.0
Small revisions, notably 50->100 patterns saved.
2021-03-17 19:06:07 -07:00
Kurt
5d5e8bcf67 Update item classifications, flags 2021-03-17 18:43:06 -07:00
berichan
9486fdc05d update menuicon enum/map 2021-02-25 17:32:18 +00:00
Kurt
9eda5f2c10
Initial v1.8.0 Support (#452)
No savefile changes apparently, just adding in new items & handling for them.
Probably didn't need to duplicate the Main/Personal offset classes, but whatever.
2021-02-24 18:44:11 -08:00
Kurt
3dd6b56647 Update IsFlowerGene usage
probably should re-dump itemkind to be more aware of gene/nonGene flower item types, whatever
2021-02-13 09:44:37 -08:00
Kurt
c522bc9022 Update ItemInfo.cs
for whatever reason, our ItemInfo binary assumes most flowers are uniticon* rather than just Flower; just remap.
2021-02-07 15:57:45 -08:00
Kurt
35c26ff76f Differentiate harvested flowers vs gene storing flowers
Closes #447
2021-02-07 15:50:21 -08:00
berichan
670d568482 Update hard limit of Villager greetings. Closes #375 2021-02-07 15:32:56 +00:00
Kurt
9638ea6f45 Add logic for retrieving and mutating villager+house pairs 2021-02-06 15:10:41 -08:00
Kurt
d47158587c Add tile replacement to Field Item Editor
hold ctrl+alt(+shift for full map) to replace all items on the map that you tap, with the item from the editor.

don't mix & match field items (trees) with regular items, cuz we can't verify size matching for those. Field Items return "unknown size".
2021-02-05 09:15:52 -08:00
Kurt
5d84d92240 Add IEquatable interface for items 2021-02-05 09:15:25 -08:00
berichan
31ad5034d9 Update menuicon 2021-01-28 19:36:31 +00:00
Kurt
f316ffce9e Minor tweaks
no functional change
2021-01-28 07:07:41 -08:00
Kurt
ef6e0f0987 Update Reaction list with new Festivale Reactions
https://pastebin.com/VJdWt8X7
ty ARCH9SK7 ^
2021-01-27 20:11:36 -08:00
Kurt
6c40e1c769
Initial v1.7.0 Support (#445)
* Pre-patch preparations

* Update magic values

* Check formatting characters directly rather than string compare

"Brown".StartsWith("\u000e")
>true
what

let's be paranoid here, because .NET Core behaves differently from .NET framework.

* Update FileHashRevision.cs

Postbox with the massive decrease in size; likely the same mutation caused the other massive decreases.

* Dump item names

* Update flag definitions

* Update item info

* Add feathers to bug list

Might remove later.

* Update RecipeList.cs

* Update ItemRemakeUtil.cs

* Update stack details

* Update offsets

* Update MainSaveOffsets17.cs

* Update GameLists.cs
2021-01-27 20:04:51 -08:00
Kurt
2670a6c751 Add placed design dump/load
https://github.com/kwsch/NHSE/issues/443#issuecomment-765915667
2021-01-23 10:58:58 -08: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
c5fe5b2e76 Add raw value get/set 2021-01-19 06:27:08 -08:00
Kurt
1f46556664 Add item[]->field item column/offset for injection 2021-01-17 18:36:29 -08:00
Kurt
d7b46726a0 Absorb extension logic from SysBot.AnimalCrossing project
Extract out pis=>nhi, and nhi=>pis (player item set)
2021-01-17 09:29:46 -08:00
Kurt
83169b8738 Bump language version to c#9 2020-12-24 23:53:40 -08:00
Kurt
c027a2cb44 Bump netcore usages to net5
nhse.core still is netstandard2.0
only tests/sprites/winforms got bumped
2020-12-02 21:35:24 -08:00
Kurt
6fbff26184 Simplify expression
#433
2020-12-02 12:52:12 -08:00
berichan
70fe4834da
Add villager crafting editing functionality (#433)
* Add villager crafting editing functionality

* Add legacy villager1 support
2020-12-02 12:42:32 -08:00
Kurt
eb554a623b Fix reaction wheel UI display
revised structure, need to abstract things a little for it
Closes #427
see also #428
2020-11-22 19:57:29 -08:00
berichan
821b9bf5e5
add 1.6.0 reactions (#428) 2020-11-22 19:24:38 -08:00
berichan
3e689c95bf
Update de item list, menuicon, specs (#425) 2020-11-20 08:18:54 -08:00
Kurt
94e8860085 Remove manually added duplicate entry
Closes #419
Keeps ordering of key column

Co-Authored-By: Charlie U <52503242+cpurules@users.noreply.github.com>
2020-11-18 19:10:51 -08:00
Kurt
04126e277f Update game data dumps 2020-11-18 18:43:21 -08:00
berichan
293e4c69dd
Update menu icon, de item list (#406)
* Update menu icon, de item list

* Remove unused resource
2020-09-30 15:33:08 -07:00
Kurt
8c548884d5 Add some xmldoc to new api 2020-09-30 14:54:08 -07:00
Charlie U
f4bbb7a7bb
Resolve Villager Import Bug (#403)
* Add missing not operator

* Fix backwards conversions
2020-09-30 08:12:48 -07:00
Kurt
0f79457d4c Add customization info for new items
forgot this :)
2020-09-29 23:00:53 -07:00
Kurt
8be77c691e Add villager converter
dumped a villager and the values were empty for 1->2; converting back down should be fine.
2020-09-29 22:57:31 -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
Charlie U
6b2b46ec1d
Add feature to populate max item stack (#396)
* Add event handler for count label click
2020-09-29 19:55:06 -07:00
Kurt
5c02b04aaf Continued interim updates 2020-09-29 18:59:23 -07:00
Kurt
a40c6c0251 Add DIY recipe item names
now that we have text updated :)
2020-09-29 18:51:16 -07:00
Kurt
b319defe75 Initial changes
not working yet, need save disassembly for correct offsets and need to update strings
2020-09-29 18:49:18 -07:00
berichan
cba0abda72
ItemRemakeInfo: Ensure body values are compiled correctly. (#384)
* ItemRemakeInfo: Ensure body values are compiled correctly. Add x86 option for debugging only

* remove useless line
2020-08-22 16:27:08 -07:00
Kurt
ae3742ad1f Avoid infinite loop if an invalid extension tile is set 2020-08-05 14:47:49 -07:00
berichan
9872d8278d
Updated specs, de list and menuicon (#368) 2020-07-30 18:11:33 -07:00
Kurt
4191cd1ea5 Continued updates
Forgot the computed binaries and the new DIY recipe item name (strings needed to be updated in NHSE.Core.dll first)
2020-07-29 19:27:55 -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