Firmware Modification and Tutorial Instructions:
Download and Install Arduino IDE then install Silicon Labs CP210x USB to UART Bridge driver on your Windows PC
Make sure you have Arduino Uno R3 and Silicon Labs CP210x USB to UART Bridge
Find out what COM Number (COM#) when connected with this USB to UART bridge from Windows's Device Manager
Download Source code from javmarina's Nintendo-Switch-Remote-Control
Modify these variables from Joystick.c to this:
#define MILLIS_UNTIL_PAUSE 2678400120 // ms
#define MILLIS_UNTIL_HOME 2678400800 // 0.8 sec
#define MILLIS_HOME_PRESSED 2678400200 // ms (from 0.8 seconds to 1 second)
Then follow these Compilation instructions and Flashing instructions
Turn on your nintendo switch, put it in your dock, connect main arduino uno r3 USB to your dock then connect USB to UART bridge to your PC.
Connect your Xbox 360/one/series x/series s controller to your PC
Install these Prerequisites before running it.
pip install XInput-Python pyserial keyboard
Python Script
Navigate Your Nintendo Switch menu or game using your Xbox controller connected to your PC
Use MonsterDruide1's TAS Editor to make/edit your Nintendo Switch TASes then save as "script###.txt" (### can be any number as long as it's end number on the same directory where you're running python script from.)
Then press F12 to start your Nintendo Switch TAS
If there's any bugs or issues please let me know in this forum.
DemoLink to videoNintendo Switch TAS-Editor TXT File Demo
As of 26 January 2023 11:31 AM, i'm pernamently stop using discord
HDMI to VGA V-sync frame advance firmware modification instruction update is now in development
Please stay tune for the upcoming updated firmware modification instruction in Q2/Q3/Q4 2023 or early 2024
As of 26 January 2023 11:31 AM, i'm pernamently stop using discord
Hello, nice to see more efforts toward input replay on the Switch. Has this been used for any full TASes? The demo seemed pretty short so it's hard to tell how effective this is over longer periods.
Also, please take note that there is only oneTASBot; he is simply a mascot which may utilize other devices to play back inputs on real hardware (akin to how a human uses a controller to play a game). Instead, devices like yours that relay inputs to real hardware, are typically known as "replay devices".
HDMI to VGA V-sync frame advance firmware modification instruction update is now in development
If you know about VGA VSYNC, maybe you could comment on the circuit in Post #512716, which is about an Arduino device to provide USB keyboard inputs to a PC. I have tried to make the program synchronize its timing by reading the PC's VSYNC signal, but I don't have a clue when it comes to electrical matters like this. I haven't had time to update the other thread, but I had some luck syncing [1781] DOS The Amazing Spider-Man by NitroGenesis in 00:18.62 with the VSYNC modification.
Only IL TASes at the moment.
Here's the WIP one from my open-source nintendo switch TASBot: (i don't know why does it ends at 771 frame despite the end frame being 767, i don't know if i can fix this)
Link to videoscript36.txt (Nintendo Switch TAS file as txt)
As of 26 January 2023 11:31 AM, i'm pernamently stop using discord
Take note what I said about the "TASBot" name in my first post.
oh yeah, dwangoAC made that TASBot but it's closed source, i can't find his source code to his TASBot
Bigbass wrote:
Did the TAS intend to miss the last jump?
It is work in progress 1-1 TAS.
Bigbass wrote:
It also seems like all of the inputs from the script do not match up with the counter on screen.
Exclusively to Grapple Dog for nintendo switch, the input delay across my open-source TASBot and all official controllers is 10 Frames, that's the game's fault.
As of 26 January 2023 11:31 AM, i'm pernamently stop using discord
Editor, Experienced Forum User, Expert player
(3119)
Joined: 11/30/2014
Posts: 2563
Location: US
Wow new (and open source) switch verification work, cool stuff.
What does 'NO CFW required' mean?
Good luck in development, I'll be really interested in your progress.
Take note what I said about the "TASBot" name in my first post.
oh yeah, dwangoAC made that TASBot but it's closed source, i can't find his source code to his TASBot
You won't find any source. Not because it's closed source, but because it isn't a replay device. It's just a mascot, which may have any number of replay devices attached to it, but it itself is not such a device. And actually, the replay device typically used, is open source: https://github.com/Ownasaurus/TAStm32
Frame Count (maximum 64 bytes per frame advance) [With SL, SR and IMU included]
Rerecords Count (replays from F11 button not F12) (e. g: will generate a resync file using either v-sync value or red pulse value to sync)
Frame Rate (Based on average amount of v-sync counts from HDMI to vga adapter connected to Arduino)
Sync technique (Red Pulse Value and v-sync)
Only Unmodified Mariko models (on the dock) are tested at the time.
Doesn't work on Lite unless you're on SysDVR.
As of 26 January 2023 11:31 AM, i'm pernamently stop using discord
Even if my nintendo switch syncs the arduino, no matter if it's sync controllers menu on Horizon OS, the emulated pro controller never appeared on this menu after bunch of button presses tries and even tried to run a dummy TAS file to the arduino and nothing worked so i'm pernamently ceased my open-source nintendo switch tasbot development forever.
As of 26 January 2023 11:31 AM, i'm pernamently stop using discord
Editor, Experienced Forum User, Expert player
(3119)
Joined: 11/30/2014
Posts: 2563
Location: US
TheAmazingYucemu wrote:
Even if my nintendo switch syncs the arduino, no matter if it's sync controllers menu on Horizon OS, the emulated pro controller never appeared on this menu after bunch of button presses tries and even tried to run a dummy TAS file to the arduino and nothing worked so i'm pernamently ceased my open-source nintendo switch tasbot development forever.
Aww, that's too bad, I was really hoping to see some cool stuff come out of this. Better luck with your next project.