MyShiLingStar / ACNHPokerCore

Animal Crossing New Horizons Item Spawning Tool
https://myshilingstar.github.io/GetAzure/
BSD 2-Clause "Simplified" License
59 stars 8 forks source link

Add api #40

Open KevinCCucumber opened 1 year ago

KevinCCucumber commented 1 year ago

Hey, I would like to tinker around a bit with controlling the savestate programatically. For that it would be really cool to be able to tweak certain things at runtime via an api where I can send requests to.

Could you expose such an api?

MyShiLingStar commented 1 year ago

API? Can you describe a bit more about what you want to achieve? Poker is a tool that runs when needed. Users don't usually keep it running for an extended period of time. I don't see a point in adding an API call to it when most of the time the app is not running.

If you would like to tweak things inside the game memory, perhaps you should look at how sys-botbase/usb-botbase works. They run in the background of your Switch and allow you to manipulate game memory with different commands.

KevinCCucumber commented 1 year ago

I have interaction with an audiance of livestreams in mind. E.g. for a chaos mod or randomized creative challenges or just things being manipulatable via twitchchat. To write such software, it would need an api or webhook where I can send executable commands to set up things in a specific way.