-
Notifications
You must be signed in to change notification settings - Fork 30
Initial Setup
https://wiki.switchroot.org/en/Linux/Ubuntu-Install-Guide
If you are using a Nintendo Switch on L4T Ubuntu 3.4.0 or newer, you already have the L4T Megascript. Search your applications list for the icon.
Option A (no terminal use needed, update to L4T 3.4.0+ for use on Nintendo Switch only - not applicable to other Tegra hardware):
Download the 3.4.0 Update Files
1. Remove /bootloader/ini/01-ubuntu.ini file from the fat32 partition on sdcard.
2. Extract the update_only 7z file to fat32 partition on sdcard.(if you have no space, try removing all ubuntu related files from fat32 partition on sdcard, and try again.)
3. Dump joycon pairing info in hekate (if you haven't ever done so).
4. Boot your switch and you will have the L4T-Megascript in your applications list which you can select to run the Megascript. You will also be updated to L4T 3.4.0
Option B (faster setup, should work on all Tegra hardware in Ubuntu - run the Megascript directly from the terminal just once and get an app icon for future launches):
Boot L4T on your Switch and open a terminal (Ctrl + Alt + T or open Terminal
from the app list), then copy and paste the following command to automatically update dependencies and run the megascript: (hint: if running over ssh with no display, remove "gui")
bash <( wget -O - https://raw.githubusercontent.com/cobalt2727/L4T-Megascript/master/core_refactor2.sh ) "gui"
An application "L4T Megascript" will be added to your system when you run the Megascript for the first time.
This can be found at /usr/share/applications/
if you want to remove our .desktop file later, for any reason.
You are running an old and unsupported version of L4T Ubuntu, and should definitely update for the best experience. Follow the steps above, Option A
We HIGHLY recommend that you first run the initial setup script to ensure everything is in working order.
Here's all the options included in that:
Workaround permissions issues due to options not supported in L4T Kernel
Lets you use the joycons as - you guessed it - a mouse/keyboard.
Note: JoyCons, Switch Pro Controller, Dualshock 4 (wired only), XBox One Controller (wireless only), and Nintendo GameCube Controllers (when using the ToadKing Gamecube Driver) are currently supported.
Default button configs for JoyCons/Pro Controller (other controllers similar):
Button | Key |
---|---|
B | Left Click |
A | Right Click |
X | Middle Mouse Button |
L | Volume Down |
R | Volume Up |
ZR | Brightness Up |
ZL | Brightness Down |
D-PAD | Keyboard Arrow Keys |
Screenshot | Turn the mouse off and on (leave off when playing games) |
Home | Escape |
+ | Enter |
- | Back |
Right Stick Click | F5 |
Left Stick XY | Mouse XY |
Right Stick XY | Scroll XY |
Installs SDL2.0.14 debian binaries compiled on Switch hardware (RetroPie SDL2.0.14 Fork). It's a requirement for many games in the script (which is why it installs as part of the main L4T-Megascript as well as being included in the Initial Setup script.
SRB2, SRB2Kart, CSE2-Tweaks, SuperTux2, Celeste (Pico-8 Port), Flappy Bird, SM64 Port, RetroPie (automatically installs with Retropie), Box64
List in progress
And that's all! You're all set to install just about any other program included in the Megascript. Check the individual wiki pages to read more on a particular game or program.
(If possible, you definitely want to hook up a USB keyboard and/or mouse to make setup easier...)