[core] Support block-compressed NSZ and XCZ

This commit is contained in:
PavelBARABANOV 2026-10-18 13:14:14 +03:00
parent e0d47f2790
commit 17091b59f1
14 changed files with 415 additions and 10 deletions

View file

@ -100,7 +100,7 @@ class Game(
companion object {
val extensions: Set<String> = HashSet(
listOf("xci", "nsp", "nca", "nro")
listOf("xci", "nsp", "nca", "nro", "nsz", "xcz")
)
}
}

View file

@ -109,7 +109,7 @@ object GameHelper {
// File extensions considered as external content, buuut should
// be done better imo.
private val externalContentExtensions = setOf("nsp", "xci")
private val externalContentExtensions = setOf("nsp", "xci", "nsz", "xcz")
private fun scanContentContainersRecursive(
files: Array<MinimalDocumentFile>,