Commit Graph

138 Commits

Author SHA1 Message Date
Josh (vector_cmdr)
9a3f5fb5af Fix: Pro Pattern Import
I beefed the UsageCompatibility addition by accidentally deleting the exception catch when cleaning up some comments and thus killed the WritePatternPRO method lol. Absolute unit of a goose.

Took the opportunity to moved the compat to the other data manip in the buttom methods instead of the load methods.
2026-02-14 01:56:04 +11:00
Josh (vector_cmdr)
2bfb5759bd
Add: Tour Hemisphere + Weather (#748)
Added the offset for tour weather area + offsets for tour hemisphere and tour weather seed.
Added to UI.
2026-02-12 23:47:34 +11:00
Josh (vector_cmdr)
7396426700
Fix: MapDesignTileData
Fix for missing right hand design imports by updating to new size.
2026-02-12 13:36:09 +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
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)
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
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
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
ff4c77a06c Misc tweaks
No functional change
2026-01-17 15:17:39 -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
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
Josh (vector_cmdr)
a7552e75d8 Add rev 31 for WhereAreNOffset
Add rev 31 for WhereAreNOffset
2026-01-15 15:40:06 +11: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
fd222a93b1 Update EffectiveGuacamole.cs
Add dump option for saving decrypted file, easy enough.
2026-01-14 19:04:56 -06:00
Kurt
ef4703d3b3 Add EffectiveGuacamole port
simple to understand; no longer need to run a separate toolchain if there (n)ever is an update in the future.
2026-01-14 18:58:49 -06:00
Kurt
0ad0ee0697 Rewrite crypto to use span 2026-01-14 16:42:57 -06: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
9d1309827e Pre 3.0.0 support
Adds data for supporting 3.0.0, still needs savefile structures/hash range dumped and incorporated into MainOffsets30/PersonalOffsets30. Offsets/range is currently a copy of 2.0, which is obviously not correct. Saves will fail to load as encrypted values are not at the expected offset (pls no complaints).
CTRL-I from main form still opens the injector interface; RAM offset not yet documented.
2026-01-14 11:17:15 -06:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
DESKTOP-SN9KF5O\Strawberry
55f2c0e03c Update for 2.0.8 2025-06-19 16:05:37 +01:00
Lotte
914eb0f109 2.0.7 Update
Add new revision lines for r29 (2.0.7) save files.
2025-05-29 02:27:43 +10:00
Lotte
30ea5a9b41 Update flag wipe for placed designs
Update flag wipe for placed designs
2023-12-18 14:51:36 +11:00
Josh (Lotte)
526fb34eda
Extra owner bytes fix (#637)
Added code that zeroes out the 4 bytes beginning at offset `0x70` of the pattern array that seemingly causes mismatches in imported pattern ownership.
Exposed this fix via extra testing with different saves and different pattern dumps.
2023-10-31 00:50:21 -07: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
berichan
fd6a6c0860 2.0.6 2022-11-15 01:54:57 +00:00
Kurt
2287521b44 Update dependencies
Bump net5 build to net6
2022-10-25 14:36:45 -07:00
berichan
79b65f3ffc Update for 2.0.5 2022-02-16 02:12:32 +00:00
berichan
58c3c20e44 Update filerevision for WhereAreN 2021-12-17 02:39:34 +00:00
berichan
fea01c1f57 Update for 2.0.4 2021-12-16 02:38:14 +00: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
berichan
db6beb85e7 Update for 2.0.3
# closes #562
2021-11-24 15:46:33 +00:00
hp3721
e7dd2c131b
Fix player room loading for v2.0.0 (#549) 2021-11-19 22:56:32 -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
BuildTools
a20e672b14 Update for 2.0.2 2021-11-19 01:50:20 -06:00
berichan
0a36a5d234 Update for 2.0.1 2021-11-12 01:20:16 +00:00
Kurt
4cad6f5894 Add handling for revised villager house structure (v2.0) 2021-11-04 20:10:49 -07:00
Kurt
8582e96978
Initial v2.0.0 Support (#520)
* Initial save arrangement
* Add initial text dumps
* Update metadata
* Update offsets for main/personal, fix variation test -- items now internally labelled for no variation
* Add event flag labeling
* Add customization remake lookup entries
2021-11-03 21:28:18 -07:00
berichan
ca3e12b35a Update for 1.11.1 (closes #499) 2021-08-10 13:17:32 +01:00
Kurt
6303cce3f4 Update max recipe ID for v1.11.0
getting close to 1,000 on that recipe ID :)
2021-07-28 19:09:34 -07:00
Kurt
bf09cf761e Update save loading for v1.11.0 2021-07-28 18:32:39 -07:00
Kurt
c111babbe3 Add v1.10.0 savefile read/write support
Any game additions (new items, flags) will be in a later commit.
2021-04-27 22:04:18 -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
008f372f9c Update MainSaveOffsets19.cs 2021-03-22 00:11:12 -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
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
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
83169b8738 Bump language version to c#9 2020-12-24 23:53:40 -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