anchor.diff:  @if not exist _LVL_%MUNGE_PLATFORM% mkdir _LVL_%MUNGE_PLATFORM%
   @if not exist _LVL_%MUNGE_PLATFORM%\Sound mkdir _LVL_%MUNGE_PLATFORM%\Sound
   
  +@if /i %MUNGE_PLATFORM%==pc @set BANKOPT=-template
   
   @call soundmunge.bat %MUNGE_PLATFORM%
   @if %SOUNDCLEANLVL%x==1x @del /S /Q _BUILD\sound\*.lvl & @call soundmunge.bat %MUNGE_PLATFORM%
  
positive.code: @set MUNGE_ROOT_DIR=..\..
  @if not "%1"=="" set MUNGE_PLATFORM=%1
  @if %MUNGE_PLATFORM%x==x set MUNGE_PLATFORM=PC
  @if "%MUNGE_BIN_DIR%"=="" (
  	@set MUNGE_BIN_DIR=%CD%\%MUNGE_ROOT_DIR%\..\ToolsFL\Bin
  	@set PATH=%CD%\..\..\..\ToolsFL\Bin;%PATH%
  	@echo MUNGE_BIN_DIR=!MUNGE_BIN_DIR!
  )
  
  @rem convert to lower case
  @if %MUNGE_PLATFORM%==PC   set MUNGE_PLATFORM=pc
  @if %MUNGE_PLATFORM%==XBOX set MUNGE_PLATFORM=xbox
  @if %MUNGE_PLATFORM%==PS2  set MUNGE_PLATFORM=ps2
  
  @if /i %MUNGE_PLATFORM%==pc @set BANKOPT=-template -stub c:\windows\media\chord.wav
  @set MUNGE_DIR=MUNGED\%MUNGE_PLATFORM%
  
  @set LOCAL_MUNGE_LOG="%CD%\%MUNGE_PLATFORM%_MungeLog.txt"
  
negative.code: @if not %MUNGE_LOG%x==%LOCAL_MUNGE_LOG%x goto skip_mungelog
  @set FILE_CONTENTS_TEST=
  @if exist %MUNGE_LOG% for /f %%i in (%MUNGE_LOG:"=%) do @set FILE_CONTENTS_TEST=%%i
  
  :skip_mungelog
  
  