Video není dostupné.
Omlouváme se.

Batocera -- How to Install Switch Emulation (including Yuzu v1734)

Sdílet
Vložit
  • čas přidán 22. 03. 2024
  • #batocera #switch #emulation #yuzu
    With recent events in the world of emulation, I started thinking about how one would go about installing Switch emulation on Batocera that includes the last release version of Yuzu.
    Additionally, I wanted a method that allowed for a completely offline and simple installation. Watch this video to find out more and see it in action.
    **UPDATE 04/05/2024**
    It looks like there was a commit on Github (github.com/ord...) for the script which was used to create most of the files/structure used in my installation package. As of now, the "curl -L switch.batocera.pro | bash" command will install the last versions of Yuzu and YuzuEA, if you prefer to use the more "online" method. You'll notice it downloading whenever you run the "Switch Updater" script from Ports.
    **UPDATE August 2024**
    It appears that my "offline" method for installing Yuzu has been removed from the Internet Archive. This was the result of a takedown request filed by Nintendo. It was at least useful while it lasted and I hope that everyone who needed it was able to get their hands on it. I can't provide it anymore as it did contain the appimages for the Yuzu emulator. However, I will try to re-upload my installer script within the next couple of days. You'll have to find the appropriate appimages elsewhere, but you should be able to use them with my script.

Komentáře • 88

  • @DaButcher
    @DaButcher Před 4 měsíci +1

    Thx for this video and the tool to set this up in mins. I finally have my switch running as i hoped. Thank you

  • @justsomeguy5269
    @justsomeguy5269 Před 3 měsíci +3

    thank you king. the curl -L stopped working today. but with your files i can still use switch emulation on batocera!

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci +3

      You're welcome. Yeah that sucks about the "curl -L" method because I still like to use the Switch Updater in ports to keep Ryujinx up to date. Unfortunately it looks like it quit working because the Yuzu-EA downloader is pointed to the PineappleEA/pineapple-src repository, which was taken down. The script doesn't get the expected result and begins to fail which means it never gets to the part where it updates Ryujinx.
      I'm hoping they fix it soon. A couple of weeks ago the regular Yuzu downloader in the script was pointed to a new location in a commit, so I'm betting they'll do the same for Yuzu-EA. Once they do that both the "curl -L" and Switch Updater methods should start working again.

    • @jonathandoe7490
      @jonathandoe7490 Před 3 měsíci

      thought i was losing my mind it does not work

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci +1

      @@jonathandoe7490 I know right? I ran into it not working and that eventually led me to the news that the big N had been on a warpath with DMCA takedowns. My best guess is that they just need to update Batocera-switch-updater.sh, but there could be more to it. I certainly don't consider myself a developer.

  • @ggboot1
    @ggboot1 Před měsícem +2

    You saved me a lot of time. Thank you!

  • @darbmann
    @darbmann Před 4 měsíci +1

    Thank you for this video! I am still running Batocera V38 and this worked perfectly. Please keep making more Batocera content!!!

    • @DerMaggoo
      @DerMaggoo Před 4 měsíci

      Wie hast du das hinbekommen ? habe auch die v38 allerdings erstellt er bei mir keine prod.keys und auch keine title.keys Datei so wie im Video 5:18 min. bei mir ist der Ordner leer Total 0 habe auch schon alles neu formatiert und neu installiert vor Verzweiflung :( vielleicht könnte mir jemand helfen wäre sehr dankbar

    • @darbmann
      @darbmann Před 4 měsíci +1

      @@DerMaggoo You'll need to get the product keys and title keys from the internet. You will also need to find the latest Yuzu firmware online. The video shows you where to put all of these files. Once you do so then it will work!

    • @darbmann
      @darbmann Před 3 měsíci

      You need to find the product keys and dev keys online and add the files in the folders manually. The installer does not provide those files.

    • @ernestphoenix7554
      @ernestphoenix7554 Před měsícem

      @@darbmannCould you share me a dev.keys website,I can’t find it.

  • @keusti93keusti8
    @keusti93keusti8 Před 21 hodinou

    I can't find the link can you send me the offline file thank you

  • @DaButcher
    @DaButcher Před 3 měsíci

    I hope N don't notice this video and want it removed. This was the perfect tool.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci

      Thanks. Most of the credit goes to those behind the ordovice/batocera-switch GitHub repo though. I just...borrowed it...and made a way to get Yuzu running using it without needing to download anything extra.
      But yeah...fingers crossed that it goes under the radar.

  • @TugaemBristol
    @TugaemBristol Před 3 měsíci

    thanks for this video!!

  • @GiuseppeSessa-oy7ff
    @GiuseppeSessa-oy7ff Před 24 dny

    Hi, how can I uninstall the switch apps from batocera? Thank you

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 18 dny

      The manual way to remove Yuzu would probably be to run these commands:
      rm -rf /userdata/system/switch
      rm -rf /userdata/bios/switch
      rm -rf /userdata/roms/switch
      rm -rf /userdata/system/configs/yuzu
      rm /userdata/system/configs/emulationstation/es_features_switch.cfg
      rm /userdata/system/configs/emulationstation/es_systems_switch.cfg
      rm /usr/share/applications/switch-updater.desktop
      rm /usr/share/applications/yuzu.desktop
      rm /usr/share/applications/yuzuEA.desktop
      Then run:
      batocera-save-overlay
      There may be some files that I missed in the above, but for the most part that should do the trick. You're basically just removing all the files put in place by the installer. Just be extra careful with the "rm" commands and like always, make sure you have a recent backup of your system before messing around with deleting anything. Or just be ready to re-install Batocera if anything goes wrong.

  • @mattiazanola9542
    @mattiazanola9542 Před 4 měsíci

    I've been trying incessantly for four days but I can't figure it out. Ryujin runs badly while Yuzu works perfect except that after exactly 2 minutes it crashes and freezes even if I leave it still without playing either in the menu or playing it, but it's already perfect without any problems. hint of blocking until the moment of the crash

  • @suprmnjl
    @suprmnjl Před 25 dny

    Epic video, 5 stars. My only issue is the hot key exit wont work. I need my keyboard and mouse to exit. Any ideas? Thank you

  • @jamesquillen9715
    @jamesquillen9715 Před dnem

    no longer there

  • @Jgirwarn
    @Jgirwarn Před 4 měsíci

    Thank you!! Going to try this tonight!

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 4 měsíci +1

      You're welcome! Let us know how it goes. It's basically Ordovice's method of installation (switch.batocera.pro). I just ran that, added the latest Yuzu app image, and packaged it all up. At first it was just for me (hence the simplicity of it), but then I thought, hey, why not share it with everybody else? And here we are.

    • @Jgirwarn
      @Jgirwarn Před 4 měsíci

      @@eldermillennialvideogames Just now followed your guide and the install was flawless. your instructions are spot on! If you have anymore instructional guides, please let me know.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 4 měsíci +1

      Happy to hear that! I mostly make videos like that when I run into some sort of problem that I'm able to solve. In this case the problem was how do I install the last release of Yuzu without needing to rely on websites like GitHub being available?
      I will surely make new instructional videos as I encounter and resolve issues with my setup or find crazy ways of making things work. I'm always open to idea suggestions if you have something you want to see.

  • @swgeek1976
    @swgeek1976 Před měsícem

    Thank you!

  • @stevensteele-sq4ik
    @stevensteele-sq4ik Před měsícem

    this might be a dumb question, not sure, but do you run the CLI while in Batocera on my steam deck? if so, how do I open that? thanks.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před měsícem

      I just use SSH from a different machine on my network to access the CLI on any of my Batocera systems. On the Steam Deck one way is to press the button on the right side front of the Deck that has the 3 little dots on it. That takes you to the F1 menu. From "Applications" you can launch x-term, which will give you CLI access directly on the Deck. You will still likely need an input device connected to be able to type anything, so I recommend just doing it over the network from another machine.
      From a Windows 10/11 or Linux machine you'd just open a command prompt/terminal and type something like "ssh root@batocera" and then put in the default Batocera password when prompted (it's the word "linux", without the quotations). You can replace "batocera" in the ssh command above with the IP address assigned to your Steam Deck as well and it should work just the same.

    • @stevensteele-sq4ik
      @stevensteele-sq4ik Před měsícem

      @@eldermillennialvideogames thank you very much, this helped a lot.

  • @jhimz401
    @jhimz401 Před 2 měsíci

    may i ask how you update your switch emulator firmware to v17.0 on batocera??

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 2 měsíci

      Sure. The global firmware updates are typically in .zip format when you download them. Extract them and they should consist of a bunch of .nca files. Copy those to your Batocera system to the location /userdata/bios/switch/firmware/.
      Don't forget to put any updated title and prod keys into /userdata/bios/switch/.
      Press F1 and go to Applications.
      Launch the config for the Switch emulator you want to use. If it isn't already showing the correct firmware version (usually visible in the bottom right corner) then go to the Tools menu and choose to install the firmware. Browse to the folder that has the .nca files and install. For Ryujinx you can actually point it to the firmware .zip file with the appropriate selection under the Tools menu.
      Hope this helps.

  • @0xmaheshbheema
    @0xmaheshbheema Před 3 měsíci

    Thanks, everything is working great.
    I wonder how to exit game in yuzu and go back to batocera menu.
    Hot key +start is working fine in other emulators like PS1, dolphin, etc.. but for some reason, it is not working in Yuzu. I had to hard shutdown steamdeck to exit everytime.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci

      That should work. I use my steam deck so infrequently these days that I just had to fire it up to check this. For me it's the little sandwich button just slightly above the right analogue stick and then the similar button on the opposite side of the deck to exit Yuzu. Same as for other emulators. It's Batocera v39 on the deck and I don't believe I did anything special to it to get it to exit like that.

  • @Lordmarck1
    @Lordmarck1 Před 3 měsíci

    followed the video, install process went fine but when i try start a game it just show batocera splash screen for a second and goes right back to the game list. tried yuzu and ryujin. same thing with the updater

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci

      Did you put your title.keys and prod.keys files (obtained elsewhere) into the /userdata/bios/switch/ directory?

    • @Lordmarck1
      @Lordmarck1 Před 3 měsíci

      @@eldermillennialvideogames I did. my batocera is running on a pi5

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci

      Oh Okay. Might just come down to the architecture then. My video was really intended for x86_64 CPU architectures. I can't imagine any current or recent Switch emulator running very well on a pi5 anyway. Maybe for 2D games....and that's a big maybe.

    • @Lordmarck1
      @Lordmarck1 Před 3 měsíci

      @@eldermillennialvideogames yeah it was just out of curiosity

  • @ktograph1138
    @ktograph1138 Před 28 dny

    how can I check my current yuzu version?

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 18 dny +1

      One way would be to go to the Batocera F1 menu and select Applications. Launch the Yuzu config from there. There should be a "Help" (or something like that) menu item with an "About" subsection that will give you the version.

  • @2doriginal523
    @2doriginal523 Před 3 měsíci

    I followed the guide and all of it went as it needed to up till I ran a game. When I run games it just stays on in infinite loading screen. Any fixes for that?

    • @2doriginal523
      @2doriginal523 Před 3 měsíci

      When launching in Ryujinx it just boots be back to the main menu. Is there a reason that yuzu gets stuck loading and ryujinx must kicks me out? When I look at the applications folder I don’t see Ryujinx too, is it hidden by any chance?

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci

      I haven't seen the issue where yuzu gets stuck on the loading screen before. Is this on a PC or a Steam Deck? What version of the firmware are you using (i.e. the prod.keys and title.keys you put into /userdata/bios/switch/)? I recommend version 17.x.
      I probably just didn't include the Ryujinx .desktop file that makes it show up in the Applications menu when you press F1. Since Ryujinx still exists, it wasn't a major concern of mine at the time. Just run the Switch Updater from the Ports menu to get it to show up. That will also make sure you have the latest version of Ryujinx-Avalonia.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci +2

      You may actually have to wait a bit before running the Switch Updater script. It appears to be throwing an error at the moment because it is setup to download Yuzu-EA from the PineappleEA/pineapple-src GitHub repository, which was taken down by DMCA (along with a metric shit ton of other yuzu forks on GitHub). Hopefully the error will be resolved by the developer who maintains the repo where that script is pulled from. You won't have to do anything on your end since it pulls down the update script every time you run the updater. Just have to wait for it to be fixed.

    • @2doriginal523
      @2doriginal523 Před 3 měsíci

      @@eldermillennialvideogames thanks for reaching out I figured it out! So out of curiosity I tried different keys and found that yuzu would only work with 16.1.0, also I went into yuzu launcher and hit install keys even tho I already had it in the folders (posting this in case someone else has this issue in the future) otherwise great video helped a lot thanks!

  • @andrenapper8802
    @andrenapper8802 Před 2 měsíci

    I'm having trouble launching a switch game on my steam deck. After launching the game, it shows the name on screen and then it goes right back to the game list. I followed your instructions also. Only difference is that I did the curl L command. Crazy thing is that when I go applications and select the ryujinx config and open a game from there, it launches. I know it has to be a setting issue. The yuzu config won't launch. Gives me an error.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 2 měsíci

      The curl -L method should be working. Only reason it can be a problem is that more often than not one of those download phases will timeout, but the script keeps moving along so at the end you'll think it went okay when it really didn't. The switch updater under "Ports" usually doesn't have this problem. So if that is working fine then that rules out a bad install.
      When you launch ryujinx-avalonia-config (or whatever it's called), check the Input setting and make sure that the Steam Deck controls are listed as the device with a type of "pro controller". You'll probably need to actually perform the mapping of the controls as well. Probably a good time to install newer firmware for Ryujinx as well while you're in the config app if you want to.
      After you've done that, hit Apply and OK and go back to the ES menu and try to launch the game from there using Ryujinx Avalonia. It's probably looking for a non-existant controller mapping config and that is what is causing Ryujinx to exit right after starting. That's behavior I've seen anyway. If that doesn't fix it then I'd have to take a look at the contents of your /userdata/system/logs/es_launcher_stdout and es_launcher_stderr files to figure out what's going on.
      What's the error you get trying to launch the yuzu config app? Back to my first point, I'd seriously consider running the Switch Updater if you haven't already just to make sure there isn't something janky with the initial install.

    • @andrenapper8802
      @andrenapper8802 Před 2 měsíci

      @@eldermillennialvideogames thanks for responding, it seems that I got it working. I did perform the switch update through the ports this morning. Not sure it helped, but the error I am getting from the yuzu config is "Invalid desktop entry file: '/usr/share/applications/yuzuEA.desktop"
      I went through every switch emulator and found the only that will play the games is RYUJINIX-LDN. I'll play on that one. I just heard that yuzu was a lot smoother. I have it on handheld because I was told that gives better performance on the streamdeck. This fan is driving me crazy though. I'm just glad I figured it out. The fan blows hard pretty hard though.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 2 měsíci +1

      Glad you got it working. I just had to fire up my Steam Deck to check, but I don't believe Yuzu EA is working for me either. But Yuzu Mainline does work. Ryujinx-Avalonia is going to be the most up-to-date version of the Ryujinx emulator and it does work for me, but like I said, I first had to go in and map my controls manually in order to get it working from the ES menu.
      I'm trying to use Ryujinx more than Yuzu lately just because at least Ryujinx will get updates going forward. Haven't tested it in a little while on the Deck, but last time I checked Ryujinx performance wasn't awful, but it wasn't great on the deck either. Ryujinx is working great on my PC though. I've nearly made it all the way through Paper Mario: TTYD on it. Yes, I did pay for the switch game and download it to my Switch and yes I did almost immediately start playing it on an emulator instead.
      The fan can be annoying. As soon as someone can invent a powerful handheld gaming device with completely silent and effective cooling, they'll make a fortune.

    • @andrenapper8802
      @andrenapper8802 Před 2 měsíci

      @@eldermillennialvideogames not sure why the mainline one doesn't work for me. Yeah I did map the controls too under the pro controller. Thanks for your feedback. Like you said hopefully it will get better. Planning on giving my switch lite to my son and playing the games on my steam deck. I have the rig ally z extreme but the micro SD card slot died on me. It was an open box from Best buy, so I wiped my steam deck and made it retro/ switch handheld now.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 2 měsíci

      I was messing around with a new Batocera installation on my Steam Deck and gave the curl method of installing Switch emulation a try. It's been a while. I see it has changed quite a bit since the last time I used it.
      For Ryujinx-Avalonia, there is no firmware installed so you'll need to install it. It's not too hard to find ryujinx firmware downloads online. I'm using v18 myself. I found a zip file containing the firmware .nca files and installed it by opening Ryujinx Avalonia and installing it from the zip (one of the drop down menus has this option). I also have the appropriate .keys files under /userdata/bios/switch/.
      Then make sure the Input under Settings is set to "Steam Deck (0)" and set it to be a Pro Controller. Go through the process of mapping each controller button (it's a pain, I know). Back in the Batocera ES menu, set your game to launch with Ryujinx Avalonia and set the "Auto Controller Configuration" option to "Off".
      That should get Ryujinx working.
      The curl method seems to no longer install Yuzu, so that's why it isn't working for you. You'll need to put the yuzu.AppImage and yuzuEA.AppImage files into /userdata/system/switch/. Once the app images are in place Yuzu should just work. It seems to be working fine with the automatic controller configuration set to "Auto".
      I may need to do an updated guide on this soon.

  • @chrisumali9841
    @chrisumali9841 Před 4 měsíci

    Thanks for the info, have a great day

  • @ll_spud
    @ll_spud Před 3 měsíci

    I think someone fixed Yuzu. I ran the update yesterday and it works. Version 1734.

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 3 měsíci +1

      Yep, looks like they took care of it. I just ran the updater and it seems to be working fine for me now as well.

  • @emilianofrancavilla8801
    @emilianofrancavilla8801 Před 2 měsíci

    Do you know if this can work on raspberry pi 5?

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 2 měsíci

      I don't own a rpi5 and don't have any plans on getting one, so I haven't tested it myself. My "offline" install method won't work because it contains the x86_64 versions of the emulators. And I don't think the curl -L script command will download the arm64 versions either (could be wrong about that, though).
      In theory if you had versions of the emulators for the correct architecture you should technically be able to get them to work on the pi. However, keep in mind that the rpi5 is not super powerful. Even if you got it working, I don't think it would be a smooth or enjoyable experience. I'm betting you'd be seeing mostly single digit frames per second.

  • @mattiazanola9542
    @mattiazanola9542 Před 4 měsíci

    don't understand why with my batocera V39 after 2 minutes of playing Mario Kart Deluxe 8 the game crashes and freezes. I put the unpacked firmware 17.0 and its prod.keys and title.keys in the userdata/bios/switch/firmware folder.
    if I don't do this the game freezes during loading before gameplay

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 4 měsíci

      Do you get the same behavior on both Yuzu-Mainline and Ryujinx? Maybe try switching the rendering to Vulkan or OpenGL (depending on which one you're using now). I'm using version 1.0.0 of Mario Kart 8 with some DLC courses installed and don't have any problems like this with Yuzu. Like you, I'm also using the version 17 prod and title keys. Of course there are always differences in PC hardware that could also be factors.

    • @mattiazanola9542
      @mattiazanola9542 Před 4 měsíci

      I use Vulkan and with open gl it freezes even before the game starts and only the Yuzu emulator works for me

    • @mattiazanola9542
      @mattiazanola9542 Před 4 měsíci

      Il menu e i fps sono perfetti prima del blocco

    • @mattiazanola9542
      @mattiazanola9542 Před 4 měsíci

      while when I install your procedure I get the message that it was not possible to create the directory where the bios files are located
      so I add them manually at the end of the update

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 4 měsíci

      Yeah, that's fine. That usually just means the directory it was trying to make was already there. Adding the files manually shouldn't be a problem, since that is effectively all the script is doing anyway. I kept the script as simple as possible so it'd be easy to understand and everyone would have the option of simply copying and pasting commands from it if they wanted a more manual approach.

  • @samrichardson6605
    @samrichardson6605 Před 4 měsíci

    Thank You!

  • @deglang-sf5qo
    @deglang-sf5qo Před 4 měsíci

    i did this and it seemed to work great but games freeze after a couple mins

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 4 měsíci

      Hmmm. You're the second person to say something like that. I wonder if shader cache files in there are causing a problem? Maybe try deleting those and then trying a game again. They should be under /userdata/system/.local/share/yuzu/shader/. I think you can delete the whole "shader" directory safely. See if that helps at all and please let me know if it does.
      Other than that, the usual steps apply:
      1. Check the logs around the times that the freezes happen
      2. Try different Graphics API (Vulkan/OpenGL)
      3. Try with Ryujinx-Avalonia (I've run Yuzu for most of my games, but there are some that just run better on Ryujinx for me)
      Out of curiosity, what games are you seeing this behavior on and is this a PC or Steam Deck you're using?

    • @deglang-sf5qo
      @deglang-sf5qo Před 4 měsíci

      i'll try that and report back asap
      @@eldermillennialvideogames

    • @deglang-sf5qo
      @deglang-sf5qo Před 4 měsíci

      that solved it youre a hero
      @@eldermillennialvideogames

    • @eldermillennialvideogames
      @eldermillennialvideogames  Před 4 měsíci

      Cool. Thanks for letting me know that it worked. I'm guessing that I didn't remove my shaders when I packaged it all up. We'll file this one under "Oops" for now. Easy enough fix though.

  • @Neocali1
    @Neocali1 Před 4 měsíci

    Thanks🎉