[Release] amibac - An Amiibo backup homebrew.

Discussion in '3DS - Homebrew Development and Emulators' started by moriczgergo, Aug 1, 2017.

  1. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.

    [​IMG]
    The Amiibo backup tool

    Latest version: R1-v1.0.0
    amibac is an easy tool to backup and restore your Amiibos.

    Screenshots (terrible quality warning)

    Features:
    • Backup and Restore your Amiibos
    • Duplicate an Amiibo Use ami2.
    Instructions:

    Backup:
    • Copy app to SD and start up.
    • Scan your Amiibo.
    • Remove it from the scanner when you're instructed to.
    • Press Y to scan again.
    • Repeat until you scanned all the Amiibos you wanted.
    • Hold B to exit.
    • (Optional) Copy the backup folder in the amiibo folder in your SD card to a safe place.
    Restore:
    • Insert your SD card into your PC/Mac.
    • Go into the amiibo folder.
    • Create a restore folder inside it.
    • Copy the amiibo's file that you want to restore from the backup folder to the restore folder. (You can copy all files if you don't know which file is which.)
    • Run the app.
    • Hold A, and scan Amiibo. (Do not release A!)
    • Remove the Amiibo from the scanner when you're instructed to.
    • Release A.
    • Hold B to exit.
    Duplicate
    • Run the app.
    • Scan source Amiibo.
    • Press Y to scan again.
    • Scan destination Amiibo.
    • Make note of Amiibo IDs displayed on screen with green.
    • Insert your SD card into your PC/Mac.
    • Go into amiibo folder.
    • Create restore folder if doesn't exist.
    • Copy the source Amiibo's file (filename: "appdata_<id>.bin w/o brackets) into the restore folder.
    • Rename the Amiibo file in the restore folder to match the destination Amiibo's ID. (filename: "appdata_<id>.bin" w/o brackets)
    • Run the app.
    • Hold down A, do not release
    • Scan destination Amiibo.
    • Release A.
    • Hold B to exit.

    To-do:
    • Fix screenshots
    • Add a GUI instead of Console
    • Test if it works with NoAmii (∩ ͡° ͜ʖ ͡°)⊃━☆゚
    Notes:

    Before you try to go pirate with your amiibos, read this:
    Please use the "Patch SM" option from the Rosalina menu in "Process patches menu..." to take advantage of the nfc:m command usage.

    Download:

    Go to the Latest release on Github, and download amibac.zip

    Bug reporting:

    PLEASE ONLY REPORT BUGS, NOT CRASHES!

    You can report bugs on the Github Issues page.

    Feel free to reply with your crashes below.
     
    Last edited by moriczgergo, Aug 5, 2017
  2. astronautlevel

    astronautlevel Finding a reason, waiting for a miracle

    Member
    4,044
    5,085
    Jan 26, 2016
    United States
    That Nightly Site™
    "Screenshots"
    (∩ ͡° ͜ʖ ͡°)⊃━☆゚
     
    SaffronXL and moriczgergo like this.
  3. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,523
    1,019
    Apr 20, 2007
    United States
    Is this capable of transferring the app data from one amiibo to another? Like the data from one SSB Zelda amiibo to another SSB Zelda amiibo?
     
  4. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    You can see the AmiiboID on screen. Scan both of them, rename the first one's file from "appdata_<1stAmiibosID>" to "appdata_<2ndAmiibosID>" (without brackets) and put the renamed file into the restore folder. Then swipe the destination amiibo while holding A to restore data. Hit me up if you've tried it.
     
  5. Saphiredurf

    Saphiredurf Member

    Newcomer
    18
    4
    Aug 10, 2015
    United States
    Woah this is really awesome! Thank you so much for creating something like this it had to be a lot of work. Also a curiosity about it, can you restore a dump of a different amiibo to your amiibo as well?

    EDIT: Whoops didn't see the post above me haha
     
    Last edited by Saphiredurf, Aug 1, 2017
  6. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Thank you!

    Read:
     
    Saphiredurf likes this.
  7. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,523
    1,019
    Apr 20, 2007
    United States
    Tried this and the app makes no changes to the amiibo when restoring a different amibo's backup. Which is better than Thenaya, which corrupts the amiibo you're restoring to but also makes me think I made a mistake until I tried it three times.

    Works fine now, guess my memory is shoddy when I was looking over the destination amiibo for changes.
     
    Last edited by AnalogMan, Aug 1, 2017
  8. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Huh, that's weird. Can you post your SD card structure(a.k.a. tree)?
     
  9. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Also I've added a tutorial in the main post to do this. Check it out!

     
    Last edited by moriczgergo, Aug 1, 2017
  10. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,523
    1,019
    Apr 20, 2007
    United States
    Sure, here it is. The steps you posted are exactly the steps I did.

    Screen Shot 2017-08-01 at 2.49.13 PM.png
     
  11. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Did you only check the name and owner of the Amiibo? I'm currently implementing a wrapper for editing amiiboSettings so the name and owner doesn't change yet.
     
    Last edited by moriczgergo, Aug 1, 2017
  12. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,523
    1,019
    Apr 20, 2007
    United States
    I loaded up Smash Bros and scanned the destination amiibo to see if it had the same data as the original. It did not, it still had its own data, nothing had changed.

    Works fine now, apparently my memory sucks.
     
    Last edited by AnalogMan, Aug 1, 2017
  13. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Can you scan the destination Amiibo and compare the new scan to the file in the restore folder with HxD (or any hex editor)?
     
  14. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,523
    1,019
    Apr 20, 2007
    United States
    Odd, they're identical. The backup from the source is exactly the same as the backup from the destination amiibo. I backed up another of the same type of amiibo (yes, I have three identical amiibo) and that has different data initially which then changes to match that of the other two when restored from another backup. So the app definitely is writing something to the amiibo but whatever it's writing doesn't affect anything in-game.

    Here is a screen shot of the changes that are made during restore that have no impact in-game:

    It totally has an effect and the hex dumps should have been the first clue I was wrong.

    Screen Shot 2017-08-01 at 3.18.47 PM.png
     
    Last edited by AnalogMan, Aug 1, 2017
  15. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Very weird. I'll keep on working on solving this. I sent you a message, can you check your Discord?
     
  16. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,523
    1,019
    Apr 20, 2007
    United States
    The backup and transfer of app data to a different amiibo worked just fine. I apparently can't do a compare and contrast properly.
     
    moriczgergo likes this.
  17. stanleyopar2000

    stanleyopar2000 The Official GBATEMP Thread Killer. No Mercy.

    Member
    3,979
    600
    Jun 22, 2007
    United States
    For "restore" to work will it be required to actually own a certain squishy amiibo for a certain game...?
     
    Last edited by stanleyopar2000, Aug 1, 2017
  18. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Works for every official Amiibo.
     
  19. stanleyopar2000

    stanleyopar2000 The Official GBATEMP Thread Killer. No Mercy.

    Member
    3,979
    600
    Jun 22, 2007
    United States
    Without.... actually... having it..?
     
  20. moriczgergo
    OP

    moriczgergo GBAtemp Regular

    Member
    126
    82
    Dec 28, 2016
    Hungary
    Between table and chair, chugging water.
    Y'know... NoAmii rocks when you get it working...