NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
format.hpp
Go to the documentation of this file.
1
10#pragma once
11#include "NNL/common/io.hpp"
12
13namespace nnl {
104} // namespace nnl
std::vector< FileFormat > DetectAll(BufferView buffer)
Detects all possible file formats of the provided buffer.
FileFormat
Enumeration for file formats found in the games.
Definition format.hpp:35
FileFormat Detect(BufferView buffer)
Detects the file format of the provided buffer.
@ kModel
Definition format.hpp:44
@ kRenderConfig
Definition format.hpp:57
@ kPositionData
Definition format.hpp:55
@ kFog
Definition format.hpp:54
@ kPSF
PARAM.SFO, metadata.
Definition format.hpp:66
@ kShadowCollision
Definition format.hpp:51
@ kPSPELF
An encrypted executable file.
Definition format.hpp:65
@ kPlainText
A plain text file (UTF-8 encoded)
Definition format.hpp:67
@ kDig
A primary asset archive (a .BIN file in NSUNI/NSLAR).
Definition format.hpp:40
@ kELF
An executable file.
Definition format.hpp:64
@ kMinimapConfig
Definition format.hpp:60
@ kTextureContainer
Definition format.hpp:45
@ kLit
Definition format.hpp:56
@ kPHD
Definition format.hpp:58
@ kColboxConfig
Definition format.hpp:48
@ kUIConfig
Definition format.hpp:59
@ kVisanimationContainer
Definition format.hpp:49
@ kAnimationContainer
Definition format.hpp:46
@ kDigEntry
An entry in a primary archive (a nested archive itself).
Definition format.hpp:41
@ kCCSF
Definition format.hpp:62
@ kActionConfig
Definition format.hpp:47
@ kATRAC3
An AT3 file that uses a proprietary audio codec by Sony.
Definition format.hpp:53
@ kText
Definition format.hpp:52
@ kAssetContainer
A container that stores related parts of an asset.
Definition format.hpp:43
@ kCollection
A container that stores related assets.
Definition format.hpp:42
@ kPGD
Definition format.hpp:38
@ kPNG
A PNG image.
Definition format.hpp:61
@ kCollision
Definition format.hpp:50
@ kUnknown
An unknown type.
Definition format.hpp:37
Reader implementation for read-only memory buffers.
Definition io.hpp:598
Abstract class for reading data.
Definition io.hpp:78
Provides classes for reading and writing binary data to and from various sources.
Contains the enumeration of various file formats found in the games and functions to detect them.
Definition format.hpp:24
Definition exception.hpp:56