anchor.diff:  )
   
   :iwad_found
  -REM # at this point, the shareware / FreeDOOM substitution has occurred and we can continue
  -SET PARAMS=%PARAMS% -iwad "%FIX_PATH%\%IWADS%\%IWAD%"
  -ECHO         -iwad : %IWADS%\%IWAD%
  +SET PARAMS=%PARAMS% -iwad "%FIX_PATH%\%IWAD_PATH%"
  +ECHO         -iwad : %IWAD_PATH%
   
   
   :params
  
positive.code: REM # if this was DOOM or DOOM2, we could use FreeDOOM instead
  SET "FREEDOOM="
  REM # TODO: check these files exist too
  IF /I "%SAVE_WAD%" == "DOOM"  SET "FREEDOOM=freedoom\freedoom1.wad"
  IF /I "%SAVE_WAD%" == "DOOM2" SET "FREEDOOM=freedoom\freedoom2.wad"
  
  IF NOT "%FREEDOOM%" == "" (
  	ECHO:
  
negative.code: :iwad_shareware
  REM # if the user is trying to play just DOOM as-is without a PWAD,
  REM # then the best thing to do is offer them the shareware version:
  IF /I "%IWAD%" == "DOOM.WAD" (
  	ECHO:
  	ECHO   WARNING! Could not find registered DOOM.WAD:
  	ECHO:
  