GithubHelp home page GithubHelp logo

koi-3088 / usb-botbase-archived Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fishguy6564/usb-botbase

23.0 2.0 4.0 678 KB

Sys-botbase by olliz0r with usb support.

License: GNU General Public License v3.0

Makefile 4.54% Python 4.58% C 90.88%

usb-botbase-archived's Introduction

NOTE: you should now go to this repository here for an up-to-date usb-botbase. They were both essentially the same thing so there wasn't much point in maintaining both. It's still the same usb-botbase, except with an option to switch between usb and wifi.

sys-botbase based on jakibakis sys-netcheat

The purpose of this sys-module is to allow users to remote control their switch via wifi connection as well as to read and write to a games memory. This can be used to create bots for games and other fun automation projects.

Warning:

Don't even think of blaming me if anything goes wrong with you using this. It's supposed to help you in the development of bot automation, but I am not liable for any damages or bans you might get in the process. Use at your own risk and all that.

(planned) feature list:

button input:

  • simulate button press
  • simulate button hold
  • set complete controller state

touchscreen input:

  • simulate touchscreen press
  • simulate touchscreen hold
  • simulate touchscreen drawing

Memory reading:

  • read x bytes of consecutive memory from RAM based on absolute memory address
  • read x bytes of consecutive memory from RAM based on address relative to main nso base
  • read x bytes of consecutive memory from RAM based on address relative to heap base

Memory writing:

  • write x bytes of consecutive memory to RAM based on absolute memory address
  • write x bytes of consecutive memory to RAM based on address relative to main nso base
  • write x bytes of consecutive memory to RAM based on address relative to heap base

screen capture:

  • capture current screen and send it (only as shitty jpeg at this time)

Easy Installation

Download the .zip file and extract it to your sd card. The zip file contains the necessary folder structure and flag files. Restart your switch.

Manual Installation

Copy the sys-botbase.nsp file to sdmc://atmosphere/contents/430000000000000B and rename it to exefs.nsp. Create a new folder in sdmc://atmosphere/contents/430000000000000B names "flags". Create a empty file called boot2.flag inside this folder. Restart your switch.

The sysmodule opens a socket connection on port 6000. See the python example on how to talk to the sysmodule and what commands are available.

Credits

big thank you to jakibaki for a great sysmodule base to learn and work with, as well as being helpful on the Reswitched discord! also thanks to RTNX on discord for bringing to my attention a nasty little bug that would very randomly cause RAM poking to go bad and the switch (sometimes) crashing as a result. thanks to Anubis for stress testing!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.