Skip to content

kmck/bps.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Apply BPS patches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published