SHARE
TWEET

Spike's Base Fixer XCU 9.7 Addon Batch

BombBloke Sep 25th, 2016 (edited) 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. if %1. == . goto EOF
  4. if %1. == Setup. goto Setup
  5. if %1. == CleanUp. goto CleanUp
  6.  
  7. if NOT exist XcomUtil\Flags\BaseFixr.xcf goto EOF
  8.  
  9. if %1. == AfterTacticalAfterXcomUtil. goto ATAX
  10.  
  11. goto EOF
  12.  
  13. :Setup
  14.  
  15. set default=Y
  16. CLS
  17. echo     :: Spike's Base Fixer ::
  18. echo.
  19. echo  * Fixes the Paying for Dirt bug
  20. echo  * Fixes the Phantom Radar bug
  21. echo  * Fixes the Radar Stacking bug
  22. echo  * Improved effectiveness of multiple radars
  23. echo.
  24. echo  http://www.ufopaedia.org/index.php/User:Spike#Base_Fixer
  25. echo.
  26.  
  27. :XOK
  28. set def=Y
  29. :Opt
  30. echo  Do you wish to enable the use of Base Fixer with XcomUtil? (y/n, default: %def%)
  31. echo.
  32. XcomUtil\Bin\sdump.exe * getresp yYnN %def%
  33. if ERRORLEVEL 3 goto CleanUp
  34. echo Turn On Addon>XcomUtil\flags\BaseFixr.xcf
  35.  
  36. goto EOF
  37.  
  38. REM ###################################
  39. REM AfterTacticalAfterXcomUtil - After Combat, After XcomUtil
  40. :ATAX
  41.  
  42. rem Perform all fixes quietly on active game in current directory and write files:
  43. BaseFixer DIRT PHANTOM RADARX QUIET PATH . GAME LIVE WRT
  44.  
  45. goto EOF
  46.  
  47. REM ###################################
  48. REM CleanUp - On Uninstall or If Addon Not being Used.
  49. :CleanUp
  50. if exist XcomUtil\Flags\BaseFixr.xcf del XcomUtil\Flags\BaseFixr.xcf
  51.  
  52. :EOF
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top