Commit Graph

94 Commits

Author SHA1 Message Date
Josh (vector_cmdr)
17d64fe680
Fix: Sticky ItemEditor remake label
Add fix for Issue #541 (sticky label): disable fabric label when loading new item without fabric.
2026-02-13 00:13:01 +11:00
Josh (vector_cmdr)
7071832476
Fix: LoadDecrypted Villager[n] (#747)
ReloadAll() wasn't loading the villager that was currently selected on load (or 0 if not in panel) leading to incorrect villager import.

Fix: Add public Reload() method to VillagerEditor to call LoadVillagers() and call it after Villagers and Origin are loaded. Reset Villager index NUD to 0 in LoadVillagers() so the slot is moved to 0 and then load occurs (so UI is refreshed and villager is loaded).
2026-02-11 23:50:25 +11:00
Josh (vector_cmdr)
41841e5bfb
Feat: Post Box Editing (#744)
Feature:
Adds support for postbox.dat via Post Box Editor and accompanying components:
- Add Mail class.
- Add PostBox class and corresponding offset classes.
- Add wrap suppression option to ItemEditor.
- Add wrapping and box dictionary to ItemWrapping class.
- Add new language strings associated with forms and types.

Fix:
Resolved overwrite for bad dumps on all imports by adding UsageCompatibilityOffset and UsageCompatibility() added to Design classes. Transparent pixel check method added to PatternEditor and LoadPattern() altered to write the correct compatibility bytes based on type and transparency.
2026-02-10 01:32:16 +11:00
Kurt
2ca9fd6e22 CenterParent, Dpi base scaling 2026-01-28 19:51:49 -06:00
Kurt
d4df2c6c59 Fix villager replace dereference & clipboard error
Closes #722
2026-01-27 20:15:16 -06: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
Josh (vector_cmdr)
22b3a50d34
Storage Sort Fix (#708)
Reset page to 0 before sorting.
We can review sort all vs sort slot at a later date if desired, for now this solves the crash.
2026-01-22 00:07:12 +11:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Lotte
c1e2c3048c Villager PRO Design owner overwrite
Shifted HorizonSave into VillagerEditor in place of MainSave and adjusted accordingly to give VillagerEditor better access to save file offsets etc.

Added overwrite for Villager PRO patterns to set imported ones to be made/owned by the player for consistency. (town and player ID bytes)
2023-11-08 15:27:42 +11:00
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -07:00
berichan
72b6944a82 Show associated item names in ItemEditor 2021-02-22 16:52:18 +00: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
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
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
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
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
Charlie U
51db362913
Fix bug where sort by type would only sort by alpha (#398) 2020-09-23 09:15:23 -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
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
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
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
4db8435e7b Add Clear options to delete only certain types
Closes #304
2020-06-08 22:28:04 -07:00
Kurt
918c97eeaa de-generic the item grid editor
no need to have it generic; it only handles Item[]
(ignoring VillagerItem[], which should be a separate editor or something)
2020-06-08 22:06:32 -07:00
Kurt
3339f45a94 Add tooltip to show items that contain entered string
if someone wants regex / wildcard support, feel free to issue a pull request; contains should be fine for 99.99% of search requirements
Closes #288
2020-06-07 10:30:46 -07:00
Kurt
ed53d331d9 Relabel W1/W2 as w1/w2 (recessive)
Closes #296
2020-06-05 20:09:10 -07:00
Kurt
e8018182d8 Add edit villager wearable, expand furniture count to 32
Closes #266
Closes #268

Not sure about Tops/Accessory/Cap, as there are TopsData and UsuallyTops being separate.
2020-05-28 12:57:21 -07:00
Kurt
72312641a9 Add villager nick/greet
Closes #254
update translatables
2020-05-25 09:21:15 -07:00
Kurt
084542d367 xmldoc
tried to split off some grid stuff because rooms don't need to know about acres; whatever
2020-05-23 13:08:14 -07:00
Kurt
180e337f05 Display bit-achievements as active 2020-05-22 00:05:39 -07:00
Kurt
406b64333a Enhance achievement / milestone editor
Closes #238

Extract milestone thresholds / milestone count
Abstract out achievement data to workable structure

add giveall/clearall for individual / all, cuz ppl are lazy
2020-05-21 22:54:05 -07:00
Kurt
641f82f1f5 Hide extra wrap flag
this bit isn't used by the game
2020-05-19 10:15:23 -07:00
Kurt
832a6717f8 Add extra wrapping flags
0x40 shows the item ID instead of present
dunno what 0x80 does, if anything.
2020-05-19 09:13:44 -07:00
Kurt
f05f59736b Abstract Flag1 for wrapping in GUI
MessageBottle uses Flag1 for different purposes
2020-05-18 11:29:38 -07:00
Kurt
250fe581f4 Autosize PictureBoxes, widen flag panels
Closes #209
2020-05-18 08:12:40 -07:00
Kurt
3061442f77 Add localized color name display
Closes #223
2020-05-15 13:08:47 -07:00
Kurt
a8f111a8f1 Add villager memory (per player) editor
Change friendship here.

Can also cheat all friendships (of all villagers, for all saved players) to 255 by shift clicking the drop-down button instead.
2020-05-14 16:10:33 -07:00