source: nikanabo/current/wbackup.bat@ 1103

Last change on this file since 1103 was 185, checked in by geyser, 18 years ago
File size: 1.0 KB
Line 
1echo off
2cd dat\original
3IF NOT EXIST ..\..\..\GameDataFolder (
4 echo Can't find GameDataFolder!
5 echo Make sure this is Oni\nikanabo
6) ELSE (
7 echo GameDataFolder detected!
8 IF EXIST backupok.txt (
9 echo Game content already backed up.
10 ) ELSE (
11 echo Backing up game content...
12 copy ..\..\..\GameDataFolder\*.dat .
13 copy ..\..\..\GameDataFolder\*.raw .
14 copy ..\..\..\GameDataFolder\*.sep .
15 echo Game content backup complete.
16 move nobackup.txt backupok.txt
17 )
18)
19cd ..\..
20cd bsl\mybackup
21IF NOT EXIST ..\..\..\GameDataFolder\IGMD (
22 echo Can't find IGMD folder!
23 echo Make sure this is Oni\nikanabo
24) ELSE (
25 echo IGMD folder detected!
26 IF EXIST backupok.txt (
27 echo Level logic already backed up.
28 ) ELSE (
29 echo Backing up level logic...
30 xcopy ..\..\..\GameDataFolder\IGMD IGMD /s /k /i
31 echo Level logic backup complete.
32 move nobackup.txt backupok.txt
33 )
34)
35cd ..\..
36PAUSE
Note: See TracBrowser for help on using the repository browser.