hamhub7 / nx-TAS

Rewrite of TAS-nx
GNU General Public License v2.0
24 stars 14 forks source link

NX-TAS IS DEPRECIATED! Check out tas-script for the lastest in Switch TAS

nx-TAS

Rewrite of TAS-nx

nx-TAS is fundamentally different than its predecessor, TAS-nx, in that it uses a virtual controller to send inputs instead of changing the inputs of the currently used controller.

Support the Creators

Join our Discord server
Support me on Patreon or PayPal
Make a pull request!

Features

New features are already planned, such as changing the tye of controller (pro, joycons, sideways joycons, and possibly other controllers), multiple player TAS support, motion controls, some way to combat variable load times and rng (for most games), and color customizaition of the controllers.

Usage

First of all, you need to have an Atmosphere-injected Switch.

Installation

  1. Acquire nx-TAS.nsp either from the latest release, or more preferrably build yourself via the instructions below
  2. Create the relevant title directory on your Switch's SD card at sdmc:/atmosphere/titles/0100000000000cab/ (sdmc:/atmosphere/contents/0100000000000cab on Atmosphere versions 0.10.0 or newer)
  3. Place the NSP as sdmc:/atmosphere/titles/0100000000000cab/exefs.nsp (sdmc:/atmosphere/contents/0100000000000cab/exefs.nsp on Atmosphere versions 0.10.0 or newer)
  4. Create an empty file at sdmc:/atmosphere/titles/0100000000000cab/flags/boot2.flag (sdmc:/atmosphere/contents/0100000000000cab/flags/boot2.flag on Atmosphere versions 0.10.0 or newer)
  5. Reboot into CFW

Keybinds

You need to have a USB keyboard attached to your Switch, either via the dock or a USB-A to USB-C adapter in the charging port.

Controllers

Scripts

Utilities

Building from Source

  1. Set up the required libraries
  2. In the newly installed MSYS2, navigate to the folder you'd like to build this project in, either by opening MSYS in that directory or using the cd command to navigate
  3. git clone https://github.com/hamhub7/nx-TAS.git
  4. cd nx-TAS
  5. make
  6. You should see a file called nx-TAS.nsp

The make process will fail for one of three reasons: