Commit Graph

96 Commits

Author SHA1 Message Date
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
Kurt
25efa70e32 Add savefile support for v16 2020-11-18 18:22:09 -08:00
Kurt
40612f36fc Add 1.5.1 metadata
Closes #414
2020-10-09 15:30:15 -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
Kurt
e652d00d45 Add 1.5 offsets
ty @architdate for running https://github.com/Treeki/CylindricalEarth to dump the schema (.h)
2020-09-29 20:07:25 -07:00
Kurt
b319defe75 Initial changes
not working yet, need save disassembly for correct offsets and need to update strings
2020-09-29 18:49:18 -07:00
berichan
7f615c7343
1.4.2 (#383) 2020-08-20 18:58:28 -07:00
berichan
34f02117f0
1.4.1 support (#374) 2020-08-06 08:10:18 -07:00
Kurt
a6b20a2609 Update offsets for 1.4
thanks @Treeki (https://twitter.com/_Ninji) !
2020-07-29 19:50:22 -07:00
Kurt
da06fd4c46 Interim parse update and load/save
Offsets are placeholder for now until cylindricalearth is updated with the new offset parse
2020-07-29 19:21:20 -07:00
Archit Date
5448ef6027 version 1.3.1 support
typical save revision bump
2020-07-10 09:41:56 +08:00
Kurt
f1ed54d4e4 Update offset mappings
Personal works fine since all new fields are added at the end-ish

Still need hashes before things can be re-saved
2020-07-02 21:37:54 -05:00
Kurt
3775b54242 Add placeholder main/personal offset mappings
copied from 1.2's values
saves now load; don't save because hashes & offset repointing not done yet
2020-07-02 21:07:32 -05:00
Kurt
c45fdc41d7 Add sizes and stuff
Still need hash locations (placeholder for now)
Still need offset remaps for main/personal
2020-07-02 21:02:22 -05:00
Kurt
a14ddcade6 Add raw weather seed reading (not shifted)
#309
2020-06-12 23:04:44 -07:00
Kurt
2dca9f283b Allow changing other flags for Recipe List
Closes #276
2020-05-31 15:22:12 -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
50f2902b65 v1.2.1 2020-05-21 20:46:57 -07:00
Kurt
bbee1a5f5b Fix player storage get for v1.0
Oops, bad offset definition!
Closes #219
2020-05-20 20:32:08 -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
60f3fa84a3 Add more misc edits
Closes #179
Not allowing people to import a jpeg.
2020-05-09 09:39:35 -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
f9d9103039 Add reaction list get/set
pls gib ui soon :)

need to translate these values (byte) -> reaction names (enum)
2020-05-07 19:37:48 -07:00
Kurt
6a98054149 Add hemisphere get/set
ty @rydoginator
2020-05-07 18:06:31 -07:00
Kurt
b1877d117f Add remake kit dump & access 2020-05-06 18:20:17 -07:00
Kurt
5779b65b9b Adapt personal player struct to disassembled pseudo.h
Similar to main's adaption in a prior commit, let's use the relative offsets.

adds total nook miles earned to editor
fixes the off-by-one indexing for achievement list
2020-05-06 15:32:09 -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
38a7895752 Add Storage (ItemChest) count 2020-05-02 00:35:42 -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
beb4e8111a Add pocket/bag count
Rename Pocket1/Pocket2 to Bag/Pocket respectively (bag is slots21-40)
2020-04-26 21:11:11 -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