How to add a custom player?
Hello, I have a modified version of Yuzu but when I launch it with Daijisho (using 'early access yuzu'), it shows up then stop working. So, I want to add a custom player/emulator to Daijisho but I don't understand how and I can't find any tutorial...
Through that menu you'll need add the relevant info such as player name, am start argument, file extensions supported, and if Daijishou should kill the activity before starting it.
Since it's a Yuzu fork, and most of the dozen Yuzu forks don't change much, you can simply take the am start argument from the original Yuzu and edit in or out whatever you need.
After you saving the player you add it to a platform by:
Daijishou > Library > Highlight platform > 🖊️ > Search additional players drop-down > Add to list > Save
You can also add a player by editing a platform json file and importing it
Hello, thanks a lot for your quick reply! I forgot to mention that i have several Yuzu apk installed. How can I tell Daijishou which one to use? I mean, if I use the 'am start argument' from original Yuzu, how can I then choose which application (the original Yuzu or the modified one) to use depending on the game?
I'm a total noob, I don't even know to code. So, sorry if my question is dumb...
Assuming you've added the player(s) you can choose the default player for all games or individually
Daijishou > Library tab > Platform > 🖊️ > Choose player from Default player dropdown > Save
Highlight game > Edit Item > Enable Custom Player > Select player from Custom Player dropdown > Save
Lastly you didn't need to know how to code to add players to Daijishou. You just need to know how applications launch on Android.
Thanks again for your reply! I think you misunderstood my last question. I did what you told me. But, like I said in my previous comment, if I copy the 'am start argument' from the original Yuzu apk, the new player will launch the original Yuzu apk.
Then again, my problem is that I want the new player to launch my modified Yuzu apk (I don't remove my original yuzu apk to use it for others games). How can I modify 'am start argument' to make it launch my modified yuzu apk ? I suppose I have to edit the first line, but I don't know what to type and where to find it. :)
It looks like this:
As I mentioned in the first post, you need to edit the am start argument. Specifically the package activity (-n example.example.example/.example.ExampleActivity). Assuming nothing else is different, you won't need to change anything else
The wiki cheat sheet I linked mentions a few ways to figure out the component activity that's used.
I'm really sorry for my previous question, I missed a step, indeed. I changed the am start argument. But now, Daijisho launches the right emulator but not the game... Am I missing something again?
Since your using file.uri make sure Yuzu has has permissions to the same ROM folder as you chose for Daijishou's Switch platform. If it's still not launching and you've tried the other activities then it's possible that it doesn't support frontends.
All these Yuzu forks are a bit like the wild west. Which is why many frontends haven't added many or any at all. Nothing is guaranteed to work
You can also try switching the intent to:
-a android.intent.action.VIEW
Instead of:
-a android.nfc.action.TECH_DISCOVERED
The permission seems granted. I'm not sure how to doublecheck it, but Daijisho show me the same games that my modified Yuzu. I assume they have access to the same ROM folder.
Sadly "-a android.intent.action.VIEW" doesn't change anything.
I'm aware that, sometimes, apps doesn't support frontends. But the dev of this app told me it works with his Odin 2 with Daijisho (but he doesn't answer to my questions anymore). He basically just changed the name of the app to allow having multiple version of Yuzu. So I'm confused. There must be something I'm doing wrong...
Which am start arguments have you tried for the modified version?
If its the image you posted, thats already available in under switch - Yuzu (early access)
When I launch with switch - Yuzu (early access), the Yuzu modified app launches, then close.
When I launch my custom player (screenshots below), the Yuzu modified app launches, open the Yuzu menu but not the game directly.
Sounds like the old Citra issue. With the switch - Yuzu (early access) try opening the app beforehand and launch a game through Daijishou.
If that still doesn't work try adding these to the am start argument:
--activity-clear-task
--activity-clear-top
If it still doesn't work try enabling kill process on the player:
Edit Player > Kill Processes before am start > Save
Other than that I'm not sure as I don't have whatever modified Yuzu app your using.
Some other things it could be:
-
Your devices vendor has a borked OS, as seen on early Odin 2 firmwares.
-
Yuzu doesn't have the same games folder permissions. For example let's say the folder you added to Daijishou's Switch platform was
roms/switch/but the one you added to Yuzu wasroms/nintendoswitchthen your going to have issues.
I'm going crazy...
With the switch - Yuzu (early access) try opening the app beforehand and launch a game through Daijishou.
It open the app without launching games.
If that still doesn't work try adding these to the am start argument:
Now the app shut down when I launch games.
If it still doesn't work try enabling kill process on the player:
It opens a yellow screen then go back to Daijisho.
Other than that I'm not sure as I don't have whatever modified Yuzu app your using.
I can send you the modified apk if you are curious, but I don't want to bother you more.
Your devices vendor has a borked OS, as seen on early Odin 2 firmwares.
I'm not sure of what it means, but my OS is the last Odin 2's.
Yuzu doesn't have the same games folder permissions.
I'm pretty sure they have same permission.
Dang, I don't understand.
PS : By the way, I love Daijisho, thank you very much for this application, your help and time. :)
Sure, you can share it with me. If you can't share it here you can find me on the Daijishou discord
Great, thank you! I wrote to you in Discord, let me know if I contacted the right person. Here is the APK link
Gave it a try and couldn't get it to launch from a frontend. Gave a test to both the original (real) yuzu and early access apps and it launched correctly. There's definitely something different about the one you provided.
Ok, so now we know where is the problem. Then again, thanks for your time. I appreciate it. At least, it can launch the app thanks to your help!