[QUESTION] Writing Amiibo .bin Files to Blank Tags With the Wii U Gamepad

Discussion in 'Wii U - Homebrew' started by bennyman123abc, Apr 29, 2017.

  1. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    Hey guys! If you read the title, you'll understand the question I have but, I will further elaborate on it so I don't just make a blank post. Now before we get started, I realize this is probably a dumb question but, I will ask anyway. So, I was reading one of the Amiibo card threads and reading how people print them out and how I want some of those fancy cards myself. However, it occurred to me that I do not own any device except for the Wii U with built-in NFC functionality. (Also, it occurred to me that I don't have the money to get cards printed at Staples either but, that's not the point :P) So, I was wondering if it would be possible to develop Homebrew (or develop an application with the Cafe SDK) that could write the Amiibo .bin files to blank NTAG215 pieces. Any answer (that's a positive response) is appreciated and I thank you for taking the time to read this message. As always, happy hacking!

    ~Ben
     


  2. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,402
    4,730
    Mar 17, 2010
    Norway
    Alola
    This has been asked before.
    Anyway, it's almost certainly possible, it just hasn't been done yet. Not many devs in the Wii U scene and the few who are active are working on other things.
     
  3. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    How would I go about developing something like this? Is there any documentation on using the NFC reader/writer in Homebrew?
     
  4. Heran Bago

    Heran Bago Where do puyo come from?

    Member
    3,003
    408
    Nov 6, 2005
    United States
    Foggy California
    Anything is possible if you believe in yourself.
     
    ov3rkill and bennyman123abc like this.
  5. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,402
    4,730
    Mar 17, 2010
    Norway
    Alola
    It doesn't seem like it.
    And I'm not sure if the Cafe SDK would be of any use either, as it most likely only deals with reading Amiibos and writing to their R/W portion, not writing to completely blank tags. It might be a good starting point for reverse engineering how the NFC reader works and figuring out how to use it for your own purposes though (but remember, under the NDA you can't release anything you make with the help of the SDK other than publishing it through official means, and that's obviously not gonna happen :P)
     
  6. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    Well damn. Does Homebrew have that kind of access to the NFC reader or just the same as the SDK?
     
  7. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    11,402
    4,730
    Mar 17, 2010
    Norway
    Alola
    No one's used it in homebrew yet AFAIK, so there probably is no support built in to the homebrew SDK for it.
     
  8. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    761
    1,851
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Homebrew has full access to all the hardware - if you're game to make a CFW for it :3
     
  9. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    Are you implying that we need a CFW to gain NFC access? Can't we just use IOSUHax if it requires extra permission?
     
  10. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    761
    1,851
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Depends on what kind of access is needed versus what kind of access Nintendo provides. I'd suspect that the Wii U only has code for writing to some kind of save area available to the PowerPC, and nothing for writing on a lower level. If this is true, it would mean that no matter how good your permissions are, you can't write from the PowerPC. Of course the ARM has full hardware access, but to run code on it you need to put it in a CFW.
    If Nintendo does provide low-level functions, then yeah, loose permissions is all you need.
     
  11. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    Where could I find what processor has what permissions to what hardware? Is it documented on WiiUBrew or do I need to look in the "magical manuals"?
     
  12. Felek666

    Felek666 Archdemon | #AMDForever

    Member
    3,224
    3,311
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    Google. Wii U has two processors, ARM one and PowerPC one. ARM one governors PowerPC one so you should look at ARM one first.
     
  13. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    761
    1,851
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Generally, the ARM can do anything, and the PowerPC can only do what the ARM tells it to (which depends on the title in action and cos.xml.)

    I took a quick peek at wiiubrew and there does seem to be a low-level NFC library so I'd start looking into that ASAP if I were you, could save yourself a lot of work!
     
  14. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    There are high and low level API's for NFC. ntag.rpl and nsysccr.rpl. nsysccr.rpl seems more like generic gamepad communication however so, I have no clue whether I can use it or not.

    — Posts automatically merged - Please don't double post! —

     
  15. Jbrighton

    Jbrighton Member

    Newcomer
    19
    1
    Nov 30, 2016
    United States
    There's an app for that.

    Sent from my SM-G900V using Tapatalk
     
  16. OrGoN3

    OrGoN3 GBAtemp Advanced Maniac

    Member
    1,754
    368
    Apr 23, 2007
    United States
    Get an Android smartphone with an NFC reader in it. Done. Or get a cheap NFC set up for your PC. I saw someone do a setup guide for around $40 with an Arduino Uno.
     
  17. Felek666

    Felek666 Archdemon | #AMDForever

    Member
    3,224
    3,311
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    I think, you can do that even with Banana Pro.
     
  18. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    The entire point of this is to be able to flash NTAG's without spending any extra $$$ on a reader/writer. Why not use the NFC reader/writer we all already have?
     
  19. OrGoN3

    OrGoN3 GBAtemp Advanced Maniac

    Member
    1,754
    368
    Apr 23, 2007
    United States
    Most people have NFC on their phone.
     
  20. bennyman123abc
    OP

    bennyman123abc Master of the Script Kiddies

    Member
    539
    206
    Mar 21, 2013
    United States
    Training some more Script Kiddies
    Others don't however which is why I am taking this approach