[PR #10] [CLOSED] Added Key processing, CIA Content Offset tracking, etc #14

Open
opened 2026-01-29 22:30:38 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SabreTools/SabreTools.Models/pull/10
Author: @Dimensional
Created: 9/7/2025
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • aad11fd Added placeholders for AES keys, which will be used in place of key storage in NDecrypt. Added CIA offsets and item types because CIAs do not have a partition table. Using that to get the offsets of each item, ie TMD, Header, NCCH, etc, and their sizes and types to make data seeking easier.
  • 82d0e19 Add using directive for System.Collections.Generic

📊 Changes

4 files changed (+151 additions, -1 deletions)

View changed files

SabreTools.Models/N3DS/AESKeys.cs (+104 -0)
📝 SabreTools.Models/N3DS/CIA.cs (+8 -1)
SabreTools.Models/N3DS/CIAOffsets.cs (+24 -0)
📝 SabreTools.Models/N3DS/Enums.cs (+15 -0)

📄 Description

Added placeholders for AES keys to decouple from NDecrypt.
Added CIA offsets and item types because CIAs do not have a partition table. Using that to get the offsets of each item, ie TMD, Header, NCCH, etc, and their sizes and types to make data seeking easier.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SabreTools/SabreTools.Models/pull/10 **Author:** [@Dimensional](https://github.com/Dimensional) **Created:** 9/7/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`aad11fd`](https://github.com/SabreTools/SabreTools.Models/commit/aad11fd7c9215456c170533e3977ad670ce83267) Added placeholders for AES keys, which will be used in place of key storage in NDecrypt. Added CIA offsets and item types because CIAs do not have a partition table. Using that to get the offsets of each item, ie TMD, Header, NCCH, etc, and their sizes and types to make data seeking easier. - [`82d0e19`](https://github.com/SabreTools/SabreTools.Models/commit/82d0e192bb1656ecfed8b9dc197cdafbac25326d) Add using directive for System.Collections.Generic ### 📊 Changes **4 files changed** (+151 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `SabreTools.Models/N3DS/AESKeys.cs` (+104 -0) 📝 `SabreTools.Models/N3DS/CIA.cs` (+8 -1) ➕ `SabreTools.Models/N3DS/CIAOffsets.cs` (+24 -0) 📝 `SabreTools.Models/N3DS/Enums.cs` (+15 -0) </details> ### 📄 Description Added placeholders for AES keys to decouple from NDecrypt. Added CIA offsets and item types because CIAs do not have a partition table. Using that to get the offsets of each item, ie TMD, Header, NCCH, etc, and their sizes and types to make data seeking easier. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:30:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/SabreTools.Models#14