Skip to content

Repair incomplete SS files#950

Merged
mnadareski merged 25 commits intoSabreTools:masterfrom
Deterous:repair-ss
Mar 10, 2026
Merged

Repair incomplete SS files#950
mnadareski merged 25 commits intoSabreTools:masterfrom
Deterous:repair-ss

Conversation

@Deterous
Copy link
Member

@Deterous Deterous commented Feb 24, 2026

This is my initial attempt at implementing a repair mechanism into MPF for incomplete Xbox/360 SS files. It is a C# implementation of my (research-only) python script here: https://github.com/Deterous/ParseXboxMetadata/blob/main/RepairSS.py

I use the built-in Cryptography library for the AES computation, and a bunch of inscrutable logic for checking and shuffling around data. I still need to test this, but in the meantime a review of the code changes would be nice.

Note: This is necessary for OmniDrive SS dumps, as they are always incomplete. It is also required for any Kreon redumper dumps that are incomplete (such as when dumping with --kreon-partial-ss or just an unlucky SS read that failed for some reason).

Extra note: While this logic ideally runs in redumper not MPF, implementing the AES code in redumper's codebase is currently infeasible. MPF is the next best place.

@Deterous Deterous marked this pull request as ready for review March 10, 2026 06:58
Copy link
Collaborator

@mnadareski mnadareski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alakazam

@mnadareski mnadareski merged commit da2be77 into SabreTools:master Mar 10, 2026
1 check passed
@Deterous Deterous deleted the repair-ss branch March 10, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants