Homebrew Homebrew retrieve 3DS user name?

XavyrrVaati

Hobbyist programmer?
OP
Member
Joined
Feb 23, 2014
Messages
385
Trophies
0
XP
478
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.
 

Ryccardo

Penguin accelerator
Member
Joined
Feb 13, 2015
Messages
7,696
Trophies
1
Age
28
Location
Imola
XP
6,924
Country
Italy
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

XavyrrVaati

Hobbyist programmer?
OP
Member
Joined
Feb 23, 2014
Messages
385
Trophies
0
XP
478
Country
United States
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

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    Psionic Roshambo @ Psionic Roshambo: Monster truck Lawn Mower extreme