Giter Club home page Giter Club logo

batocera-switch's Introduction

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

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

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.

batocera-switch's People

Contributors

drizzt avatar foclabroc avatar mikhailzrick avatar ordovice avatar redemp avatar toccata10 avatar uureel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

batocera-switch's Issues

Steam deck controllers are incorrectly mapped

List the Controllers you're using
Steam Deck

Yuzu
This is in Yuzu, have not tested Ryujinx

Additional context

On steam deck, the controllers are incorrectly mapped when starting a Switch game. For example, the start button immediately shuts down the games. The pad buttons point to different directions. A and Y don't do anything, X seems to be mapped to A, etc.

I can remap controllers manually but I need to do it every time I start a switch game.

I am on the latest yuzu version, I used your ports script to update it. I also tested this on a completely fresh install of batocera on steam deck.

es_launch_stderr.log
es_launch_stdout.log

Add some more syslink to help users

Hi

Why don't put the two directories /saves/yuzu and /saves/Ryujinx in the already existing /saves/switch/switch directory ??

/saves/switch/switch/yuzu
/saves/switch/switch/Ryujinx

And for real, only this directory has Yuzu saves : /userdata/saves/yuzu/0000000000000000

I think we also miss one syslink to make Switch easier to use

  • Profiles are in a lost subdirectory, hard to found for a noob here,
    userdata/system/configs/yuzu/nand/system/save/8000000000000010/su/avators/
    Maybe it can be put in saves directory,
    /saves/switch/yuzu/profile

This should use the standard Batocera generators for yuzu and ryujinx

Since Batocera includes the generators for yuzu and ryujinx, but they are only disabled (BR2_PACKAGE_BATOCERA_CORES_STILL_COMMERCIALIZED is unset by default) I think this project should use the default generators instead of rewriting it by zero (with different options and behavior, like save directories, etc)

8BitDo Ultimate Controller - Hotkey Issue

List the Controllers you're using
Controller used: 8BitDo Ultimate Bluetooth Controller (in 2.4G mode, not actually BT)
Issue: Pressing Select closes Yuzu instantly, as if Hotkey+Start had been pressed.

Additional context

  • I suspect it has something to do with the mapping of the "Home" button.
  • Removing the Yuzu-Hotkey binding for "Exit yuzu" stops the issue.
  • Trying to configure any of the Yuzu-hotkey bindings results in "Home+Key". It seems like it registers the Home button as being constantly pressed

logs
before-qt-config.ini.log
es_launch_stdout.log
qt-config.ini.log

DS4 bluetooth - no input detected v35

List the Controllers you're using
A clear and concise description of what the bug is.

Yuzu
Change the emulator to yuzu or yuzu-early-access
Configure your controllers manually
Attach the following files to the bug report

  • share\system\logs\es_launch_stdout.log
  • s

Yuzu-mainline

es_launch_stdout.log
hare\system\configs\yuzu\before-qt-config.ini

  • share\system\configs\yuzu\qt-config.ini

Additi
before-qt-config - Copy.ini.txt
onal contex
qt-config - Copy.ini.txt
t

Add any other context about the problem here, such as "keys are reversed" or anything else you can provide

plz add chinese language

hi bro, please add
SYSTEM LANGUAGE value Chinse
and
add
SYSTEM REGION value China
many thanks.

Yuzu: Some games running fast

Hi ordovice,

I am not sure whether that is just an issue with my computer or something wrong with my settings and I should be able to adjust it.

I noticed especially with the games "The Legend of Zelda Links Awakening" and "Donkey Kong Country Tropical Freeze" that the main characters like Link and Donkey Kong are just too fast. They always sprinting.

To compare it I just installed yuzu stand-alone on my Linux main pc and here everything is way slower and looks like as intended.

My Batocera computer has an AMD Ryzen 9 5900HX CPU and my Linux computer is an older I7 with an Nvidia 1070 Graphics Card.

For any hint I am grateful.

v35b: Game Launch and DS4 Issues

Hello!

First of all, thank you for this project! It’s great. I just have a few issues.

  1. If I set the emulator to Ryujinx on v35 beta, the game launches properly, but the controller is not detected. When I go to Ryujinx config in F1/Applications and click “Configure” for Player 1’s controller, nothing happens.

  2. If the Yuzu emulator is chosen, the Yuzu UI launches, not the game. My DualShock 4 controller is not auto enabled. I have to manually go to configure in Yuzu, then controller and change the drop-down from “Any” to “DualShock 4”. This change does not stay and has to be changed every time Yuzu opens.

Thanks!!

no controller activity detected

i cannot use any controller to get past the intro screen in any game

doesn't seem like the controllers are registered by yuzu properly, or the refactor you did 5 days ago somehow changed this functionality :)

Also, do i need to run the custom.sh script to make the Yuzu/Ryujinx option available in advanced game options? :)

Great work on this btw, love the project

xbox series s|x controllers mappings messed up over bluetooth (xbox one 1709 was messed up too) v35

List the Controllers you're using
A clear and concise description of what the bug is.

Ryujinx
Change the emulator to Ryujinx-Avalonia
Configure your controllers manually
Attach the following files to the bug report

  • share\system\logs\es_launch_stdout.log
  • share\system\configs\Ryujinx\BeforeRyu.json
  • share\system\configs\Ryujinx\Config.json

Additional context
Add any other context about the problem here, such as "keys are reversed" or anything else you can provide
es_launch_stdout.log

BeforeRyu.json,txt
Config.json.txt

Keys mappings are all over the place..

Batocera v35 OSError: [Errno 95] (SMB Wont work as it should) please close it its a batocera problem

killall: evmapy: no process killed
2023-02-08 18:49:10,528 ERROR (switchlauncher.py:589): configgen exception:
Traceback (most recent call last):
File "/userdata/system/switch/configgen/switchlauncher.py", line 587, in
exitcode = main(args, maxnbplayers)
File "/userdata/system/switch/configgen/switchlauncher.py", line 102, in main
return start_rom(args, maxnbplayers, args.rom, args.rom)
File "/userdata/system/switch/configgen/switchlauncher.py", line 262, in start_rom
cmd = generator.generate(system, rom, playersControllers, gameResolution)
File "/userdata/system/switch/configgen/generators/yuzu/yuzuMainlineGenerator.py", line 61, in generate
st = os.symlink("/userdata/system/configs/yuzu","/userdata/system/.local/share/yuzu")
OSError: [Errno 95] Operation not supported: '/userdata/system/configs/yuzu' -> '/userdata/system/.local/share/yuzu'

Discord Integration=AUTO is broken

while both OFF and ON work

[root@BATOCERA /userdata/system]# stderr
killall: evmapy: no process killed
2022-11-15 17:51:08,433 ERROR (switchlauncher.py:479): configgen exception:
Traceback (most recent call last):
File "/userdata/system/switch/configgen/switchlauncher.py", line 477, in
exitcode = main(args, maxnbplayers)
File "/userdata/system/switch/configgen/switchlauncher.py", line 94, in main
return start_rom(args, maxnbplayers, args.rom, args.rom)
File "/userdata/system/switch/configgen/switchlauncher.py", line 200, in start_rom
cmd = generators[system.config['emulator']].generate(system, rom, playersControllers, gameResolution)
File "/userdata/system/switch/configgen/generators/yuzu/yuzuMainlineGenerator.py", line 96, in generate
YuzuMainlineGenerator.writeYuzuConfig(yuzuConfig,beforeyuzuConfig, system, playersControllers)
File "/userdata/system/switch/configgen/generators/yuzu/yuzuMainlineGenerator.py", line 215, in writeYuzuConfig
yuzuConfig.set("Core", "enable_discord_presence", system.config["yuzu_enable_discord_presence"])
KeyError: 'yuzu_enable_discord_presence'

Screen tear & Artifacts if run games from Emulationstation

Thanks I got this working on batocera v31 using yuzu however I get major screen tearing and artifacts if I launch a game from emulationstation. Also the controllers don’t work. If I open yuzu from the file manager and launch the games from the app these problems are solved.
Any idea on why this would happen?

ds4 ryujinx - no input detected v35

List the Controllers you're using
A clear and concise description of what the bug is.

Ryujinx
Change the emulator to Ryujinx-Avalonia
Configure your controllers manually
Attach the following files to the bug report

  • share\system\logs\es_launch_stdout.log
  • share\system\configs\Ryujinx\BeforeRyu.json
  • share\system\configs\Ryujinx\Config.json

Additional context
Add any other context about the problem here, such as "keys are reversed" or anything else you can provide

es_launch_stdout.log
BeforeRyu - Copy.json.txt
Config - Copy.json.txt

Ryujinx controller

All works well in yuzu, but with Ryujinx controller doesn't work. I have a 8bitdo 30PRO and no problem with yuzu

Can you help please?

Launching Yuzu breaks Flatpak audio

After launching yuzu audio will break on any program using flatpak (primarily steam) and there will be no sound only on flatpak until batocera is restarted. Dolphin used to have this issue in v33 and was fixed in v34 but yuzu still has the issue.

Switch controller mapping "out of the box" is wrong on latest v36 batocera

I'm using latest Yuzu and Batocera v36 beta on Steam Deck.

Controller is incorrectly mapped "out of the box". For example, the start button causes the game to immediately exit. Other examples are the A, B buttons incorrectly mapped, as well as the D-Pad.
If I disable Controller Auto-config and configure the controller myself, things work as expected.

Attached is a zip file with all logs requested. Please note, the attached logs were taken after I tested the "out of the box" controller mapping which is wrong.

Additional context
I'm on latest Batocera v36, as of 11-Dec-2022.
After I upgraded to the latest beta, I used the script indicated in the github which was created by ureel to (re)install switch.

control_logs.zip

Joy Cons Gyro disabled.

This problem occurs with the Nintendo Switch Joy Cons
All the buttons work, but gyro doesn't unfortunately. It does work when configured manually.
Expected behaviour : Controller gyro working

Also, I guess it would be cool if the joy cons are mapped as actual joy cons instead of pro controller, although I understand that this is low priority.

es_launch_stdout.log
qt-config.zip (Couldn't upload the ini directly)

Yuzu & ASUS Gamepad Controls

I'm running an ASUS Bluetooth Gamepad on my kiddos' Batocera. The controller works on all platforms (NES, SNES, Genesis, Playstation 1-3, Wii (albeit A&B are backwards), Xbox, MAME, and the list goes on. However, the button configuration isn't correct when launching a Switch game.

For grins, I launched the yuzu config tool in the file menu, configured the controller as it should be, made a copy of the qt-settings.ini file called "qt-settings.ini.old" exited the configuration, returned to the game menu, and launched a Switch game. The attached file is the diff of the two files. Something is definitely getting lost in translation:

qt-settings-diff.txt

Controller Button Mapping incorrect

List the Controllers you're using
PS5 DualSense Controller

Yuzu
Change the emulator to yuzu or yuzu-early-access
Configure your controllers manually
Attach the following files to the bug report

  • share\system\logs\es_launch_stdout.log
  • share\system\configs\yuzu\before-qt-config.ini
  • share\system\configs\yuzu\qt-config.ini

Additional context
Keys are out of whack the right analogue stick pressing up will trigger action assigned to L2 Trigger etc. When launching outside of Emulation Station directly via the Yuzu and YuzuEA apps mapping works as expected.

I also updated to latest Batocera 37 Dev build. Unfortunately I didn't stagger updates so cannot confirm if this is an issue with the Yuzu or Batocera update.
es_launch_stdout.zip
before-qt-config.zip
qt-config.zip

Unable to switch to Ryujinx

Initially setup for yuzu, but my GPU only supports opengl 4.6+. Attempted to remove yuzu and install Ryujinx (as it supports opengl 4.5), but emulationstation still attempts to start yuzu-
from es_launch_stderr.log-
FileNotFoundError: [Errno 2] No such file or directory: '/userdata/system/switch/yuzu.AppImage'

in switchlauncher.py, it references yuzu on the exitCode = runCommand line, but any attempt to change it to ryujinx, starts the ryujinx emulator with "Keys not found" error. I have conformed keys files are in bios/switch.

what am I missing? TIA

xBox One Controls

Hi,
I have an issue in yuzu with the xbox one controller (bluetooth). It works in batocera as expected and in most of the emulators. At least those I usually use. Just in yuzu the buttons get mixed up. A+Y, B+X and start and select keys are swapped. I can set the configuration in yuzu and when I start a game in yuzu it works. Do I start the same game from batocera the buttons are mixed again.

Thanks in advanced..

EDIT
THX
If you need more information please let me know, I am just on Thursday able to though.

xbox series S|X 1904 controllers (over bluetooth) v35

List the Controllers you're using
A clear and concise description of what the bug is.

Yuzu
Change the emulator to yuzu or yuzu-early-access
Configure your controllers manually
Attach the following files to the bug report

  • share\system\logs\es_launch_stdout.log
  • share\system\configs\yuzu\before-qt-config.ini
  • share\system\configs\yuzu\qt-config.ini

Additional context
Add any other context about the problem here, such as "keys are reversed" or anything else you can provide

mappings are messed up (e.g. r1 i
before-qt-config.txt
s start, etc)
qt-config.ini.txt

es_launch_stdout.log

V35: Yuzu or Ryujinx does not start within Batocera UI

Hello!

First I just want to say, thank you for this amazing project.

I really do not know if I’m doing something wrong, but in V35 it does not let me open yuzu or Ryujinx through the Batocera UI. If I open files and run the application everything is fine, but it does not launch through the UI. My hardware is Intel i5 12th gen / Nvidia RTX 3050. My yuzu version is 1186.

SN30 XBox Mode Broken

Since the move to SDL, SN30's Bluetooth XBox mode has been broken. Not sure if this is an issue in SDL or with the SN30 (more likely). I am finding more and more issues with the SN30 when used in wireless mode.

Additionally, SN30 Type 5 (Switch) also appears to be backwards from the normal type 5 controller (Pro 2) based upon logs from drizzt.

[v36 beta] Neither Ryujinx nor Yuzu start from Emulation Station

Hi there!

I know v36 beta was not tested (6.x kernel Zen4 support), so I'm only looking for some pointers on where to look to start troubleshooting the issues I'm experiencing. Yuzu appears to have an issue detecting either OpenGL or Vulkan support on the GPU (AMD 6900 XT). Ryujinx runs great (tested a few games) when executed from the file manager, but not Emulation Station. Any advice is appreciated. Thank you for your time.

Applications config in wrong place, inside a batocera.linux folder

After installing the mod the shortcuts for configuring the emulators that are in Applications are now inside a folder "batocera.linux", clicking on Applications, a folder appears batocera.linux if you enter the folder the configuration shortcuts are there.

Is there any solution to get apps back to normal?

V34 not work

Traceback (most recent call last):
File "/userdata/system/switch/configgen/switchlauncher.py", line 8, in
from Evmapy import Evmapy
File "/userdata/system/switch/configgen/Evmapy.py", line 8, in
import evdev
File "/userdata/system/switch/configgen/evdev/init.py", line 7, in
from evdev.device import DeviceInfo, InputDevice, AbsInfo
File "/userdata/system/switch/configgen/evdev/device.py", line 6, in
from evdev import _input, ecodes, util
File "/userdata/system/switch/configgen/evdev/ecodes.py", line 44, in
from evdev import _ecodes
ImportError: cannot import name '_ecodes' from partially initialized module 'evdev' (most likely due to a circular import) (/userdata/system/switch/configgen/evdev/init.py)

Ryujinx >=1.1.383 sdl2 update demands action re controllers

Current status: ryu controllers are being borked by generator on v35 and v36

1.1.383 - 2022-11-24
Fixed:

chore: Update Ryujinx.SDL2-CS to 2.24.2.
    May improve controller compatibility or sound issues in some games.
        **_Controller bindings may need to be reconfigured after this update._**

RyujinX-Avalonia & RyujinX-LDN Have Black Screen with Sound, Yuzu Crashes on Some Games (Vulkan enabled on Batocera V36)

I just installed the Batocera Switch in Batocera V36 via "Easy Installation"
RyujinX seems to works OK, but I just notice that RyujinX-Avalonia & RyujinX-LDN have Black Screen with Sound.

Is there any work around to solve this issue?

In comparison, I have installed the Batocera-Switch V35 from archive.org (https://archive.org/details/batocera-switch-update-v-35), and then patched the ES feature fix from Batocera Nation (https://www.batoceranation.com/wp-content/uploads/2022/10/Modified-es_feartures-for-Batocera-V36.zip). The RyujinX-Avalonia works perfectly using this method in Batocera V36.

I am using Intel i5-6500T, Intel HD Graphics 530, 16GB of RAM.

I also notice that Yuzu crashes in some games in Batocera V36. While in Batocera V35, Yuzu works perfectly for almost every supported game.

Thanks for your help & your good work :)

Controller mapping doesn’t work

The controller mapping doesn’t work. Is this possibly from a yuzu update? I see you modified the shellscript to use an older version of yuzu now. Is there a reason for this?

SN30 - Pro Controller Mode (Y) - Detects as Switch Pro Controller

List the Controllers you're using
A clear and concise description of what the bug is.

Yuzu
Change the emulator to yuzu or yuzu-early-access
Configure your controllers manually
Attach the following files to the bug report

  • share\system\logs\es_launch_stdout.log
  • share\system\configs\yuzu\before-qt-config.ini
  • share\system\configs\yuzu\qt-config.ini

Additional context
Add any other context about the problem here, such as "keys are reversed" or anything else you can provide
before-qt-config.ini.txt
qt-config.ini.txt
es_launch_stdout.log

ImportError for switchlauncher.py

Description:
After attempting to launch a game, I am immediately returned to emulationstation. Running switchlauncher.py from the command line results in the following error:

Traceback (most recent call last):
  File "/userdata/system/switch/configgen/switchlauncher.py", line 8, in <module>
    from Evmapy import Evmapy
  File "/userdata/system/switch/configgen/Evmapy.py", line 8, in <module>
    import evdev
  File "/userdata/system/switch/configgen/evdev/__init__.py", line 7, in <module>
    from evdev.device import DeviceInfo, InputDevice, AbsInfo
  File "/userdata/system/switch/configgen/evdev/device.py", line 6, in <module>
    from evdev import _input, ecodes, util
  File "/userdata/system/switch/configgen/evdev/ecodes.py", line 44, in <module>
    from evdev import _ecodes
ImportError: cannot import name '_ecodes' from partially initialized module 'evdev' (most likely due to a circular import) (/userdata/system/switch/configgen/evdev/__init__.py)

Standalone pack for the project

first thank you for your exellent work!
I've tried to follow the "easy install" but it did not work.
I traced the log and found that was because the source url was in DNS cache pollution, since I live in China.....
It seems that the project includes various source. I tried to write some right source ip in my hosts but still got a lot of wget error.
So I wondering if there is a full-pack standalone version of the project for installing.

joycons emulation is rotated

List the Controllers you're using
DS4 controllers.

Additional context
while switching pad type to joycon, the controls are reversed. i checked the sources, and it seems like while changing the pad type the only thing happens is that the controller is reported as joycon and the button mappings stay the same, which effectively makes the buttons rotated 90 degrees.

i think you should consider remapping the buttons, or maybe add an option to rotate the controls.
An example of a game that is affected is Mario Party. It accepts only joycons, but you supposed to hold them horizontally.

opening yuzu or launching games breaks flatpak

Ive scoured for the cause but it still doesnt change the outcome. every time I open yuzu either to play a game or to change tyhe config it changes permissions on my flatpaks. Version 35 - 36

the fallowing command gets them to work again but having to do this every time i play a game isnt a real solution
chmod -R a+rwx /userdata/saves/flatpak
chmod -R a+rX /userdata/saves/flatpak/binaries
chmod a+rx /userdata /userdata/saves /userdata/saves/flatpak

any way to add that to your launch script to invoke after it stops?

8bitdo Ultimate 2.4g mode Controls Reversed

2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:406):writeYuzuConfig =====================================================Start Bato Controller Debug Info=========================================================
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:409):writeYuzuConfig Controller configName: 8BitDo Ultimate Wireless Controller
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:410):writeYuzuConfig Controller index: 0
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:411):writeYuzuConfig Controller realName: 8BitDo Ultimate Wireless Controller
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:412):writeYuzuConfig Controller dev: /dev/input/event7
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:413):writeYuzuConfig Controller player: 1
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:414):writeYuzuConfig Controller GUID: 03000000c82d00000631000014010000
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:415):writeYuzuConfig
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:416):writeYuzuConfig =====================================================End Bato Controller Debug Info===========================================================
2023-07-13 14:56:02,578 DEBUG (yuzuMainlineGenerator.py:417):writeYuzuConfig
2023-07-13 14:56:02,885 DEBUG (yuzuMainlineGenerator.py:434):writeYuzuConfig =====================================================Start SDL Controller Debug Info==========================================================
2023-07-13 14:56:02,885 DEBUG (yuzuMainlineGenerator.py:449):writeYuzuConfig Joystick GUID: 03000000c82d00000631000014010000
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:451):writeYuzuConfig Joystick Path: /dev/input/event7
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:452):writeYuzuConfig Joystick Type: 1
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:454):writeYuzuConfig Joystick Pad Type: 0
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:456):writeYuzuConfig Joystick Name: 8BitDo Ultimate Wireless Controller
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:458):writeYuzuConfig Joystick Vendor: 11720
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:459):writeYuzuConfig Joystick Product: 12550
2023-07-13 14:56:02,886 DEBUG (yuzuMainlineGenerator.py:460):writeYuzuConfig Joystick Product Version: 276
2023-07-13 14:56:02,896 DEBUG (yuzuMainlineGenerator.py:464):writeYuzuConfig
2023-07-13 14:56:02,896 DEBUG (yuzuMainlineGenerator.py:465):writeYuzuConfig =====================================================End SDL Controller Debug Info============================================================
2023-07-13 14:56:02,897 DEBUG (yuzuMainlineGenerator.py:466):writeYuzuConfig
2023-07-13 14:56:02,925 DEBUG (yuzuMainlineGenerator.py:630):writeYuzuConfig Joysticks: [{'index': 0, 'path': '/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.0', 'guid': '03000000c82d00000631000014010000', 'type': 0, 'button_a': 1, 'button_b': 0, 'button_x': 3, 'button_y': 2, 'button_dup': 'hat:0', 'button_ddown': 'hat:0', 'button_dleft': 'hat:0', 'button_dright': 'hat:0', 'button_l': 4, 'button_r': 5, 'button_sl': 4, 'button_sr': 5, 'button_lstick': 9, 'button_rstick': 10, 'button_minus': 6, 'button_plus': 7, 'button_home': 8, 'button_zl': 'axis', 'button_zr': 'axis', 'axis_button_zl': 2, 'axis_button_zr': 5, 'axis_lstick_x': 0, 'axis_rstick_x': 3}]
2023-07-13 14:56:02,925 DEBUG (yuzuMainlineGenerator.py:643):writeYuzuConfig Controller configName: 8BitDo Ultimate Wireless Controller
2023-07-13 14:56:02,925 DEBUG (yuzuMainlineGenerator.py:644):writeYuzuConfig Controller index: 0
2023-07-13 14:56:02,925 DEBUG (yuzuMainlineGenerator.py:645):writeYuzuConfig Controller realName: 8BitDo Ultimate Wireless Controller
2023-07-13 14:56:02,926 DEBUG (yuzuMainlineGenerator.py:646):writeYuzuConfig Controller dev: /dev/input/event7
2023-07-13 14:56:02,926 DEBUG (yuzuMainlineGenerator.py:647):writeYuzuConfig Controller player: 1
2023-07-13 14:56:02,926 DEBUG (yuzuMainlineGenerator.py:648):writeYuzuConfig Controller GUID: 03000000c82d00000631000014010000
2023-07-13 14:56:02,928 DEBUG (yuzuMainlineGenerator.py:662):writeYuzuConfig Mapping: {'index': 0, 'path': '/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.0', 'guid': '03000000c82d00000631000014010000', 'type': 0, 'button_a': 1, 'button_b': 0, 'button_x': 3, 'button_y': 2, 'button_dup': 'hat:0', 'button_ddown': 'hat:0', 'button_dleft': 'hat:0', 'button_dright': 'hat:0', 'button_l': 4, 'button_r': 5, 'button_sl': 4, 'button_sr': 5, 'button_lstick': 9, 'button_rstick': 10, 'button_minus': 6, 'button_plus': 7, 'button_home': 8, 'button_zl': 'axis', 'button_zr': 'axis', 'axis_button_zl': 2, 'axis_button_zr': 5, 'axis_lstick_x': 0, 'axis_rstick_x': 3}
2023-07-13 14:56:02,928 DEBUG (yuzuMainlineGenerator.py:901):writeYuzuConfig SDL controller Branch
2023-07-13 14:56:02,929 DEBUG (yuzuMainlineGenerator.py:1165):writeYuzuConfig Last Player 1
2023-07-13 14:56:02,929 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 1
2023-07-13 14:56:02,929 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 2
2023-07-13 14:56:02,929 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 3
2023-07-13 14:56:02,929 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 4
2023-07-13 14:56:02,930 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 5
2023-07-13 14:56:02,930 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 6
2023-07-13 14:56:02,930 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 7
2023-07-13 14:56:02,931 DEBUG (yuzuMainlineGenerator.py:1168):writeYuzuConfig Setting Controller: 8
2023-07-13 14:56:02,936 DEBUG (switchlauncher.py:333):getHudBezel hud enabled. trying to apply the bezel consoles
2023-07-13 14:56:02,936 DEBUG (switchlauncher.py:338):getHudBezel no bezel info file found
2023-07-13 14:56:02,936 DEBUG (switchlauncher.py:535):runCommand command: QT_QPA_PLATFORM=xcb SDL_GAMECONTROLLERCONFIG=03000000c82d00000631000014010000,8BitDo Ultimate Wireless Controller,platform:Linux,b:b1,a:b0,dpdown:h0.4,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,leftstick:b9,dpleft:h0.8,rightshoulder:b5,leftshoulder:b4,righttrigger:a5,rightstick:b10,dpright:h0.2,back:b6,start:b7,dpup:h0.1,y:b3,x:b2,guide:b8, LANGUAGE= CONSOLE=/dev/console SHLVL=1 HOME=/userdata/system OLDPWD=/ DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-Fhw71cCy00,guid=0b89ad6ca6727b7b5121878c64ac6f55 INIT_VERSION=sysvinit- =/usr/bin/emulationstation label=BATOCERA TERM=linux WINDOWPATH=2 BOOT_IMAGE=/boot/linux PATH=/sbin:/usr/sbin:/bin:/usr/bin RUNLEVEL=S XDG_RUNTIME_DIR=/var/run DISPLAY=:0 PREVLEVEL=N LANG=en_US.UTF-8 SHELL=/bin/sh PWD=/userdata LC_ALL=en_US.UTF-8 SDL_RENDER_VSYNC=1 PYSDL2_DLL_PATH=/userdata/system/switch/extra/sdl/ /userdata/system/switch/yuzu.AppImage -f -g /userdata/roms/switch/New Super Mario Bros. U Deluxe [0100EA80032EA000] [v0].xci
2023-07-13 14:56:02,936 DEBUG (switchlauncher.py:536):runCommand command: ['/userdata/system/switch/yuzu.AppImage', '-f', '-g', '/userdata/roms/switch/New Super Mario Bros. U Deluxe [0100EA80032EA000] [v0].xci']
2023-07-13 14:56:02,936 DEBUG (switchlauncher.py:537):runCommand env: {'QT_QPA_PLATFORM': 'xcb', 'SDL_GAMECONTROLLERCONFIG': '03000000c82d00000631000014010000,8BitDo Ultimate Wireless Controller,platform:Linux,b:b1,a:b0,dpdown:h0.4,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,leftstick:b9,dpleft:h0.8,rightshoulder:b5,leftshoulder:b4,righttrigger:a5,rightstick:b10,dpright:h0.2,back:b6,start:b7,dpup:h0.1,y:b3,x:b2,guide:b8,', 'LANGUAGE': '', 'CONSOLE': '/dev/console', 'SHLVL': '1', 'HOME': '/userdata/system', 'OLDPWD': '/', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fhw71cCy00,guid=0b89ad6ca6727b7b5121878c64ac6f55', 'INIT_VERSION': 'sysvinit-', '
': '/usr/bin/emulationstation', 'label': 'BATOCERA', 'TERM': 'linux', 'WINDOWPATH': '2', 'BOOT_IMAGE': '/boot/linux', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'RUNLEVEL': 'S', 'XDG_RUNTIME_DIR': '/var/run', 'DISPLAY': ':0', 'PREVLEVEL': 'N', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/sh', 'PWD': '/userdata', 'LC_ALL': 'en_US.UTF-8', 'SDL_RENDER_VSYNC': '1', 'PYSDL2_DLL_PATH': '/userdata/system/switch/extra/sdl/'}
2023-07-13 14:56:36,971 DEBUG (switchlauncher.py:546):runCommand

Switch install does not show up in applications

Hello sorry if I wrote this wrong I have a problem with
Batocera Switch when I install this

curl -L switch.batocera.pro | bash

It works, but it doesn't show up in the application config.

Can I somehow insert it myself or how do I
make it in the application?

Docked - Handled

Whatever your choose doesnt transfer it to Yuzu.. is always docked.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.