[Feature] Native handling of PFS0 ("NSP") archives #100
Open
Description
Nintendo Switch digital titles consist of multiple NCA files, and are conventionally stored as PFS0 archives (a simple Switch-specific archive format) with the extension .nsp. oxyromon currently has no special handling for PFS0 archives, treating them as plain files. No-Intro has two DATs, one for the individual NCAs and one for NSPs. However, this has a problem: the exact layout of the PFS0 archive can vary depending on the tool used to create it, and these details are irrelevant for preservation. It would be preferable to at least have optional support for treating PFS0 files as an archive.
The PFS0 format is very simple. A Rust implementation already exists in the linkle
crate.