Commit Graph

33 Commits

Author SHA1 Message Date
Kurt
d35aab1f77 Clamp read of encrypted uints
guards against corrupt values?
Closes #55
2020-04-05 09:04:31 -07:00
Kurt
1db185151d
Add automatic read/write items for all pocket items (1-40) (#51)
Decentralizes pocket injection logic from SysBotUI so that other auto-injectors can be passed in (future? like terrain/overworld items).

Adds validation to not modify items if the pocket data doesn't have the expected layout.

Closes #47 by implementing things in a more abstract & extendable way. Thanks @jfmherokiller for the example implementation which served as an inspiration!
2020-04-04 20:57:25 -07:00
Kurt
8b324651e1 Enhance building editor (show map & value names) 2020-04-04 13:16:45 -07:00
Kurt
12ee9e0bab Add EventFlagsPlayer editing 2020-04-03 18:36:26 -07:00
Kurt
8b3c650eff Add Terrain editor
most complex editor yet

could be better if I did PictureBox'es instead of buttons, so I could put an image instead of just color

ppl will have to document more on what each terrain looks like, maybe could show a pic of each terrain tile?
2020-04-03 12:12:21 -07:00
Kurt
99e4f59d2f Add Outside Acre editing
what a busy form (so many controls)

Has option to import/export bytes so people can share their exterior acre layouts
2020-04-02 10:42:40 -07:00
Kurt
c9c30d76ee Add turnip exchange edits
values assumedly get updated every sunday, and only take effect when you restart the game (or pass over a time threshold?)
stonks
2020-04-01 20:39:00 -07:00
Kurt
0baac3751f Minor clean 2020-04-01 19:51:10 -07:00
Kurt
ebfd2ca87f Add generic RAM read/write form
accessible once a save is loaded, same as item injecting

untested, but should be fine
2020-04-01 16:29:56 -07:00
Kurt
98a98f5cf4 Add activity count edit
See EventFlagsPlayerActivityParam.csv , unlabeled for now as I'm not sure how exactly these align
2020-03-31 23:49:12 -07:00
Kurt
8aa1f9ad5e Dynamically set r/w count 2020-03-31 19:57:45 -07:00
Kurt
a4ae85ce67 Add sysbot injector for player pockets 2020-03-31 19:23:17 -07:00
Kurt
7bcfe788a2 Remove some unused stuff
bloat--
2020-03-31 17:44:20 -07:00
Kurt
7b24142014 Add building editor
names tbd
untested
2020-03-31 15:10:17 -07:00
Kurt
1ffd263751 Update Editor.cs
dump to selected folder, then return rather than doing the regular logic
2020-03-30 16:49:35 -07:00
Kurt
4943bb07ad Add GUI for design pattern dump/load
same behavior as villager options; hold shift to dump all patterns instead of just the current

hover over the image to see transparent pixels (lime green appearance)
2020-03-30 14:01:53 -07:00
Kurt
ce631ae722 Add received items list
has button to fill Bugs and Fish list in the Critterpedia
2020-03-29 23:31:29 -07:00
Kurt
bb417bd798 Make item editor generic for all item types 2020-03-29 18:44:34 -07:00
Kurt
533b9a914c Reload villager display when importing 2020-03-29 17:33:24 -07:00
Kurt
da4b292588 Add villager item editing
Furniture array is inside the villager's item list; there's another list of a different format in the offsets below

probably just a struct within another struct, like

struct villagerItem {
item; (0x08 bytes)
metadata; (0x24 bytes)
}
2020-03-29 17:12:41 -07:00
Kurt
d0a77f4d3f Fix saving town name
big oops
Closes #10
2020-03-29 14:46:02 -07:00
Kurt
7391be7e56 Add origin updating for villager imports 2020-03-29 13:40:31 -07:00
Kurt
b85b69308b Add villager import button 2020-03-29 13:28:26 -07:00
Kurt
7005e31d2a Add decrypted load all (from folder)
If hex editing is your jam, then dump -> manually edit -> import

pls don't mismatch lengths (different patches), it'll silently fail
2020-03-29 13:17:39 -07:00
Kurt
65fca3cbba Replace player/town name on edit
Replaces a byte sequence with the updated sequence of data, using the player/town ID as a prefix to ensure that short names can be changed correctly without affecting other game data (hopefully).
2020-03-29 12:41:27 -07:00
Kurt
8428f5955b Minor clean 2020-03-28 23:48:25 -07:00
Kurt
4bb451736d Fix storage write
wrong property to set to!
2020-03-28 23:41:56 -07:00
Kurt
8db30c02da Simplify purpose of inventory editor
Edits an array of items
Add editing for the Recycle Bin -- main save (map).
2020-03-28 23:28:47 -07:00
Kurt
f26a5d3e80 Add learned recipe editing
bitflags bitflags bitflags

RecipeCraftParam.csv
0x54706054 => recipe index
0x89A3482C => crafted item ID
2020-03-28 22:10:17 -07:00
Kurt
b493b44914 Add dump/load for inventory, add dump for villager 2020-03-28 18:25:24 -07:00
Kurt
4929fcf2de Add enhanced inventory editor
Decouple itemgrid, itemgrid editor, and item editor as separate user controls
Visualize items with fake icons based on item ID and values
Paged editing for large arrays
add fallback for people wanting old editor (hold control when clicking Edit Items from main editor window)
2020-03-28 12:46:25 -07:00
Kurt
104f38fb30 Add hash validation 2020-03-27 19:19:20 -07:00
Kurt
fb13723b01 Initial commit 2020-03-27 17:54:17 -07:00