Commit Graph

45 Commits

Author SHA1 Message Date
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
Archit Date
469e876446 add support for v1.1.2 2020-04-02 19:04:12 +08: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
d080668b19 Add EasterEgg kind, update recipe list 2020-04-01 11:53:54 -07:00
Kurt
828b560e5e Extend recipe max for v1.1
the whole array is probably 0x100 bytes (max recipe ID 0x800), but we can clamp things by only reading a certain amount

(dump RecipeCraftParam.bcsv and add the bunny craftables to the recipe list...)
2020-04-01 10:44:30 -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
789097c7a6 only read/write 20 at a time 2020-03-31 19:55:49 -07:00
Kurt
d82f49e513 Fix offset parse
oops hex dec
2020-03-31 19:44:32 -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
6acc02a3ac Update text_item_en.txt
Credit to @imthe666st for the list, & @Cuyler36 for the adaptation to text resource
6ad5adcbf3
Closes #15
2020-03-30 14:41:32 -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
c56ff63354 Extract some logic 2020-03-30 13:55:12 -07:00
Kurt
4259564162 Relocate item string logic 2020-03-30 11:30:58 -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
61a7fa2dbf Add xunit test project
ensures item sizes are correctly marshalling
2020-03-29 17:18:36 -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
4225ee6b72 Update text_item_en.txt
Sourced from MyHorizons
7bc18bf276

From the above commit's message:
- NOTE: Item Lists have incorrect names for color variants of certain shirts and furniture. This WILL be fixed.

Closes #9 (implements all)
2020-03-29 14:25:43 -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
786aad69f0 Clamp shift max 2020-03-29 12:33:27 -07:00
Kurt
8428f5955b Minor clean 2020-03-28 23:48:25 -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
88b6776393 Add some xmldoc 2020-03-27 21:01:24 -07:00
Kurt
e0821eb9ba Update FileHashRegion.cs 2020-03-27 19:27:09 -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