#!/bin/sh
cd "$(cd "$(dirname "$0")" && pwd)"
mkdir ./output
chmod +x ./exec/xdelta3_mac
echo Place the files to be patched in the \"original\" directory with the following names:
echo --------------------
echo "[hchcsen] Harukana Receive S01E01 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E02 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E03 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E04 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E05 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E06 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E07 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E08 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E09 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E10 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E11 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo "[hchcsen] Harukana Receive S01E12 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
echo --------------------
echo Patched files will be in the \"output\" directory
read -p "Press enter to continue..." inp
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E01 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E01 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E01 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E02 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E02 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E02 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E03 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E03 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E03 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E04 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E04 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E04 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E05 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E05 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E05 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E06 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E06 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E06 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E07 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E07 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E07 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E08 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E08 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E08 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E09 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E09 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E09 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E10 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E10 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E10 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E11 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E11 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E11 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
./exec/xdelta3_mac -v -d -s "./original/[hchcsen] Harukana Receive S01E12 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv" "vcdiff/[hchcsen] Harukana Receive S01E12 [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv.vcdiff" "./output/[hchcsen] Harukana Receive S01E12 [f] [BD Remux 1080p AVC 8-bit FLAC TrueHD].mkv"
