Class NrgParser
Parses Nero .NRG disc images (DAO/CUE layout) into a CdToc (CHDlite
cdrom_file::parse_nero parity, cdrom.cpp:1839-2004). The image is a chain of
big-endian chunks; the DAOX chunk holds the track table. Supported sector modes: 2048-byte
Mode 1, 2352-byte Mode 2 raw, and 2352-byte audio (byte-swapped for CHD storage). Pregaps
whose sectors are not physically stored are zero-filled when encoded.
public sealed class NrgParser
- Inheritance
-
NrgParser
- Inherited Members
Methods
Parse(string)
Parses a Nero NRG image file.
public CdToc Parse(string nrgPath)
Parameters
nrgPathstringPath to the .nrg file (track data is read from this same file).
Returns
- CdToc
The parsed table of contents.
Exceptions
- FileNotFoundException
The NRG file does not exist.
- InvalidDataException
The image is not a Nero 5.x image, its chain is malformed, or it uses an unsupported track mode.