Commit Graph

63 Commits

Author SHA1 Message Date
Kurt
e8bad46575 Merge branch 'master' into tileshift 2026-01-24 15:22:09 -06:00
Josh (vector_cmdr)
2c8de97ca1
Add Campsite Editor (#707)
Add: Campsite Editor to Map tab.
Allows users to set whether there is or is not a villager visiting the campsite, allows selecting that visitor and to edit the visit timestamp (defaults to current timestamp override so visitor is there on same day load).
Back-tracked offsets from old Cylindircal Earth save schemas for old save revs.
If campsite is not unlocked on the save, the UI is locked out with a message.

Cleanup: Moved UpdateFruitsFlag to misc editor class over save class because that was bad form. Oops.
2026-01-21 23:36:12 +11:00
Kurt
02d6713455 Merge branch 'master' into tileshift 2026-01-19 23:13:02 -06:00
Josh (vector_cmdr)
c3371475d4
Fruit + Flower Improvement (#704)
Added fruits + flowers to Player Misc menu (kept field goods property manager in place still).

Saving fruits pushes change to flags block for fruits so that multiple edits aren't required when changing/saving it with new UpdateFruitFlags method.

Flowers added as enum class like Airport Color, but should be moved out to strings for localization later on.
2026-01-20 14:45:51 +11:00
Kurt
50ce05af6f stash
rewritten core side to include tons more metadata/structure
need to rewrite renderer to output full map image rather than skipping sea
2026-01-19 01:20:43 -06:00
Kurt
f26a6ac493 Misc tweaks
Still a WIP
2026-01-17 16:08:50 -06:00
Kurt
f6ac545cba Merge branch 'master' into tileshift 2026-01-17 15:18:03 -06:00
Kurt
ff4c77a06c Misc tweaks
No functional change
2026-01-17 15:17:39 -06:00
Kurt
f443add432 Merge branch 'master' into tileshift 2026-01-16 21:36:29 -06:00
Kurt
5152881568 Add support for opening .zip save files
ty claude u a real g
heavy legwork by claude, refinements/finish by me
2026-01-16 16:37:37 -06:00
Kurt
766e58ffec stash
working on it, untested.
decoupled 99% of the logic, need to ensure the rendering uses the correct item grid which now includes deepsea L+R sides for 3.0.0
2026-01-16 00:51:19 -06:00
Kurt
e3cca28a2c Update for 3.0.0 (no map editing)
Map field items/placement is revised, need a fair bit of time to figure out how best to handle it along with backwards version support.
2026-01-14 21:18:11 -06:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Josh (Lotte)
11e9fafaed
Pattern Edit Fix + New Icon + JP Strings (#634)
Added fix for two parts of pattern import problems:
1. PlayerID and TownID bytes need to be added to the pattern data from the personal.dat offsets to set them as owned and editable correctly. Added these code to get and force overwrite to fix.
2. Flags exist in main.dat for if the player has edited the pattern slot and if not, the name will not be updated correctly. Added offsets for these and added code to flag them as edited on import to fix.

Added a new icon that supports up to 256px and is "distinct".

Added translations to MessageStrings_jp.txt.
2023-10-27 05:27:10 -07:00
Kurt
2287521b44 Update dependencies
Bump net5 build to net6
2022-10-25 14:36:45 -07: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
d1932a6651 Expose all 100 patterns in editors/dumps (1.9.0)
Closes #471
2021-03-31 22:37:48 -07:00
Kurt
83169b8738 Bump language version to c#9 2020-12-24 23:53:40 -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
a14ddcade6 Add raw weather seed reading (not shifted)
#309
2020-06-12 23:04:44 -07:00
Kurt
3061442f77 Add localized color name display
Closes #223
2020-05-15 13:08:47 -07:00
Kurt
ffa0d3612b Add island visitor editor
Make daily NPCs show up reliably!
2020-05-14 09:12:38 -07:00
Kurt
b0870c865a Add design tile clear button for terrain editor
not visualized, but still exposed for mass clear

Closes #208
2020-05-13 12:43:04 -07:00
Kurt
d22ac35f73 Add Museum Editor
game stores all donation types in the same array (chunked into date[], item[], playerID[]); no dedicated indexes for a donation, so no empty slots, and all donation types are intermixed (based on donation date)
2020-05-12 22:55:26 -07:00
Kurt
f50071c0be Rework houses to expose more details 2020-05-11 22:20:21 -07:00
Kurt
9523376a9c Add tailor/flag design pattern editing
Closes #184
2020-05-09 12:28:43 -07:00
Kurt
56fd88cabb Use combobox for airport color w/color names
Closes #180 ty @MirayXS for the list of color IDs
2020-05-09 08:36:06 -07:00
Kurt
d5a53de265 Add airport color r/w
Closes #176
if anyone wants to document which value = which color, pls report back
2020-05-08 21:01:22 -07:00
Kurt
86da243405 Add birthday & fg
#164
2020-05-08 20:34:18 -07:00
Kurt
a9810c7d03 Merge Field Item back into Item
Different means of expression for the 8 byte item structure's FreeParam

Will be expanding the ItemEditor so that it has a checkmark to toggle Extension Item editing behavior.

Removes IHeldItem as there's no need to abstract it.
2020-05-08 12:20:24 -07:00
Kurt
6a98054149 Add hemisphere get/set
ty @rydoginator
2020-05-07 18:06:31 -07:00
Kurt
203a7c1627 Add more removal options
- remove flowers
- remove shells
- remove branches

Closes #163

rename plazaX/Y to match internal field name
2020-05-05 17:17:59 -07:00
Kurt
4a49caf6da Add layer2->layer1 check (isSupported), add logic for isActive
isActive: indicates if the tile is animated (eg: bonfire has fire or is extinguished)
isSupported: layer2 tile checks beneath it (layer1) to see if there's something to hold it up on that layer (sanity check)

Dunno how to handle the isActive set-on-save. I saw there was an isActive flag in my plaza, assumedly left there from a radio or something. NHSE does not change flag state at this time.
2020-05-03 16:29:28 -07:00
Kurt
4690cfe167 Refactoring: Field Item Editor + buildings/terrain
Extracts logic from the building & terrain & field item editors for reuse / separation of concerns

Have FieldItemEditor select between Items & Terrain so that you can change the popup menu mode (view set delete)

Not sure how I want to show the terrain names...
2020-05-02 20:05:09 -07:00
Kurt
8fefa220e5 Add simplistic bulletin board editor
Closes #144
Need to understand the Image format before a full-blown editor could be made.
2020-05-01 20:17:23 -07:00
Kurt
b203cd782a Fix bbs structlayout, Add getter for bulletin 2020-04-30 23:42:34 -07:00
Kurt
6abae6dd87 Rename properties to match disassembled internal names
Revise offset values to read from the struct's location within the parent object.
2020-04-30 23:13:41 -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
01ae4793c9 Add player house editor 2020-04-26 20:29:39 -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
de48c037f9 Add house editor
only some surface appearance properties; interior item layout nope
use enum values for house info interface

Closes #95
Closes #96

Changes the displayed villager indexes from 1-indexed to 0-indexed to match the game's references.
2020-04-22 21:55:24 -07:00
Kurt
3a68919325 Add Last Saved Time, display at top of window 2020-04-21 11:17:34 -07:00
Kurt
aa970f1eab Add main (land) event flag editing
Can turn easter on/off, ha
maybe when they patch in new events ahead of time, we can turn them on early?
2020-04-20 11:31:00 -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
4fa77c9242 Minor unused additions
add some villager stuff
add outside acre template id
add mainfield template id
2020-04-19 15:26:09 -07:00
Kurt
0e437bd5d1 Extract villager editing to separate control 2020-04-19 12:12:29 -07:00
Kurt
92e4c9b8f7 Visualization fixes 2020-04-07 13:40:49 -07:00
Kurt
25a162c187 Add more fielditem manipulation logic
32x32 because we have 2x2 metatiles -- items can be placed at half-coordinates relative to tile coordinates.
2020-04-07 11:25:27 -07:00