Banned User
Joined: 4/1/2022
Posts: 122
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 set baudrate to 115200 from avr.h
#define BAUD        115200
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. Nintendo Switch TAS-Editor TXT File Demo
WIP
Post subject: HDMI to VGA V-sync frame advance support is now in development
Banned User
Joined: 4/1/2022
Posts: 122
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
WIP
Bigbass
He/Him
Moderator
Joined: 2/2/2021
Posts: 194
Location: Midwest
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 one TASBot; 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".
TAS Verifications | Mastodon | Github | Discord: @bigbass
Sand
He/Him
Player (143)
Joined: 6/26/2018
Posts: 175
TheAmazingYucemu wrote:
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.
Banned User
Joined: 4/1/2022
Posts: 122
Bigbass wrote:
Has this been used for any full TASes?
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) script36.txt (Nintendo Switch TAS file as txt)
WIP
Post subject: I'm still developing HDMI to VGA V-sync Support
Banned User
Joined: 4/1/2022
Posts: 122
I'm still developing HDMI to VGA V-sync firmware modification instructions and updating in this forum except for discord.
WIP
Bigbass
He/Him
Moderator
Joined: 2/2/2021
Posts: 194
Location: Midwest
TheAmazingYucemu wrote:
my open-source nintendo switch TASBot
Take note what I said about the "TASBot" name in my first post.
TheAmazingYucemu wrote:
Only IL TASes at the moment. Link to video
Did the TAS intend to miss the last jump? It also seems like all of the inputs from the script do not match up with the counter on screen.
TAS Verifications | Mastodon | Github | Discord: @bigbass
Banned User
Joined: 4/1/2022
Posts: 122
Bigbass wrote:
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.
WIP
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3829)
Joined: 11/30/2014
Posts: 2834
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.
Banned User
Joined: 4/1/2022
Posts: 122
Alyosha wrote:
What does 'NO CFW required' mean?
It means NO Custom firmware required (e.g: Atmosphere CFW)
WIP
Bigbass
He/Him
Moderator
Joined: 2/2/2021
Posts: 194
Location: Midwest
TheAmazingYucemu wrote:
Bigbass wrote:
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
TAS Verifications | Mastodon | Github | Discord: @bigbass
Banned User
Joined: 4/1/2022
Posts: 122
Bigbass wrote:
It's just a mascot
oh, now i understand that is mascot
WIP
Post subject: HDMI to VGA v-sync support pinout teaser
Banned User
Joined: 4/1/2022
Posts: 122
VGA PIN14 - ICSP1 CIPO VGA PIN5 - ICSP1 GND VGA PIN10 - ICSP2 GND
WIP
Post subject: I'm working on a switch parser for TASVideos submission page right now
Banned User
Joined: 4/1/2022
Posts: 122
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.
WIP
Post subject: I noticed the arduino firmware is based on original pro controller firmware and USB communication is two-way so...
Banned User
Joined: 4/1/2022
Posts: 122
...I'm gonna discard v-sync pernamently to replace with input polling technique known by most SNES/N64 replay devices!
WIP
Post subject: BAD NEWS: Development Pernamently ceased as my tasbot is not working anymore
Banned User
Joined: 4/1/2022
Posts: 122
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.
WIP
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3829)
Joined: 11/30/2014
Posts: 2834
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.