Releases: PokemonAutomation/sys-botbase-cpp
Fix memory starvation
Either the Switch or libnx doesn't release allocated memory for std::thread
after the thread is cleaned up and joined. This fixes memory starvation issues resulting from re-creating threads when reconnecting repeatedly by initializing threads once and reusing them.
Fix Switch time get/set/reset commands
Fixes the overlooked backwards compatibility hex transformation for TCP Switch time get/set/reset responses (i.e. DenBot).
MetaData initialization hotfix
Fixes a bug where older SysBot builds and plugins would not work if predating the game title ID/game version check. MetaData initialization expected these checks, and did not initialize if memory commands were used first.
Added more verbose logging for commands (if logging enabled), and more verbose logging for memory/MetaData command failures.
Beta release
Rewrite sys-botbase in C++, implement Pokémon Automation's tick-precise Computer-Control commands, remove ACNH-specific commands.
Goals and major changes:
- Make it easier to expand, modify, and work with.
- Ability to build with Visual Studio 2022 and use IntelliSense.
- Reduce heap, remove currently unused and ACNH commands.
- Add logging to text file (always enabled for errors, exceptions. Optional command toggle to enable all logging for debugging purposes).
- Maintain current sys-botbase/usb-botbase compatibility (sans ACNH support), with an option to toggle backwards compatibility via command or in source if simplified CRLF/read/send is desired.
WiFi connection enabled by default. Edit config.cfg
, change wifi
to usb
if you wish to use USB connection.
Version will be reported as 3.1 with backwards compatibility enabled (default), or 3.0 with it disabled.