Commit Graph

185 Commits

Author SHA1 Message Date
Kurt
6e72f2e1a9 Add placeholder v1.2.0 values
Need to repoint offsets and update with the actual hash regions
2020-04-22 19:40:35 -07:00
Kurt
0ff0b02b53 Add item name dumper from msbt
reference 2283bddaff/Switch/NewHorizons/scrape_data.py
2020-04-22 14:37:14 -07:00
Kurt
e9f9e51f15 Add load from cheat code import option
Hold control when clicking Load to instead read from clipboard. If no text is found, the program will ask for a file to load instead.

Closes #90
2020-04-22 08:32:13 -07:00
Kurt
e38394092a Indicate pattern type 2020-04-21 15:12:29 -07:00
Kurt
91f88a3f3a Fix LastSavedTime offset for launch ver
parent object is not same size/layout as v1.1+; it's smaller
2020-04-21 15:12:21 -07:00
Kurt
806089cd9d Copy NPC1 when importing
Stores which villager index can inhabit the house
2020-04-21 14:52:54 -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
fd44cd37be Update azure-pipelines.yml for Azure Pipelines
try this again
2020-04-20 14:43:00 -07:00
Kurt
532533ad8e Update azure-pipelines.yml for Azure Pipelines
embed build number in azure build
2020-04-20 14:25:08 -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
f0492f1dc1 Allow importing old (x40) building list (not x46) 2020-04-20 09:08:45 -07:00
Kurt
345f3c3f1b Add howto hint for removing a villager
Closes #84

ty @PandaUnit-TWL
2020-04-19 16:56:03 -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
4fa77c9242 Minor unused additions
add some villager stuff
add outside acre template id
add mainfield template id
2020-04-19 15:26:09 -07:00
Kurt
0e437bd5d1 Extract villager editing to separate control 2020-04-19 12:12:29 -07:00
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
59c0c27737 Move sub-editors to separate folders by type
Don't cherrypick this commit; won't compile (next commit will work)
2020-04-18 11:09:32 -07:00
Kurt
be0a456067 Decrypt savefile in-place (less allocation)
Each player and main.dat is ~11MB of allocation to read; old would read & decrypt into separate array = 22MB * (1 + playerCount). Cutting this in half reduces the amount of allocation and keeps stuff off gen2 LOH
2020-04-17 14:00:34 -07:00
Kurt
456575e64e Add missing ) to error messages 2020-04-17 13:45:02 -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
14bbc73481 Verify sizes on load 2020-04-15 10:14:48 -07:00
Kurt
1af352dae5 Add dropdown to jump to specific recipe 2020-04-15 09:56:14 -07:00
Kurt
7e3003687b MInor clean 2020-04-15 09:47:20 -07:00
Kurt
d89a7245e0 Add more field item mass-editing buttons
Closes #75
2020-04-14 15:20:08 -07:00
Kurt
43b043a1b6 Change duplicate hotkey
Hashes = CTRL-H
RAM = CTRL-R
2020-04-13 22:34:20 -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
3060e790bc Fix expected import size 2020-04-12 21:28:51 -07:00
Kurt
0fbae15dd6 Clarify turnip times 2020-04-12 20:32:41 -07:00
Kurt
28e4e76d3f Update EnumHashTests.cs 2020-04-11 23:11:04 -07:00
Kurt
f5d470ac3d Add conversion for some enum names
src input: f20b29a0b7/specs_111.py

(renamed .py->.txt for resource loading)
2020-04-11 16:53:31 -07:00
Kurt
6bdab868eb Add enum hashing method 2020-04-11 16:10:34 -07:00
Kurt
af04e69bcb Turn on nullable checks for parse project 2020-04-11 16:09:53 -07:00
Kurt
da955be606 Show X on buried items root 2020-04-11 11:57:28 -07:00
Kurt
95df4e9c53 Default to internal name if empty
Closes #69
2020-04-11 09:52:55 -07:00
Kurt
3ab70d593f Add remove plants / remove all 2020-04-10 12:50:08 -07:00
Kurt
6ce0d1595d Remove allocation for field item editor
Allocate once on init, and reuse objects

pretty much buttery smooth now :)
2020-04-09 16:01:20 -07:00
Kurt
cf889668d3 Minor perf improvements
Move repeat calculations from inner loop to outer loop
Extract some methods for reusability
2020-04-09 14:35:09 -07:00
Kurt
91418e9c66 Enhance extension item visualization
Mark class as static

Draws directional lines trying to point back to the root item
2020-04-09 12:52:07 -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
284b7e6fab Reduce size to a power of 2
show field item name if it's a "planted" item rather than ???
2020-04-09 09:29:36 -07:00
Kurt
b0fa8c93f3 Add FieldItemDefinition fetch 2020-04-09 09:27:48 -07:00
Kurt
557a34edbc Minor clean
Reduce array get counts by 16 (from 17->1)
2020-04-08 17:13:00 -07:00