Commit Graph

58 Commits

Author SHA1 Message Date
Kurt
928e699168 misc performance improvements
Preallocate the terrain-building objects and reuse

changed:
- grid alternates with a slightly-darker to help indicate the larger 2x2 tile grid.
- put plaza & buildings behind the gridlines
2020-05-02 23:02:37 -07:00
Kurt
38a7895752 Add Storage (ItemChest) count 2020-05-02 00:35:42 -07:00
Kurt
ddde5040a2 Add room wall/floor editor for villager
Closes #138
2020-05-01 22:07:34 -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
2fe31b6e4a Translate message strings when changing language 2020-04-30 13:19:04 -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
Kurt
4efbb00b4e Add pro design r/w 2020-04-23 17:09:52 -07:00
Kurt
776bc030fe Move design pattern to subform 2020-04-23 16:30:39 -07:00
Kurt
d4be030294 Update Editor.cs
#98
2020-04-23 14:44:40 -07:00
Kurt
6881289acd Save & reload selected language 2020-04-23 09:22:46 -07:00
Kurt
7a78154ed6 Add trycatch for player bmp loading
Closes #98
2020-04-22 22:28:26 -07:00
Kurt
6f4d9e163c Update translations
Now includes the villager usercontrol in the editor form
2020-04-22 22:12:18 -07:00
Kurt
c9a86cbff9 Add program translation
jp/en/zh -- only english has been translated (duh)
keep in mind this translates the text in the program, not the internal flag names.

not sure if other languages need to be supported; from PKHeX's experience, only spanish is updated (besides jp/zh), as most users speak english or are fine using the program in english.

pls localize villager names and item names for non-english :P -- preferrably automated from raw game dumps
2020-04-21 14:26:18 -07:00
Kurt
b4f1bda2c7 Extract translatable strings to static class 2020-04-21 12:43:16 -07:00
Kurt
eaa805a374 Add automatic backup, add program settings editor 2020-04-21 12:11:31 -07:00
Kurt
3a68919325 Add Last Saved Time, display at top of window 2020-04-21 11:17:34 -07:00
Kurt
aa970f1eab Add main (land) event flag editing
Can turn easter on/off, ha
maybe when they patch in new events ahead of time, we can turn them on early?
2020-04-20 11:31:00 -07:00
Kurt
d21b99978a Add player & villager house dump/load
share your house, but not your toothbrush!
2020-04-19 16:23:59 -07:00
Kurt
5d51cf65df rename some classes to match internal naming 2020-04-19 15:26:20 -07:00
Kurt
0e437bd5d1 Extract villager editing to separate control 2020-04-19 12:12:29 -07:00
Kurt
2e64f0b109 Add villager flag editor + moving out state toggle 2020-04-18 11:11:25 -07:00
Kurt
6e18605f69 Trycatch save export
yay write protected/unplugged SD cards or bad sizes
2020-04-15 10:15:14 -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
e989752e34 Use openfiledialog for load decrypted
Reload all fields when loading a decrypted save file
2020-04-06 15:36:52 -07:00
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