--- /dev/null
+The x264 encoder software is Copyright (C) 2003-2014 x264 project.
+http://www.videolan.org/developers/x264.html
+
+The x265 encoder software is Copyright (C) 2013-2014 x265 project.
+http://www.videolan.org/developers/x265.html
+
+Avisynth is Copyright (C) 2000 Ben Rudiak-Gould & subsequent developers.
+http://avisynth.nl/index.php/Main_Page
+
+VapourSynth is Copyright (c) 2012-2014 Fredrik Mellbin.
+http://www.vapoursynth.com/
+
+
+All third-party binaries included in this distribution package are redistributed
+in full accordance with the GNU General Public License, version 2.
+
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+http://www.gnu.org/licenses/gpl.html
set "OUT_PATH=%OUT_PATH%.new"
goto GenerateOutfileName
)
+if exist "%OUT_PATH%.zip" (
+ set "OUT_PATH=%OUT_PATH%.new"
+ goto GenerateOutfileName
+)
+
+REM ///////////////////////////////////////////////////////////////////////////
+REM // Create Tag
+REM ///////////////////////////////////////////////////////////////////////////
+echo Simple x264/x265 Launcher - graphical front-end for x264 and x265 > "%PACK_PATH%\BUILD_TAG.txt"
+echo Copyright (C) 2004-2014 LoRd_MuldeR ^<MuldeR2@GMX.de^> >> "%PACK_PATH%\BUILD_TAG.txt"
+echo. >> "%PACK_PATH%\BUILD_TAG.txt"
+echo Build #%BUILD_NO%, created on %ISO_DATE% at %ISO_TIME% >> "%PACK_PATH%\BUILD_TAG.txt"
+echo. >> "%PACK_PATH%\BUILD_TAG.txt"
+echo. >> "%PACK_PATH%\BUILD_TAG.txt"
+"%~dp0\etc\cat.exe" "%~dp0\etc\setup\build.nfo" >> "%PACK_PATH%\BUILD_TAG.txt"
REM ///////////////////////////////////////////////////////////////////////////
REM // Build the installer
attrib +R "%OUT_PATH%.exe"
attrib +R "%OUT_PATH%.sfx"
+
+REM ///////////////////////////////////////////////////////////////////////////
+REM // Build ZIP package
+REM ///////////////////////////////////////////////////////////////////////////
+pushd "%PACK_PATH%"
+"%~dp0\etc\zip.exe" -r -9 -z "%OUT_PATH%.zip" "*.*" < "%PACK_PATH%\BUILD_TAG.txt"
+popd
+
+if not "%ERRORLEVEL%"=="0" goto BuildError
+
+REM ///////////////////////////////////////////////////////////////////////////
+REM // Clean up
+REM ///////////////////////////////////////////////////////////////////////////
rmdir /Q /S "%PACK_PATH%"
REM ///////////////////////////////////////////////////////////////////////////