#!/bin/sh cd ../../xdelta if [ ! -e xdelta3.exe ] then echo "Couldn't find Xdelta3!" else echo "Xdelta3 detected!" echo "Creating DemOni patches..." ./xdelta3.exe -e -f -s ../dat/original/level0_Final.dat ../../GameDataFolder/level0_Final.dat ../dat/demoni/level0_Demoni.dat.x3d ./xdelta3.exe -e -f -s ../dat/original/level1_Final.dat ../../GameDataFolder/level1_Final.dat ../dat/demoni/level1_Demoni.dat.x3d ./xdelta3.exe -e -f -s ../dat/original/level2_Final.dat ../../GameDataFolder/level2_Final.dat ../dat/demoni/level2_Demoni.dat.x3d ./xdelta3.exe -e -f -s ../dat/original/level4_Final.dat ../../GameDataFolder/level4_Final.dat ../dat/demoni/level4_Demoni.dat.x3d ./xdelta3.exe -e -f -s ../dat/original/level0_Final.raw ../../GameDataFolder/level0_Final.raw ../dat/demoni/level0_Demoni.raw.x3d ./xdelta3.exe -e -f -s ../dat/original/level1_Final.raw ../../GameDataFolder/level1_Final.raw ../dat/demoni/level1_Demoni.raw.x3d ./xdelta3.exe -e -f -s ../dat/original/level2_Final.raw ../../GameDataFolder/level2_Final.raw ../dat/demoni/level2_Demoni.raw.x3d ./xdelta3.exe -e -f -s ../dat/original/level4_Final.raw ../../GameDataFolder/level4_Final.raw ../dat/demoni/level4_Demoni.raw.x3d ./xdelta3.exe -e -f -s ../dat/original/level0_Final.sep ../../GameDataFolder/level0_Final.sep ../dat/demoni/level0_Demoni.sep.x3d ./xdelta3.exe -e -f -s ../dat/original/level1_Final.sep ../../GameDataFolder/level1_Final.sep ../dat/demoni/level1_Demoni.sep.x3d ./xdelta3.exe -e -f -s ../dat/original/level2_Final.sep ../../GameDataFolder/level2_Final.sep ../dat/demoni/level2_Demoni.sep.x3d ./xdelta3.exe -e -f -s ../dat/original/level4_Final.sep ../../GameDataFolder/level4_Final.sep ../dat/demoni/level4_Demoni.sep.x3d echo "DemOni patches created." fi cd ../dat/demoni