Tesla - The Nintendo Switch Overlay Menu

fhwyjbd.png

Hey all.
I'd like to introduce to you, Tesla: My answer to the growing need for proper ingame front ends for sysmodules.


What is this?

  • Tesla consists of three individual parts. nx-ovlloader, the Tesla menu and libtesla.
    • nx-ovlloader is basically nx-hbloader ported to run as a sysmodule. It runs in the background and loads overlay NROs (.ovl files) given to it.
    • Tesla Menu is the equivalent to the hbmenu. It's the initial thing loaded by nx-ovlloader and acts as a hub for you to select all other overlays.
    • libtesla is where it becomes interesting for developers. It's an easy to use library that handles layer creation, UI drawing and all the overlay UX. It makes it very easy to create a new overlay for anything
  • A frontend for sysmodules that before required either a homebrew or a config file to change settings or used sounds or the LED to give the user feedback.

What is this not?

  • A tool that lets you create overlays that are always visible. Overlays can get unloaded way to easily for this.
  • An excuse to port absolutely everything to a overlay. Nobody's going to need a title manager overlay. If you consider making a overlay, keep it simple. You don't have a whole lot of memory to work with.


How do I use this?

First of all, download the latest release of nx-ovlloader and the Tesla Menu from the GitHub Release page and extract it onto your SD card.
After a reboot, hold down L and DPad Down and push on the right joy stick to bring up Tesla at any time. Navigation works as you imagine it.
Similar to normal homebrews, you place your .ovl files in the /switch/.overlays folder on your SD card.


Screenshots

W8yN2M6.jpg

fdfWAXw.jpg


Notice

Make sure to use the latest Atmosphere release when trying this as older versions ( as the one SX OS uses too ) probably won't have enough memory available for this to run. Overlays do take a lot of space so nx-ovlloader reserves 6MB. 2MB for framebuffers and around 4MB for overlay developers to use in their overlays.


GitHub

nx-ovlloader: https://github.com/WerWolv/nx-ovlloader
Tesla Menu: https://github.com/WerWolv/Tesla-Menu


For Developers

libtesla: https://github.com/WerWolv/libtesla
Tesla build template: https://github.com/WerWolv/Tesla-Template


Download

nx-ovlloader: https://github.com/WerWolv/nx-ovlloader/releases/latest
Tesla-Menu: https://github.com/WerWolv/Tesla-Menu/releases/latest
EdiZon Overlay: http://werwolv.net/downloads/EdiZonOverlay.zip ( As a little preview for what this is capable of and what EdiZon 4.0.0 will have even more of soon :) )

Special thank especially to averne without him, this would not have been possible!


Obligatory Donation links

GitHub Sponsors https://github.com/sponsors/WerWolv
PayPal https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KP7XRJAND9KWU&source=url
Patreon https://www.patreon.com/werwolv



Thanks a lot and have fun using and extending it :)
 
Last edited by WerWolv,

TomSwitch

Well-Known Member
Member
Joined
Jan 10, 2019
Messages
4,300
Trophies
1
Age
44
XP
14,124
Country
United States
Never ever use the auto updater to do things like update atmopshere or update your switch. its probably fine for patches and cheats and a few other utilities.. but dont let it do things that will cause things to crash and burn.
Saw a two packs of food, no expiry sticker, ate one yesterday and it was a wonderful meal, what should you do with the other one today?
 
Last edited by TomSwitch,

Jmdaemon

Well-Known Member
Newcomer
Joined
Mar 8, 2022
Messages
48
Trophies
0
Age
54
Location
Spaceball 1
XP
194
Country
United States
Saw a pack of food and ate it, no expiry sticker, wonder what will happened afterwards?

Saw a hungry man, you have a pack of peanuts, feed it to the man? Will he die of allergic reaction to peanuts?

A friend send you a file with attachment, you click on attachment from this friend before and had no regrets, should you click on it again?
You can only click a bad file once.
 

ELY_M

Developer
Developer
Joined
Dec 6, 2007
Messages
704
Trophies
1
XP
1,652
Country
United States
I will miss @WerWolv I like your hex editor.
Post automatically merged:

Might we should pay @WerWolv to help with this issue.
Post automatically merged:

My theory on why tesla is crashing. the overlay ovl is always in applet mode. There need to be a way for ovl to have access to full ram.
I know it is recommended to hold R and open one of your games to enter hbmenu for full ram access.
 
Last edited by ELY_M,
  • Like
Reactions: Bricked

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,938
Country
Poland
My theory on why tesla is crashing. the overlay ovl is always in applet mode.
It's not. It's in "system mode" which is even worse and this is for a reason - there is no other way to run process in background than being in system or application mode.
There need to be a way for ovl to have access to full ram.
Overlays would lost all meaning by running them in Application mode, don't you think?

Just forget about this idea. It's a dead end.
 
  • Like
Reactions: Bricked and ELY_M

jevil_memer

Member
Newcomer
Joined
Dec 28, 2018
Messages
7
Trophies
0
Age
20
XP
309
Country
Canada
is it related to the tesla menu or the other overlay we install on it? because i have no issues in handheld but it will always crash when docked
 

Cooler3D

Well-Known Member
Member
Joined
Sep 4, 2020
Messages
307
Trophies
0
XP
1,014
Country
Russia
As a workaround for 4IFIR, I'm testing the following changes for DOCK mode:

  • In boost mode (loading levels, launching the game), the launch of the overlay is blocked.
  • Added a 1 second cooldown when switching between overlays.
  • Removed transparency for overlays that don't need it.
  • In dock mode, the internal rendering resolution of overlays is reduced to 720p.

I will investigate the impact of these changes, and depending on the results, I will include these changes in the public build. It's not an elegant solution, but it's better than nothing. Perhaps I will get my hands on a full-fledged solution to the problem.
 

FAKEdemicBioPYSCHONANOWAR

Well-Known Member
Member
Joined
Sep 26, 2021
Messages
207
Trophies
0
Age
35
XP
507
Country
Netherlands
As a workaround for 4IFIR, I'm testing the following changes for DOCK mode:

  • In boost mode (loading levels, launching the game), the launch of the overlay is blocked.
  • Added a 1 second cooldown when switching between overlays.
  • Removed transparency for overlays that don't need it.
  • In dock mode, the internal rendering resolution of overlays is reduced to 720p.

I will investigate the impact of these changes, and depending on the results, I will include these changes in the public build. It's not an elegant solution, but it's better than nothing. Perhaps I will get my hands on a full-fledged solution to the problem.
You sire are invaluable, hope it is of use.
 
  • Like
Reactions: Cooler3D

Cooler3D

Well-Known Member
Member
Joined
Sep 4, 2020
Messages
307
Trophies
0
XP
1,014
Country
Russia
Overlays from 4IFIR recompiled with some dirty hacks (by masagrator, me and some others).
Extract, reboot, enjoy. For testing purposes (dock issue).

1.png
 
Last edited by Cooler3D,
  • Love
Reactions: impeeza

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,938
Country
Poland
Isn't it just to rebuild the overlays with the latest libtesla and they'll will work?
My PR should workaround random issue with freeing framebuffer in docked mode that was common in all overlays. Edizon Overlay for some people seems still to cause random crash so I don't think it's the same issue as for other overlays.
 
  • Like
  • Love
Reactions: ELY_M and impeeza

linuxares

The inadequate, autocratic beast!
Global Moderator
Joined
Aug 5, 2007
Messages
13,099
Trophies
2
XP
17,742
Country
Sweden
My PR should solve random issue with freeing framebuffer in docked mode that was common in all overlays. Edizon Overlay for some people seems still to cause random crash so I don't think it's the same issue as for other overlays.
Ah yes, might be.
I checked the Tesla Menu github and it's "softlocks" and the devs need to just compile with libtesla that been updated for 16.x
 
  • Love
Reactions: impeeza

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    straferz @ straferz: Anybody know why this is happening to my ACWW town...