Faguss

Change between 1.99 and 2.01 versions of OFP

Feb 5th, 2021 (edited)
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.71 KB | None | 0 0
  1. @echo off
  2. set path199=!tools\199
  3. set path201=!tools\201
  4. IF EXIST ArmAResistance.exe GOTO uninstall
  5.  
  6.  
  7. :install
  8. echo changing to 2.01
  9.  
  10. move bin\CONFIG.bin %path199%
  11. move bin\Resource.cpp %path199%
  12. move bin\STRINGTABLE.csv %path199%
  13. move dta\anims.pbo %path199%
  14. move dta\DTAEXT.pbo %path199%
  15. move dta\Fonts.pbo %path199%
  16. move dta\scripts.pbo %path199%
  17.  
  18. move %path201%\ArmAResistance.exe .
  19. move %path201%\ArmAResistancePreferences.exe .
  20. move %path201%\ARPreferences.csv .
  21. move %path201%\ArmAResistance.cfg .
  22. move %path201%\addons\Res.pbo addons
  23. move %path201%\addons\ResLangExt.pbo addons
  24. move %path201%\addons\voiceRH.pbo addons
  25.  
  26. move %path201%\bin\config.bin bin
  27. move %path201%\bin\Resource.cpp bin
  28. move %path201%\bin\STRINGTABLE.csv bin
  29. move %path201%\dta\anims.pbo dta
  30. move %path201%\dta\DTAEXT.pbo dta
  31. move %path201%\dta\Fonts.pbo dta
  32. move %path201%\dta\scripts.pbo dta
  33. goto end
  34.  
  35.  
  36. :uninstall
  37. echo changing to 1.99
  38.  
  39. move bin\CONFIG.bin %path201%\bin
  40. move bin\Resource.cpp %path201%\bin
  41. move bin\STRINGTABLE.csv %path201%\bin
  42. move dta\anims.pbo %path201%\dta
  43. move dta\DTAEXT.pbo %path201%\dta
  44. move dta\Fonts.pbo %path201%\dta
  45. move dta\scripts.pbo %path201%\dta
  46.  
  47. move ArmAResistance.exe %path201%
  48. move ArmAResistancePreferences.exe %path201%
  49. move ARPreferences.csv  %path201%
  50. move ArmAResistance.cfg %path201%
  51. move addons\Res.pbo %path201%\addons
  52. move addons\ResLangExt.pbo %path201%\addons
  53. move addons\voiceRH.pbo %path201%\addons
  54.  
  55. move %path199%\CONFIG.bin bin
  56. move %path199%\Resource.cpp bin
  57. move %path199%\STRINGTABLE.csv bin
  58. move %path199%\anims.pbo dta
  59. move %path199%\DTAEXT.pbo dta
  60. move %path199%\Fonts.pbo dta
  61. move %path199%\scripts.pbo dta
  62. goto end
  63.  
  64.  
  65. :end
  66. echo done
  67. pause
  68.  
Add Comment
Please, Sign In to add comment