Releases: olliz0r/sys-botbase
Release list
Various metadata-related fixes
This release addresses possible issues with metadata retrieval by properly handling potential failures in getMetaData(), which may have caused unexpected crashes or hangs when metadata isn't found. This only seemed to affect certain games running reset-heavy routines, such as Scarlet/Violet reset bots.
Credit to @Lusamine for research and implementation of these fixes.
Support for HOS 21.0.0+ and Atmosphere 1.10.0+
This is built with the changes to switch-tools that came with the latest version of the switch firmware.
Support for HOS 19.0.0+ and Atmosphere 18.x+
This is built with the changes to switch-tools that came with the latest version of the switch firmware.
Allocate less memory for mod and Tesla support
The amount of heapmem allocated is now 3.2MB down from 12MB. This may cause issues for some users with huge freezepools, but should not affect 99.9% of users.
Issues with ToTK mods and Tesla overlays should no longer be present.
Some additional commands, buffer peeks, smaller fixes
All single-stream peek commands no longer require you to "chunk" the data as the sysmodule will do this to send large data quickly in one command. GetInfo() is now used to get the heap base to reduce overhead on all peek and poke commands.
getTitleVersion was added courtesy of @6A-Realm
Various info commands were added courtesy of @amel-am
Smaller fixes were provided by @lincoln-lm and @ELY3M
Other smaller fixes are also included in this release.
Thank you to all the contributors.
A few stability tweaks
Sys-botbase no longer inits fs or mounts the sd card. If you run a fork or adapt from sys-botbase then please make sure to yield the fs service once you're done with it to avoid hitting the too many sessions panic.
screenOn and screenOff once again turn on/off the backlight. Many thanks to SciresM for yielding atmosphère's lbl service session until required such that we can do the same here. Note that this only works with Atmosphère 1.3.1 onwards.
Support for HOS 14.0.0 & AMS v1.3.0
This is an interim update until a stable 14.0.0 libnx is available, however it should work fine for the vast majority of cases.
All lbl sessions are allocated and as such screenOn/screenOff will no longer turn the backlight on/off.
Add ability to check if process is running and build with latest libnx
This should fix an issue with certain virtual controllers not connecting correctly.
isProgramRunning requires the entire identifier, so to check if the keyboard is open you would send isProgramRunning 0x0100000000001008\r\n
Multi-peek commands and a few QOL updates
The following commands were added:
Functionality:
- peekMulti
- peekMainMulti
- peekAbsoluteMulti
- controllerType
Multi commands are the same as their non-multi counterparts, and have the added benefit of accepting an array of addresses and sizes split by spaces, and return a sequential concat stream of bytes of all data that was looked up.
controllerType allows configuration of the controller from the default pro controller to other controllers, such as a single joy-con, ring-con, etc. Useful if you're writing a bot for something that requires a different controller, such as an LGPE bot. This must be configured to a HidDeviceType
The amount of memory allocated by sys-botbase is now also reduced, and the backlight will now turn off when using the screenOff command.
Address 13.0.0 session ID changes, fix detach bug
In addition to the title, this build has the pointerRelative command if you want a pointer solved with the value returned relative to the heap.