source: nikanabo/current/dat/demoni/xinstall.sh@ 828

Last change on this file since 828 was 187, checked in by geyser, 18 years ago
File size: 1.9 KB
Line 
1#!/bin/sh
2cd ../original
3if [ ! -e backupok.txt ]
4then
5 echo "Please back up your game content."
6 cd ../demoni
7else
8 cd ../../xdelta
9 if [ ! -e xdelta3.exe ]
10 then
11 echo "Couldn't find Xdelta3!"
12 else
13 echo "Xdelta3 detected!"
14 echo "Applying DemOni patches..."
15 ./xdelta3.exe -d -f -s ../dat/original/level0_Final.dat ../dat/demoni/level0_Demoni.dat.x3d ../../GameDataFolder/level0_Final.dat
16 ./xdelta3.exe -d -f -s ../dat/original/level1_Final.dat ../dat/demoni/level1_Demoni.dat.x3d ../../GameDataFolder/level1_Final.dat
17 ./xdelta3.exe -d -f -s ../dat/original/level2_Final.dat ../dat/demoni/level2_Demoni.dat.x3d ../../GameDataFolder/level2_Final.dat
18 ./xdelta3.exe -d -f -s ../dat/original/level4_Final.dat ../dat/demoni/level4_Demoni.dat.x3d ../../GameDataFolder/level4_Final.dat
19 ./xdelta3.exe -d -f -s ../dat/original/level0_Final.raw ../dat/demoni/level0_Demoni.raw.x3d ../../GameDataFolder/level0_Final.raw
20 ./xdelta3.exe -d -f -s ../dat/original/level1_Final.raw ../dat/demoni/level1_Demoni.raw.x3d ../../GameDataFolder/level1_Final.raw
21 ./xdelta3.exe -d -f -s ../dat/original/level2_Final.raw ../dat/demoni/level2_Demoni.raw.x3d ../../GameDataFolder/level2_Final.raw
22 ./xdelta3.exe -d -f -s ../dat/original/level4_Final.raw ../dat/demoni/level4_Demoni.raw.x3d ../../GameDataFolder/level4_Final.raw
23 ./xdelta3.exe -d -f -s ../dat/original/level0_Final.sep ../dat/demoni/level0_Demoni.sep.x3d ../../GameDataFolder/level0_Final.sep
24 ./xdelta3.exe -d -f -s ../dat/original/level1_Final.sep ../dat/demoni/level1_Demoni.sep.x3d ../../GameDataFolder/level1_Final.sep
25 ./xdelta3.exe -d -f -s ../dat/original/level2_Final.sep ../dat/demoni/level2_Demoni.sep.x3d ../../GameDataFolder/level2_Final.sep
26 ./xdelta3.exe -d -f -s ../dat/original/level4_Final.sep ../dat/demoni/level4_Demoni.sep.x3d ../../GameDataFolder/level4_Final.sep
27 fi
28 cd ../dat/demoni
29fi
Note: See TracBrowser for help on using the repository browser.