nozwock / yanu

Yet Another NSP Updater for Skyline
GNU General Public License v2.0
211 stars 13 forks source link

Sea of Stars - "Encountered an error while unpacking RomFS from NCA" #42

Closed Foul-Tarnished closed 1 year ago

Foul-Tarnished commented 1 year ago

Encountered an error while unpacking RomFS from NCA

Sea of Stars[01008C0016544000][1.0.45861][0] Sea of Stars[01008C0016544800][1.0.46047][131072]

log below

Tue, 19 Sep 2023 00:55:11 INFO [crates\yanu\src\main.rs:40]: Launching yanu version="0.10.1" arch="x86_64" os="windows"
Tue, 19 Sep 2023 00:55:39 INFO [crates\yanu\src\utils.rs:64]: Picked file path="F:\\yanu\\Sea of Stars[01008C0016544000][1.0.45861][0][16.0.3].nsp" size=4.2 GB
Tue, 19 Sep 2023 00:55:41 INFO [crates\yanu\src\utils.rs:64]: Picked file path="F:\\yanu\\Sea of Stars[01008C0016544800][1.0.46047][131072][16.1.0].nsp" size=159.8 MB
Tue, 19 Sep 2023 00:55:46 INFO [crates\hac\src\vfs\nsp.rs:35]: Unpacking NSP nsp=F:\yanu\Sea of Stars[01008C0016544000][1.0.45861][0][16.0.3].nsp
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:60]: Unpacked NSP nsp=F:\yanu\Sea of Stars[01008C0016544000][1.0.45861][0][16.0.3].nsp to=F:\yanu\.\.tmp7a13mH
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:35]: Unpacking NSP nsp=F:\yanu\Sea of Stars[01008C0016544800][1.0.46047][131072][16.1.0].nsp
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:60]: Unpacked NSP nsp=F:\yanu\Sea of Stars[01008C0016544800][1.0.46047][131072][16.1.0].nsp to=F:\yanu\.\.tmpDBpStB
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:113]: Deriving TitleKey nsp=F:\yanu\Sea of Stars[01008C0016544000][1.0.45861][0][16.0.3].nsp
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\ticket.rs:40]: Reading ticket tik=F:\yanu\.\.tmp7a13mH\01008c00165440000000000000000010.tik
Tue, 19 Sep 2023 00:55:53 DEBUG [crates\hac\src\vfs\ticket.rs:47]: title_key="01008c00165440000000000000000010=5ce2255224f2c98882b35dbf970e2f91"
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:127]: Derived TitleKey
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:113]: Deriving TitleKey nsp=F:\yanu\Sea of Stars[01008C0016544800][1.0.46047][131072][16.1.0].nsp
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\ticket.rs:40]: Reading ticket tik=F:\yanu\.\.tmpDBpStB\01008c00165448000000000000000010.tik
Tue, 19 Sep 2023 00:55:53 DEBUG [crates\hac\src\vfs\ticket.rs:47]: title_key="01008c00165448000000000000000010=de8578481abd0877b7a4f2ae4a91de7b"
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\vfs\nsp.rs:127]: Derived TitleKey
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\utils\mod.rs:30]: Storing TitleKeys keyfile="C:\\Users\\Niels\\.switch\\title.keys"
Tue, 19 Sep 2023 00:55:53 INFO [crates\hac\src\utils\update.rs:81]: Using Hactoolnet as reader
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\0ff083356dc805783456080bc1988136.nca size=4.2 GB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmp7a13mH\0ff083356dc805783456080bc1988136.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt title key.
Key Type: 1
Key Name: titlekek_0f
A required key is missing.
Key name: titlekek_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmp7a13mH\0ff083356dc805783456080bc1988136.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\5b766b06d344e592d764b0055da198d0.nca size=639.5 KB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmp7a13mH\5b766b06d344e592d764b0055da198d0.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmp7a13mH\5b766b06d344e592d764b0055da198d0.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\8dfc42d7508cde635afc4b86cda93eaa.nca size=170.0 KB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmp7a13mH\8dfc42d7508cde635afc4b86cda93eaa.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmp7a13mH\8dfc42d7508cde635afc4b86cda93eaa.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\ea87863f12a321df05100d3408d491ca.cnmt.nca size=3.6 KB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmp7a13mH\ea87863f12a321df05100d3408d491ca.cnmt.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmp7a13mH\ea87863f12a321df05100d3408d491ca.cnmt.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\utils\update.rs:81]: Using Hac2l as reader
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\0ff083356dc805783456080bc1988136.nca size=4.2 GB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Program
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\5b766b06d344e592d764b0055da198d0.nca size=639.5 KB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Control
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\8dfc42d7508cde635afc4b86cda93eaa.nca size=170.0 KB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Manual
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmp7a13mH\ea87863f12a321df05100d3408d491ca.cnmt.nca size=3.6 KB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Meta
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\utils\update.rs:87]: base_nca=Nca { path: "F:\\yanu\\.\\.tmp7a13mH\\0ff083356dc805783456080bc1988136.nca", program_id: "01008c0016544000", content_type: Program }
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\utils\update.rs:93]: Using Hactoolnet as reader
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\e5c4bd3e5c813f4d6f174059c91718bb.nca size=158.9 MB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmpDBpStB\e5c4bd3e5c813f4d6f174059c91718bb.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt title key.
Key Type: 1
Key Name: titlekek_0f
A required key is missing.
Key name: titlekek_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmpDBpStB\e5c4bd3e5c813f4d6f174059c91718bb.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\cbec114c87f267e6b52a35bf36f89918.nca size=639.5 KB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmpDBpStB\cbec114c87f267e6b52a35bf36f89918.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmpDBpStB\cbec114c87f267e6b52a35bf36f89918.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\9ea22684f0524e5b046fd2dc93c9cf65.nca size=170.0 KB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmpDBpStB\9ea22684f0524e5b046fd2dc93c9cf65.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmpDBpStB\9ea22684f0524e5b046fd2dc93c9cf65.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\172c18b228bebb004b03d170e84a0262.cnmt.nca size=4.6 KB
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:76]: Encountered an error while viewing info nca=F:\yanu\.\.tmpDBpStB\172c18b228bebb004b03d170e84a0262.cnmt.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f

Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:405]: err=Failed to process ProgramID of 'F:\yanu\.\.tmpDBpStB\172c18b228bebb004b03d170e84a0262.cnmt.nca'
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\utils\update.rs:93]: Using Hac2l as reader
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\e5c4bd3e5c813f4d6f174059c91718bb.nca size=158.9 MB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Program
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\cbec114c87f267e6b52a35bf36f89918.nca size=639.5 KB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Control
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\9ea22684f0524e5b046fd2dc93c9cf65.nca size=170.0 KB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544000"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Manual
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:65]: Identifying TitleID and ContentType nca=F:\yanu\.\.tmpDBpStB\172c18b228bebb004b03d170e84a0262.cnmt.nca size=4.6 KB
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:108]: program_id="01008c0016544800"
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\vfs\nca.rs:133]: content_type=Meta
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\utils\update.rs:115]: update_nca=Nca { path: "F:\\yanu\\.\\.tmpDBpStB\\e5c4bd3e5c813f4d6f174059c91718bb.nca", program_id: "01008c0016544000", content_type: Program }
Tue, 19 Sep 2023 00:55:54 DEBUG [crates\hac\src\utils\update.rs:116]: control_nca=Nca { path: "F:\\yanu\\.\\.tmpDBpStB\\cbec114c87f267e6b52a35bf36f89918.nca", program_id: "01008c0016544000", content_type: Control }
Tue, 19 Sep 2023 00:55:54 INFO [crates\hac\src\vfs\nca.rs:145]: Unpacking RomFS from NCA nca=F:\yanu\.\.tmpDBpStB\cbec114c87f267e6b52a35bf36f89918.nca
Tue, 19 Sep 2023 00:55:54 WARN [crates\hac\src\vfs\nca.rs:158]: Encountered an error while unpacking RomFS from NCA nca=F:\yanu\.\.tmpDBpStB\cbec114c87f267e6b52a35bf36f89918.nca backend=Hactoolnet stderr=
ERROR: Unable to decrypt NCA section.
Key Type: 1
Key Name: key_area_key_application_0f
A required key is missing.
Key name: key_area_key_application_0f
Foul-Tarnished commented 1 year ago

had to reimport the keys

the error message should say it could be outdated keys, without needing to check the log file