source: nikanabo/current/dat/demonix/xauthor.sh @ 189

Last change on this file since 189 was 189, checked in by geyser, 15 years ago
File size: 1.8 KB
Line 
1#!/bin/sh
2cd ../../xdelta
3if [ ! -e xdelta3.exe ]
4then
5    echo "Couldn't find Xdelta3!"
6else
7    echo "Xdelta3 detected!"
8    echo "Creating DemOniX patches..."
9    ./xdelta3.exe -e -f -s ../dat/original/level0_Final.dat ../../GameDataFolder/level0_Final.dat ../dat/demonix/level0_DemOni_.dat.x3d
10    ./xdelta3.exe -e -f -s ../dat/original/level1_Final.dat ../../GameDataFolder/level1_Final.dat ../dat/demonix/level1_DemOni_.dat.x3d
11    ./xdelta3.exe -e -f -s ../dat/original/level2_Final.dat ../../GameDataFolder/level2_Final.dat ../dat/demonix/level2_DemOni_.dat.x3d
12    ./xdelta3.exe -e -f -s ../dat/original/level4_Final.dat ../../GameDataFolder/level4_Final.dat ../dat/demonix/level4_DemOni_.dat.x3d
13    ./xdelta3.exe -e -f -s ../dat/original/level0_Final.raw ../../GameDataFolder/level0_Final.raw ../dat/demonix/level0_DemOni_.raw.x3d
14    ./xdelta3.exe -e -f -s ../dat/original/level1_Final.raw ../../GameDataFolder/level1_Final.raw ../dat/demonix/level1_DemOni_.raw.x3d
15    ./xdelta3.exe -e -f -s ../dat/original/level2_Final.raw ../../GameDataFolder/level2_Final.raw ../dat/demonix/level2_DemOni_.raw.x3d
16    ./xdelta3.exe -e -f -s ../dat/original/level4_Final.raw ../../GameDataFolder/level4_Final.raw ../dat/demonix/level4_DemOni_.raw.x3d
17    ./xdelta3.exe -e -f -s ../dat/original/level0_Final.sep ../../GameDataFolder/level0_Final.sep ../dat/demonix/level0_DemOni_.sep.x3d
18    ./xdelta3.exe -e -f -s ../dat/original/level1_Final.sep ../../GameDataFolder/level1_Final.sep ../dat/demonix/level1_DemOni_.sep.x3d
19    ./xdelta3.exe -e -f -s ../dat/original/level2_Final.sep ../../GameDataFolder/level2_Final.sep ../dat/demonix/level2_DemOni_.sep.x3d
20    ./xdelta3.exe -e -f -s ../dat/original/level4_Final.sep ../../GameDataFolder/level4_Final.sep ../dat/demonix/level4_DemOni_.sep.x3d
21    echo "DemOniX patches created."
22fi
23cd ../dat/demonix
Note: See TracBrowser for help on using the repository browser.