Files
perfect-dark/tools/rarezip
T
Ryan Dwyer 14f8d62e3e Build ROM from C source
* ROM is mismatching but functionally equivalent.
* ROM does not shift, so any edits must use the same amount of bytecode.
* Asset files such as stage setup and lang are not included yet (they are copied from the base ROM).
2019-12-07 18:03:53 +10:00

8 lines
160 B
Bash
Executable File

#!/bin/bash
size=$(stat --format="%s" $1)
printf "0: 1173 %.6x" $size | xxd -r -g0
cat $1 | tools/gzip --no-name --best | head --bytes=-8 | tail --bytes=+11