Commit Graph

406 Commits

Author SHA1 Message Date
Kurt
4823a45104 Push current
Still some issues rendering the inflated viewport
2026-01-24 22:55:29 -06:00
Kurt
e8bad46575 Merge branch 'master' into tileshift 2026-01-24 15:22:09 -06:00
Josh (vector_cmdr)
9bcaee6fc9
Relocate Fruits/Flowers + cleanup strings (#711)
Relocated island/sister fruit/flower functionality to new FruitsFlowersEditor out of MiscPlayer to better follow existing layout.
Added new button for this editor to Map tab for the new form. MiscPlayer fruit now sets passport only, FruitsFlowersEditor sets both. Other functionality remains as before.
Retired FieldGoods from the Map button in favour of above.

Adjusted UI anchors and open positions for new forms + cleaned up recent lang_xx string additions.
2026-01-24 01:30:00 +11:00
Josh (vector_cmdr)
c412da8217
Add theme menu + new strings (#710)
Add theme menu to Editor and accompanying logic + strings.

Updated Misc fruit/flower and CampsiteEditor to use translatable strings.
Added new strings to lang and msg files.
2026-01-23 13:33:00 +11: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
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
Kurt
0ce31ca895 Stash
Code now compiles, but will need to test and bugfix extensively.
Need to pre-fill the pixel buffers with sea first unless the acre fill actually works (maybe?)
Items need to be relative'd to apply 1 row lower, and skip the bottom row.
Need to check that terrain is the same as well.

Note to self:
For Map - probably better to get a starting x,y,width and iterate off that, fetching tile from relative, converting to absolute... idk.
For View - need to check if tile is in layer.
2026-01-19 23:12:59 -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
9a54d0fb9a Merge branch 'master' into tileshift 2026-01-18 14:29:56 -06:00
DESKTOP-SN9KF5O\Strawberry
e67cfc8ead Minor clean to imagefetcher 2026-01-18 15:30:55 +00:00
Kurt
7ea5c03aa3 Misc tweaks, sealed classes 2026-01-17 22:12:37 -06:00
Kurt
666912a93b Merge branch 'master' into tileshift 2026-01-17 16:15:33 -06:00
Kurt
db54e5ae1c Fix identity swap when using span slices
Closes #684

Defensively allocate a copy so that the replacement does not overwrite the original sequence A=>B then continue doing B=>B swaps.
Wasn't a problem before since properties fetched byte[] (allocated separate slice); changing to span introduced this regression -- now fixed.
2026-01-17 16:14:09 -06:00
Kurt
f26a6ac493 Misc tweaks
Still a WIP
2026-01-17 16:08:50 -06:00
Kurt
f60a7e60e8 Add logic to upgrade/downgrade item layers
Allows seamless imports of old maps on new saves, and vice versa.
2026-01-16 22:16:36 -06:00
Kurt
f443add432 Merge branch 'master' into tileshift 2026-01-16 21:36:29 -06:00
DESKTOP-SN9KF5O\Strawberry
3d9d10bb97 Clean up imagefetcher for net10/cross thread safety 2026-01-17 02:34:59 +00: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
fd4f83ba40 Condense expression for EncryptedInt32
Bitwise operations were done manually; use intrinsics for clearer intent.
2026-01-16 15:43:41 -06:00
Kurt
2db5456251 Handle uninitialized 3.0.0 updated saves
get the game to update the save file, but without re-saving in-game, will be uninitialized (bad Hotel Tickets parsing).
2026-01-16 15:42:48 -06:00
Kurt
15c6e7169f Revise Hotel Tickets get/set to indirect access
Allows for expansion in properties available for editing via updating Personal30's get/set list
Seems like a better compromise to only update 1 class for new additions, rather than backporting a stubbed invalid offset.

Behaves similar to WhereAreN being a nullable (optional) property.

In an ideal world, we'd have interfaces and concrete implementations for every structure revision, but that's far too much work to cleanly implement compared to the picky offset slicing.
2026-01-16 11:06:00 -06:00
Josh (vector_cmdr)
bbc5c6eefc
Add Initial Hotel Ticket Support (#693)
Adds initial support for Hotel Tickets to get it up and running - needs cleanup.
2026-01-17 03:01:24 +11: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
Josh (vector_cmdr)
8393f3b4bb Initial add of 3.0.0 Amiibo Villagers
Initial add of 3.0.0 Amiibo Villagers
2026-01-16 00:51:56 +11:00
Kurt
ac79cb06f9 Check hash integrity on sav open
Clean up the Murmur3 implementation to be more C#-like
2026-01-14 15:32:43 -06:00
Kurt
f085748530 Add player inventory RAM offset for 3.0.0
B27BB758
ty Ruimusume
https://gbatemp.net/threads/animal-crossing-new-horizons-cheat-database.563423/post-10801816
2026-01-14 14:54:58 -06:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
TKB
e5ab05cc21
Update lang_ko.txt 2025-08-19 16:05:37 +09:00
Alca259
a20bd1c419
Support for 16x16px per tile and river editor (#668)
* Upgrade to .NET 8 + Nugets

* Add support for tile 16x16px instead 1px

* Rivers except 2B

* River2B
2025-07-28 00:02:34 -05:00
Josh (Lotte)
866a3b9d0d
Merge branch 'kwsch:master' into master 2023-12-18 14:54:30 +11:00
Jake Edwards
ad372b7955
Added simple copy to clipboard to help dump nice flags (#638) 2023-11-09 06:45:22 -08: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
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
MyShiLingStar
8bf246aac9
Fix HHP acres display in FieldItemEditor. (#607)
Co-authored-by: MyShiLingStar <MyShiLingStar@STARLIGHT>
2022-07-20 21:42:18 -07:00
hp3721
994349eeaf
Add option to give all variant bodies/item remakes (#601) 2022-04-24 16:32:00 -07:00
William Stevens
1849f15334
Added a function for giving the player all furniture (#583) 2022-02-15 18:52:22 -08:00
Kurt
586344c626 Fix poki value set
Make it same as other EncryptedInt32 set operations above
2021-12-20 10:30:30 -08:00
CJ Bok
3045ee3c43
implemented wherearen.dat and Player.WhereAreN.Poki (#564)
* implemented wherearen.data and Player.WhereAreN.Poki

* Make wherearen savedata presence optional
2021-12-11 16:30:40 -08:00
hp3721
2ed928e961
Fix loading player house and room dumps (#552)
* Fix loading player house and room dumps

* Check converted house/room data lengths rather instead of the imported dunmp's

* Fix downgrading player house format
2021-11-20 08:22:11 -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
3e7bacb80b Add exclusion for one-time DIY indexes
Closes #523
Thanks @Zelfild for identifying the problematic indexes!

Skips over these two indexes on give-all, and skips over them when spawning a set of DIY items onto the ground.
Added control-key to set all IsNew to false instead of true (when doing GiveAll)
2021-11-06 13:16:52 -07:00
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -07:00
Kurt
34cd7d85af Prevent max/min sizing 2021-11-03 22:20:08 -07:00
yzhlau
d8be933b08
Update lang_zhs.txt (#517) 2021-10-31 22:18:31 -07:00
yzhlau
4fa3a6cd71
Update lang_zhs.txt (#513) 2021-10-20 22:38:12 -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