Commit Graph

342 Commits

Author SHA1 Message Date
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
berichan
72b6944a82 Show associated item names in ItemEditor 2021-02-22 16:52:18 +00:00
Kurt
ae42737c02 Add a clearer exception message when no player folders present 2021-02-17 20:52:08 -08:00
Kurt
339bb4f7c8 Update PlayerHouseEditor.cs 2021-02-15 19:52:58 -08:00
Kurt
5b46d3ddaf Update FieldItemEditor.cs 2021-02-15 19:52:13 -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
berichan
c897c5880b Use firstordefault and check for default on villager replace. Closes #449 2021-02-09 13:56:41 +00:00
Kurt
35c26ff76f Differentiate harvested flowers vs gene storing flowers
Closes #447
2021-02-07 15:50:21 -08:00
berichan
b97082c95d Add manual string-only override of player name/island name in villager player memory editor. Closes #409 2021-02-07 15:34:09 +00:00
Kurt
838073576d Remap villager name to internal name if no match
Based on the editor's current language.

I put "raymond" (noquotes) in my clipboard, and click the button. It'll import raymond's data easily.

Play sound on replacement finish
2021-02-06 16:51:16 -08:00
Kurt
1403a5ed19 Add villager quickswap from GUI + clipboard
No juggling the house after finding the correct villager file; just put the villager internal name in your clipboard.
2021-02-06 15:12:04 -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
f427ca647e Update FieldItemEditor.cs 2021-01-23 23:52:24 -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
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
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
Kurt
1e0bd10bdb Minor clean 2020-11-22 19:40:37 -08:00
Kurt
8eea2a22d5 Change default injection offset
Users who have previously used the program will have to manually change the value in the injection form's textbox to `AD3C7FD8`.
2020-11-18 19:20:00 -08:00
Charlie U
2467354850
Implement ItemsFromNHI bulk import (#418)
* Implement ItemsFromNHI bulk import

* Add alert box when spawn clicked but no NHI selected

* Fix comment to clarify items are dropped not placed
2020-11-18 18:43:40 -08: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
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
f49d616e9b Update default offsets
Can't wait for previous users to not update their offset and complain about FailValidate
2020-09-29 19:18:33 -07:00
Charlie U
51db362913
Fix bug where sort by type would only sort by alpha (#398) 2020-09-23 09:15:23 -07:00
Kurt
70a7bd7775 Minor clean
no functional change
2020-09-06 12:25:18 -07:00
Kurt
a2ed2889a2 Bring injector window to original position if already open
Show doesn't do anything if it's already hidden; we want to bring it to the front of the screen and then reposition it CenterParent.
2020-09-05 20:18:36 -07:00
Kurt
0203eb4017 Minor clean 2020-09-05 20:15:17 -07:00
Charlie U
4f4483a810
Add Sort Items Option (#391)
* Add designer handling for Sort button

* Update tab indexes for buttons after Sort

* Add context menu and toolstrip menu objects for Sort menu

* Add context/toolstrip menu handlers

* Add default click handlers for sort options

* Initialize context/toolstrip menu objects

* Add missing logic

* Fix Sort button location

* Expand size of navigation panel for sort button:

* Remove ellipses from sort button caption

* Implement alphabetical sort

* Implement sort by item type (ItemKind)

* Add check for item count in SetEditorItems

* Remove sort by new (item data not present)

* Sort by alphabetical before sorting by type
2020-08-28 09:41:32 -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
Charlie U
ab3dd8b079
Add Bulk Move Out Functionality (#379)
* Add toolstrip menu item
* Add toolstrip separator
* Update MovingOut property of all Villagers
2020-08-18 13:41:24 -07:00
Kurt
6859d91159 Show & save wrapping value for flowers
Closes #324
2020-08-07 11:54:38 -07:00
Kurt
fec5c7e432 Add import item from clipboard 2020-08-03 14:45:28 -07:00
Kurt
47c739a295 Add item editor picture double-click to export u64 string
Allows for dumping the item value quickly to clipboard
might be useful in something soon ;)
2020-08-02 21:50:18 -07:00
Kurt
2c67c79c95 Update default pocket offsets
Having em all in one commit makes it easier to keep track of what needs to change in future updates
2020-07-29 19:24:21 -07:00
Kurt
833483027f Minor clean
memes
2020-07-29 18:35:59 -07:00
berichan
ea1d9c7b1b
Image fetcher & 5byte fields (#359)
* Added new image code, quanted existing images, fixed bcsv parser

* small clean and sane(r) filenames

* Made a string slightly nicer

* various revert to fix diff

* full revert of editor

* forced revert of editor

* fix sprite init

* ready for merge
2020-07-20 19:02:49 -05:00
berichan
c224466bd7
Interpolating picture box (#358) 2020-07-20 16:48:54 -05:00
berichan
7d778b36a0
Added default phrases (all languages) & de item list (#341)
* Update README.md

* Added USB functionality

* Updated readme

* Revert README.md changes

* Remove unnecessary lib dependencies

only directly referenced by injection project

* Minor clean

handle compiler/roslyn messages

* Update README.md

* added a null check and a usb-botbase-safe poke function

* Revert "Update README.md"

This reverts commit e106a62b0d.

* Created new de item list using https://github.com/berichan/NH_CreationEngine

* Added ability to revert catchphrase to original & updated de item text file.

Co-authored-by: Kurt <kaphotics@gmail.com>
2020-07-08 20:49:32 -05:00
Kurt
a4421aafa4 Save offset on text changed to settings 2020-07-04 15:43:03 -05:00
Kurt
62eabb10d6 Update localizations 2020-07-03 12:11:33 -05:00
Kurt
4d5e06e373 Add Dive item list & actions for editors
BCSV dump puts Communicator in the list; manually removed. Moved pearl to shells list as it's not able to be donated to museum
2020-07-03 12:05:24 -05:00
Kurt
b0511e0608 Update default pouch injector offset
Since it is a saved setting, people will have to change the offset manually if they have already used the program.
2020-07-02 21:43:07 -05:00
Charlie U
93c78a15bf
Fix bug causing only 3-letter .nhvh files to show in dialog (#315) 2020-06-22 15:50:59 -05:00
Kurt
a14ddcade6 Add raw weather seed reading (not shifted)
#309
2020-06-12 23:04:44 -07:00
Kurt
4db8435e7b Add Clear options to delete only certain types
Closes #304
2020-06-08 22:28:04 -07:00