Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if %1. == . goto EOF
- if %1. == Setup. goto Setup
- if %1. == CleanUp. goto CleanUp
- if NOT exist XcomUtil\Flags\BaseFixr.xcf goto EOF
- if %1. == AfterTacticalAfterXcomUtil. goto ATAX
- goto EOF
- :Setup
- set default=Y
- CLS
- echo :: Spike's Base Fixer ::
- echo.
- echo * Fixes the Paying for Dirt bug
- echo * Fixes the Phantom Radar bug
- echo * Fixes the Radar Stacking bug
- echo * Improved effectiveness of multiple radars
- echo.
- echo http://www.ufopaedia.org/index.php/User:Spike#Base_Fixer
- echo.
- :XOK
- set def=Y
- :Opt
- echo Do you wish to enable the use of Base Fixer with XcomUtil? (y/n, default: %def%)
- echo.
- XcomUtil\Bin\sdump.exe * getresp yYnN %def%
- if ERRORLEVEL 3 goto CleanUp
- echo Turn On Addon>XcomUtil\flags\BaseFixr.xcf
- goto EOF
- REM ###################################
- REM AfterTacticalAfterXcomUtil - After Combat, After XcomUtil
- :ATAX
- rem Perform all fixes quietly on active game in current directory and write files:
- BaseFixer DIRT PHANTOM RADARX QUIET PATH . GAME LIVE WRT
- goto EOF
- REM ###################################
- REM CleanUp - On Uninstall or If Addon Not being Used.
- :CleanUp
- if exist XcomUtil\Flags\BaseFixr.xcf del XcomUtil\Flags\BaseFixr.xcf
- :EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement