GithubHelp home page GithubHelp logo

ezaanm / ssbu-replay-saver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kidgodzilla/woff-grinder

2.0 1.0 0.0 125 KB

Using an Arduino Uno R3 to automate the converting to video process of SSBU replays.

License: Other

C 78.12% C++ 5.55% Python 12.18% Makefile 4.15%

ssbu-replay-saver's Introduction

A Wonderful and Glorious SSBU Automated Replay Saver

Damn Smash Ultimate is sick especially when I get a nutty clip and dunk my friends XD. The process to save clips as videos, however, makes me want to hop into the blast zone since we have to watch the entire game and start each match recordings individually.

This fork^5 modifies prior Switch proof of concept input emulators to automatically save clips using an Arduino Uno R3 (which I got on Amazon for $10) so you don't need to constantly start new recordings. Plug the Arduino in and rollout.


LUFA has been included as a git submodule, so clone the repo like this:

git clone --recursive [email protected]:ezaanm/ssbu-replay-saver.git

and it will put LUFA in the right directory.

~ Setup Instructions For Arduino Uno R3 ~

  1. Cop an Arduino Uno R3 (You can use a Teensy as well but the Uno R3 is the cheapest one on Amazon. I got this knockoff for $10)
  2. Clone this repo like shown ^^^^^^^^
  3. We're gonna need to put that Arduino Uno R3 in DFU mode and flash ⚡️ it with our own .hex code. If you're using a PC download the applications in the link, if you're using a Mac you can run the following brew commands below.
  4. In Terminal cd into the ssbu-replay-saver repo you just cloned.
  5. Run: brew install dfu-programmer
  6. Run: brew tap osx-cross/avr
  7. Run: brew install avr-gcc
  8. Plug your Arduino into your computer, take a piece of wire or metal, and connect these two pins briefly using the wire. Don't worry you won't get thunder jolted. Your Arduino is now in DFU mode! image
  9. Next while your Arduino is still plugged into your computer, run my script: bash installToArd to compile the code, erase the standard Arduino software, flash the Arduino with our Joystick.hex file, and save it.
  10. Your Arduino is ready to roll!

Setup Instructions For Arduino Teensy

The process is a bit different for Teeeeensy boys. I'm not entirely sure of the exact steps so you can try following this / look at previous projects for some more detailed information.

Go to the Teensy website and download/install the Teensy Loader application. For Linux, follow their instructions for installing the GCC Compiler and Tools. For Windows, you will need the latest AVR toolchain from the Atmel site. See this issue and this thread on GBAtemp for more information. For Mac you can run the same brew instructions from the Arduino Uno R3 setup.

You'll need to edit the makefile setting MCU = atmega32u4 for Teensy 2.0, or whatever version you have. Open a terminal window in the ssbu-replay-saver directory, type make, and hit enter to compile. If all goes well, the printout in the terminal will let you know it finished the build! Follow the directions on flashing Joystick.hex onto your Teensy, which can be found page where you downloaded the Teensy Loader application.

Run Instructions Once Your Arduino Has Been Setup And Flashed

Now that your Arduino is flashed with the program you can do the following steps to automate your replay saving whenever you need!

Take your Switch in handheld mode. Open the SSBU Game > Vault > Replays > Leave your cursor over the "Replay Data" Button. Plug your Arduino into the Switch using any sort of USB C to USB A Adapter, crack a brew, and watch your replays save while you chill out!

You'll note that it will start the recording of a replay, hangout for about 7 minutes (since that's the standard game time's max length), delete the replay, and continue on looping the inputs forever.

merci beaucoup

Thanks to https://github.com/kidGodzilla/woff-grinder for his Final Fantasy XP grinder which I modified.

Thanks to https://github.com/bertrandom/snowball-thrower for the updated information which modifies the original script to throw snowballs in Zelda. This C Source is much easier to start from, and has a nice object interface for creating new command sequences.

Thanks to Shiny Quagsire for his Splatoon post printer and progmem for his original discovery.

zoo wee mama

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.