0.275.1 • Published 5 months ago

chdman v0.275.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
5 months ago

Supported platforms

OSArchitecturesAdditional Instructions
Windowsx64x86
macOSarm64 (Apple Silicon)x64 (Intel)SDL2 is required to be installed separately:brew install sdl2
Linuxx64x86arm (armhf)arm64 (aarch64)SDL2 is required to be installed separately:Debian: apt-get install libsdl2-2.0-0Gentoo: emerge libsdl2Red Hat: dnf install SDL2

Running

You can easily run the chdman binary for your OS from the command line like this:

npx chdman [command] [options..]

Examples:

npx chdman help
npx chdman info --input Image.chd
npx chdman createcd --input Disc.cue --output Disc.chd

Installation

npm install --save chdman

Usage

import chdman from 'chdman';

/**
 * Create and extract hard disks
 */
await chdman.createHd({
  inputFilename: 'original-image',
  outputFilename: 'image.chd',
});
console.log(await chdman.info('image.chd'));
// { inputFile: 'image.chd', fileVersion: 5, ... }
await chdman.extractHd({
  inputFilename: 'image.chd',
  outputFilename: 'extracted-image',
});


/**
 * Create and extract CD-ROMs
 */
await chdman.createCd({
  inputFilename: 'Original.cue',
  outputFilename: 'CD.chd',
});
console.log(await chdman.info('CD.chd'));
// { inputFile: 'CD.chd', fileVersion: 5, ... }
await chdman.extractCd({
  inputFilename: 'CD.chd',
  outputFilename: 'Extracted.cue',
  outputBinFilename: 'Extracted.bin',
});


/**
 * Create and extract DVD-ROMs
 */
await chdman.createDvd({
  inputFilename: 'Original.iso',
  outputFilename: 'DVD.chd',
});
console.log(await chdman.info('DVD.chd'));
// { inputFile: 'DVD.chd', fileVersion: 5, ... }
await chdman.extractDvd({
  inputFilename: 'DVD.chd',
  outputFilename: 'Extracted.iso',
});

License

MAME and its tools are licensed under the GPLv2 license.

0.275.1

5 months ago

0.275.0

5 months ago

0.274.0

6 months ago

0.274.2

6 months ago

0.274.1

6 months ago

0.269.2

11 months ago

0.269.1

11 months ago

0.269.0

11 months ago

0.268.0

11 months ago

0.267.3

12 months ago

0.267.2

1 year ago

0.267.1

1 year ago

0.267.0

1 year ago

0.266.0

1 year ago

0.264.0

1 year ago

0.265.0

1 year ago

0.263.0

1 year ago

0.262.4

1 year ago

0.262.5

1 year ago

0.262.3

1 year ago

0.262.2

1 year ago

0.262.1

1 year ago

0.262.0

1 year ago