Homebrew retrieve 3DS user name?

Discussion in '3DS - Homebrew Development and Emulators' started by XavyrrVaati, Apr 26, 2016.

  1. XavyrrVaati
    OP

    XavyrrVaati Hobbyist programmer?

    Member
    380
    415
    Feb 23, 2014
    United States
    I've looked it up several times, and come up with nothing. Is there a way for homebrew to get the username/nickname used by the primary Mii/NNID? I know a bunch of games can get it, I was curious if it was possible. I'm actually surprised that I haven't seen it done before.
     
  2. Drakia

    Drakia GBAtemp Advanced Maniac

    Member
    1,513
    1,762
    Mar 15, 2008
    Canada
    XavyrrVaati likes this.
  3. Ryccardo

    Ryccardo WiiUaboo

    Member
    3,146
    1,509
    Feb 13, 2015
    Italy
    Imola
    A very, very dirty way for now could be opening shared extdata f000000b, opening CFL_DB.dat, searching for the top-left Mii on the first page (03 0? 00 30; variable is 0 or 1), skip 0xC characters after this pattern, and read ten 2-byte characters :P

    (Of course, it's not guaranteed - but pretty likely - the personal mii is the first one on the grid)

    (We haven't figured out yet how a Personal Mii is identified)
     
    XavyrrVaati likes this.
  4. XavyrrVaati
    OP

    XavyrrVaati Hobbyist programmer?

    Member
    380
    415
    Feb 23, 2014
    United States
    Well crap, hopefully it will be supported eventually lol.
    RIP That sounds way out of my league. xD But damn I'm impressed with the workaround concept.