RELEASE Stage Puncher - A web app for sharing SSBU stages

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by Olmectron, Apr 25, 2019.

  1. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    10
    GBAtemp Patron
    Olmectron is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 31, 2012
    Mexico
    A game
    Introduction

    I made a web app for sharing binary files of SSBU stages for importing them with a save tool such as Checkpoint. This way, people with banned switches or no access to online can play stages shared by other people.

    The web app was developed used the Polymer framework, which allows a faster way to make a Material Design themed app. I use Firebase for saving the data of the stages.

    https://smash-stages.firebaseapp.com/
    Latest version:
    v0.9.5

    Features
    • Just upload stage binary files and get their name, date of creation, name of maker and image. No need to write anything.
    • Check uploaded stages as NSFW.
    • Download Stages easily.
    • Share URLs from your uploaded stages.

    How to use it?

    If you want to share a stage...

    1. Using a save data manager tool on your Switch (I recommend Checkpoint), export your SSBU save files.
    2. After exporting, you should find in the path of your save in your micro SD a folder named stage. If you don't see this folder, make sure you had at least one Stage made in the Stage Editor inside the game, before exporting.
    3. Copy the binary file (which is named a la stage_XXXX.bin, where XXXX could be any number) to a safe place if you want a backup.
    4. Inside the web app, click on the floating pink button in the lower right corner.
    upload_2019-4-25_4-50-5.
    5. Make sure it's the stage you want to upload in the dialog that appears.

    upload_2019-4-25_4-50-36.

    6. Click Upload and wait a few seconds.
    7. You shared your stage!

    If you want to download a stage...

    1. Inside the web app, click on a stage you like. You'll get to its page.
    2. Click the floating blue colored button in the lower right corner.
    upload_2019-4-25_4-53-8.

    3. A .BIN file will be downloaded.
    4. Copy the BIN file to the stage folder inside your SSBU backup directory in your micro SD card.
    5. Make sure its name starts with stage_ and that it ends with .bin, otherwise, the game won't acknowledge it.
    6. Import it back using your save data manager.
    7. Done! You may now load your game and play with the stage.


    Yay, open source!

    Want to make use of anything this project uses? Feel free to clone and fork the project here: https://github.com/Olmectron/Stage-Puncher

    Beware that my code is messy and with not many comments. You may ask about anything, though. I want to be of help if you need it. Learning new things is always magical.
     

    Attached Files:

    Last edited by Olmectron, Apr 25, 2019
  2. Apel

    Apel Advanced Member

    Newcomer
    2
    Mar 22, 2016
    Gambia, The
    Could you please add multiple uploads?
    + ability to download multiple stages at once or no time countdown?
     
  3. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    10
    GBAtemp Patron
    Olmectron is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 31, 2012
    Mexico
    A game
    Múltiple upload, sure.

    About the download countdown. I'm not really sure since I put it in because of data bandwidth limits I have in the server. Let me check how much bandwitdh is used in a stress test, and I could at least decrease this limit to 15 seconds or something like that. Thanks.
     
  4. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    10
    GBAtemp Patron
    Olmectron is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 31, 2012
    Mexico
    A game
    Updated to v0.9.2

    Make sure to fully reload the web page.

    • Added NSFW checkbox when you upload files.
    • The wait time between downloads has been decreased from 60 seconds to 15 seconds.
    • There's a copy button for sharing the stage URL now so you can share a stage directly.
     
  5. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    10
    GBAtemp Patron
    Olmectron is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 31, 2012
    Mexico
    A game
    Updated to v0.9.4

    Make sure to fully reload the web page.

    • Minor bugfixes of errors that happened when uploading some stages.
    • Improved validation of stages before upload.
    • Changed way downloads are made.
     
    Daggot and bonoboy like this.
  6. Apel

    Apel Advanced Member

    Newcomer
    2
    Mar 22, 2016
    Gambia, The
    It's sad that smashstages is more popular, i personally like your site/layout more
    hopefully with smm2 you get another chance - if you even want to do that
     
    Olmectron likes this.
  7. Olmectron
    OP

    Olmectron GBAtemp Addict

    Member
    10
    GBAtemp Patron
    Olmectron is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 31, 2012
    Mexico
    A game
    Don't worry. It's alright.

    I'll test with SMM2, of course. Let's hope it's as easy to read the files as Smash's.
     
    Apel likes this.
Quick Reply
Draft saved Draft deleted
Loading...