ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/nikanabo/current/wbackup.bat
Revision: 185
Committed: Mon May 21 18:48:22 2007 UTC (18 years, 4 months ago) by geyser
Content type: application/x-msdos-program
File size: 1037 byte(s)
Log Message:

File Contents

# Content
1 echo off
2 cd dat\original
3 IF 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 )
19 cd ..\..
20 cd bsl\mybackup
21 IF 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 )
35 cd ..\..
36 PAUSE