[Help] Creating LayeredFS Plugin for NTR CFW

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by LinkmstrYT, Jul 3, 2015.

  1. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    Yeah, I looked at the manual and had no clue on what to do in the beginning.
    1. Copy decrypted exefs.bin to workdir.
    2. Run build_layeredfs.bat, when it prompts 'Enter the folder of the layeredFS file:', enter the path that the translation file will be placed on SD card, ie. 'layered'. (using a game-unique name is recommend)
    3. Copy to workdir\ layeredfs.plg to SDCard, the path is plugin\GAMEID\layeredfs.plg .
    4. Prepare translation data. Copy the files which are different from original version to the folder you entered in Step 2 on SD card. (Copying unchanged files is not essential.)
    5. The screen will flashes green when the genuine card runs, the layeredfs plugin will be loaded and start redirecting file accesses.
    So...how do I make a decrypted exefs.bin?
     


  2. gudenau

    gudenau Never a unique idea

    Member
    3,262
    1,225
    Jul 7, 2010
    United States
    /dev/random
    Dycrypt the game and use ctrtool to dump the exefs.
     
  3. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    What do I use to decrypt the rom? Do I use rxTools or what?
     
  4. gudenau

    gudenau Never a unique idea

    Member
    3,262
    1,225
    Jul 7, 2010
    United States
    /dev/random
    That should work, just dump it with GW and run rxTools CTR Decryptor.
     
  5. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    So...where do I get CTRTool? More like I get an error with it. It's saying "The program can't start because MSVCR110D.dll is missing from your computer. Try reinstalling the program to fix this problem."
     
    Last edited by LinkmstrYT, Jul 3, 2015
  6. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,972
    2,456
    Nov 15, 2014
    France
    Albi
    so download the dll...
     
  7. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    I've tried reinstalling Visual C++ plenty of times already. Still says it's missing the dll...
     
  8. gudenau

    gudenau Never a unique idea

    Member
    3,262
    1,225
    Jul 7, 2010
    United States
    /dev/random
    Find the max 3ds to cia thing, there is one in there that works. (No problem on Linux. :-P)
     
  9. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    Actually, CTRTool came with the layeredfs tools. The problem is trying to run it since it says that I'm missing a certain .dll.
     
  10. gudenau

    gudenau Never a unique idea

    Member
    3,262
    1,225
    Jul 7, 2010
    United States
    /dev/random
    Use the one from max, it does not need the dll.

    Edit:
    I wonder how bad a JS version would be, it is a simple program...
     
  11. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    So how I would use the one from Max? I mean, I've downloaded it and tried to run it... Nothing.
     
  12. gudenau

    gudenau Never a unique idea

    Member
    3,262
    1,225
    Jul 7, 2010
    United States
    /dev/random
    Use command prompt.
     
  13. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    Oh wait, was I suppose to run the .bat file? If so, I already did it. Now what?
     
  14. gudenau

    gudenau Never a unique idea

    Member
    3,262
    1,225
    Jul 7, 2010
    United States
    /dev/random
    Copy ctrtool where you decrypted rom is. Press the windows key and r, type in cmd and hit enter. Then type cd and enter the path of the rom and press enter. Then type ctrtool and hit enter, it should print usage instructions.

    Look up how to use command prompt, it is a very powerfull tool.
     
  15. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    I'm sure it's a powerful tool and I tried to look it up on how to use, they weren't very useful...
     
  16. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    Yeup still no idea how. I have a decrypted .3DS file and still don't know how to use command prompt. I really, really suck at these things.
     
  17. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,972
    2,456
    Nov 15, 2014
    France
    Albi
    2mn and i show you
     
  18. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,972
    2,456
    Nov 15, 2014
    France
    Albi
    @LinkmstrYT



    Download my pack from my 3ds rom hacking tutorial
     
    LinkmstrYT likes this.
  19. LinkmstrYT
    OP

    LinkmstrYT ( ͡° ͜ʖ ͡°)

    Member
    1,461
    801
    Dec 16, 2013
    United States
    You wanted to see where I live? You stalker...
    Now this helped A LOT. Thanks!
     
  20. Meorge

    Meorge Banned

    Banned
    97
    37
    Jan 4, 2016
    I don't understand. I have a decrypted romfs and exefs, but the romfs is the one I edited. Can I do this with a decrypted romfs?