Commit Graph

54 Commits

Author SHA1 Message Date
Kurt
31dd3e04bc Update Villager.cs 2020-04-19 11:27:58 -07:00
Kurt
aff52ce842 Make building structure explicit layout, add unk->usage
9c0648c0b7/savefile/save_schema_120_109_pseudoC.h (L967)
2020-04-19 11:27:26 -07:00
Kurt
2e64f0b109 Add villager flag editor + moving out state toggle 2020-04-18 11:11:25 -07:00
Kurt
d89a7245e0 Add more field item mass-editing buttons
Closes #75
2020-04-14 15:20:08 -07:00
Kurt
2210f6e6fc Add Building List Dump/Import
Doesn't include plaza; if you're sharing details, just share the coordinates via text.
2020-04-13 16:53:38 -07:00
Kurt
0fbae15dd6 Clarify turnip times 2020-04-12 20:32:41 -07:00
Kurt
da955be606 Show X on buried items root 2020-04-11 11:57:28 -07:00
Kurt
3ab70d593f Add remove plants / remove all 2020-04-10 12:50:08 -07:00
Kurt
9d2010a285 Extract shared interface 2020-04-09 11:43:30 -07:00
Kurt
a87cb512a6 Show all properties of field items
TIL that you can prefix FieldOffset with "field" so that you can have it be a getter/setter (interfaces! properties!)
2020-04-09 10:49:10 -07:00
Kurt
6df2fc1b04 Add remove weeds/holes 2020-04-09 09:41:21 -07:00
Kurt
91f8881808 Add Field Item viewer
Layer 1 only, no tile mutation capability for now. Can still move things around / delete.
2020-04-07 15:25:34 -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
Kurt
2ce535c67c Refactoring
Move sprite resources to subfolder for organization
Add FieldItem class (replaces MapItem), might work in a field item editor (similar to building editor)
2020-04-07 10:19:58 -07:00
Kurt
6ecf659d5e Add special handling for diy recipe 2020-04-06 20:11:35 -07:00
Kurt
5293ec594a Refactoring
Rename some variables
2020-04-06 14:57:37 -07:00
Kurt
0f28da8b2f Extract some grid logic to its own class
Name it more clearly so that the intent is there
2020-04-06 14:37:40 -07:00
Kurt
8b324651e1 Enhance building editor (show map & value names) 2020-04-04 13:16:45 -07:00
Kurt
62e514f879 Add structure enums 2020-04-04 00:10:54 -07:00
Kurt
8516df6116 Unlock terrain viewport from acre snapping
Add checkbox to flip between snap / no-snap
2020-04-03 20:34:32 -07:00
Kurt
12ee9e0bab Add EventFlagsPlayer editing 2020-04-03 18:36:26 -07:00
Kurt
8202ce1da6 Fix dump/import tiles 2020-04-03 13:33:49 -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
c7a366a4c7 Add field item metadata
add dumpers to dump project
2020-04-02 15:38:37 -07:00
Kurt
f3d291e681 Merge flag2 back in to count
ok sciresm u happy now
2020-04-02 15:38:08 -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
e70d2b71d8 Add some map item code
no functions, just exploration
2020-04-02 08:08:05 -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
d080668b19 Add EasterEgg kind, update recipe list 2020-04-01 11:53:54 -07:00
Kurt
e1cc460575 Update activity (achievement) entry names
EventFlagsLifeSupportAchievementParam.csv
2020-04-01 10:26:16 -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
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
a61402cf47 Rename file to match type 2020-03-31 14:52:18 -07:00
Kurt
f5ffb2477f Add item type enum & mapping, and better item color generator
Item fetches the kind of item it is, then picks out a color for the kind of item
items of the same kind will have the same color, rather than randomly mapped colors :D
2020-03-31 13:27:54 -07:00
Kurt
70e6a2d688 Sync missing changes 2020-03-30 16:34:04 -07:00
Kurt
1172bcc950 Swap color channels
byte images now display correctly
2020-03-30 16:29:42 -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
772da26a04 Add design pattern read/write
Looks like they might be indexing into the palette differently...
2020-03-30 13:59:41 -07:00
Kurt
447916e120 Only replace occurrences if different sequences 2020-03-30 13:55:29 -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
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
39398b4f66 Sort item list drop-down 2020-03-29 15:31:09 -07:00
Kurt
b9ef2eb314 Fix town & town => town & player
Split things up for a little more verbosity
2020-03-29 15:10:46 -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
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