1. LyuboA

    LyuboA Unknown Entity
    Member

    Joined:
    Jun 1, 2018
    Messages:
    483
    Country:
    Bulgaria
    i get the same even though i have prod.keys, keys.txt, keys.ini and every other variation there is for keys actually hactool gives that no matter what other programs too
     
  2. 18Phoenix

    18Phoenix GBAtemp Advanced Fan
    Member

    Joined:
    Nov 21, 2005
    Messages:
    794
    Country:
    Germany
    Correct filename for keys is: keys.ini

    All the [WARN]: Failed to match key ... message are normal and don't matter.

    Code:
    if (raw_header.magic != MAGIC_PFS0) {
            printf("Error: PFS0 is corrupt!\n");
            exit(EXIT_FAILURE);
        }
    Corrupt file.

    Key () must be 32 hex digits!
    Or wrong/outdated keys.

    Can only be one of both.
    The program still works very nice - no problems at all.

    And never forget to update hactool that is included and used by this app.
    Newest version is 1.4.0, but it came after the last release here:
    https://github.com/SciresM/hactool
     
    Last edited by 18Phoenix, Mar 4, 2021
    huma_dawii likes this.
  3. Ghost92

    Ghost92 GBAtemp Maniac
    Member

    Joined:
    Jun 29, 2017
    Messages:
    1,032
    Country:
    Colombia
    What I do is install said program and then extract the keys again, from there it is added and the program can be read and extracted.
     
  4. 18Phoenix

    18Phoenix GBAtemp Advanced Fan
    Member

    Joined:
    Nov 21, 2005
    Messages:
    794
    Country:
    Germany
    ----------
     
    Last edited by 18Phoenix, Mar 5, 2021
  5. Neffin

    Neffin Member
    Newcomer

    Joined:
    Nov 4, 2019
    Messages:
    32
    Country:
    France
    Hi everyone,
    I succedded to extract layeredFS files from a game with NCA-NSP-XCI to LayeredFS, it came out with "exefs folder" and "romfs.bin" file. I'd like to try to mod the game for increasing graphics or framerate. Once I have those files, how can I make changes ? and mostly, once done, what to do to make it read by the switch, is it needed to rebuild the file or other ?
    Thanks a lot
     
  6. ArttyRios

    ArttyRios Newbie
    Newcomer

    Joined:
    Apr 8, 2021
    Messages:
    9
    Country:
    Brazil
    I got those files too. I don't know what to do with them I wanted to get the 3d models of the game
     
  7. ArttyRios

    ArttyRios Newbie
    Newcomer

    Joined:
    Apr 8, 2021
    Messages:
    9
    Country:
    Brazil
    I'm not getting. I can only get empty folders, .no files, romfs.bin file or a folder called exefs with the following files: main, main.npdm, rtld, sdk, subsdks0 and subsk1.

    can someone help? I just wanted to get the 3d models of the pokemons let's go game as in the @ Manurocker95 post, but I can't get the game decrypted at all
     
  8. 18Phoenix

    18Phoenix GBAtemp Advanced Fan
    Member

    Joined:
    Nov 21, 2005
    Messages:
    794
    Country:
    Germany
    If you get a romfs.bin the wrong selection has been made.
    I think you want the unpacked files.
    To unpack a nca file choose:

    nca from a base nsp:
    1-2-2 : 1 NCA - 2 Extract Ecrypted NCA - 2 Romfs folder

    nca from an update nsp (decrypted base nca needed):
    1-3-2 : 1 NCA - 3 Update (base.nca + update.nca) - 2 Romfs folder
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - LayeredFS, Extract, Update