Commit Graph

20 Commits

Author SHA1 Message Date
DESKTOP-SN9KF5O\Strawberry
1fcab7070e Remove Decoder entirely 2026-01-30 03:12:41 +00:00
DESKTOP-SN9KF5O\Strawberry
076d113a4d Injector: Just use Convert.ToHexString for Decoder now that we don't target .NET framework 2026-01-30 01:45:34 +00:00
Kurt
7b2354af84 Simplify expressions 2026-01-27 00:42:19 -06:00
Kurt
b88c518d5c
Update FieldItemEditor for 3.0.0 (#716)
Updates the Field Item Editor to render layers based on the entire map, and the per-patch positioning of each layer.
Import/export will gracefully handle upgrade/downgrade, and viewport import/export will gracefully update tiles rather than a per-acre basis.

Performance has also been slightly improved; no allocation is done anymore when updating the image.
2026-01-25 16:55:38 -06:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Alca259
a20bd1c419
Support for 16x16px per tile and river editor (#668)
* Upgrade to .NET 8 + Nugets

* Add support for tile 16x16px instead 1px

* Rivers except 2B

* River2B
2025-07-28 00:02:34 -05:00
Kurt
2287521b44 Update dependencies
Bump net5 build to net6
2022-10-25 14:36:45 -07:00
Kurt
2242861c80 Add logic for drop compatibility check skipping (parsing) 2021-03-03 17:44:16 -08:00
Kurt
d7b46726a0 Absorb extension logic from SysBot.AnimalCrossing project
Extract out pis=>nhi, and nhi=>pis (player item set)
2021-01-17 09:29:46 -08:00
Kurt
83169b8738 Bump language version to c#9 2020-12-24 23:53:40 -08:00
Kurt
833483027f Minor clean
memes
2020-07-29 18:35:59 -07:00
berichan
f0eef1a0db
USB changes and updated de item list (#318)
* Update README.md

* Added USB functionality

* Updated readme

* Revert README.md changes

* Remove unnecessary lib dependencies

only directly referenced by injection project

* Minor clean

handle compiler/roslyn messages

* Update README.md

* added a null check and a usb-botbase-safe poke function

* Revert "Update README.md"

This reverts commit e106a62b0d.

* Created new de item list using https://github.com/berichan/NH_CreationEngine

Co-authored-by: Kurt <kaphotics@gmail.com>
2020-06-29 06:31:22 -05:00
berichan
e0e4dd508c
Added support for USB-botbase (#299)
Only for player item injection at this time; no sync / toggle between modes
2020-06-06 12:58:13 -07:00
Kurt
8edf0a6ec4 Add trycatch for sysbot read/write, turn off auto-r/w on fail
Closes #156

turning off auto-r/w won't happen if the auto-r/w itself fails. still pops open a message saying error until you turn it off in the other window.
2020-05-03 13:51:26 -07:00
Kurt
839e1a3f14 Add unit test for item injection validation
Check the other bind list too

don't bother checking that a bound index actually exists in the item pocket
2020-04-26 18:58:13 -07:00
Kurt
f28a544604 Finalize the verification logic for inventory
Move the ValidateEnabled check to the top to completely disable validation -- it is recommended to actually use the validation. This should work perfectly for everyone, assuming you haven't corrupted the region we're validating.

Game data structure stores as follows:

Item[20] bag;
u32 bagCount;
sbyte[20] binds;
Item[20] pocket;
u32 pocketCount;
sbyte[20] binds;

count is 0,10,20 depending on unlocked, and binding is -1 or 0-7 depending on where the item is bound (item quick use wheel)
2020-04-26 18:37:51 -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
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
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
b3e8b1b1fb Add sysbot logic for remote control 2020-03-31 19:22:42 -07:00