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

https://github.com/jfoster/binary-utilities

A collection of cli utilities for manipulating binary files
https://github.com/jfoster/binary-utilities

binary binutils bytepad cap2rom cli-utilities go golang

Last synced: 5 months ago
JSON representation

A collection of cli utilities for manipulating binary files

Awesome Lists containing this project

README

          

binary-utilities
===
A collection of cli utilities for manipulating binary files.

[Releases (precompiled binaries)](https://github.com/jfoster/binary-utilities/releases)

## bytepad

Pads a file to a desired size with a specified padding byte

### Usage

```
./bytepad -size= -data=
```

### Example

To pad file EVGA.GTX680.2048.120713.rom with FF's to 262144 bytes (256KiB):
```
./bytepad -size=262144 -data=0xFF ~/Downloads/EVGA.GTX680.2048.120713.rom
```

You can also omit -data in which 00's will be used for padding:
```
./bytepad -size=262144 ~/Downloads/EVGA.GTX680.2048.120713.rom
```

## cap2rom

Strips the header from an ASUS .CAP file to conver it to a .rom file for hardware flashing

### Usage

```
./cap2rom foo.CAP
```

which writes the .rom file alongside the specified .CAP file.