Commit Graph

110 Commits

Author SHA1 Message Date
Kurt
3482eebe5a Show plaza on generated map 2020-04-05 16:00:17 -07:00
Kurt
6f228a72f7 Show coordinates on mouse move 2020-04-05 12:04:44 -07:00
Kurt
fc3276ca99 Add plaza coordinates to building editor
How exactly to plot the coordinates???
2020-04-05 12:04:28 -07:00
Kurt
b603e5628c Rearrange map related buttons 2020-04-05 12:03:34 -07:00
Kurt
d35aab1f77 Clamp read of encrypted uints
guards against corrupt values?
Closes #55
2020-04-05 09:04:31 -07:00
Kurt
1ff26a3be7 Update validation & add bypass
Require first uint to match, can bypass others
2020-04-04 21:35:03 -07:00
Kurt
e62191b65a Show "None" instead of null sprite 2020-04-04 21:27:32 -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
74f6157fa3 Change folderbrowser to openfile, select main instead
- Open file => main.dat will load the parent folder
- Allow dropping of main.dat (loads the parent folder)
- Shift clicking still behaves the same way
- Handle command line arguments to auto-load savedata from arg indexes >=1

Closes #37 ; unsure on licensing & mono compatibility, less dependencies
2020-04-04 16:37:54 -07:00
Kurt
92959fba6a Fix wallet offset
e2b4c6ac49
ty @Cuyler36 for letting me know the correct offset
2020-04-04 15:53:28 -07:00
Kurt
b71b040a3a Remove unused logic, add test case 2020-04-04 15:47:57 -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
8f6e68feba Fix tile get
unlocked viewport => don't use AcreIndex
2020-04-03 20:50:46 -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
ea5482cfc9 Verify encrypted ints on read
throw an exception if corrupt
2020-04-03 17:44:44 -07:00
Kurt
f5e96480fd Add prompt for mass edits 2020-04-03 13:50:32 -07:00
Kurt
8202ce1da6 Fix dump/import tiles 2020-04-03 13:33:49 -07:00
Kurt
5dccddb3cc Allow B0->A0 up nav 2020-04-03 13:32:48 -07:00
Kurt
3eb8b4eabd Fix count set
flag2 -> count, no longer need to downcast to byte
2020-04-03 13:17:26 -07:00
Kurt
b6e19f079d Minor clean
Add click to map preview to load that acre
Move map+viewport-reticle bitmap creation to drawing project
export map without reticle as scale=1
2020-04-03 12:50:53 -07:00
Kurt
e098f85afc Show map viewport to indicate current acre 2020-04-03 12:29:56 -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
deb4d51149 Merge branch 'master' of https://github.com/kwsch/NHSE 2020-04-02 23:31:24 -07:00
Archit Date
76430aa49e add 1.1.3 support 2020-04-03 14:27:12 +08:00
Kurt
faac53b52d Add color coding for map acre column/rows
a little more descriptive than just a bunch of controls

just 3 panel controls :D
2020-04-02 18:44:29 -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
02e52ccf7d Minor gui tweaks
monospaced font for better acre name viewing
2020-04-02 11:19:37 -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
9988e72182
remove previous license 2020-04-02 22:24:17 +08:00
Archit Date
75520d4f29
fix license to properly show up as GNU GPL v3 2020-04-02 22:23:08 +08: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
de5eb9f0f7 Fix hex edit
oops
add length sanity check
2020-04-01 20:07:35 -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
5578f4898b Merge in remainder of my dumping logic 2020-04-01 15:50:36 -07:00
Kurt
46840b7125 Update GameBCSVDumper.cs 2020-04-01 12:12: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
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