mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-04 13:45:40 +00:00
[PR #22] [CLOSED] Improved CIA content reading, stage 1 #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/SabreTools.Serialization/pull/22
Author: @Dimensional
Created: 9/7/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
e108e6aCIA.cs: Changed partition limit to what is specified in the TMD. Added title key decryptor. Added in commented out cia.Offsets for future "partition table" tracking.9b2e81dMerge branch 'SabreTools:main' into main📊 Changes
1 file changed (+136 additions, -10 deletions)
View changed files
📝
SabreTools.Serialization/Deserializers/CIA.cs(+136 -10)📄 Description
CIA files use 2 encryption schemes for their NCCH Content. One is AES CBC with Decrypted Title Key and the Content Index, the index value of the NCCH list, as the IV.
Stage 2 will expand to utilize the same NCCH decryption that 3DS partitions use, but with expansions to use Seed DB keys for content that uses it, FW9.6+.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.