Subversion Repositories nw_plus

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 h266 1
#!/bin/bash
2
mv * ../
3
cd ../
4
if [ -e ../NWINTER.GRP ]; then
5
  mv ../NWINTER.GRP ./
6
fi
7
if [ -e NWINTER.GRP ]; then
59 h266 8
./kextract NWINTER.GRP E2L*.MAP
1 h266 9
mv E2L1.MAP nwl1.map
10
mv E2L2.MAP nwl2.map
11
mv E2L3.MAP nwl3.map
12
mv E2L4.MAP nwl4.map
13
mv E2L5.MAP nwl5.map
14
mv E2L6.MAP nwl6.map
15
mv E2L7.MAP nwl7.map
16
mv E2L8.MAP nwl8.map
59 h266 17
./bspatch nwl1.map nwl1.map nwl1.patch
18
./bspatch nwl2.map nwl2.map nwl2.patch
19
./bspatch nwl3.map nwl3.map nwl3.patch
20
./bspatch nwl4.map nwl4.map nwl4.patch
21
./bspatch nwl5.map nwl5.map nwl5.patch
22
./bspatch nwl6.map nwl6.map nwl6.patch
23
./bspatch nwl7.map nwl7.map nwl7.patch
24
./bspatch nwl8.map nwl8.map nwl8.patch
1 h266 25
  echo "Patching complete!"
26
else
27
  echo "NWINTER.GRP does not exist."
28
  echo "Run this script again with NWINTER.GRP in this directory."
29
fi