I know I'm not the first to do it but I am very satisfied I've got it working.
What you need:
- Videocapture-card, I bought a cheap 12$ videocapture card from China, which has latency issues but this isn't a problem for this application.
I used this tutorial: to get it working
- Raspberry PI, I already had a Raspberry 3b laying around (4 should work nicely too off-course)
- Switch Dock or similar (I use a cheap generic one)
- A non lite switch
I use NXBT (https://github.com/Brikwerk/nxbt) to emulate a switch pro controller via bluetooth. I did have problems using NXBT, the developer suggested using the dev branche, this worked for me.
The raspberry starts a python script: nxbt connects to the switch and starts the game, presses switches and makes a print screen of it's desktop displaying the output of the switch via de capture card at a specific time (in my case 24 seconds after pressing the button), looking for a specific color at a specific pixel. The timing, the buttons pressed, the location and the color vary on the specific event you're trying to soft reset. In my case it's softresetting palkia, but other events should work fine with a bit tweaking.
What you need:
- Videocapture-card, I bought a cheap 12$ videocapture card from China, which has latency issues but this isn't a problem for this application.
I used this tutorial: to get it working
- Raspberry PI, I already had a Raspberry 3b laying around (4 should work nicely too off-course)
- Switch Dock or similar (I use a cheap generic one)
- A non lite switch
I use NXBT (https://github.com/Brikwerk/nxbt) to emulate a switch pro controller via bluetooth. I did have problems using NXBT, the developer suggested using the dev branche, this worked for me.
The raspberry starts a python script: nxbt connects to the switch and starts the game, presses switches and makes a print screen of it's desktop displaying the output of the switch via de capture card at a specific time (in my case 24 seconds after pressing the button), looking for a specific color at a specific pixel. The timing, the buttons pressed, the location and the color vary on the specific event you're trying to soft reset. In my case it's softresetting palkia, but other events should work fine with a bit tweaking.
Attachments
Last edited by zxr750j,