LayeredFS root directory setup question

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Dennis G, Apr 2, 2016.

  1. Dennis G
    OP

    Dennis G GBAtemp Advanced Fan

    Member
    671
    205
    Jan 4, 2016
    Netherlands
    i made a layerfs for oras games, but what i get is that i need to put the files i mod in to a folder at the root of the sd in a folder named after the game, so i have this folder named: 000400000011C400 but now i need to know what structure the files need to have inside the folder, like do i just put in the romfs folder that is decrypted or what? can anyone give me a example or like how i'd do that using ruptile/star sapphire as a example?
     
  2. triplekiller

    triplekiller Member

    Newcomer
    21
    6
    Dec 27, 2015
    Gambia, The
    since I am using the layeredfs plugin for my LovePlus translation currently,
    I can tell you that you need to keep the same filestructure as the original game(eg. Path to your Game in the Plugin is SD:/Pokehax/COPY FILES HERE WITH SAME STRUCTURE AS ORIGINAL)
    Also, you only need to copy the modified Files here, which then get loaded instead of the Original Files.
     
  3. Dennis G
    OP

    Dennis G GBAtemp Advanced Fan

    Member
    671
    205
    Jan 4, 2016
    Netherlands
    hhm, the guide that i read mentions that i have to put the layeredfs file in plugin/xxxxx/layeredfs.plg but the modded game files in root/xxxxx/files, and i don't really know what the game uses. since the tools Decrypt all the files. i just need to know if i need to put decrypted folder files or restored files back, like a romfs rolder or a .romfs file, and what name it has in the game, but thanks though
     
  4. triplekiller

    triplekiller Member

    Newcomer
    21
    6
    Dec 27, 2015
    Gambia, The
    you can find out the ID of said game through several means, the most easy one i can think of, is starting the game in Hans, and in the config screen you will see the ID if you try to select romfs from sd card.

    Also to see the structure of your game you have to decrypt its romfs file.
    I have no time currently to look into my ORAS game or i would have seend you a screenshot.
     
    Last edited by triplekiller, Apr 2, 2016
  5. Dennis G
    OP

    Dennis G GBAtemp Advanced Fan

    Member
    671
    205
    Jan 4, 2016
    Netherlands
    i know the id, it's mentioned in my first post, but i don't know of the layout of the game to recreate it's structure. i have decrypted but that diden't work game crashes when started :c
     
  6. triplekiller

    triplekiller Member

    Newcomer
    21
    6
    Dec 27, 2015
    Gambia, The
    can you post of the files inside the decrypted romfs folder? I might be able to explain it better then.
     
  7. Dennis G
    OP

    Dennis G GBAtemp Advanced Fan

    Member
    671
    205
    Jan 4, 2016
    Netherlands
    I'll do that in a bit not able to do that atm. sorry
     
  8. triplekiller

    triplekiller Member

    Newcomer
    21
    6
    Dec 27, 2015
    Gambia, The
    np, I'm not home atm either :)