Commit Graph

68 Commits

Author SHA1 Message Date
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
2c965c1f37 Extract some logic
Potentially drawing on existing bitmaps
2020-04-01 10:24:34 -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
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
f18b013a88 Add popup indicating how sysbot works.
Similar to LiveHex (PKHeX injecting pkm while game is running), this will allow you to r/w your inventory live so that you can quickly swap in items -- example usage: customizing your town with various items :D
2020-03-31 19:32:54 -07:00
Kurt
a4ae85ce67 Add sysbot injector for player pockets 2020-03-31 19:23:17 -07:00
Kurt
ae4d1f3263 Add sysbot injector UI 2020-03-31 19:23:00 -07:00
Kurt
b3e8b1b1fb Add sysbot logic for remote control 2020-03-31 19:22:42 -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
d69a3123e7 Minor clean 2020-03-31 13:26:04 -07:00
Kurt
f664eab05e Add msbt parse classes for docs
Originally ported from https://github.com/Martin005/SMO_Translation_Helper , via https://github.com/IcySon55/3DLandMSBTeditor

Add some tests to ensure functions
2020-03-31 11:56:06 -07:00
Kurt
5b72117809 Add give all -- sets all flags for known item IDs
hold alt to clear the flags instead of set the flags
2020-03-30 19:46:58 -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
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
dc0b2e2fe4 Add dropdown for jumping to specific items 2020-03-30 11:31: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
db4bba31f0 Suggest items via drop down while typing in
ez search
2020-03-29 18:44:48 -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
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
b28d999596 Widen dropdown for longer item names 2020-03-29 15:12:32 -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
d0a77f4d3f Fix saving town name
big oops
Closes #10
2020-03-29 14:46:02 -07:00
Kurt
2bbfc86525
Update README.md
Closes #7 ; screenshots are now located on the wiki for easier editing (not needing a commit).
2020-03-29 14:40:22 -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
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