Rev | Line | |
---|
[185] | 1 | #!/bin/sh
|
---|
| 2 | cd ../original
|
---|
| 3 | if [ ! -e backupok.txt ]
|
---|
[186] | 4 | then
|
---|
[185] | 5 | echo "Please back up your game content."
|
---|
| 6 | cd ../demonix
|
---|
| 7 | else
|
---|
| 8 | cd ../../xdelta
|
---|
| 9 | if [ ! -e xdelta3.exe ]
|
---|
[186] | 10 | then
|
---|
[185] | 11 | echo "Couldn't find Xdelta3!"
|
---|
| 12 | else
|
---|
| 13 | echo "Xdelta3 detected!"
|
---|
| 14 | echo "Applying DemOniX patches..."
|
---|
[187] | 15 | ./xdelta3.exe -d -f -s ../dat/original/level0_Final.dat ../dat/demonix/level0_DemOniX.dat.x3d ../../GameDataFolder/level0_Final.dat
|
---|
| 16 | ./xdelta3.exe -d -f -s ../dat/original/level1_Final.dat ../dat/demonix/level1_DemOniX.dat.x3d ../../GameDataFolder/level1_Final.dat
|
---|
| 17 | ./xdelta3.exe -d -f -s ../dat/original/level2_Final.dat ../dat/demonix/level2_DemOniX.dat.x3d ../../GameDataFolder/level2_Final.dat
|
---|
| 18 | ./xdelta3.exe -d -f -s ../dat/original/level4_Final.dat ../dat/demonix/level4_DemOniX.dat.x3d ../../GameDataFolder/level4_Final.dat
|
---|
| 19 | ./xdelta3.exe -d -f -s ../dat/original/level0_Final.raw ../dat/demonix/level0_DemOniX.raw.x3d ../../GameDataFolder/level0_Final.raw
|
---|
| 20 | ./xdelta3.exe -d -f -s ../dat/original/level1_Final.raw ../dat/demonix/level1_DemOniX.raw.x3d ../../GameDataFolder/level1_Final.raw
|
---|
| 21 | ./xdelta3.exe -d -f -s ../dat/original/level2_Final.raw ../dat/demonix/level2_DemOniX.raw.x3d ../../GameDataFolder/level2_Final.raw
|
---|
| 22 | ./xdelta3.exe -d -f -s ../dat/original/level4_Final.raw ../dat/demonix/level4_DemOniX.raw.x3d ../../GameDataFolder/level4_Final.raw
|
---|
| 23 | ./xdelta3.exe -d -f -s ../dat/original/level0_Final.sep ../dat/demonix/level0_DemOniX.sep.x3d ../../GameDataFolder/level0_Final.sep
|
---|
| 24 | ./xdelta3.exe -d -f -s ../dat/original/level1_Final.sep ../dat/demonix/level1_DemOniX.sep.x3d ../../GameDataFolder/level1_Final.sep
|
---|
| 25 | ./xdelta3.exe -d -f -s ../dat/original/level2_Final.sep ../dat/demonix/level2_DemOniX.sep.x3d ../../GameDataFolder/level2_Final.sep
|
---|
| 26 | ./xdelta3.exe -d -f -s ../dat/original/level4_Final.sep ../dat/demonix/level4_DemOniX.sep.x3d ../../GameDataFolder/level4_Final.sep
|
---|
[185] | 27 | fi
|
---|
| 28 | cd ../dat/demonix
|
---|
| 29 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.