source: nikanabo/current/dat/demonix/winstall.bat @ 185

Last change on this file since 185 was 185, checked in by geyser, 15 years ago
File size: 2.0 KB
Line 
1echo off
2cd ..\original
3IF NOT EXIST backupok.txt (
4    echo "Please back up your game content."
5    cd ..\demonix
6) ELSE (
7    cd ..\..\xdelta
8    IF NOT EXIST xdelta3.exe (
9        echo "Couldn't find Xdelta3!"
10    ) ELSE (
11        echo "Xdelta3 detected!"
12        echo "Applying DemOniX patches..."
13        xdelta3.exe -d -f -s ..\dat\original\level0_Final.dat ..\dat\demonix\level0_DemoniX.dat.x3d ..\..\GameDataFolder\level0_Final.dat
14        xdelta3.exe -d -f -s ..\dat\original\level1_Final.dat ..\dat\demonix\level1_DemoniX.dat.x3d ..\..\GameDataFolder\level1_Final.dat
15        xdelta3.exe -d -f -s ..\dat\original\level2_Final.dat ..\dat\demonix\level2_DemoniX.dat.x3d ..\..\GameDataFolder\level2_Final.dat
16        xdelta3.exe -d -f -s ..\dat\original\level4_Final.dat ..\dat\demonix\level4_DemoniX.dat.x3d ..\..\GameDataFolder\level4_Final.dat
17        xdelta3.exe -d -f -s ..\dat\original\level0_Final.raw ..\dat\demonix\level0_DemoniX.raw.x3d ..\..\GameDataFolder\level0_Final.raw
18        xdelta3.exe -d -f -s ..\dat\original\level1_Final.raw ..\dat\demonix\level1_DemoniX.raw.x3d ..\..\GameDataFolder\level1_Final.raw
19        xdelta3.exe -d -f -s ..\dat\original\level2_Final.raw ..\dat\demonix\level2_DemoniX.raw.x3d ..\..\GameDataFolder\level2_Final.raw
20        xdelta3.exe -d -f -s ..\dat\original\level4_Final.raw ..\dat\demonix\level4_DemoniX.raw.x3d ..\..\GameDataFolder\level4_Final.raw
21        xdelta3.exe -d -f -s ..\dat\original\level0_Final.sep ..\dat\demonix\level0_DemoniX.sep.x3d ..\..\GameDataFolder\level0_Final.sep
22        xdelta3.exe -d -f -s ..\dat\original\level1_Final.sep ..\dat\demonix\level1_DemoniX.sep.x3d ..\..\GameDataFolder\level1_Final.sep
23        xdelta3.exe -d -f -s ..\dat\original\level2_Final.sep ..\dat\demonix\level2_DemoniX.sep.x3d ..\..\GameDataFolder\level2_Final.sep
24        xdelta3.exe -d -f -s ..\dat\original\level4_Final.sep ..\dat\demonix\level4_DemoniX.sep.x3d ..\..\GameDataFolder\level4_Final.sep
25    )
26    cd ..\dat\demonix
27)
28PAUSE
Note: See TracBrowser for help on using the repository browser.