X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=savezelda.git;a=blobdiff_plain;f=twilight%2Fpack.sh;fp=twilight%2Fpack.sh;h=b1aa6665f7b9c480eaae63982ed6afb787a81026;hp=0000000000000000000000000000000000000000;hb=e1ede7aa2cb1840add9ba88901c7495deb2b37e3;hpb=15edfaae0fe106910d059e91f8cb4f691cc50da4 diff --git a/twilight/pack.sh b/twilight/pack.sh new file mode 100755 index 0000000..b1aa666 --- /dev/null +++ b/twilight/pack.sh @@ -0,0 +1,8 @@ +#!/bin/bash +out=$1; shift +dd if=/dev/zero bs=1 count=$((0x4000)) of=$out 2>/dev/null +start=0 +for save in $@; do + dd if=$save of=$out bs=1 seek=$start conv=notrunc 2>/dev/null + start=$((start+0xa94)) +done