Skip to content

Files

Latest commit

f7e688a · Oct 18, 2021

History

History

GameBoyPrinterDecoderC

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 15, 2021
May 24, 2021
Oct 18, 2021
Jun 3, 2021
Jun 3, 2021
May 24, 2021
Aug 15, 2021
Aug 15, 2021
May 24, 2021
May 24, 2021
Oct 18, 2021
Aug 15, 2021
Aug 15, 2021

README.md

Usage: gpbdecoder [OPTION]...
This program allows for decoding raw hex packets into bmp

With no FILE, read standard input.

-i, --input=FILE     input hexfile in ascii format
-o, --output=OUTFILE output bmp filename
-p, --pallet=PALLET  pallet color in web color format
-h, --help           display this help and exit
-d, --display        preview image via vt100 output
-v, --verbose        verbose print

Examples:
  cat ./test/test.txt | gpbdecoder -p "#ffffff#ffad63#833100#000000" -o ./test/test.bmp    stdin based input, with a defined output filename
-p "#dbf4b4#abc396#7b9278#4c625a#FFFFFF00" -i ./test/test.txt                              input file used. Output file has similar name to input file

Building

Run make to build gpbdecoder

make

Test

Run these make commands to test

make testdisplay
make test