Skip to content

lampersky/BinaryFileEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinaryFileEditor

Binary file editor, patcher

Currently functionality of this application is very limited, but you should be able to replace any gif/mp3/jpg/wav/png/bmp or text in your binary file (ie. firmware).

Sometimes app can found file which is only very similar to known images/sounds formats, but in fact it is just a random bytes array.

This app is just a prototype! Code is not clean, optimal nor final.

https://lampersky.github.io/BinaryFileEditor/

BinaryFileEditor in action

Translate firmware into your language

This app is using DataStream.js library from: https://github.com/kig/DataStream.js/blob/master/DataStream.js

I've only added "skip" function.

/**
  Skip the DataStream read/write position.

  @param {number} length Bytes to skip.
  @return {null}
  */
DataStream.prototype.skip = function(length) {
  if (this.position + length > this.byteLength || this.position + length < 0) {
	throw new Error('Out of bound!');
  }
  this.position = this.position + length;
};

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published