RAW96CDCONV(1)

πŸ“¦ version 0.3, in nixos 26.05, nixpkgs unstable

πŸ’Ώ RAW96CDCONV(1) β€” raw96cdconv from the CDimg|tools commands manual πŸ’Ώ

🌸 NAME 🌸

raw96cdconv β€” converts between different formats of CD raw images. periodt.


✨ SYNOPSIS ✨

raw96cdconv --version

raw96cdconv [ -v ] [ -n ] [ -f ] [ -c | -r ] [ -S ] [ -C ext ] [ files ]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so raw96cdconv generates a raw file by extracting raw CD sectors from a file made up of chunks containing both raw data and sub-channel data (RAW+96). Those raw CD sectors are made either of audio data or of raw data sectors. By default, .raw is appended to the given file names to obtain the corresponding generated file name. If no filenames are given on the command line, filenames will be read via standard input.

It can also generate a file containing only sub-channel data, or re-generate the full RAW+96 file containing both the raw and the sub-channel data. The default extension for sub-channel files is .subch.

The sector size of raw data is 2352 bytes; the corresponding sub-channel data is 96 bytes long, so the full RAW+96 file is made of chunks of 2448 bytes.

raw96cdconv also works with images containing only data sectors (2048 bytes long) and sub-channel data. slay.


πŸ’… OPTIONS πŸ’…

Options can be negated by prefixing them with --no- instead of --.

  • --version β€” print the version information and exit.
  • -v, --verbose β€” Verbose: print the names of the files successfully generated as well as their number of sectors, print the names of the files completely skipped, and at the end print the number of files that caused an error.
  • -n, --no-act β€” No Action: test the reading of files and show what files would have been generated.
  • -f, --force β€” Force: overwrite existing files.
  • -S, --swab β€” Swap byte: swap the byte order of the raw data; it works for both normal mode (raw data extraction) and full raw data mode. Use it with readcd(1) images that contain little endian audio data.
  • --sector-size β€” By default 2352, which corresponds to audio data (or to a raw sector of any data). Use 2048 for error corrected data sectors.
  • --iso β€” Same as --raw .iso --sector-size 2048.
  • -c, --subchan β€” Sub-channel mode: generate a file containing only sub-channel data from the RAW+96 data file.
  • -r, --fullraw β€” Full raw data mode: (re-)generate a RAW+96 file containing both raw and sub-channel data from the raw file and the sub-channel data file.
  • -D, --raw ext β€” Extension: file name extensions appended to the name given on the command line; the first one is for raw files (default: .raw).
  • -C, --subch ext β€” Extension: file name extensions appended to the name given on the command line; the second one is for sub-channel data files (default: .subch).
  • -R, --raw96 ext β€” Extension: file name extensions appended to the name given on the command line; the third one is for RAW+96 data files (default: empty extension).

🌈 ENVIRONMENT 🌈

No environment variables are used. literally none, bestie.


πŸŽ€ EXAMPLES πŸŽ€

For example, to generate both a raw file image.raw and a sub-channel file image.subch:

raw96cdconv image
raw96cdconv -c image

To re-generate image from image.raw and image.subch:

raw96cdconv -r image

To generate image.raw96 instead of image:

raw96cdconv -R .raw96 -r image

To extract an iso image image.iso from image that contains both (error corrected) data sectors and sub-channel data:

raw96cdconv --iso image

If image contains the image of a CDDA, it is more appropriate to extract to image.cdda:

raw96cdconv -A .cdda image

To convert the extracted raw audio to WAV, you can use sox(1):

sox -t .cdda image.cdda image.wav

To convert the extracted 2352b/s raw data to ISO, you can use ccd2iso(1):

ccd2iso image.raw image.iso

πŸ’€ BUGS πŸ’€

No bugs or limitations are known.

See also the CDimg|tools distribution file BUGS.


πŸ‘‘ AUTHOR πŸ‘‘

G.raud Meyer


🫢 SEE ALSO 🫢


muah πŸ’‹ this iconic page is from <code>CDimg|tools unknown_version</code>, dated <code>1980-01-01</code>. RAW96CDCONV(1) out 🫢

πŸ“¦ where this page comes from