Subversion Repositories vaca_plus

Rev

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

  1. #!/bin/bash
  2. mv * ../
  3. cd ../
  4. if [ -e ../VACATION.GRP ]; then
  5.   mv ../VACATION.GRP ./
  6. fi
  7. if [ -e VACATION.GRP ]; then
  8. ./kextract VACATION.GRP VACA*.MAP
  9. mv VACA1.MAP vaca1.map
  10. mv VACA2.MAP vaca2.map
  11. mv VACA3.MAP vaca3.map
  12. mv VACA4.MAP vaca4.map
  13. mv VACA5.MAP vaca5.map
  14. mv VACA6.MAP vaca6.map
  15. mv VACA7.MAP vaca7.map
  16. mv VACASL.MAP vacasl.map
  17. mv VACADM1.MAP vacadm1.map
  18. mv VACADM2.MAP vacadm2.map
  19. mv VACADM3.MAP vacadm3.map
  20. mv VACADM4.MAP vacadm4.map
  21. ./bspatch vaca1.map vaca1.map vaca1.patch
  22. ./bspatch vaca2.map vaca2.map vaca2.patch
  23. ./bspatch vaca3.map vaca3.map vaca3.patch
  24. ./bspatch vaca4.map vaca4.map vaca4.patch
  25. ./bspatch vaca5.map vaca5.map vaca5.patch
  26. ./bspatch vaca6.map vaca6.map vaca6.patch
  27. ./bspatch vaca7.map vaca7.map vaca7.patch
  28. ./bspatch vacasl.map vacasl.map vacasl.patch
  29. ./bspatch vacadm1.map vacadm1.map vacadm1.patch
  30. ./bspatch vacadm2.map vacadm2.map vacadm2.patch
  31. ./bspatch vacadm3.map vacadm3.map vacadm3.patch
  32. ./bspatch vacadm4.map vacadm4.map vacadm4.patch
  33.   echo "Patching complete!"
  34. else
  35.   echo "VACATION.GRP does not exist."
  36.   ./unpackssi.exe VACA15.SSI
  37.   mv VACATION.PRG VACATION.GRP
  38.   echo "Run this script again."
  39.   echo "If you did not have the SSI files in this directory, put them here and run this twice more."
  40. fi
  41.