For those who are having problems with ROPLoader

Discussion in '3DS - Flashcards & Custom Firmwares' started by Roxas75, Feb 10, 2014.

  1. Roxas75
    OP

    Roxas75 GBAtemp Advanced Fan

    Member
    518
    1,381
    Oct 9, 2010
    Italy
    Hei there! :)
    I see most of you guys are having problems corrupting the ds mode with the ROPLoader, wich is the actually public installer for the 3ds exploit.
    Well a solution to this is to edt the real Gateway installer to read decrypted data, but sharing it would be illegal, i think.
    So i created this little tool as solution, wich encrypts/decrypts the Launcher.dat (or any other...) with the Gateway keys so you can use the original installer and encrypt all the homebrews.

    Download here!

    Usage : Just drag and drop the file you want on the tool, it will detetch if it's encrypted or decrypted, and will decrypt or encrypt it on his own.

    For those who are developing with the current little public c/c++ libraries, just copy the tool in your developing directory and add this line at the end of build.py file:
    Code:
    os.system("3ds_mset_sign.exe Launcher.dat");
    Then it will automatically encrypt the Launcher.dat for you every time you compile your code.
     
    Margen67, Warft, bkifft and 1 other person like this.
  2. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan

    Banned
    560
    336
    Jan 10, 2011
    Also take note that there is this alternative ROP loader that loads decrypted Launcher.dats:

    http://gbatemp.net/threads/alternate-rop-installer.361185/

    Decrypting and encrypting Launchers for Gateway has been possible for a while now using OpenSSL, but I guess it's nice that a noob friendly encrypter has been made.
     
    Margen67 likes this.
  3. Roxas75
    OP

    Roxas75 GBAtemp Advanced Fan

    Member
    518
    1,381
    Oct 9, 2010
    Italy
    Yeah, but in that other way you completely flash another user nvram instead of yours, so you'll lose your data.
    Also, i coded it for myseldf to speedup my works, becouse use batch openssl everytime was wasting my time :P
     
  4. PedroDJavier

    PedroDJavier GBAtemp Regular

    Member
    180
    20
    Oct 25, 2013
    Sorry. But, this is not working fine for me. When i drop the launcher.dat to the tool it closes. What can i do ?
     
  5. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    I only have OSX and Linux machines...
    Could I have the source code?

    # I have tried Wine, but unfortunately this uses MSVCR100.dll...
     
    CuriousTommy likes this.
  6. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    There is a python script in my sig (in src folder) that does the same thing as roxas app.
    You'll need to install https://www.dlitz.net/software/pycrypto/ module for python though. The exe might work in vine however.
     
    Margen67 likes this.
  7. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    Thank you...

    So,
    1. Install GW_Installer.nds using flashcart (here I used AK2i)
    2. Encrypt Launcher.dat using your py
    3. Load DS Profile

    Now I see the first 3DS application.
     
  8. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    I made a small encrypter named gatewayize in Ruby and C, to make sure my understanding.
    At least I was able to load TE3DS using Gateway loader.

    http://www.mediafire.com/download/ry6d4eyc8p1ujdd/gatewayize.zip

    My 3DS journey has just begun (well, I reinitialized my 3DS data 5 times today. I shouldn't play AR games stuff again until the situation becomes stable)...
     
    hippy dave likes this.
  9. 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,445
    4,762
    Mar 17, 2010
    Norway
    Alola
    I assume this will not fully decrypt GW's launcher.dat (so as to allow for modification/reverse engineering of it)
    Nonetheless an useful tool for homebrew devs and users.
     
  10. gamesquest1

    gamesquest1 Nabnut

    Member
    14,088
    9,423
    Sep 23, 2013
    Nope if I understand correctly the gateway launcher has several stages of encryption, most of which happen on the 3ds itself, this just has the first layer, enough for their roploader to read a homebrew loader that is using the first stage of their encryption
     
  11. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,090
    3,993
    Oct 7, 2007
    United States
    Levelland, Texas
    Any chance you can provide something to decrypt/encrypt the launcher.dat in the spiderhax folder of your rxTools source code? That's really the only part not open sourced. Unless you used an already public method. Then let us know what that is so it can be modified. ;)