Releases: olliz0r/sys-botbase
No more bad eggs edition
RTNX brought to my attention a nasty little bug that would randomly cause RAM pokes to go bad and corrupt, injecting the wrong data or potentially crashing the console.
This release fixes that issue and should hopefully be the most stable version of sys-botbase to date.
Thanks to Anubis and the army of testers for stress-testing!
Replacing the worst botbase version
Switching back from dmntcht again. Version 1.4 creates a lot of issues when reading/writing, so this version is mainly to replace the old broken version.
New Minor Commands
Switched back to dmntcht, stability issues should be solved.
New commands:
getTitleID - returns the titleid of the current open application
getSystemLanguage - returns the consoles language setting, see
https://github.com/switchbrew/libnx/blob/86a5aa446695573ddea594199357185488a08f19/nx/include/switch/services/set.h#L25 for a mapping
getHeapBase - returns the base address of the heap
pokeAbsolute/PeekAbsolute - same as peek/poke, but with a absolute
address instead of a heap offset
Echo Commands
New release includes the option to echo back any command you send to the sysmodule.
Send "configure echoCommands 1" to enable.
The zip file contents can be copied onto the sd card and include all files/folders necessary to run the sysmodule.
More Bugfixes
-Replaced dmntcht with old implementation to freeze the process during ram reads/writes
-Changes to socket read function to be able to work with bigger write requests
-Made sleep timing on the main loop and button click command configurable. Default values are 0ms for the main loop and 50ms for the click command.
Small Bugfix release
I intended to change the sysmodule to sleep for 50ms instead of 100ms after every command, but accidentally changed it to 500ms instead.
Thanks to archit for telling me.
More stability
Uses dmntcht now instead of the old svcdebug method of reading/writing RAM. This should make it more reliable when working with other applets or switching games.
The sysmodule is now able to accept several socket connections at the same time, as well as allowing to reconnect to the bot after a disconnect without having to restart the whole switch.
First public release
v1.0 Update ReadMe, Include Example, Changes to port and titleid to not me…