@emmercm/dolphin-tool-win32-x64
TypeScript icon, indicating that this package has built-in type declarations

0.2503.0 • Public • Published

🐬 dolphin-tool

Pre-compiled binaries and Node.js wrapper for Dolphin's dolphin-tool.

npm: version npm: downloads GitHub: stars license

Supported platforms

OS Architectures Additional Instructions
Windows
  • x64
  • arm64
macOS
  • arm64 (Apple Silicon)
  • x64 (Intel)
Linux
  • x64
  • arm v7
  • arm64 v8

Running

You can easily run the dolphin-tool binary for your OS from the command line like this:

npx dolphin-tool [command] [options..]

Examples:

npx dolphin-tool --help
npx dolphin-tool header -i Image.rvz
npx dolphin-tool verify -i Image.rvz -a md5

Installation

npm install --save dolphin-tool

Usage

import dolphinTool from 'dolphin-tool';

/**
 * Create images
 */
await dolphinTool.convert({
  inputFilename: 'image.iso',
  outputFilename: 'image.rvz',
  containerFormat: ContainerFormat.RVZ,
  blockSize: 131_072,
  compressionMethod: CompressionMethodWiaRvz.ZSTD,
  compressionLevel: 5,
});
console.log(await dolphinTool.header({ inputFilename: 'image.rvz' }));
// { blockSize: 131072, compressionMethod: 'zstd', compressionLevel: 5, ... }


/**
 * Verify images
 */
const digests = await dolphinTool.verify({
  inputFilename: 'image.gcz',
  digestAlgorithm: DigestAlgorithm.MD5,
});
console.log(digests.md5);
// 0d6e1901...


/**
 * Extract files
 */
const files = await dolphinTool.listFiles({
  inputFilename: 'image.wia',
});
console.log(files);
// [ ... ]
await dolphinTool.extract({
  inputFilename: 'image.wia',
  outputFolder: './'
});

License

Dolphin itself is licensed under the GPLv2 license but is "overall...compatible with the GPLv3 license".

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2503.0
280latest

Version History

VersionDownloads (Last 7 Days)Published
0.2503.0
280
0.2412.3
1
0.2412.2
2
0.2412.1
1
0.2412.0
1

Package Sidebar

Install

npm i @emmercm/dolphin-tool-win32-x64

Weekly Downloads

278

Version

0.2503.0

License

GPL-3.0-or-later

Unpacked Size

11.3 MB

Total Files

7

Last publish

Collaborators

  • emmercm