Closed Lx32 closed 1 year ago
Note that you may simplify the code with the right size for the split:
./ss_unswizzle "$MY_RAW_ROMS_DIR"/c1.bin odd even split -b $((0x800000)) even even_d split -b $((0x800000)) odd odd_d mv even_daa "$MY_OUT_ROM_DIR"/232-c2.c2 #dd if=even_dab of="$MY_OUT_ROM_DIR"/232-c2.c2 iflag=skip_bytes,count_bytes oflag=append conv=notrunc mv even_dac "$MY_OUT_ROM_DIR"/232-c4.c4 #dd if=even_dad of="$MY_OUT_ROM_DIR"/232-c4.c4 iflag=skip_bytes,count_bytes oflag=append conv=notrunc mv even_dae "$MY_OUT_ROM_DIR"/232-c6.c6 mv odd_daa "$MY_OUT_ROM_DIR"/232-c1.c1 #dd if=odd_dab of="$MY_OUT_ROM_DIR"/232-c1.c1 iflag=skip_bytes,count_bytes oflag=append conv=notrunc mv odd_dac "$MY_OUT_ROM_DIR"/232-c3.c3 #dd if=odd_dad of="$MY_OUT_ROM_DIR"/232-c3.c3 iflag=skip_bytes,count_bytes oflag=append conv=notrunc mv odd_dae "$MY_OUT_ROM_DIR"/232-c5.c5
Note that you may simplify the code with the right size for the split: