LEGO Indiana Jones
[savezelda.git] / twilight / pack.sh
diff --git a/twilight/pack.sh b/twilight/pack.sh
new file mode 100755 (executable)
index 0000000..b1aa666
--- /dev/null
@@ -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