0.0.1 • Published 6 years ago

bps.js v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

bps.js

Apply BPS patches, like the kind you'd use for a ROM hack.

Installation

yarn global add bps.js

Usage

Command line

# Applying a patch
bps apply clean.rom patch.bps changed.rom

JavaScript

Note: All files are expected to be Buffer instances.

import { applyBpsPatch } from 'bps.js';

// Applying a patch
const targetFile = applyBpsPatch(sourceFile, patchFile);

License

ISC © Keith McKnight