An open API service indexing awesome lists of open source software.

https://github.com/emmercm/maxcso-js

💿 maxcso binaries and wrapper for Node.js.
https://github.com/emmercm/maxcso-js

cso dax isos maxcso roms zso

Last synced: about 1 month ago
JSON representation

💿 maxcso binaries and wrapper for Node.js.

Awesome Lists containing this project

README

          

💿️ maxcso

Pre-compiled binaries and Node.js wrapper for unknownbrackets' maxcso tool.


npm: version
npm: downloads
GitHub: stars
license

## Supported platforms

| OS | Architectures |
|---------|-------------------------------------------------------------|
| Windows |


  • x64

  • x86

  • arm64

|
| macOS |

  • arm64 (Apple Silicon)

  • x64 (Intel)

|
| Linux |

  • x64

  • x86

  • arm64 v8

|

## Running

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

```shell
npx maxcso [options..]
```

Examples:

```shell
npx maxcso --crc Disc.cso
npx maxcso --decompress Disc.cso -o Disc.iso
npx maxcso --format=cso1 Disc.iso -o Disc.cso
```

## Installation

```shell
npm install --save maxcso
```

## Usage

```javascript
import maxcso from 'maxcso';

/**
* Compress an ISO.
*/
await maxcso.compress({
inputFilename: 'Disc.iso',
outputFilename: 'Disc.cso',
});

/**
* Given a compressed file, get the decompressed file's CRC32.
*/
const crc32 = await maxcso.uncompressedCrc32('Disc.cso');
console.log(crc32);
// "abcd01234"

/**
* Decompress a CSO.
*/
await maxcso.decompress({
inputFilename: 'Disc.cso',
outputFilename: 'Disc.iso',
});
```

## License

unknownbrackets' [maxcso](https://github.com/unknownbrackets/maxcso) tool is licensed under the ISC license.