|
NSUNI/NSLAR Library a250670
|
Contains the enumeration of various file formats found in the games and functions to detect them. More...
Namespaces | |
| namespace | nnl::format |
| Contains the enumeration of various file formats found in the games and functions to detect them. | |
Functions | |
| FileFormat | nnl::format::Detect (BufferView buffer) |
| Detects the file format of the provided buffer. | |
| std::vector< FileFormat > | nnl::format::DetectAll (BufferView buffer) |
| Detects all possible file formats of the provided buffer. | |
Contains the enumeration of various file formats found in the games and functions to detect them.
Enumeration for file formats found in the games.
| Enumerator | |
|---|---|
| kUnknown | An unknown type. |
| kPGD | Protected Game Data: an encrypted wrapper that contains a primary data archive (a .BIN file in NSUNI/NSLAR). |
| kDig | A primary asset archive (a .BIN file in NSUNI/NSLAR).
|
| kDigEntry | An entry in a primary archive (a nested archive itself).
|
| kCollection | A container that stores related assets.
|
| kAssetContainer | A container that stores related parts of an asset.
|
| kModel |
|
| kTextureContainer |
|
| kAnimationContainer | |
| kActionConfig |
|
| kColboxConfig |
|
| kVisanimationContainer | |
| kCollision |
|
| kShadowCollision |
|
| kText |
|
| kATRAC3 | An AT3 file that uses a proprietary audio codec by Sony. |
| kFog |
|
| kPositionData |
|
| kLit |
|
| kRenderConfig |
|
| kPHD |
|
| kUIConfig |
|
| kMinimapConfig |
|
| kPNG | A PNG image. |
| kCCSF | An asset format developed by CyberConnect2. It's used for the finishing blow cutscenes in NSUNI. |
| kELF | An executable file. |
| kPSPELF | An encrypted executable file. |
| kPSF | PARAM.SFO, metadata. |
| kPlainText | A plain text file (UTF-8 encoded) |
| FileFormat nnl::format::Detect | ( | BufferView | buffer | ) |
Detects the file format of the provided buffer.
This function analyzes the provided data buffer and returns the first detected file format.
| buffer | A file buffer containing data to be tested. |
| std::vector< FileFormat > nnl::format::DetectAll | ( | BufferView | buffer | ) |
Detects all possible file formats of the provided buffer.
This function analyzes the provided data buffer and returns all detected file formats.
| buffer | A file buffer containing data to be tested. |