Manually updating romfs.bin for backups

Discussion in 'Switch - Backup Loaders & Modchips' started by GOTBLZ, Jul 2, 2018.

  1. Assasin1990

    Assasin1990 GBAtemp Regular

    Member
    2
    Dec 8, 2014
    Moldova
    right , Zelda dlc have only romfs partition. check dlc.nca info and you will see.
     
    huma_dawii likes this.
  2. Zumoly

    Zumoly GBATemp Analyst

    Member
    4
    Apr 27, 2018
    Mali
    Yorosso
    No. You don't need the exefs folder for DLC.
     
  3. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    7
    Apr 3, 2014
    United States
    Planet Earth
    20180710_120306.jpg
    The game boots and says nothing about the DLC being bought, what else do I need besides the latest update? (my DLC its like 1.3GB)

    EDIT:

    It seems to be stuck on the loading screed D: (the actual game screen not the booting screen)
     
    Last edited by huma_dawii, Jul 10, 2018
  4. Zumoly

    Zumoly GBATemp Analyst

    Member
    4
    Apr 27, 2018
    Mali
    Yorosso
    Only the latest update mate as it contains additional content for the DLC.
    But IRC BOTW has two DLC packs right?
     
  5. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    7
    Apr 3, 2014
    United States
    Planet Earth
    ONE I
    One of them its like a single file saying "Ver 3.0" or something like that... the other I don't really know it its a DLC it says its an update... D:
     
  6. Zumoly

    Zumoly GBATemp Analyst

    Member
    4
    Apr 27, 2018
    Mali
    Yorosso
    Are you using cart or digital version?
     
  7. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    7
    Apr 3, 2014
    United States
    Planet Earth
    GameCard (I have a big update in my SD card 929MB this is what my DLC looks like

    I didn't do the update since I have it already in my SD officially..

    BTW what if I use the DLC title ID instead of the gameid? lol :v
     

    Attached Files:

    Last edited by huma_dawii, Jul 10, 2018
  8. Zumoly

    Zumoly GBATemp Analyst

    Member
    4
    Apr 27, 2018
    Mali
    Yorosso
    I see! Then something is wrong.
    Either the DLC is not supported by your BOTW copy (maybe region issue)
    Or you've not met the requirements in the actual game (I heard you have to go in Korok forest and it'll activate)
    Anyways are you able to load and play the game?
     
  9. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    7
    Apr 3, 2014
    United States
    Planet Earth
    No the game doesn't load it gets stuck in the loading screen (see the picture up there) and guess what? my save file is in the korok forest because I was doing the master sword trials before I transferred my save data to the Switch so that cant be... maybe I will try to download the DLC from other sources and try again!
     
  10. Zumoly

    Zumoly GBATemp Analyst

    Member
    4
    Apr 27, 2018
    Mali
    Yorosso
    Yeah that might help.
    But keep in mind that BOTW is a pretty difficult game when it comes to LayeredFS.
     
  11. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    7
    Apr 3, 2014
    United States
    Planet Earth
    I thought you said it works... so I thought you got it up and running?
     
  12. Zumoly

    Zumoly GBATemp Analyst

    Member
    4
    Apr 27, 2018
    Mali
    Yorosso
    No. I didn't try BOTW yet. I tried Octo DLC with Splatoon 2 and that worked.
     
  13. ressit

    ressit Advanced Member

    Newcomer
    1
    Jun 4, 2018
    Vietnam
    I have a game. NSP> NCA> LayeredFS it works very well
    But I can not update the game
    Is there any way to update manually by hand?
    upload_2018-7-12_0-55-53.png
     
  14. Assasin1990

    Assasin1990 GBAtemp Regular

    Member
    2
    Dec 8, 2014
    Moldova
    steps to update LayeredFS game is :
    unpack all .nsp > decrypt game .nca > game decrypted.nca + encrypted update.nca > layeredFS updated game.
     
    Last edited by Assasin1990, Jul 12, 2018
  15. huma_dawii

    huma_dawii GBAtemp Addict

    Member
    7
    Apr 3, 2014
    United States
    Planet Earth
    Can you update the script to support Cart2 extractions? .xci
     
  16. ressit

    ressit Advanced Member

    Newcomer
    1
    Jun 4, 2018
    Vietnam
    ---------------------------------------------------
    ======== NCA/NSP TO LayeredFS v1.2 by Kleei =======
    ---------------------------------------------------
    1. Extract Decrypted NCA
    2. Extract Ecrypted NCA
    3. Extract Eshop NSP
    4. Update (base.nca + update.nca)
    5. Info Decrypted NCA
    6. Info Ecrypted NCA
    7. Extract DLC NCA (romfs folder)
    8. Decrypt NCA (Plaintext)
    ---------------------------------------------------
    Q. Quit
    ===================================================
    What you gonna do ?
    :4
    ---------------------------------------------------
    1. Romfs.bin
    2. Romfs folder
    ---------------------------------------------------
    What you gonna do ?
    :1
    Drag and Drop your base NCA: "D:\Thu vien\update\Decrypted_NCA\NCAID_PLAIN.nca"
    Drag and Drop your update NCA: "D:\Thu vien\update\update.nca"
    Enter titlekey: 7b9d0a40735fdd1fXXXXXXXe4f934fdbb484

    NCA:
    Magic: NCA3
    Fixed-Key Signature: 4107B77444F1EA40B703021C47EEBED6E804A39728F6
    45AA0DD31B9F4708D3C4
    8C3D8957B7CFED3471FC45598437B0A0F267CCF3101A
    85991C179E02B8644C61
    B93D453AAB37CF289A35E89A25B351A46FB7B29E7DC8
    5D1DA9D5FE62AE016396
    FB5F87CFB94A7D6D4A7926FC6321F613537FCD874E2C
    F9E41C13C01DF83E393D
    11D869A1E53F72A8B86EF840B747E9F47D572C6A4C05
    93C4E3E6211737361A55
    0B26B0E6770E8F005E0E8CB2DBD1E1DD4A1E02543802
    DB07F4BF3BF33A665CD4
    03C35DF556234ECFD6C8A54D9ECC8F4EAFDB1EFEDBED
    05B170025EC4F2E7ACD9
    0009519D8F01952C616355C9E2AE87BCFBCCA3FF2F7E
    E41BF1328A07E25DE793
    NPDM Signature: 893062E6A144D8CD7069547D340782F5A1F5C5EE1DC0
    95FC06726DCB8117EB3C
    755064D438766B238B4FAB406ED70A669C7951487498
    EF90E27A46936EBE3627
    5E7548A5DFC2B817D765D9E967D815B946150F425FF1
    E23973FC3DD811E213E8
    EFA616A251626CA1B7F8EFA1E589E194082ED9C23F52
    DBF6FCE31DC642F9A202
    F1B2F05EA16013150F7D66B0B776235D3966827ABBEC
    3B879FA59B660DCECBCF
    73731936A63F7DC40A812B066E60B15474B1583A8850
    8089856F5220D0B688C2
    6D5E98C347988B557F58D8B1976D95BC57AE432DA657
    82904587AAB71EAD529E
    29E1FD45983E94FD9DFA7B53BFFDAE54314B55358DDD
    EA733894431F3977C54F
    Content Size: 0x0000055efe00
    Title ID: 01009d60076f6000
    SDK Version: 3.4.0.0
    Distribution type: Download
    Content Type: Program
    Master Key Revision: 2 (3.0.1-3.0.2)
    Encryption Type: Titlekey crypto
    Rights ID: 01009D60076F68000000000000000003
    Titlekey (Encrypted) 7B9D0A40735FDD1F908E4F934FDBB484
    Titlekey (Decrypted) 3B63EC865591B939FA89D6F0F1F232EC
    Sections:
    Section 0:
    Offset: 0x000003417e00
    Size: 0x0000021d8000
    Partition Type: PFS0
    Section CTR: 00000001000000020000000000341C1A
    Superblock Hash: 3BEF1F2041221E87BB6C103D7E55434307DD4574305F
    70826C1BBE55802E0482
    Hash Table:
    Offset: 000000000000
    Size: 0000000043a0
    Block Size: 0x10000
    PFS0 Offset: 000000008000
    PFS0 Size: 0000021cee01
    Section 1:
    Offset: 0x000000004000
    Size: 0x000003413e00
    Partition Type: Patch RomFS
    Section CTR: 000000020000000200000000003417E0
    BKTR section seems to be corrupted.

    Error: section 0 is corrupted!

    Saving Section 1 to D:\Thu vien\update\Updated_LayeredFS\romfs.bin...
    Size: 000000000000
    Error: section 1 is corrupted!

    Done!
    Press any key to continue . . .
    Show me the wrong place
     
    Last edited by ressit, Jul 12, 2018
  17. Assasin1990

    Assasin1990 GBAtemp Regular

    Member
    2
    Dec 8, 2014
    Moldova
    use "XCI Explorer v1.2.2.1" to extract xci

    wrong Titlekey
     
  18. ressit

    ressit Advanced Member

    Newcomer
    1
    Jun 4, 2018
    Vietnam
    i try but folder emty >"<
    Code:
    495D9650CB5EF259F0A9
                                        C11D1D84EEB22399106653B8AB2C19B836B9C4432A6F
    060DE83623D5E067FA34
                                        82AA69D27871428424F50B3FDA168115B0049E8C8989
    42FA6BB8DD67B0FFF2EF
                                        DBDD688407028168659796A22E3C6BF08D2BE9FC3B5D
    8F2854637A825C1E7B9B
            Is Retail:                  3
            Title ID Range:             0100000000010000-01ffffffffffffff
        ACI0:
            Magic:                      ACI0
            Title ID:                   0100522007aaa000
        Kernel Access Control:
            Lowest Allowed Priority:    28
            Highest Allowed Priority:   59
            Lowest Allowed CPU ID:      0
            Highest Allowed CPU ID:     2
            Allowed SVCs:               svcSetHeapSize                      (0x01)
                                        svcSetMemoryPermission              (0x02)
                                        svcSetMemoryAttribute               (0x03)
                                        svcMapMemory                        (0x04)
                                        svcUnmapMemory                      (0x05)
                                        svcQueryMemory                      (0x06)
                                        svcExitProcess                      (0x07)
                                        svcCreateThread                     (0x08)
                                        svcStartThread                      (0x09)
                                        svcExitThread                       (0x0a)
                                        svcSleepThread                      (0x0b)
                                        svcGetThreadPriority                (0x0c)
                                        svcSetThreadPriority                (0x0d)
                                        svcGetThreadCoreMask                (0x0e)
                                        svcSetThreadCoreMask                (0x0f)
                                        svcGetCurrentProcessorNumber        (0x10)
                                        svcSignalEvent                      (0x11)
                                        svcClearEvent                       (0x12)
                                        svcMapSharedMemory                  (0x13)
                                        svcUnmapSharedMemory                (0x14)
                                        svcCreateTransferMemory             (0x15)
                                        svcCloseHandle                      (0x16)
                                        svcResetSignal                      (0x17)
                                        svcWaitSynchronization              (0x18)
                                        svcCancelSynchronization            (0x19)
                                        svcArbitrateLock                    (0x1a)
                                        svcArbitrateUnlock                  (0x1b)
                                        svcWaitProcessWideKeyAtomic         (0x1c)
                                        svcSignalProcessWideKey             (0x1d)
                                        svcGetSystemTick                    (0x1e)
                                        svcConnectToNamedPort               (0x1f)
                                        svcSendSyncRequestLight             (0x20)
                                        svcSendSyncRequest                  (0x21)
                                        svcSendSyncRequestWithUserBuffer    (0x22)
                                        svcSendAsyncRequestWithUserBuffer   (0x23)
                                        svcGetProcessId                     (0x24)
                                        svcGetThreadId                      (0x25)
                                        svcBreak                            (0x26)
                                        svcOutputDebugString                (0x27)
                                        svcReturnFromException              (0x28)
                                        svcGetInfo                          (0x29)
                                        svcMapPhysicalMemory                (0x2c)
                                        svcUnmapPhysicalMemory              (0x2d)
                                        svcGetLastThreadInfo                (0x2f)
                                        svcSetThreadActivity                (0x32)
                                        svcGetThreadContext3                (0x33)
                                        svcFlushProcessDataCache            (0x5f)
            Application Type:           Application
            Handle Table Size:          512
            Allow Debug:                YES
            Force Debug:                NO
        Service Access Control:
            Accesses:                   acc:u0
                                        aoc:u
                                        apm
                                        appletOE
                                        audin:u
                                        audout:u
                                        audren:u
                                        banana
                                        bcat:u
                                        bsd:u
                                        bsdcfg
                                        caps:su
                                        csrng
                                        friend:u
                                        fsp-srv
                                        hid
                                        htc
                                        htc:tenv
                                        htcs
                                        hwopus
                                        irs
                                        ldn:u
                                        ldr:ro
                                        lm
                                        mii:u
                                        mm:u
                                        nfc:mf:u
                                        nfc:user
                                        nfp:user
                                        nifm:u
                                        nsd:u
                                        ntc
                                        nvdrv
                                        pcm
                                        pctl
                                        pl:u
                                        prepo:u
                                        set
                                        sfdnsres
                                        ssl
                                        time:u
                                        vi:u
        Filesystem Access Control:
            Version:                    1
            Raw Permissions:            0x4000000000000000
            RW Permissions:             SdCardAccess                     [DEBUG ONLY
    ]
                                        Unknown (0x23)                   [DEBUG ONLY
    ]
                                        HostAccess                       [DEBUG ONLY
    ]
    
            Boolean Permissions:        PaddingFiles                     [DEBUG ONLY
    ]
                                        SaveData_Debug                   [DEBUG ONLY
    ]
                                        SaveData_SystemManagement        [DEBUG ONLY
    ]
    
    Sections:
        Section 0:
            Offset:                     0x000015ef0000
            Size:                       0x000001a48000
            Partition Type:             ExeFS
            Section CTR:                00000001000000000000000001722E00
            Superblock Hash:            9EBEDCB1AA2C3D51E4B261663657A41B0AA127971E06
    2351484865483D4AC378
            Hash Table:
                Offset:                 000000000000
                Size:                   000000006900
                Block Size:             0x8000
            PFS0 Offset:                000000008000
            PFS0 Size:                  000001a3c411
        Section 1:
            Offset:                     0x00000001c000
            Size:                       0x000015ed4000
            Partition Type:             RomFS
            Section CTR:                000000020000000000000000015EEEDE
            Superblock Hash:            89520AD1A9A7DADDDAA4F9C2C68452929FB3247FFC1E
    8C14D2087C2845070B62
            Magic:                      IVFC
            ID:                         00020000
            Level 0:
                Data Offset:            0x000000000000
                Data Size:              0x000000004000
                Hash Block Size:        0x00004000
            Level 1:
                Data Offset:            0x000000004000
                Data Size:              0x000000004000
                Hash Offset:            0x000000000000
                Hash Block Size:        0x00004000
            Level 2:
                Data Offset:            0x000000008000
                Data Size:              0x000000004000
                Hash Offset:            0x000000004000
                Hash Block Size:        0x00004000
            Level 3:
                Data Offset:            0x00000000c000
                Data Size:              0x000000004000
                Hash Offset:            0x000000008000
                Hash Block Size:        0x00004000
            Level 4:
                Data Offset:            0x000000010000
                Data Size:              0x0000000b0000
                Hash Offset:            0x00000000c000
                Hash Block Size:        0x00004000
            Level 5:
                Data Offset:            0x0000000c0000
                Data Size:              0x000015e12de0
                Hash Offset:            0x000000010000
                Hash Block Size:        0x00004000
        Section 2:
            Offset:                     0x000000004000
            Size:                       0x000000018000
            Partition Type:             PFS0
            Section CTR:                00000000000000000000000000000400
            Superblock Hash:            5D02E6BBD346B5FCD4300763AF23CC1C1CE2C94AD7ED
    F8D52C75615083017755
            Hash Table:
                Offset:                 000000000000
                Size:                   000000000240
                Block Size:             0x1000
            PFS0 Offset:                000000004000
            PFS0 Size:                  0000000117d4
    
    
    
    
    Saving Decrypted NCA to D:\Thu vien\game\Decrypted_NCA\Decrypted.nca...
    Done!
    Press any key to continue . . .
    ---------------------------------------------------
    ======== NCA/NSP TO LayeredFS v1.2 by Kleei =======
    ---------------------------------------------------
            1.  Extract Decrypted NCA
            2.  Extract Ecrypted NCA
            3.  Extract Eshop NSP
            4.  Update (base.nca + update.nca)
            5.  Info Decrypted NCA
            6.  Info Ecrypted NCA
            7.  Extract DLC NCA (romfs folder)
            8.  Decrypt NCA (Plaintext)
    ---------------------------------------------------
            Q.  Quit
    ===================================================
            What you gonna do ?
    :4
    ---------------------------------------------------
            1.  Romfs.bin
            2.  Romfs folder
    ---------------------------------------------------
            What you gonna do ?
    :1
    Drag and Drop your base NCA: "D:\Thu vien\game\Decrypted_NCA\Decrypted.nca"
    Drag and Drop your update NCA: "D:\Thu vien\game\Extracted_NSP2\9868780aee996e03
    3f9781dcc5e48342.nca"
    Enter titlekey: 7b9d0a40735fdd1f908e4f934fdbb484
    
    NCA:
    Magic:                              NCA3
    Fixed-Key Signature:                59789D98833468470A0658DE1CF4B98EF0A517335090
    4187E2FF6EC015A30BF6
                                        FD638FF5E2D0765D8DE058E106A5233B362EEB562827
    AC6B8ECE38A19A23DBBF
                                        69370954F8F83383EE18EBA93E2328FE8DACDF3FF93C
    9B0CE0F0366D85D78240
                                        D0B9FB5C5BC731E37B584292052D724A3CE8C8EA20F0
    4D8A282C4E746F0CFE70
                                        199E9802FCBA2E11649AB90131A06259B622E45A2502
    51B4F4168F3281F53E6A
                                        7848EA0F8D84552792A8AA7E244B126C96207CD20F10
    9021C8467B8E7F90C9A9
                                        2B2B45BFC42A20D0124E0A59C57286E2248989CE4312
    067669DAF401448CA6CD
                                        7C97AED8BA5824E1A9E4B03788504E78C3E5946D3748
    61240D74E6B3B338F188
    NPDM Signature:                     ADDE4C0E2E43DAA8B56F49481DFE202576FDA5FC61E3
    670772782E04C931580A
                                        3A531D79F13EDD972F8F0DB979B2EDA23DBE76F40B53
    0DD9B22C2F6C832846B9
                                        F473718BDDC215E1134A7353B3547C28A6501CED253C
    CC4EE51701966697314A
                                        53BB7F439FAB2C08DEF21475EDA8A0B663C39BA221FC
    169EB610A9C347385D68
                                        6CC9980FE56F5C2CCDB84012FA1F6A62F8DFA6E9A0C1
    1D865D8B880081C96765
                                        C13D46EF0D1BBC4895AB9D8C7DF0224D3E00665D0825
    2B0701BC22B72938B4F6
                                        95FD72ED1448CAA32022C4C811A3A2CD57E427423CBD
    7CA25EAB316E07DC35DE
                                        8F68EF9E0A95E7B2992D8F3F0C23CB79F076E8D14A8C
    F028183DF8CAF626E994
    Content Size:                       0x000017a3ac00
    Title ID:                           0100522007aaa000
    SDK Version:                        3.8.0.0
    Distribution type:                  Download
    Content Type:                       Program
    Master Key Revision:                3 (4.0.0-4.1.0)
    Encryption Type:                    Titlekey crypto
    Rights ID:                          0100522007AAA8000000000000000004
    Titlekey (Encrypted)                7B9D0A40735FDD1F908E4F934FDBB484
    Titlekey (Decrypted)                57BBF86407F51D0F84E7D13EAA34CB8C
    Sections:
        Section 0:
            Offset:                     0x000015ff2c00
            Size:                       0x000001a48000
            Partition Type:             PFS0
            Section CTR:                000000010000000100000000015FF950
            Superblock Hash:            6B4EA6645003DD191EAC0CEFA7468A3F8FA6335CA80C
    A179C1A7243B0F82948A
            Hash Table:
                Offset:                 000000000000
                Size:                   000000006900
                Block Size:             0x8000
            PFS0 Offset:                000000008000
            PFS0 Size:                  000001a3d221
        Section 1:
            Offset:                     0x000000004000
            Size:                       0x000015feec00
            Partition Type:             Patch RomFS
            Section CTR:                000000020000000100000000015FF2C0
            BKTR section seems to be corrupted.
    
    Error: section 0 is corrupted!
    
    Saving Section 1 to D:\Thu vien\game\Updated_LayeredFS\romfs.bin...
    Size: 000000000000
    Error: section 1 is corrupted!
    
    Done!
    Press any key to continue . . .
     
  19. tottti1914

    tottti1914 Member

    Newcomer
    1
    May 3, 2018
    Syria
    so to run wolfenstein 2 i need an extra update i got both (game+update) nsp what to do next
     
  20. Assasin1990

    Assasin1990 GBAtemp Regular

    Member
    2
    Dec 8, 2014
    Moldova
    enter Titlekey update not base one , they are not the same

    — Posts automatically merged - Please don't double post! —