Homebrew Homebrew retrieve 3DS user name?

XavyrrVaati

Hobbyist programmer?
Member
Joined
Feb 23, 2014
Messages
385
Reaction score
425
Trophies
0
XP
498
Country
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.
 
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)
 
  • Like
Reactions: XavyrrVaati
I'm assuming it would be available through the friend services (https://www.3dbrew.org/wiki/Friend_Services) but it doesn't look like libctru implements those yet.
Well crap, hopefully it will be supported eventually lol.
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)
RIP That sounds way out of my league. xD But damn I'm impressed with the workaround concept.
 

Site & Scene News

Popular threads in this forum