TriPlayer - A feature-rich audio player for Nintendo Switch

wd7qBy2.png


Hey everyone! I'd like to introduce a little something I've been working on since February. After 9 months I believe it's at a state where it's ready for a public release!

Let me introduce TriPlayer, my project that came to be due to the lack of a "proper" audio player for the Nintendo Switch. TriPlayer automatically scans and organizes any audio files you have in the /music folder on the root of your SD card. As pictures speak a thousand words, I'll let the following screenshot help describe it:

ci80MLQ.jpg

As you can see, it handles the metadata embedded within audio files in order to create a complete music library. The music will keep playing while you're playing a game or using another application. Playback can be controlled via the provided Tesla overlay or by pressing button combinations on the controller.

Requirements:
  • A recent version of Atmosphere (0.10.0+)
    • TriPlayer may work on other CFWs, however this is untested
    • The sysmodule requires ~3MB of free memory, so this may clash with other sysmodules
  • A recent firmware version
    • Once again this hasn't been tested, but some code relies on newer firmwares so I suggest 10.0.0+
  • Some music!
    • FLAC, MP3 and WAV are supported at this time
Installation:

1. Download the latest release as a .zip from here
2. Extract the contents to the root of your SD card
3. Place some music in /music
4. Launch the application and wait for the initial scan to complete

GitHub:

A lot more information and usage is covered on my GitHub repo. See the readme for a brief introduction and link to the wiki where everything is covered in detail.
https://github.com/tallbl0nde/TriPlayer

Final Notes:

I hope TriPlayer is useful to many of you who have been wanting a music player on the Switch. As it's quite complex, there's a good chance I've missed some major bugs. Please report these as issues on GitHub. Note that should the sysmodule crash, it will crash the entire OS. While I personally haven't had any crashes while both listening and not listening to music, I recommend stopping the sysmodule (either via the app or overlay) when you're not using it if you want to be extra safe.

Enjoy! :)
 
Last edited by tallbl0nde, , Reason: Update supported formats

crazy_p

Well-Known Member
Member
Joined
Sep 3, 2016
Messages
1,348
Trophies
1
XP
8,196
Country
Thailand
Just have EdiZon, Status Monitor, sys-clk, and TriPlayer.

Works as intended for me i only have noexs & sysftplight running.
I can back out the Player from the Album and the Forwarder and access the Overlay without any
Problem. I can even run the Overlay and App together and they are in sync.

I also switched from Tony Hawks to the Overlay and Album then back to Tony Hawks.
 
  • Like
Reactions: Smoker1

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
NSP Forwarder thanks to @crazy_p
https://gbatemp.net/attachments/triplayer-01320a1f9a192000-zip.271351/

EDIT - Only problem with the App
Run TriPlayer
Select MP3 File
Exit App
Run the Overlay (L+DPad D+R3)
select the TriPlayer Sysmodule
audio will stop, but the Pause/Play Button will show it is still playing.
Temp Solution:
Back out of TriPlayer Module
get back in it
go to the Play/Pause, and press the B Button (which backs you out), but if you do it right, the MP3 will start playing again.

EDIT 2: Also, when trying to show the SysModule again, it wont show up for some reason. Also the Sysmodule will apparently stop after a while.
I actually didn't change any code in the sysmodule itself, so I find it weird these issues have been introduced now. It could be an out-of-memory issue like @crazy_p mentioned, what FW + CFW are you using?

Edit: I'm gonna assume what's in your signature thingy :P
 
  • Like
Reactions: Smoker1 and crazy_p

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,051
Trophies
1
Location
California
XP
6,095
Country
United States
I actually didn't change any code in the sysmodule itself, so I find it weird these issues have been introduced now. It could be an out-of-memory issue like @crazy_p mentioned, what FW + CFW are you using?

Edit: I'm gonna assume what's in your signature thingy :P
LOL. Yup. Updated my Signature when I Updated everything
 

Sayshi

Active Member
Newcomer
Joined
May 4, 2021
Messages
26
Trophies
0
Age
25
XP
185
Country
New Zealand
Quick question, is there an overlay for this? I checked on GitHub but can't seem to find it.

Fantastic work on triplayer by the way! It works flawlessly so far and I couldn't be happier. Thank you so much!

EDIT: Some games such as NES Nintendo switch online and some homebrew apps crash because of Triplayer. Can this be fixed?
 
Last edited by Sayshi,

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
Quick question, is there an overlay for this? I checked on GitHub but can't seem to find it.

Fantastic work on triplayer by the way! It works flawlessly so far and I couldn't be happier. Thank you so much!

EDIT: Some games such as NES Nintendo switch online and some homebrew apps crash because of Triplayer. Can this be fixed?

If you actually read the first post and documentation on github that the developer took time to put together you'd have both of your answers within 30 seconds instead of needing to be spoonfed.
 
  • Like
Reactions: crazy_p

Lenks

Well-Known Member
Member
Joined
Mar 8, 2020
Messages
104
Trophies
0
Age
37
XP
1,203
Country
Bulgaria
Tried TriPlayer through the weekend. Everything works good with no problems or crashes. Sad that you can't control game volume and player volume independently (but that's more BOTW fault, not the Player I think)... I only use it with long MP3 files (Podcasts, eBooks) and I didn't have problems starting them.
 

Sayshi

Active Member
Newcomer
Joined
May 4, 2021
Messages
26
Trophies
0
Age
25
XP
185
Country
New Zealand
If you actually read the first post and documentation on github that the developer took time to put together you'd have both of your answers within 30 seconds instead of needing to be spoonfed.

I don't understand your hostility, I looked and the GitHub nor first post explains why the overlay isn't included in the most recent 1.1.1 download.
Surely this is a valid question?

I swear the omission of the overlay isn't documented anywhere. If it's explained why then feel free to show me, otherwise I humbly stand my ground.

Regarding the second question, I understand that Triplayer uses 1 of the two available sessions, and thus crashes when a game tries to use two.
The intended solution to this is to stop the Triplayer sysmodule, but again without the overlay I can't do that, hence my asking.
 
Last edited by Sayshi,

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
I don't understand your hostility, I looked and the GitHub nor first post explains why the overlay isn't included in the most recent 1.1.1 download.
Surely this is a valid question?

I swear the omission of the overlay isn't documented anywhere. If it's explained why then feel free to show me, otherwise I humbly stand my ground.

Regarding the second question, I understand that Triplayer uses 1 of the two available sessions, and thus crashes when a game tries to use two.
The intended solution to this is to stop the Triplayer sysmodule, but again without the overlay I can't do that, hence my asking.
I just downloaded the latest release and it's definitely there at `/switch/.overlays/ovl-TriPlayer.ovl`. Are you using macOS/Linux? If so the folder would be hidden as it has a `.` at the start of it's name.
 

Sayshi

Active Member
Newcomer
Joined
May 4, 2021
Messages
26
Trophies
0
Age
25
XP
185
Country
New Zealand
I just downloaded the latest release and it's definitely there at `/switch/.overlays/ovl-TriPlayer.ovl`. Are you using macOS/Linux? If so the folder would be hidden as it has a `.` at the start of it's name.
Ahh, that was indeed the issue. Thank you so much!
Sorry for inconveniencing you all. Feel really silly now ><;

Once again, thank you so, so much for making triplayer!
Interestingly, the Triplayer Sysmodule doesn't appear in the Sysmodules tesla overlay and thus cannot be toggled. I wonder if it's just my switch tesla menu being bugged...
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia
Ahh, that was indeed the issue. Thank you so much!
Sorry for inconveniencing you all. Feel really silly now ><;

Once again, thank you so, so much for making triplayer!
Interestingly, the Triplayer Sysmodule doesn't appear in the Sysmodules tesla overlay and thus cannot be toggled. I wonder if it's just my switch tesla menu being bugged...
You're welcome!
It doesn't appear because toggling a sysmodule in Tesla/Kosmos Toolbox straight up 'kills' the process, not allowing it to exit cleanly. If this happens, the part of the sysmodule responsible for communication between the sysmodule and application/overlay won't start properly until the Switch is rebooted. There's a 'Stop Sysmodule' button in the TriPlayer overlay which stops it cleanly to make up for this.
 
  • Like
Reactions: Sayshi

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
I don't understand your hostility, I looked and the GitHub nor first post explains why the overlay isn't included in the most recent 1.1.1 download.

Yeah that was a bit harsh, I apologize. Seems you were a victim of your operating system.
 
  • Like
Reactions: Sayshi

Sandmann

Active Member
Newcomer
Joined
Oct 30, 2016
Messages
38
Trophies
0
XP
422
Country
Germany
Hello, there is a bug!

The TriPlayer v1.1.1 crashes in the following games: Ghostrunner and WRC9.
Can you fix it please?

Switch 12.1.0
Atmosphere 0.19.5-master-9df13781)
Error Code: 2162-002 (0X4a2)
Program: 0100000000000014

If I switch off the overlay (triplayer), the game starts again.

Thanks!
 

Maupiti

Hacking is so « Nice »
Member
Joined
Sep 16, 2018
Messages
1,042
Trophies
0
XP
2,476
Country
France
Hello, there is a bug!

The TriPlayer v1.1.1 crashes in the following games: Ghostrunner and WRC9.
Can you fix it please?

Switch 12.1.0
Atmosphere 0.19.5-master-9df13781)
Error Code: 2162-002 (0X4a2)
Program: 0100000000000014

If I switch off the overlay (triplayer), the game starts again.

Thanks!
Do you have other sysmodules running when playing these games with TriPlayer enabled ?
 

tallbl0nde

Well-Known Member
OP
Member
Joined
Jan 11, 2019
Messages
147
Trophies
0
Age
24
XP
1,538
Country
Australia

Maupiti

Hacking is so « Nice »
Member
Joined
Sep 16, 2018
Messages
1,042
Trophies
0
XP
2,476
Country
France
Hello, there is a bug!

The TriPlayer v1.1.1 crashes in the following games: Ghostrunner and WRC9.
Can you fix it please?

Switch 12.1.0
Atmosphere 0.19.5-master-9df13781)
Error Code: 2162-002 (0X4a2)
Program: 0100000000000014

If I switch off the overlay (triplayer), the game starts again.

Thanks!
Now that you mentioned it, I remember having an issue in ghostrunner , making the game crash…only because the sysmodule was enabled.
 
Last edited by Maupiti,
  • Like
Reactions: Sandmann

jnl1

Well-Known Member
Member
Joined
Jan 12, 2020
Messages
502
Trophies
0
Age
36
XP
1,635
Country
Germany
Sorry, but somehow this does not work correctly on my switch with atmosphere 0.19.5, triplayer 1.1.1 and FW 11.0.
When using the overlay there comes the message "can´t connect to sysmodule", starting the homebrew via .nro works though.
But starting the triplayer before a game, the game then crashes. Starting the game first and then the homebrew via .nro it works...

Any hints on these issues?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo