Skip to content

jimslee-nanfeng/batocera-switch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batocera-switch

Extends Batocera and adds switch emulation as an UNSUPPORTED ADD-ON to BATOCERA.

Master branch is tested and currently working on Batocera 37-38. If you have v35 or lower, please upgrade Batocera as we are no longer supporting these versions.

This version of the code requires a file system for userdata that supports symlinking (EXT4, BTRFS) and is for x86_64 only!!

This version integrates work from foclabroc, Batocera Nation, and uureel. It does not include the bios keys.

Controller automapping is a constant work in progress. Autoconfiguration of controllers is now handled via pySDL and some python magic.

GET Support Here

https://discord.gg/cuw5Xt7M7d

TODO

Actual Joycon support for Ryujinx (May not be possible) - Crash when joycons connected is fixed Turn off/on rumble based on SDL support for the feature (currently just 'on') Turn off/on motion based on SDL support for the feature (currently just 'on')

EASY INSTALL

From a terminal window, run the following:
curl -L switch.batocera.pro | bash

If the above method does not work for you, use this command:
cd /userdata ; wget -O s batocera.pro/s ; chmod 777 s ; ./s

After installing, copy your prod.keys and title.keys to /share/bios/switch. If you wish to use Ryujinx you will also need to supply the firmware zip file.

Thanks to [uureel] for simplifying the install/update of Switch components for the Batocera Add-On.

UPGRADING OLDER VERSIONS OF THIS ADD-ON NOT INSTALLED WITH THE EASY INSTALL METHOD

Delete the \system\switch folder and install this repo as normal. There are folders in the old install that will break this version.

REPORTING ISSUES

Please use the controller issue templates for reporting controller issues. For other issues, provide as much information as possible, and if it's a launch issue, please be sure to include the es_launch_stdout.log and es_launch_stderr.log log files from \system\logs

SPECIAL THANKS

Special thanks for foclabroc, Rion, and Darknior and multiple members of the Batocera Nation Discord for testing things especially with the migration to SDL, [RGS] for a controller donation, and anyone else who contributes and helps me make this better.

HELP ME BUY CONTROLLERS OR A BEER

Feel free to send anything or nothing to my Paypal

UPDATE 2023-06-28

Controller auto configuration has been migrated to the same versions of SDL that yuzu and ryujinx are using, utilizing the pySDL project.

About

Extends Batocera and adds switch emulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.9%
  • Shell 27.1%