anchor.diff:  cls
   cls
   echo.
  -echo                                      WiiWarePatcher - @KcrPL, @PokeAcer, @Larsenv
  +echo Wiimmfi WiiWarePatcher - (C) Larsenv, (C) KcrPL, (C) PokeAcer. v%version%. Compiled on %last_build% at %at%
   echo ------------------------------------------------------------------------------------------------------------------------
   echo.
  -if %patchingok%==1 echo %text10%
  +if %patchingok%==1 echo Patched files are in wiimmfi-wads folder
  +if %patchingok%==1 echo Backed up wads are in backup-wads folder
   if %patchingok%==1 echo.
  -if %patchingok%==1 echo %text11%
  -if %patchingok%==1 echo %text12%
  -if %patchingok%==1 echo.
  -echo %text13%
  +echo Exiting the patcher in...
   if %exiting%==10 echo :----------: 10
   if %exiting%==9 echo :--------- : 9
   if %exiting%==8 echo :--------  : 8
  
positive.code: 
  cls
  echo.
  echo                                      WiiWarePatcher - @KcrPL, @PokeAcer, @Larsenv
  echo ------------------------------------------------------------------------------------------------------------------------
  echo.
  if %cor%==0 echo %text4%
  if %cor%==1 echo %text4%
  ping localhost -n 3 >NUL
  if not exist *.wad goto letsbegin_error
  echo.
  
  rmdir temp /s /q
  if not exist temp md temp
  if not exist wiimmfi-wads md wiimmfi-wads
  if not exist backup-wads md backup-wads
  for %%f in ("*.wad") do (
  cls
  
  cls
  echo.
  echo                                      WiiWarePatcher - @KcrPL, @PokeAcer, @Larsenv
  echo ------------------------------------------------------------------------------------------------------------------------
  echo.
  echo %text8%: %%~nf
  echo %text9%: %file_counter%
  echo.
  copy /b "%%f" backup-wads >NUL
  Sharpii.exe WAD -u "%%f" temp >NUL
  move temp\00000001.app 00000001.app >NUL
  if %repeatvbs%==0 start %appdata%\WiimmfiPatcher\temp\vbs.vbs
  set patchdebug=%%~nf
  WiiWarePatcher.exe || goto error_ok
  move 00000001.app temp\00000001.app >NUL 
  del "%%f"
  Sharpii.exe WAD -p temp "wiimmfi-wads/%%f"
  
  rmdir temp /s /q
  set /a repeatvbs=1
  )
  cd wiimmfi-wads
  for %%a in (*.wad) do ren "%%~a" "%%~na_Wiimmfi%%~xa"
  cd..
  goto end
  :error_ok
  cls
  cls
  echo.
  echo                                      WiiWarePatcher - @KcrPL, @PokeAcer, @Larsenv
  echo ------------------------------------------------------------------------------------------------------------------------
  echo.
  echo :------------------------------------------:
  echo   %text10% 
  echo   ERROR CODE: 404 -  %patchdebug%
  echo :------------------------------------------:
  echo %text3%
  pause>NUL
  set patchingok=0
  goto end
  :end
  if not exist %appdata%\WiimmfiPatcher\ndlaunch.id echo e >>%appdata%\WiimmfiPatcher\ndlaunch.id
  set /a exiting=10
  
negative.code: :letsbegin_error
  cls
  echo.
  echo Wiimmfi WiiWarePatcher - (C) Larsenv, (C) KcrPL, (C) PokeAcer. v%version%. Compiled on %last_build% at %at%
  echo ------------------------------------------------------------------------------------------------------------------------
  echo.
  echo Let's begin.
  echo.
  echo In order to patch wad file, I need an wad file.
  echo So, if you can please copy any wad file to this directory where I am.
  echo.
  if %rep%==1 if exist "*.wad" set /a cor=1
  if %rep%==1 if exist "*.wad" goto letsbegin
  if %rep%==1 echo Waiting for .wad files.
  if %rep%==2 echo Waiting for .wad files..
  if %rep%==3 echo Waiting for .wad files...
  if %rep%==4 echo Waiting for .wad files....
  if %rep%==4 set /a rep=0
  set /a rep=%rep%+1
  ping localhost -n 3 >NUL
  