[Concept] EnQRypt Mii

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by that girl, Feb 28, 2016.

  1. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Okay, this may be unorthodox, maybe even impossible.
    But know little about coding, let alone how homebrew programs work.
    But I'm crazy and think outside the box.

    I really don't think this is possible, but like I said, I won't know unless someone tells me.
    -------------------------
    I got this idea from combining HANS…
    …and NTRDebugger real-time debugging.
    -------------------------
    So, there's a config file, let's say, like the attached file…
    Yeah I suggested something like this before, but hold on.

    When you boot it from homebrew, you choose which name you want to load the mii information from (left of :)

    Then it remembers the HEX to the right of the : for that name, and boots into a slightly modified version of Mii Maker romf.

    Then choose to make a QR from any Mii that Mii Maker would normally accept, and the EnQRypt Mii feeds Mii Maker's QR generator the selected HEX code in place of the selected Mii's Data.

    Now, I don't know if the first three bytes are used by the QR builder, if they are, the override starts on the forth byte. (I've seen the fourth byte as 0x10, or 0x30.)

    Why not include the first three bytes?
    First byte is 0x03, always. second byte, as far as I know is always 0x00, but I haven't filled Mii Maker, at all. and the third byte is placement in the Mii Maker grid.
    -------------------------
    And… yeah… basically, [tricking Mii Maker into QR-ing abnormal Miis. All the Miis in the sample file are official special Miis I StreetPassed.]
     

    Attached Files:

    Last edited by that girl, Feb 28, 2016 - Reason: Finishing the post.
  2. MsMidnight

    MsMidnight part time fe modder

    Member
    1,753
    1,308
    Oct 12, 2015
    kys
    so how is this useful or or profit
     
  3. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Huh…?
    ---------------------------------------
    EDIT:
    It's just a Concept.
    If something that can do that can be made,
    Whoever makes the first fully, correctly functioning ninjhax version can even ask me for the name I came up with.

    But if people can restore the original outfits to Bravely Default, redirect the eShop, and make custom Mario Kart 7 tracks, you think tricking Mii Maker's QR Generator to read alternate values would be easy.

    Especially since all Miis are the same number of Bytes.

    But then, I don't know what we can't do.
    -------------------------------
    EDIT:
    To elabroate;

    Well, the progam shouldn't overwrite the original Mii Maker, but rather run alongside it. (Like the BD romf I have with HANS. I only see the original outfits when I run the BD romf alongside BD.) And when Mii Maker's QR Generator goes to read the Mii hex values, it'll be fed the custom Mii instead.


    Hence the name EnQRypt Mii.

    There are Miis that Mii Maker won't make into QR codes. And nobody can figure out the Encryption on the Mii QR codes to make a new program to make QR codes for these Miis. (Namely, Miis you didn't make, and don't want to change the System ID on (like a friend's really cool Mii, of which the original was lost and she's super sad) and gold pants'd Miis, even if you made them.)

    However, using live debugging on NTRDebugger (The real GS\CB\AR on crack, so much so that only a handfull if people understand it) they were able to change the Mii right after starting the QR encryption process.

    My concept is to have the Mii Maker preload the altered Mii data, and feed that to it's QR builder, instead of the normal Mii seleced to start the process.

    Because the selected Mii wouldn't actually get altered, it's only being used to trigger the QR builder to feed the stored data to it, no damage will need to be undone. The worst is that the QR code will be unusable because someone goofed up the EnQRypt Mii list.

    "EnQRypt Mii" is a pronounciation play on "Encrypt me" using QR and Mii, because we can't figure out the encryption keys for the Mii QR codes. If you could't guess.
     
    Last edited by that girl, Feb 28, 2016 - Reason: Expanding on concept.
  4. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Anyone have the know-how to work on this, or even know if it's probable to produce?
     
  5. Thee_BaBs

    Thee_BaBs GBAtemp Regular

    Member
    128
    22
    Sep 19, 2015
    United States
    From what I understand this would be a way to create mii's that aren't possible in mii studio, correct?
     
  6. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Yes and no.
    You need a Mii as a base, then extract a copy of CFL_DB.dat and take the Mii's code, cut the first 3-4 bytes depending how the final code, then make the adjustments, like gold pants, or don't make any changes (if it's a StreetPass Mii for example) and set it up in the EnQRyptMiiList.txt, or whatever, with a name, and then run the homebrew Mii Maker add-on\romf\whatever, and choose the Mii you added, then once Mii Maker select "Mii to QR" and select a normally valid Mii, and the Mii Maker QR Builder will use the add-on's Mii you chose instead of the one that is actually being shown before the split. Since nothing is being written to the Mii, just the QR code, you shouldn't have to worry about accidently overwriting the Miis.

    This way, we can generate QR Codes for gold pants'd Miis, or Miis we got from StreetPass\Other QRs (without removing the source's SystemID).

    That is, if it can be made at all.
     
    BVNG3RZ0KU likes this.
  7. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Bump, for science…?
     
  8. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Well…
    If anyone starts working on this, I hope they are kind enough to let me know.
     
    Olmectron likes this.
  9. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Thanks to @Goombi we have something similar to what I had in mind.
    Can someone test this QR code in Mii Maker?
    [​IMG]
    I'd like to know if it works.
     
    Olmectron likes this.
  10. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,758
    2,712
    Dec 19, 2014
    Hungary
    "This QR Code does not contain a Mii."
     
  11. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Ah, bummer… I shall try again.
     
  12. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    [​IMG]
    Does this one work?
     
  13. SomeGamer

    SomeGamer GBAtemp Guru

    Member
    5,758
    2,712
    Dec 19, 2014
    Hungary
    Nope, the same error message. Also, this is smaller than a traditional Mii QR code.
     
  14. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,127
    1,324
    Dec 31, 2012
    Mexico
    A game
    I really wonder why I can't see the images at all. It should be my 1mbit internet speed.
     
  15. Arubaro

    Arubaro Soulspace Guardian

    Member
    1,669
    470
    Sep 4, 2015
  16. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,127
    1,324
    Dec 31, 2012
    Mexico
    A game
  17. N0N4me

    N0N4me Newbie

    Newcomer
    7
    3
    Aug 27, 2017
    Austria
    The last QR Code worked, HOW ??????
     
  18. that girl
    OP

    that girl Entrepreneur

    Member
    413
    66
    Jul 25, 2015
    Canada
    Omnipresent
    Thanks for keeping a link to the QR Code around.
    I don't know why the images were removed from my earlier posts.
     
  19. N0N4me

    N0N4me Newbie

    Newcomer
    7
    3
    Aug 27, 2017
    Austria
    How did you make a working QR Code of a special Mii ?!
     
    BVNG3RZ0KU likes this.
  20. Levi_OP

    Levi_OP Newbie

    Newcomer
    1
    1
    Yesterday
    United States
    I see that the link has gone down for the markiplier one, but i have restored it.
    h tt p: //pr n t scr.c om/h 09r3n
    (had to chop up link because website said it was not safe)
     
    Last edited by Levi_OP, Oct 21, 2017 at 8:12 PM
    that girl likes this.