summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/build_scripts/a_SetVar32.bat14
-rw-r--r--tools/build_scripts/a_SetVar64.bat14
-rw-r--r--tools/build_scripts/a_Sleep.bat1
-rw-r--r--tools/build_scripts/bin10/CRC32.exebin0 -> 47616 bytes
-rw-r--r--tools/build_scripts/bin10/CheckSum.exebin0 -> 52224 bytes
-rw-r--r--tools/build_scripts/bin10/MirUpdateStatrt.bat27
-rw-r--r--tools/build_scripts/bin10/git_update.bat5
-rw-r--r--tools/build_scripts/bin10/md5.exebin0 -> 49152 bytes
-rw-r--r--tools/build_scripts/bin10/rebaser.exebin0 -> 4096 bytes
-rw-r--r--tools/build_scripts/bin10/svn_update.bat21
-rw-r--r--tools/build_scripts/bin10/vad.bat21
-rw-r--r--tools/build_scripts/bin10/vad64.bat21
-rw-r--r--tools/build_scripts/bin10/w_Rebuild_Plugins.bat21
-rw-r--r--tools/build_scripts/bin10/z1_ReBuild_w810.bat15
-rw-r--r--tools/build_scripts/bin12/CloseMiranda.vbs11
-rw-r--r--tools/build_scripts/bin12/MirUpdateStatrt.bat31
-rw-r--r--tools/build_scripts/bin12/git_update.bat5
-rw-r--r--tools/build_scripts/bin12/svn_update.bat21
-rw-r--r--tools/build_scripts/bin12/vad.bat21
-rw-r--r--tools/build_scripts/bin12/vad64.bat21
-rw-r--r--tools/build_scripts/bin12/w_Rebuild_Plugins.bat31
-rw-r--r--tools/build_scripts/bin15/MirUpdateStatrt64.bat40
-rw-r--r--tools/build_scripts/bin15/MirUpdateStatrt86.bat40
-rw-r--r--tools/build_scripts/bin15/git_update.bat5
-rw-r--r--tools/build_scripts/bin15/svn_update.bat21
-rw-r--r--tools/build_scripts/bin15/vad.bat21
-rw-r--r--tools/build_scripts/bin15/vad64.bat21
-rw-r--r--tools/build_scripts/bin15/w_Rebuild_Plugins64.bat33
-rw-r--r--tools/build_scripts/bin15/w_Rebuild_Plugins86.bat33
-rw-r--r--tools/build_scripts/build/make_ver_stable.bat32
-rw-r--r--tools/build_scripts/chk.bat32
-rw-r--r--tools/build_scripts/git_update.bat5
-rw-r--r--tools/build_scripts/plugins/ListeningTo/listeningto/foo_mlt.dllbin0 -> 94720 bytes
-rw-r--r--tools/build_scripts/plugins/ListeningTo/listeningto/gen_mlt.dllbin0 -> 41472 bytes
-rw-r--r--tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat16
-rw-r--r--tools/build_scripts/plugins/NotifyAnything/SendLog/compile64.bat16
-rw-r--r--tools/build_scripts/pre-build/32/Plugins/HistoryPP.dllbin0 -> 1982976 bytes
-rw-r--r--tools/build_scripts/pre-build/64/Plugins/HistoryPP.dllbin0 -> 3133952 bytes
-rw-r--r--tools/build_scripts/redist/pcre3.dllbin0 -> 140288 bytes
-rw-r--r--tools/build_scripts/redist/x32/DbChecker.bat1
-rw-r--r--tools/build_scripts/redist/x32/bass/bass.dllbin0 -> 111772 bytes
-rw-r--r--tools/build_scripts/redist/x32/bass/bass_aac.dllbin0 -> 150357 bytes
-rw-r--r--tools/build_scripts/redist/x32/bass/basswma.dllbin0 -> 17733 bytes
-rw-r--r--tools/build_scripts/redist/x32/msvcp100.dllbin0 -> 421200 bytes
-rw-r--r--tools/build_scripts/redist/x32/msvcr100.dllbin0 -> 773968 bytes
-rw-r--r--tools/build_scripts/redist/x64/DbChecker.bat1
-rw-r--r--tools/build_scripts/redist/x64/bass/bass.dllbin0 -> 230912 bytes
-rw-r--r--tools/build_scripts/redist/x64/bass/bass_aac.dllbin0 -> 246272 bytes
-rw-r--r--tools/build_scripts/redist/x64/bass/basswma.dllbin0 -> 36352 bytes
-rw-r--r--tools/build_scripts/redist/x64/msvcp100.dllbin0 -> 608080 bytes
-rw-r--r--tools/build_scripts/redist/x64/msvcr100.dllbin0 -> 829264 bytes
-rw-r--r--tools/build_scripts/svn_stable_ver.bat11
-rw-r--r--tools/build_scripts/svn_update.bat19
-rw-r--r--tools/build_scripts/update.log0
-rw-r--r--tools/build_scripts/z1_ReBuild_Full.bat149
-rw-r--r--tools/build_scripts/z1_ReBuild_Full_Stable.bat148
-rw-r--r--tools/build_scripts/z2_PackPluginUpater.bat129
-rw-r--r--tools/build_scripts/z2_PackPluginUpater_x32.txt250
-rw-r--r--tools/build_scripts/z2_PackPluginUpater_x64.txt248
-rw-r--r--tools/build_scripts/z3_PackArchives.bat42
-rw-r--r--tools/build_scripts/z3_PackArchives.txt57
-rw-r--r--tools/build_scripts/z3_PackArchivesStable.bat73
-rw-r--r--tools/build_scripts/z4_UploadPluginUpdater.bat21
-rw-r--r--tools/build_scripts/z4_UploadPluginUpdater.txt15
-rw-r--r--tools/build_scripts/z4_UploadPluginUpdaterStable.bat21
-rw-r--r--tools/build_scripts/z4_UploadPluginUpdaterStable.txt15
-rw-r--r--tools/build_scripts/z5_UploadArchives.bat17
-rw-r--r--tools/build_scripts/z5_UploadArchives.txt16
-rw-r--r--tools/build_scripts/z5_UploadArchivesStable.bat18
-rw-r--r--tools/build_scripts/z5_UploadArchivesStable.txt17
-rw-r--r--tools/build_scripts/z6_CompileInstallers.bat16
-rw-r--r--tools/build_scripts/z7_UploadInstallers.bat15
-rw-r--r--tools/build_scripts/z7_UploadInstallers.txt10
-rw-r--r--tools/build_scripts/zz_zBuildNightly.bat27
-rw-r--r--tools/build_scripts/zz_zRebuildUploadStable.bat44
-rw-r--r--tools/build_scripts/zz_zRebuildUploadTrunk.bat44
76 files changed, 2040 insertions, 0 deletions
diff --git a/tools/build_scripts/a_SetVar32.bat b/tools/build_scripts/a_SetVar32.bat
new file mode 100644
index 0000000000..e57c6bd9a6
--- /dev/null
+++ b/tools/build_scripts/a_SetVar32.bat
@@ -0,0 +1,14 @@
+set Drive=C:
+set SourceDir=%Drive%\Sources\miranda_NG_compilation
+set DropDir=%Drive%\Dropbox
+set StableInstDir=%SourceDir%\tools\installer_ng_stable
+set GetIt=%StableInstDir%\Tools\wget.exe
+set Arch=%Drive%\Arch
+set ArchPdb=%Drive%\ArchPdb
+set ArchDistr=%Drive%\ArchDistr
+set Errors=..\z_Errors.txt
+set NoErrors=..\z_No_Errors.txt
+set CompressIt=%SourceDir%\tools\7-zip\7z.exe
+set ZipIt=%SourceDir%\tools\7-zip\7z.exe a -r -tzip
+set WinSCPini="%DropDir%\Docs\watcher\WinSCP_dsk6500.ini"
+set WinSCP=%SourceDir%\tools\WinSCP\WinSCP.com /ini=%WinSCPini% \ No newline at end of file
diff --git a/tools/build_scripts/a_SetVar64.bat b/tools/build_scripts/a_SetVar64.bat
new file mode 100644
index 0000000000..c925711968
--- /dev/null
+++ b/tools/build_scripts/a_SetVar64.bat
@@ -0,0 +1,14 @@
+set Drive=C:
+set SourceDir=%Drive%\Sources\miranda_NG_compilation
+set DropDir=%Drive%\Dropbox
+set StableInstDir=%SourceDir%\tools\installer_ng_stable
+set GetIt=%StableInstDir%\Tools\wget.exe
+set Arch=%Drive%\Arch64
+set ArchPdb=%Drive%\ArchPdb64
+set ArchDistr=%Drive%\ArchDistr
+set Errors=..\z_Errors64.txt
+set NoErrors=..\z_No_Errors64.txt
+set CompressIt=%SourceDir%\tools\7-zip\7z.exe
+set ZipIt=%SourceDir%\tools\7-zip\7z.exe a -r -tzip
+set WinSCPini="%DropDir%\Docs\watcher\WinSCP_dsk6500.ini"
+set WinSCP=%SourceDir%\tools\WinSCP\WinSCP.com /ini=%WinSCPini% \ No newline at end of file
diff --git a/tools/build_scripts/a_Sleep.bat b/tools/build_scripts/a_Sleep.bat
new file mode 100644
index 0000000000..df954984a0
--- /dev/null
+++ b/tools/build_scripts/a_Sleep.bat
@@ -0,0 +1 @@
+C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 1 1 0 \ No newline at end of file
diff --git a/tools/build_scripts/bin10/CRC32.exe b/tools/build_scripts/bin10/CRC32.exe
new file mode 100644
index 0000000000..2cccdeb552
--- /dev/null
+++ b/tools/build_scripts/bin10/CRC32.exe
Binary files differ
diff --git a/tools/build_scripts/bin10/CheckSum.exe b/tools/build_scripts/bin10/CheckSum.exe
new file mode 100644
index 0000000000..65aac50d8f
--- /dev/null
+++ b/tools/build_scripts/bin10/CheckSum.exe
Binary files differ
diff --git a/tools/build_scripts/bin10/MirUpdateStatrt.bat b/tools/build_scripts/bin10/MirUpdateStatrt.bat
new file mode 100644
index 0000000000..dc2e847478
--- /dev/null
+++ b/tools/build_scripts/bin10/MirUpdateStatrt.bat
@@ -0,0 +1,27 @@
+for %%i IN (1) do call taskkill /T /IM miranda32.exe
+if %errorlevel% ==0 (goto :EXIT) else (goto :ACT)
+:EXIT
+timeout 1
+for %%i IN (1) do call taskkill /T /IM miranda32.exe
+if %errorlevel% ==0 goto :EXIT
+
+:ACT
+pushd Release
+rd /s /q OBJ >nul
+popd
+xcopy /S /Y "Release\*.dll" "E:\MirandaNG\"
+xcopy /S /Y "Release\*.mir" "E:\MirandaNG\"
+copy /V /Y "Release\Plugins\tox.ini" "E:\MirandaNG\Plugins\"
+copy /V /Y "Release\miranda32.exe" "E:\MirandaNG\"
+del /F /S /Q "Release\*.dll" >> nul
+del /F /S /Q "Release\*.mir" >> nul
+del /F /Q "Release\miranda32.exe"
+
+rd /S /Q "Release" >nul
+
+pushd E:\MirandaNG
+call rebaser.cmd
+start /b miranda32.exe
+cd Languages\Lang
+svn update
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin10/git_update.bat b/tools/build_scripts/bin10/git_update.bat
new file mode 100644
index 0000000000..9936973e18
--- /dev/null
+++ b/tools/build_scripts/bin10/git_update.bat
@@ -0,0 +1,5 @@
+pushd ..
+
+git pull --rebase=true --progress -v 2>&1 > update.log
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin10/md5.exe b/tools/build_scripts/bin10/md5.exe
new file mode 100644
index 0000000000..73c6d01ec9
--- /dev/null
+++ b/tools/build_scripts/bin10/md5.exe
Binary files differ
diff --git a/tools/build_scripts/bin10/rebaser.exe b/tools/build_scripts/bin10/rebaser.exe
new file mode 100644
index 0000000000..a3f0526daf
--- /dev/null
+++ b/tools/build_scripts/bin10/rebaser.exe
Binary files differ
diff --git a/tools/build_scripts/bin10/svn_update.bat b/tools/build_scripts/bin10/svn_update.bat
new file mode 100644
index 0000000000..a6090591a4
--- /dev/null
+++ b/tools/build_scripts/bin10/svn_update.bat
@@ -0,0 +1,21 @@
+pushd ..
+
+del /F /Q version.txt
+
+svn cleanup
+
+svn update > update.log
+
+cd build
+
+for /F %%g in ('svnversion build.no') do set Revision=%%g
+
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+
+cd ..
+
+rem echo v%MirVer%_%Revision% > version.txt
+
+rem svn log -l 30 >> version.txt
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin10/vad.bat b/tools/build_scripts/bin10/vad.bat
new file mode 100644
index 0000000000..d4d3ea10c5
--- /dev/null
+++ b/tools/build_scripts/bin10/vad.bat
@@ -0,0 +1,21 @@
+rem @echo off
+
+pushd ..\plugins
+
+pushd mRadio
+call make.bat fpc 10
+if errorlevel 1 goto :Error
+popd
+
+pushd QuickSearch
+call make.bat fpc 10
+if errorlevel 1 goto :Error
+popd
+
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/bin10/vad64.bat b/tools/build_scripts/bin10/vad64.bat
new file mode 100644
index 0000000000..cbc72d10f5
--- /dev/null
+++ b/tools/build_scripts/bin10/vad64.bat
@@ -0,0 +1,21 @@
+rem @echo off
+
+pushd ..\plugins
+
+pushd mRadio
+call make.bat fpc64 10
+if errorlevel 1 goto :Error
+popd
+
+pushd QuickSearch
+call make.bat fpc64 10
+if errorlevel 1 goto :Error
+popd
+
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/bin10/w_Rebuild_Plugins.bat b/tools/build_scripts/bin10/w_Rebuild_Plugins.bat
new file mode 100644
index 0000000000..484fcec41d
--- /dev/null
+++ b/tools/build_scripts/bin10/w_Rebuild_Plugins.bat
@@ -0,0 +1,21 @@
+call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat"
+
+call git_update.bat
+
+if exist "Release" rd /Q /S "Release" >nul
+
+if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
+echo on
+pushd ..\build
+call make_ver.bat
+popd
+
+MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="Win32" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly
+
+call vad.bat
+
+rd /S /Q "Release\Obj"
+
+del /F /S /Q "Release\*.pdb"
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin10/z1_ReBuild_w810.bat b/tools/build_scripts/bin10/z1_ReBuild_w810.bat
new file mode 100644
index 0000000000..f20def3076
--- /dev/null
+++ b/tools/build_scripts/bin10/z1_ReBuild_w810.bat
@@ -0,0 +1,15 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+if /i '%tp%' == '64' set bt=64
+if /i '%tp%' == '32' (
+ set ptr=Win32
+) else if /i '%tp%' == '64' (
+ set ptr=X64
+)
+
+call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
+
+
+MsBuild.exe "fwin8_10.sln" /m /t:Rebuild /p:Configuration=Release;Platform="%ptr%" /fileLogger /fileLoggerParameters:LogFile=Logs\fwin8_10%tp%.log;errorsonly;warningsonly;summary
+
+exit
diff --git a/tools/build_scripts/bin12/CloseMiranda.vbs b/tools/build_scripts/bin12/CloseMiranda.vbs
new file mode 100644
index 0000000000..6ef02f0912
--- /dev/null
+++ b/tools/build_scripts/bin12/CloseMiranda.vbs
@@ -0,0 +1,11 @@
+Set objShell = CreateObject("WScript.Shell")
+Set objWmi = GetObject("winmgmts:")
+
+
+strWmiq = "select * from Win32_Process where name='miranda32.exe'"
+Set objQResult = objWmi.Execquery(strWmiq)
+
+
+For Each objProcess In objQResult
+intRet = objProcess.Terminate(1)
+Next \ No newline at end of file
diff --git a/tools/build_scripts/bin12/MirUpdateStatrt.bat b/tools/build_scripts/bin12/MirUpdateStatrt.bat
new file mode 100644
index 0000000000..16916b6128
--- /dev/null
+++ b/tools/build_scripts/bin12/MirUpdateStatrt.bat
@@ -0,0 +1,31 @@
+Set Release=Release
+Set MirDir=E:\MirandaNG\
+
+for %%i IN (1) do call taskkill /T /IM miranda32.exe
+if %errorlevel% ==0 (goto :EXIT) else (goto :ACT)
+:EXIT
+timeout 1
+for %%i IN (1) do call taskkill /T /IM miranda32.exe
+if %errorlevel% ==0 goto :EXIT
+
+:ACT
+pushd %Release%
+rd /s /q OBJ >nul
+popd
+xcopy /S /Y "%Release%\*.dll" "%MirDir%"
+xcopy /S /Y "%Release%\*.mir" "%MirDir%"
+copy /V /Y "%Release%\Plugins\tox.ini" "%MirDir%\Plugins\"
+copy /V /Y "%Release%\miranda*.exe" "%MirDir%"
+del /F /S /Q "%Release%\*.dll" >> nul
+del /F /S /Q "%Release%\*.mir" >> nul
+del /F /Q "%Release%\miranda*.exe"
+del /F /Q "%Release%\Plugins\tox.ini"
+
+rem rd /S /Q "Release"
+
+pushd %MirDir%
+call rebaser.cmd
+start /b miranda32.exe
+cd Languages\Lang
+svn update
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin12/git_update.bat b/tools/build_scripts/bin12/git_update.bat
new file mode 100644
index 0000000000..9936973e18
--- /dev/null
+++ b/tools/build_scripts/bin12/git_update.bat
@@ -0,0 +1,5 @@
+pushd ..
+
+git pull --rebase=true --progress -v 2>&1 > update.log
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin12/svn_update.bat b/tools/build_scripts/bin12/svn_update.bat
new file mode 100644
index 0000000000..a6090591a4
--- /dev/null
+++ b/tools/build_scripts/bin12/svn_update.bat
@@ -0,0 +1,21 @@
+pushd ..
+
+del /F /Q version.txt
+
+svn cleanup
+
+svn update > update.log
+
+cd build
+
+for /F %%g in ('svnversion build.no') do set Revision=%%g
+
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+
+cd ..
+
+rem echo v%MirVer%_%Revision% > version.txt
+
+rem svn log -l 30 >> version.txt
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin12/vad.bat b/tools/build_scripts/bin12/vad.bat
new file mode 100644
index 0000000000..e197fe87c6
--- /dev/null
+++ b/tools/build_scripts/bin12/vad.bat
@@ -0,0 +1,21 @@
+rem @echo off
+
+pushd ..\plugins
+
+pushd mRadio
+call make.bat fpc 12
+if errorlevel 1 goto :Error
+popd
+
+pushd QuickSearch
+call make.bat fpc 12
+if errorlevel 1 goto :Error
+popd
+
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/bin12/vad64.bat b/tools/build_scripts/bin12/vad64.bat
new file mode 100644
index 0000000000..7a1c45dcf0
--- /dev/null
+++ b/tools/build_scripts/bin12/vad64.bat
@@ -0,0 +1,21 @@
+rem @echo off
+
+pushd ..\plugins
+
+pushd mRadio
+call make.bat fpc64 12
+if errorlevel 1 goto :Error
+popd
+
+pushd QuickSearch
+call make.bat fpc64 12
+if errorlevel 1 goto :Error
+popd
+
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/bin12/w_Rebuild_Plugins.bat b/tools/build_scripts/bin12/w_Rebuild_Plugins.bat
new file mode 100644
index 0000000000..d61886c103
--- /dev/null
+++ b/tools/build_scripts/bin12/w_Rebuild_Plugins.bat
@@ -0,0 +1,31 @@
+call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
+
+call git_update.bat
+
+if exist "Release" rd /Q /S "Release" >nul
+
+if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
+echo on
+pushd ..\build
+call make_ver.bat
+popd
+
+MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="Win32" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly
+set BUILD_STATUS=%ERRORLEVEL%
+if %BUILD_STATUS%==0 echo Build success
+if not %BUILD_STATUS%==0 goto :Error
+
+call vad.bat
+
+rd /S /Q "Release\Obj"
+
+rem del /F /S /Q "Release\*.pdb"
+
+rem popd
+
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit
diff --git a/tools/build_scripts/bin15/MirUpdateStatrt64.bat b/tools/build_scripts/bin15/MirUpdateStatrt64.bat
new file mode 100644
index 0000000000..bf84ba2e8b
--- /dev/null
+++ b/tools/build_scripts/bin15/MirUpdateStatrt64.bat
@@ -0,0 +1,40 @@
+Set Release=Release64
+Set MirDir=E:\MirandaNG\
+
+for %%i IN (1) do call taskkill /T /IM miranda64.exe
+if %errorlevel% ==0 (goto :EXIT) else (goto :ACT)
+:EXIT
+timeout 1
+for %%i IN (1) do call taskkill /T /IM miranda64.exe
+if %errorlevel% ==0 goto :EXIT
+
+:ACT
+pushd %Release%
+rd /s /q OBJ >nul
+popd
+xcopy /S /Y "%Release%\*.dll" "%MirDir%"
+xcopy /S /Y "%Release%\*.mir" "%MirDir%"
+copy /V /Y "%Release%\Plugins\tox.ini" "%MirDir%\Plugins\"
+copy /V /Y "%Release%\miranda*.exe" "%MirDir%"
+del /F /S /Q "%Release%\*.dll" >> nul
+del /F /S /Q "%Release%\*.mir" >> nul
+del /F /Q "%Release%\miranda*.exe"
+del /F /Q "%Release%\Plugins\tox.ini"
+
+REM rd /S /Q "Release"
+
+REM pushd %MirDir%
+REM call rebaser.cmd
+REM start /b miranda64.exe
+REM cd Languages\Lang
+REM svn update
+REM popd
+
+pushd "..\langpacks\tool"
+LangpackSuite.exe \q \prussian \o"=MINE=.txt" \n%MirDir%\Languages\Langpack_russian.txt
+popd
+
+pushd %MirDir%
+call rebaser.cmd
+start /b miranda64.exe
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin15/MirUpdateStatrt86.bat b/tools/build_scripts/bin15/MirUpdateStatrt86.bat
new file mode 100644
index 0000000000..7c5c1949c9
--- /dev/null
+++ b/tools/build_scripts/bin15/MirUpdateStatrt86.bat
@@ -0,0 +1,40 @@
+Set Release=Release
+Set MirDir=E:\MirandaNG\
+
+for %%i IN (1) do call taskkill /T /IM miranda32.exe
+if %errorlevel% ==0 (goto :EXIT) else (goto :ACT)
+:EXIT
+timeout 1
+for %%i IN (1) do call taskkill /T /IM miranda32.exe
+if %errorlevel% ==0 goto :EXIT
+
+:ACT
+pushd %Release%
+rd /s /q OBJ >nul
+popd
+xcopy /S /Y "%Release%\*.dll" "%MirDir%"
+xcopy /S /Y "%Release%\*.mir" "%MirDir%"
+copy /V /Y "%Release%\Plugins\tox.ini" "%MirDir%\Plugins\"
+copy /V /Y "%Release%\miranda*.exe" "%MirDir%"
+del /F /S /Q "%Release%\*.dll" >> nul
+del /F /S /Q "%Release%\*.mir" >> nul
+del /F /Q "%Release%\miranda*.exe"
+del /F /Q "%Release%\Plugins\tox.ini"
+
+REM rd /S /Q "Release"
+
+REM pushd %MirDir%
+REM call rebaser.cmd
+REM start /b miranda32.exe
+REM cd Languages\Lang
+REM svn update
+REM popd
+
+pushd "..\langpacks\tool"
+LangpackSuite.exe \q \prussian \o"=MINE=.txt" \n%MirDir%\Languages\Langpack_russian.txt
+popd
+
+pushd %MirDir%
+call rebaser.cmd
+start /b miranda32.exe
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin15/git_update.bat b/tools/build_scripts/bin15/git_update.bat
new file mode 100644
index 0000000000..9936973e18
--- /dev/null
+++ b/tools/build_scripts/bin15/git_update.bat
@@ -0,0 +1,5 @@
+pushd ..
+
+git pull --rebase=true --progress -v 2>&1 > update.log
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin15/svn_update.bat b/tools/build_scripts/bin15/svn_update.bat
new file mode 100644
index 0000000000..e40d4ca610
--- /dev/null
+++ b/tools/build_scripts/bin15/svn_update.bat
@@ -0,0 +1,21 @@
+pushd ..
+
+rem del /F /Q version.txt
+
+svn cleanup
+
+svn update > update.log
+
+cd build
+
+for /F %%g in ('svnversion build.no') do set Revision=%%g
+
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+
+cd ..
+
+rem echo v%MirVer%_%Revision% > version.txt
+
+rem svn log -l 30 >> version.txt
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/bin15/vad.bat b/tools/build_scripts/bin15/vad.bat
new file mode 100644
index 0000000000..37a24c5879
--- /dev/null
+++ b/tools/build_scripts/bin15/vad.bat
@@ -0,0 +1,21 @@
+rem @echo off
+
+pushd ..\plugins
+
+pushd mRadio
+call make.bat fpc 15
+if errorlevel 1 goto :Error
+popd
+
+pushd QuickSearch
+call make.bat fpc 15
+if errorlevel 1 goto :Error
+popd
+
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/bin15/vad64.bat b/tools/build_scripts/bin15/vad64.bat
new file mode 100644
index 0000000000..d5d2b8cb4a
--- /dev/null
+++ b/tools/build_scripts/bin15/vad64.bat
@@ -0,0 +1,21 @@
+rem @echo off
+
+pushd ..\plugins
+
+pushd mRadio
+call make.bat fpc64 15
+if errorlevel 1 goto :Error
+popd
+
+pushd QuickSearch
+call make.bat fpc64 15
+if errorlevel 1 goto :Error
+popd
+
+popd
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/bin15/w_Rebuild_Plugins64.bat b/tools/build_scripts/bin15/w_Rebuild_Plugins64.bat
new file mode 100644
index 0000000000..e89b4cc683
--- /dev/null
+++ b/tools/build_scripts/bin15/w_Rebuild_Plugins64.bat
@@ -0,0 +1,33 @@
+call call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
+
+call git_update.bat
+
+if exist "Release64" rd /Q /S "Release64" >nul
+
+if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
+echo on
+pushd ..\build
+call make_ver.bat
+popd
+
+MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="x64" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly
+set BUILD_STATUS=%ERRORLEVEL%
+if %BUILD_STATUS%==0 echo Build success
+if not %BUILD_STATUS%==0 goto :Error
+
+call vad64.bat
+
+..\tools\installer_ng_stable\Tools\wget.exe -P Release64/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x64/
+
+rd /S /Q "Release64\Obj"
+
+rem del /F /S /Q "Release64\*.pdb"
+
+rem popd
+
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit
diff --git a/tools/build_scripts/bin15/w_Rebuild_Plugins86.bat b/tools/build_scripts/bin15/w_Rebuild_Plugins86.bat
new file mode 100644
index 0000000000..324082714c
--- /dev/null
+++ b/tools/build_scripts/bin15/w_Rebuild_Plugins86.bat
@@ -0,0 +1,33 @@
+call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
+
+call git_update.bat
+
+if exist "Release" rd /Q /S "Release" >nul
+
+if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
+echo on
+pushd ..\build
+call make_ver.bat
+popd
+
+MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="Win32" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly
+set BUILD_STATUS=%ERRORLEVEL%
+if %BUILD_STATUS%==0 echo Build success
+if not %BUILD_STATUS%==0 goto :Error
+
+call vad.bat
+
+rd /S /Q "Release\Obj"
+
+..\tools\installer_ng_stable\Tools\wget.exe -P Release/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x86/
+
+rem del /F /S /Q "Release\*.pdb"
+
+rem popd
+
+goto :eof
+
+:Error
+echo ============================= FAIL! =============================
+pause
+exit
diff --git a/tools/build_scripts/build/make_ver_stable.bat b/tools/build_scripts/build/make_ver_stable.bat
new file mode 100644
index 0000000000..cedff11a3b
--- /dev/null
+++ b/tools/build_scripts/build/make_ver_stable.bat
@@ -0,0 +1,32 @@
+@echo off
+cd /d %~dp0
+
+for /F "tokens=2,3" %%i in (..\include\m_version.h) do if "%%i"=="MIRANDA_VERSION_FILEVERSION" (set OldVer=%%j)
+for /F %%i in ('svnversion m_version.h.in') do set Revision=%%i
+for /F "tokens=3 delims= " %%l in (build.no) do (set /a "ver3=%%l+1")
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do call :WriteVer %%i %%j %%k %Revision% %ver3%
+goto :eof
+
+:WriteVer
+echo %1.%2.%3.%4.%5
+if "%OldVer%" == "%1,%2,%3,%4,%5" (goto :eof)
+
+for /f "delims=/ tokens=1-3" %%a in ("%DATE:~4%") do (
+ for /f "delims=:. tokens=1-4" %%m in ("%TIME: =0%") do (
+ set TempFileName=%TEMP%\basename-%%c-%%b-%%a-%%m%%n%%o%%p
+ )
+)
+
+copy m_version.h.in "%TempFileName%"
+
+echo #define MIRANDA_VERSION_FILEVERSION %1,%2,%3,%4 >> "%TempFileName%"
+echo #define MIRANDA_VERSION_STRING "%1.%2.%3.%4" >> "%TempFileName%"
+echo #define MIRANDA_VERSION_DISPLAY "%1.%2.%3 build #%4" >> "%TempFileName%"
+echo #define MIRANDA_VERSION_DWORD MIRANDA_MAKE_VERSION(%1, %2, %3, %4) >> "%TempFileName%"
+echo #define MIRANDA_VERSION_CORE MIRANDA_MAKE_VERSION(%1, %2, %3, 0) >> "%TempFileName%"
+echo #define MIRANDA_VERSION_CORE_STRING "%1.%2.%5" >> "%TempFileName%"
+echo. >> "%TempFileName%"
+echo #endif // M_VERSION_H__ >> "%TempFileName%"
+
+move /Y "%TempFileName%" ..\include\m_version.h
+goto :eof
diff --git a/tools/build_scripts/chk.bat b/tools/build_scripts/chk.bat
new file mode 100644
index 0000000000..eade87a2f5
--- /dev/null
+++ b/tools/build_scripts/chk.bat
@@ -0,0 +1,32 @@
+rem set tp=%1
+rem if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+
+copy ..\crc32.exe /v /y %cd%
+
+set hashes=%cd%\hash.txt
+set checksum=%cd%\..\checksum.exe
+rem %checksum% Miranda%tp%.exe > %hashes%
+rem %checksum% Zlib.dll >> %hashes%
+
+rem get checksum for folder(first param) and ext (second param)
+call :checksum Plugins dll
+call :checksum Icons dll
+for /f "tokens=1,2 delims= " %%i in (%hashes%) do call :WriteLine %%i %%j
+:WriteLine
+for /F "tokens=1,2 delims=:" %%i in ('crc32.exe %~n1.zip') do echo %1 %2 %%j > %hashes%
+del /f /q crc32.exe
+
+rem put me at the end of script
+rem getting checksum for dlls
+rem "goto :eof" here to avoid run this subroutine at the end of script, so script will run till this point, and subroutine will called only where we need it
+goto :eof
+rem the subroutine itself starts here
+:checksum
+rem change the dir to first parameter, and remember it
+pushd %1
+rem now we are here, let's get the hashes for dll
+for /F "tokens=1,2 delims= " %%a in ('%checksum% *.%2') do echo %1\%%a %%b >> %hashes%
+rem return to the dir, where subroutine was called
+popd
+rem this is just for the case if another sobroutine will be after this one :)
+goto :eof \ No newline at end of file
diff --git a/tools/build_scripts/git_update.bat b/tools/build_scripts/git_update.bat
new file mode 100644
index 0000000000..5d121ead94
--- /dev/null
+++ b/tools/build_scripts/git_update.bat
@@ -0,0 +1,5 @@
+git reset --hard
+
+git pull --rebase=true --progress -v 2>&1 > update.log
+
+echo %date% %time% > timestamp.chk \ No newline at end of file
diff --git a/tools/build_scripts/plugins/ListeningTo/listeningto/foo_mlt.dll b/tools/build_scripts/plugins/ListeningTo/listeningto/foo_mlt.dll
new file mode 100644
index 0000000000..e874f3e5ba
--- /dev/null
+++ b/tools/build_scripts/plugins/ListeningTo/listeningto/foo_mlt.dll
Binary files differ
diff --git a/tools/build_scripts/plugins/ListeningTo/listeningto/gen_mlt.dll b/tools/build_scripts/plugins/ListeningTo/listeningto/gen_mlt.dll
new file mode 100644
index 0000000000..4f06a40fb2
--- /dev/null
+++ b/tools/build_scripts/plugins/ListeningTo/listeningto/gen_mlt.dll
Binary files differ
diff --git a/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat b/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat
new file mode 100644
index 0000000000..db9e8ff67f
--- /dev/null
+++ b/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat
@@ -0,0 +1,16 @@
+rem @echo off
+if not "%VS100COMNTOOLS%" == "" (
+ call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc /I..\..\..\include SendLog.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc /I..\..\..\include SendLogWin.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ call :ProcessFiles 10
+)
+
+goto :eof
+
+:ProcessFiles
+mkdir ..\..\..\bin%1\Release 2>nul
+copy /Y *.exe ..\..\..\bin%1\Release >nul
+
+del *.obj;*.exe >nul
+goto :eof
diff --git a/tools/build_scripts/plugins/NotifyAnything/SendLog/compile64.bat b/tools/build_scripts/plugins/NotifyAnything/SendLog/compile64.bat
new file mode 100644
index 0000000000..a217b7d094
--- /dev/null
+++ b/tools/build_scripts/plugins/NotifyAnything/SendLog/compile64.bat
@@ -0,0 +1,16 @@
+rem @echo off
+if not "%VS100COMNTOOLS%" == "" (
+ call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc /I..\..\..\include SendLog.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc /I..\..\..\include SendLogWin.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ call :ProcessFiles 10
+)
+
+goto :eof
+
+:ProcessFiles
+mkdir ..\..\..\bin%1\Release64 2>nul
+copy /Y *.exe ..\..\..\bin%1\Release64 >nul
+
+del *.obj;*.exe >nul
+goto :eof
diff --git a/tools/build_scripts/pre-build/32/Plugins/HistoryPP.dll b/tools/build_scripts/pre-build/32/Plugins/HistoryPP.dll
new file mode 100644
index 0000000000..9b6ece97d4
--- /dev/null
+++ b/tools/build_scripts/pre-build/32/Plugins/HistoryPP.dll
Binary files differ
diff --git a/tools/build_scripts/pre-build/64/Plugins/HistoryPP.dll b/tools/build_scripts/pre-build/64/Plugins/HistoryPP.dll
new file mode 100644
index 0000000000..a63ba8728f
--- /dev/null
+++ b/tools/build_scripts/pre-build/64/Plugins/HistoryPP.dll
Binary files differ
diff --git a/tools/build_scripts/redist/pcre3.dll b/tools/build_scripts/redist/pcre3.dll
new file mode 100644
index 0000000000..ecfa2c4b71
--- /dev/null
+++ b/tools/build_scripts/redist/pcre3.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x32/DbChecker.bat b/tools/build_scripts/redist/x32/DbChecker.bat
new file mode 100644
index 0000000000..25b0c25bf9
--- /dev/null
+++ b/tools/build_scripts/redist/x32/DbChecker.bat
@@ -0,0 +1 @@
+start /B Miranda32.exe /svc:dbchecker \ No newline at end of file
diff --git a/tools/build_scripts/redist/x32/bass/bass.dll b/tools/build_scripts/redist/x32/bass/bass.dll
new file mode 100644
index 0000000000..87cd83148d
--- /dev/null
+++ b/tools/build_scripts/redist/x32/bass/bass.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x32/bass/bass_aac.dll b/tools/build_scripts/redist/x32/bass/bass_aac.dll
new file mode 100644
index 0000000000..353c48c2ee
--- /dev/null
+++ b/tools/build_scripts/redist/x32/bass/bass_aac.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x32/bass/basswma.dll b/tools/build_scripts/redist/x32/bass/basswma.dll
new file mode 100644
index 0000000000..d4a1914235
--- /dev/null
+++ b/tools/build_scripts/redist/x32/bass/basswma.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x32/msvcp100.dll b/tools/build_scripts/redist/x32/msvcp100.dll
new file mode 100644
index 0000000000..e9eae444e1
--- /dev/null
+++ b/tools/build_scripts/redist/x32/msvcp100.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x32/msvcr100.dll b/tools/build_scripts/redist/x32/msvcr100.dll
new file mode 100644
index 0000000000..fd91c89d8b
--- /dev/null
+++ b/tools/build_scripts/redist/x32/msvcr100.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x64/DbChecker.bat b/tools/build_scripts/redist/x64/DbChecker.bat
new file mode 100644
index 0000000000..0a51917d11
--- /dev/null
+++ b/tools/build_scripts/redist/x64/DbChecker.bat
@@ -0,0 +1 @@
+start /B Miranda64.exe /svc:dbchecker \ No newline at end of file
diff --git a/tools/build_scripts/redist/x64/bass/bass.dll b/tools/build_scripts/redist/x64/bass/bass.dll
new file mode 100644
index 0000000000..01686ab1c7
--- /dev/null
+++ b/tools/build_scripts/redist/x64/bass/bass.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x64/bass/bass_aac.dll b/tools/build_scripts/redist/x64/bass/bass_aac.dll
new file mode 100644
index 0000000000..e928fb293d
--- /dev/null
+++ b/tools/build_scripts/redist/x64/bass/bass_aac.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x64/bass/basswma.dll b/tools/build_scripts/redist/x64/bass/basswma.dll
new file mode 100644
index 0000000000..13c24cd50b
--- /dev/null
+++ b/tools/build_scripts/redist/x64/bass/basswma.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x64/msvcp100.dll b/tools/build_scripts/redist/x64/msvcp100.dll
new file mode 100644
index 0000000000..68fa0d31ad
--- /dev/null
+++ b/tools/build_scripts/redist/x64/msvcp100.dll
Binary files differ
diff --git a/tools/build_scripts/redist/x64/msvcr100.dll b/tools/build_scripts/redist/x64/msvcr100.dll
new file mode 100644
index 0000000000..0318fb0964
--- /dev/null
+++ b/tools/build_scripts/redist/x64/msvcr100.dll
Binary files differ
diff --git a/tools/build_scripts/svn_stable_ver.bat b/tools/build_scripts/svn_stable_ver.bat
new file mode 100644
index 0000000000..209ca57310
--- /dev/null
+++ b/tools/build_scripts/svn_stable_ver.bat
@@ -0,0 +1,11 @@
+del /F /Q version.txt
+
+cd build
+
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+
+cd ..
+
+echo v%MirVer% > version.txt
+
+svn log -l 30 >> version.txt \ No newline at end of file
diff --git a/tools/build_scripts/svn_update.bat b/tools/build_scripts/svn_update.bat
new file mode 100644
index 0000000000..4f94fee62b
--- /dev/null
+++ b/tools/build_scripts/svn_update.bat
@@ -0,0 +1,19 @@
+rem del /F /Q version.txt
+
+svn cleanup
+
+svn update > update.log
+
+cd build
+
+for /F %%g in ('svnversion build.no') do set Revision=%%g
+
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+
+cd ..
+
+rem echo v%MirVer%_%Revision% > version.txt
+
+rem svn log -l 30 >> version.txt
+
+echo %date% %time% > timestamp.chk \ No newline at end of file
diff --git a/tools/build_scripts/update.log b/tools/build_scripts/update.log
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tools/build_scripts/update.log
diff --git a/tools/build_scripts/z1_ReBuild_Full.bat b/tools/build_scripts/z1_ReBuild_Full.bat
new file mode 100644
index 0000000000..5f51710e72
--- /dev/null
+++ b/tools/build_scripts/z1_ReBuild_Full.bat
@@ -0,0 +1,149 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+if /i '%tp%' == '64' set bt=64
+if /i '%tp%' == '32' (
+ set ptr=Win32
+) else if /i '%tp%' == '64' (
+ set ptr=X64
+)
+
+call a_SetVar%tp%.bat
+call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat"
+if exist git_error.txt del /f /q git_error.txt
+REM call git_update.bat
+
+pushd bin10
+REM if /i '%tp%' == '32' (
+REM if exist "Release" rd /Q /S "Release" >nul
+REM )
+REM if exist "Release%tp%" rd /Q /S "Release%tp%" >nul
+REM if exist "Symbols%tp%" rd /Q /S "Symbols%tp%" >nul
+
+if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
+pushd ..\build
+call make_ver.bat
+popd
+
+MsBuild.exe "full.sln" /m /t:Rebuild /p:Configuration=Release;Platform="%ptr%" /fileLogger /fileLoggerParameters:LogFile=Logs\full%tp%.log;errorsonly;warningsonly;summary
+call pascal%tp%.bat
+pushd ..\plugins\NotifyAnything\SendLog
+call compile%tp%.bat
+popd
+
+if /i '%tp%' == '32' (
+ %GetIt% -P Release/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x86/
+) else if /i '%tp%' == '64' (
+ %GetIt% -P Release64/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x64/
+)
+
+if exist Release ren Release Release32
+md Symbols%tp%
+rd /S /Q "Release%tp%\Obj" >nul
+xcopy /S /V /Y "Release%tp%\*.pdb" "Symbols%tp%\"
+del /F /S /Q "Release%tp%\*.pdb" >> nul
+
+md "Release%tp%\Languages"
+
+pushd "..\langpacks\tool"
+LangpackSuite.exe \q \prussian \n..\..\bin10\Release%tp%\Languages\langpack_russian.txt
+LangpackSuite.exe \q \pukrainian \n..\..\bin10\Release%tp%\Languages\langpack_ukrainian.txt
+popd
+
+pushd "..\tools\lpgen"
+cscript /nologo translate.js /sourcelang:"belarusian" /release:"..\..\bin10\Release%tp%\Languages\langpack_belarusian.txt"
+cscript /nologo translate.js /sourcelang:"bulgarian" /release:"..\..\bin10\Release%tp%\langpack_bulgarian_nodupes.txt"
+copy /B "..\..\bin10\Release%tp%\langpack_bulgarian_nodupes.txt"+"..\..\langpacks\bulgarian\=DUPES=.txt" ..\..\bin10\Release%tp%\Languages\langpack_bulgarian.txt
+REM cscript /nologo translate.js /sourcelang:"chinese" /release:"..\..\bin10\Release%tp%\Languages\langpack_chinese.txt"
+cscript /nologo translate.js /sourcelang:"czech" /release:"..\..\bin10\Release%tp%\Languages\langpack_czech.txt"
+REM cscript /nologo translate.js /sourcelang:"dutch" /release:"..\..\bin10\Release%tp%\Languages\langpack_dutch.txt"
+cscript /nologo translate.js /sourcelang:"english_gb" /release:"..\..\bin10\Release%tp%\Languages\langpack_english_gb.txt"
+REM cscript /nologo translate.js /sourcelang:"estonian" /release:"..\..\bin10\Release%tp%\Languages\langpack_estonian.txt"
+cscript /nologo translate.js /sourcelang:"french" /release:"..\..\bin10\Release%tp%\Languages\langpack_french.txt"
+cscript /nologo translate.js /sourcelang:"german" /release:"..\..\bin10\Release%tp%\Languages\langpack_german.txt"
+REM cscript /nologo translate.js /sourcelang:"hebrew" /release:"..\..\bin10\Release%tp%\Languages\langpack_hebrew.txt"
+REM cscript /nologo translate.js /sourcelang:"hungarian" /release:"..\..\bin10\Release%tp%\Languages\langpack_hungarian.txt"
+REM cscript /nologo translate.js /sourcelang:"italian" /release:"..\..\bin10\Release%tp%\Languages\langpack_italian.txt"
+REM cscript /nologo translate.js /sourcelang:"japanese" /release:"..\..\bin10\Release%tp%\Languages\langpack_japanese.txt"
+REM cscript /nologo translate.js /sourcelang:"korean" /release:"..\..\bin10\Release%tp%\Languages\langpack_korean.txt"
+REM cscript /nologo translate.js /sourcelang:"norwegian" /release:"..\..\bin10\Release%tp%\Languages\langpack_norwegian.txt"
+cscript /nologo translate.js /sourcelang:"polish" /release:"..\..\bin10\Release%tp%\Languages\langpack_polish.txt"
+REM cscript /nologo translate.js /sourcelang:"portuguese_br" /release:"..\..\bin10\Release%tp%\Languages\langpack_portuguese_br.txt"
+REM cscript /nologo translate.js /sourcelang:"slovak" /release:"..\..\bin10\Release%tp%\Languages\langpack_slovak.txt"
+cscript /nologo translate.js /sourcelang:"serbian" /release:"..\..\bin10\Release%tp%\Languages\langpack_serbian.txt"
+cscript /nologo translate.js /sourcelang:"spanish" /release:"..\..\bin10\Release%tp%\Languages\langpack_spanish.txt"
+REM cscript /nologo translate.js /sourcelang:"turkish" /release:"..\..\bin10\Release%tp%\Languages\langpack_turkish.txt"
+del /f /q ..\..\bin10\Release%tp%\*_nodupes.txt
+popd
+
+REM md "Release%tp%\Dictionaries"
+md "Release%tp%\Docs"
+md "Release%tp%\Gadgets"
+md "Release%tp%\Sounds"
+md "Release%tp%\Scripts"
+md "Release%tp%\Plugins\Listeningto"
+md "Release%tp%\Plugins\BASS"
+md "Release%tp%\Plugins\Quotes"
+md "Release%tp%\Plugins\Weather"
+
+copy /V /Y ..\plugins\FavContacts\gadget\favcontacts.gadget "Release%tp%\Gadgets\"
+REM copy /V /Y ..\plugins\SpellChecker\Docs\Dictionaries\*.* "Release%tp%\Dictionaries\"
+copy /V /Y ..\plugins\Nudge\docs\Sounds\*.wav "Release%tp%\Sounds\"
+REM copy /V /Y ..\plugins\MirLua\docs\examples\*.lua "Release%tp%\Scripts\"
+copy /V /Y ..\plugins\ListeningTo\listeningto\*.dll "Release%tp%\Plugins\Listeningto\"
+copy /V /Y ..\plugins\Quotes\docs\Utility\*.xml "Release%tp%\Plugins\Quotes\"
+copy /V /Y ..\plugins\Weather\docs\weather\*.ini "Release%tp%\Plugins\Weather\"
+copy /V /Y ..\plugins\Actman\services.ini "Release%tp%\Plugins\"
+copy /V /Y ..\plugins\Boltun\src\Engine\boltun.mindw "Release%tp%\Plugins\"
+copy /V /Y ..\plugins\Watrack\player.ini "Release%tp%\Plugins\"
+copy /V /Y ..\plugins\RemovePersonalSettings\docs\RemovePersonalSettings.ini "Release%tp%\"
+rem copy /V /Y ..\protocols\FacebookRM\docs\*.* "Release%tp%\Docs\"
+rem copy /V /Y ..\protocols\Omegle\docs\*.* "Release%tp%\Docs\"
+
+if /i '%tp%' == '32' (
+ md "Release32\Plugins\Importtxt"
+ copy /V /Y ..\plugins\ImportTXT\importtxt\*.ini "Release32\Plugins\Importtxt\"
+ copy /V /Y ..\redist\pcre3.dll "Release32\Libs"
+)
+
+rem xcopy /S /V /Y "..\delphi\%tp%" "Release%tp%"
+xcopy /S /V /Y "..\pre-symbols\%tp%" "Symbols%tp%"
+xcopy /S /V /Y "..\pre-build\%tp%" "Release%tp%"
+copy /v /y ..\tools\checksum\checksum.exe
+
+cd "Release%tp%"
+dir /B /S *.dll | ..\rebaser /BASE:13000000
+dir /B /S *.mir | ..\rebaser /BASE:12000000
+copy /V /Y ..\..\redist\x%tp%\msvc*.dll
+
+set hashes=%cd%\hashes.txt
+set checksum=%cd%\..\checksum.exe
+set md5=%cd%\..\md5.exe
+%checksum% Miranda%tp%.exe > %hashes%
+%checksum% msvcp100.dll >> %hashes%
+%checksum% msvcr100.dll >> %hashes%
+for /f "tokens=1,2 delims= " %%i in ('%md5% Languages\lang*.txt') do echo %%j %%i >> %hashes%
+
+rem get checksum for folder(first param) and ext (second param)
+call :checksum Plugins dll
+call :checksum Icons dll
+
+copy /V /Y ..\..\docs\mirandaboot.ini
+copy /V /Y ..\..\redist\x%tp%\DbChecker.bat
+copy /V /Y ..\..\redist\x%tp%\bass\*.dll "Plugins\BASS"
+
+popd
+
+rem put me at the end of script
+rem getting checksum for dlls
+rem "goto :eof" here to avoid run this subroutine at the end of script, so script will run till this point, and subroutine will called only where we need it
+goto :eof
+rem the subroutine itself starts here
+:checksum
+rem change the dir to first parameter, and remember it
+pushd %1
+rem now we are here, let's get the hashes for dll
+for /F "tokens=1,2 delims= " %%a in ('%checksum% *.%2') do echo %1\%%a %%b >> %hashes%
+rem return to the dir, where subroutine was called
+popd
+rem this is just for the case if another sobroutine will be after this one :)
+goto :eof \ No newline at end of file
diff --git a/tools/build_scripts/z1_ReBuild_Full_Stable.bat b/tools/build_scripts/z1_ReBuild_Full_Stable.bat
new file mode 100644
index 0000000000..ccb71db87b
--- /dev/null
+++ b/tools/build_scripts/z1_ReBuild_Full_Stable.bat
@@ -0,0 +1,148 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+if /i '%tp%' == '64' set bt=64
+if /i '%tp%' == '32' (
+ set ptr=Win32
+) else if /i '%tp%' == '64' (
+ set ptr=X64
+)
+
+call a_SetVar%tp%.bat
+call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat"
+call svn_stable_ver.bat
+
+pushd bin10
+REM if /i '%tp%' == '32' (
+REM if exist "Release" rd /Q /S "Release" >nul
+REM )
+REM if exist "Release%tp%" rd /Q /S "Release%tp%" >nul
+REM if exist "Symbols%tp%" rd /Q /S "Symbols%tp%" >nul
+
+if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
+pushd ..\build
+call make_ver_stable.bat
+popd
+
+MsBuild.exe "full.sln" /m /t:Rebuild /p:Configuration=Release;Platform="%ptr%" /fileLogger /fileLoggerParameters:LogFile=Logs\full%tp%.log;errorsonly;warningsonly;summary
+call pascal%tp%.bat
+pushd ..\plugins\NotifyAnything\SendLog
+call compile%tp%.bat
+popd
+
+if /i '%tp%' == '32' (
+ %GetIt% -P Release/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x86/
+) else if /i '%tp%' == '64' (
+ %GetIt% -P Release64/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x64/
+)
+
+if exist Release ren Release Release32
+md Symbols%tp%
+rd /S /Q "Release%tp%\Obj" >nul
+xcopy /S /V /Y "Release%tp%\*.pdb" "Symbols%tp%\"
+del /F /S /Q "Release%tp%\*.pdb" >> nul
+
+md "Release%tp%\Languages"
+
+pushd "..\langpacks\tool"
+LangpackSuite.exe \q \prussian \n..\..\bin10\Release%tp%\Languages\langpack_russian.txt
+LangpackSuite.exe \q \pukrainian \n..\..\bin10\Release%tp%\Languages\langpack_ukrainian.txt
+popd
+
+pushd "..\tools\lpgen"
+cscript /nologo translate.js /sourcelang:"belarusian" /release:"..\..\bin10\Release%tp%\Languages\langpack_belarusian.txt"
+cscript /nologo translate.js /sourcelang:"bulgarian" /release:"..\..\bin10\Release%tp%\langpack_bulgarian_nodupes.txt"
+copy /B "..\..\bin10\Release%tp%\langpack_bulgarian_nodupes.txt"+"..\..\langpacks\bulgarian\=DUPES=.txt" ..\..\bin10\Release%tp%\Languages\langpack_bulgarian.txt
+REM cscript /nologo translate.js /sourcelang:"chinese" /release:"..\..\bin10\Release%tp%\Languages\langpack_chinese.txt"
+cscript /nologo translate.js /sourcelang:"czech" /release:"..\..\bin10\Release%tp%\Languages\langpack_czech.txt"
+REM cscript /nologo translate.js /sourcelang:"dutch" /release:"..\..\bin10\Release%tp%\Languages\langpack_dutch.txt"
+cscript /nologo translate.js /sourcelang:"english_gb" /release:"..\..\bin10\Release%tp%\Languages\langpack_english_gb.txt"
+REM cscript /nologo translate.js /sourcelang:"estonian" /release:"..\..\bin10\Release%tp%\Languages\langpack_estonian.txt"
+cscript /nologo translate.js /sourcelang:"french" /release:"..\..\bin10\Release%tp%\Languages\langpack_french.txt"
+cscript /nologo translate.js /sourcelang:"german" /release:"..\..\bin10\Release%tp%\Languages\langpack_german.txt"
+REM cscript /nologo translate.js /sourcelang:"hebrew" /release:"..\..\bin10\Release%tp%\Languages\langpack_hebrew.txt"
+REM cscript /nologo translate.js /sourcelang:"hungarian" /release:"..\..\bin10\Release%tp%\Languages\langpack_hungarian.txt"
+REM cscript /nologo translate.js /sourcelang:"italian" /release:"..\..\bin10\Release%tp%\Languages\langpack_italian.txt"
+REM cscript /nologo translate.js /sourcelang:"japanese" /release:"..\..\bin10\Release%tp%\Languages\langpack_japanese.txt"
+REM cscript /nologo translate.js /sourcelang:"korean" /release:"..\..\bin10\Release%tp%\Languages\langpack_korean.txt"
+REM cscript /nologo translate.js /sourcelang:"norwegian" /release:"..\..\bin10\Release%tp%\Languages\langpack_norwegian.txt"
+cscript /nologo translate.js /sourcelang:"polish" /release:"..\..\bin10\Release%tp%\Languages\langpack_polish.txt"
+REM cscript /nologo translate.js /sourcelang:"portuguese_br" /release:"..\..\bin10\Release%tp%\Languages\langpack_portuguese_br.txt"
+REM cscript /nologo translate.js /sourcelang:"slovak" /release:"..\..\bin10\Release%tp%\Languages\langpack_slovak.txt"
+cscript /nologo translate.js /sourcelang:"serbian" /release:"..\..\bin10\Release%tp%\Languages\langpack_serbian.txt"
+cscript /nologo translate.js /sourcelang:"spanish" /release:"..\..\bin10\Release%tp%\Languages\langpack_spanish.txt"
+REM cscript /nologo translate.js /sourcelang:"turkish" /release:"..\..\bin10\Release%tp%\Languages\langpack_turkish.txt"
+del /f /q ..\..\bin10\Release%tp%\*_nodupes.txt
+popd
+
+REM md "Release%tp%\Dictionaries"
+md "Release%tp%\Docs"
+md "Release%tp%\Gadgets"
+md "Release%tp%\Sounds"
+md "Release%tp%\Scripts"
+md "Release%tp%\Plugins\Listeningto"
+md "Release%tp%\Plugins\BASS"
+md "Release%tp%\Plugins\Quotes"
+md "Release%tp%\Plugins\Weather"
+
+copy /V /Y ..\plugins\FavContacts\gadget\favcontacts.gadget "Release%tp%\Gadgets\"
+REM copy /V /Y ..\plugins\SpellChecker\Docs\Dictionaries\*.* "Release%tp%\Dictionaries\"
+copy /V /Y ..\plugins\Nudge\docs\Sounds\*.wav "Release%tp%\Sounds\"
+REM copy /V /Y ..\plugins\MirLua\docs\examples\*.lua "Release%tp%\Scripts\"
+copy /V /Y ..\plugins\ListeningTo\listeningto\*.dll "Release%tp%\Plugins\Listeningto\"
+copy /V /Y ..\plugins\Quotes\docs\Utility\*.xml "Release%tp%\Plugins\Quotes\"
+copy /V /Y ..\plugins\Weather\docs\weather\*.ini "Release%tp%\Plugins\Weather\"
+copy /V /Y ..\plugins\Actman\services.ini "Release%tp%\Plugins\"
+copy /V /Y ..\plugins\Boltun\src\Engine\boltun.mindw "Release%tp%\Plugins\"
+copy /V /Y ..\plugins\Watrack\player.ini "Release%tp%\Plugins\"
+copy /V /Y ..\plugins\RemovePersonalSettings\docs\RemovePersonalSettings.ini "Release%tp%\"
+rem copy /V /Y ..\protocols\FacebookRM\docs\*.* "Release%tp%\Docs\"
+rem copy /V /Y ..\protocols\Omegle\docs\*.* "Release%tp%\Docs\"
+
+if /i '%tp%' == '32' (
+ md "Release32\Plugins\Importtxt"
+ copy /V /Y ..\plugins\ImportTXT\importtxt\*.ini "Release32\Plugins\Importtxt\"
+ copy /V /Y ..\redist\pcre3.dll "Release32\Libs"
+)
+
+rem xcopy /S /V /Y "..\delphi\%tp%" "Release%tp%"
+xcopy /S /V /Y "..\pre-symbols\%tp%" "Symbols%tp%"
+xcopy /S /V /Y "..\pre-build\%tp%" "Release%tp%"
+copy /v /y ..\tools\checksum\checksum.exe
+
+cd "Release%tp%"
+dir /B /S *.dll | ..\rebaser /BASE:13000000
+dir /B /S *.mir | ..\rebaser /BASE:12000000
+copy /V /Y ..\..\redist\x%tp%\msvc*.dll
+
+set hashes=%cd%\hashes.txt
+set checksum=%cd%\..\checksum.exe
+set md5=%cd%\..\md5.exe
+%checksum% Miranda%tp%.exe > %hashes%
+%checksum% msvcp100.dll >> %hashes%
+%checksum% msvcr100.dll >> %hashes%
+for /f "tokens=1,2 delims= " %%i in ('%md5% Languages\lang*.txt') do echo %%j %%i >> %hashes%
+
+rem get checksum for folder(first param) and ext (second param)
+call :checksum Plugins dll
+call :checksum Icons dll
+
+copy /V /Y ..\..\docs\mirandaboot.ini
+copy /V /Y ..\..\redist\x%tp%\DbChecker.bat
+copy /V /Y ..\..\redist\x%tp%\bass\*.dll "Plugins\BASS"
+
+popd
+
+rem put me at the end of script
+rem getting checksum for dlls
+rem "goto :eof" here to avoid run this subroutine at the end of script, so script will run till this point, and subroutine will called only where we need it
+goto :eof
+rem the subroutine itself starts here
+:checksum
+rem change the dir to first parameter, and remember it
+pushd %1
+rem now we are here, let's get the hashes for dll
+for /F "tokens=1,2 delims= " %%a in ('%checksum% *.%2') do echo %1\%%a %%b >> %hashes%
+rem return to the dir, where subroutine was called
+popd
+rem this is just for the case if another sobroutine will be after this one :)
+goto :eof \ No newline at end of file
diff --git a/tools/build_scripts/z2_PackPluginUpater.bat b/tools/build_scripts/z2_PackPluginUpater.bat
new file mode 100644
index 0000000000..c58a529849
--- /dev/null
+++ b/tools/build_scripts/z2_PackPluginUpater.bat
@@ -0,0 +1,129 @@
+title MirandaNG packer
+rem Packing compiled MirandaNG
+rem use with param 32 or 64
+rem set target platform %tp% from first parameter
+set tp=%1
+set dp=%2
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+
+call a_SetVar%tp%.bat
+
+if exist %Arch% rd /Q /S "%Arch%" >nul
+
+rem making temp dirs
+mkdir %Arch%
+
+if not exist "bin10\Release%tp%" goto EOF
+
+:FILECHECK
+pushd "bin10\Release%tp%"
+if exist %Errors% del /F /Q %Errors%
+if exist %NoErrors% del /F /Q %NoErrors%
+for /f %%a in (..\..\z2_PackPluginUpater_x%tp%.txt) do (if not exist %%a echo %%a >> %Errors%)
+
+:COMPRESS
+REM Core
+%ZipIt% "%Arch%\miranda%tp%.zip" "Miranda%tp%.exe" "Core\*.dll" "Plugins\Dbx_mmap.dll" "Plugins\DbChecker.dll" "Icons\Proto_MetaContacts.dll" "Libs\mir_app.mir" "Libs\mir_core.mir" "Libs\libjson.mir" "Libs\Pcre16.mir" "Libs\Zlib.mir" "Libs\libeay32.mir" "Libs\ssleay32.mir"
+%ZipIt% "%Arch%\msvcp100.zip" msvcp100.dll
+%ZipIt% "%Arch%\msvcr100.zip" msvcr100.dll
+REM end Core
+
+REM Langpacks
+for /f %%a in ('dir Languages\lang*.txt /B /L') do (%ZipIt% "%Arch%\Languages\%%~na.zip" "Languages\%%~nXa")
+REM end Langpacks
+
+REM Protocols
+REM for /f %%a in ('dir Protocols\*.dll /B /L') do (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\%%~nXa")
+REM end Protocols
+
+REM Plugins
+for /f %%a in ('dir plugins\*.dll /B /L') do (
+ rem check for special plugins and pack additional files first.
+ if /I "%%a"=="Actman.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\services.ini")
+ if /I "%%a"=="AIM.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_AIM.dll")
+ if /I "%%a"=="BASS_interface.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\BASS\*.dll")
+ if /I "%%a"=="Boltun.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\boltun.mindw")
+ if /I "%%a"=="Clist_modern.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\AVS.dll" "Icons\Toolbar_icons.dll")
+ if /I "%%a"=="CmdLine.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "MimCmd.exe")
+ if /I "%%a"=="Discord.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Discord.dll")
+ if /I "%%a"=="Dropbox.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Dropbox.dll")
+ if /I "%%a"=="Dummy.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Dummy.dll")
+ if /I "%%a"=="Facebook.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Facebook.dll")
+ if /I "%%a"=="FavContacts.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Gadgets\favcontacts.gadget")
+ if /I "%%a"=="Fingerprint.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Fp_icons.dll")
+ if /I "%%a"=="FTPFile.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Libs\libcurl.mir")
+ if /I "%%a"=="GG.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_GG.dll")
+ if /I "%%a"=="HistoryPP.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\HistoryPP_icons.dll")
+ if /I "%%a"=="ICQ.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_ICQ.dll" "Icons\xStatus_ICQ.dll")
+ if /I "%%a"=="ImportTXT.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Libs\pcre3.dll" Plugins\Importtxt\*.ini)
+ if /I "%%a"=="IRC.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_IRC.dll")
+ if /I "%%a"=="Jabber.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Jabber.dll" "Icons\xStatus_Jabber.dll" "Libs\libaxolotl.mir")
+ if /I "%%a"=="Listeningto.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\Listeningto\*.dll")
+ if /I "%%a"=="MinecraftDynmap.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_MinecraftDynmap.dll")
+ if /I "%%a"=="MirLua.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Scripts\*.dll" "Libs\lua*.dll")
+ if /I "%%a"=="MRA.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_MRA.dll" "Icons\xStatus_MRA.dll")
+ if /I "%%a"=="mRadio.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_mRadio.dll" "Plugins\BASS\*.dll")
+ if /I "%%a"=="MSN.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_MSN.dll")
+ if /I "%%a"=="NewsAggregator.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_NewsAggregator.dll")
+ if /I "%%a"=="NotifyAnything.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "SendLog*.exe")
+ if /I "%%a"=="Nudge.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Sounds\nudge.wav")
+ if /I "%%a"=="Omegle.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Omegle.dll")
+ if /I "%%a"=="PluginUpdater.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "pu_stub.exe")
+ if /I "%%a"=="Quotes.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Quotes.dll" "Plugins\Quotes\*.xml")
+ if /I "%%a"=="RemovePersonalSettings.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "RemovePersonalSettings.ini")
+ if /I "%%a"=="Sametime.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Sametime.dll")
+ if /I "%%a"=="SecureIM.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Plugins\CryptoPP.dll" "Icons\SecureIM_icons.dll")
+ if /I "%%a"=="SkypeWeb.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Skype.dll")
+ if /I "%%a"=="SpellChecker.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Flags_icons.dll" "Libs\hunspell.mir")
+ if /I "%%a"=="Steam.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Steam.dll")
+ if /I "%%a"=="TabSRMM.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\TabSRMM_icons.dll")
+ if /I "%%a"=="Tlen.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Tlen.dll")
+ if /I "%%a"=="Tox.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Tox.dll" "Libs\libtox.dll")
+ if /I "%%a"=="Twitter.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Twitter.dll")
+ if /I "%%a"=="UInfoEx.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\UInfoEx_icons.dll")
+ if /I "%%a"=="VKontakte.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_VKontakte.dll")
+ if /I "%%a"=="Watrack.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Watrack_buttons.dll" "Icons\Watrack_icons.dll" "Plugins\player.ini")
+ if /I "%%a"=="Weather.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Weather.dll" "Plugins\Weather\*.ini")
+ if /I "%%a"=="WhatsApp.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_WhatsApp.dll" "Libs\libaxolotl.mir")
+ if /I "%%a"=="YAMN.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_YAMN.dll")
+ rem now adding plugin itself into archive
+ %ZipIt% "%Arch%\Plugins\%%~na.zip" %%a
+)
+REM end Plugins
+
+REM Icons
+for /f %%a in ('dir .\Icons\*.dll /B /L') do (%ZipIt% "%Arch%\Icons\%%~na.zip" "-ir-!Icons\%%~nXa")
+REM end Icons
+
+REM CRC32
+copy /y /v hashes.txt %Arch%\hash.txt
+copy /y /v ..\CRC32.exe %Arch%
+pushd %Arch%
+
+if /i '%dp%' == 'DEV_N_STABLE' (
+ echo ;DoNotSwitchToStable > hashes.txt
+) else if /i '%dp%' == 'DEV_ONLY' (
+ echo DoNotSwitchToStable > hashes.txt
+) else (
+ echo ;StableAllowed > hashes.txt
+)
+
+for /f "tokens=1,2 delims= " %%i in (hash.txt) do call :WriteLine %%i %%j
+%ZipIt% "hashes.zip" hashes.txt
+del /f /q hash*.txt
+del /f /q CRC32.exe
+popd
+REM end CRC32
+
+if not exist %Errors% echo "No errors!" >> %NoErrors%
+
+cd ..
+
+:EOF
+popd
+goto :eof
+:: END OF WORK
+
+:WriteLine
+for /F "tokens=1,2 delims=:" %%i in ('crc32.exe %~dpn1.zip') do echo %1 %2 %%j >> hashes.txt
+goto :eof
diff --git a/tools/build_scripts/z2_PackPluginUpater_x32.txt b/tools/build_scripts/z2_PackPluginUpater_x32.txt
new file mode 100644
index 0000000000..13a5cc9204
--- /dev/null
+++ b/tools/build_scripts/z2_PackPluginUpater_x32.txt
@@ -0,0 +1,250 @@
+hashes.txt
+miranda32.exe
+pu_stub.exe
+sendlog.exe
+sendlogwin.exe
+
+
+Plugins\actman.dll
+Plugins\addcontactplus.dll
+Plugins\advaimg.dll
+Plugins\aim.dll
+Plugins\alarms.dll
+Plugins\assocmgr.dll
+Plugins\authstate.dll
+Plugins\autorun.dll
+Plugins\autoshutdown.dll
+Plugins\avatarhistory.dll
+Plugins\avs.dll
+Plugins\basichistory.dll
+Plugins\bass_interface.dll
+Plugins\boltun.dll
+Plugins\bosskey.dll
+Plugins\buddyexpectator.dll
+Plugins\buddypounce.dll
+Plugins\changekeyboardlayout.dll
+Plugins\clientchangenotify.dll
+Plugins\clist_blind.dll
+Plugins\clist_modern.dll
+Plugins\clist_nicer.dll
+Plugins\cln_skinedit.dll
+Plugins\cloudfile.dll
+Plugins\cmdline.dll
+Plugins\connectionnotify.dll
+Plugins\console.dll
+Plugins\contacts.dll
+Plugins\crashdumper.dll
+Plugins\cryptopp.dll
+Plugins\cslist.dll
+Plugins\cyrtranslit.dll
+Plugins\dbchecker.dll
+Plugins\dbeditorpp.dll
+Plugins\dbx_mmap.dll
+Plugins\db_autobackups.dll
+Plugins\discord.dll
+Plugins\dropbox.dll
+Plugins\dummy.dll
+Plugins\emlanproto.dll
+Plugins\exchange.dll
+Plugins\facebook.dll
+Plugins\favcontacts.dll
+Plugins\fileasmessage.dll
+Plugins\fingerprint.dll
+Plugins\flags.dll
+Plugins\fltcontacts.dll
+Plugins\folders.dll
+Plugins\ftpfile.dll
+Plugins\gg.dll
+Plugins\gmailnotifier.dll
+Plugins\gtalkext.dll
+Plugins\historypp.dll
+Plugins\historystats.dll
+Plugins\historysweeperlight.dll
+Plugins\httpserver.dll
+Plugins\hwhotkeys.dll
+Plugins\icq.dll
+Plugins\icqcorp.dll
+Plugins\iehistory.dll
+Plugins\ieview.dll
+Plugins\ignorestate.dll
+Plugins\import.dll
+Plugins\importtxt.dll
+Plugins\irc.dll
+Plugins\jabber.dll
+Plugins\keyboardnotify.dll
+Plugins\linklist.dll
+Plugins\listeningto.dll
+Plugins\lotusnotify.dll
+Plugins\menuex.dll
+Plugins\messagestate.dll
+Plugins\minecraftdynmap.dll
+Plugins\mirandag15.dll
+Plugins\mirfox.dll
+Plugins\mirlua.dll
+Plugins\mirotr.dll
+Plugins\mobilestate.dll
+Plugins\modernopt.dll
+Plugins\mra.dll
+Plugins\mradio.dll
+Plugins\msg_export.dll
+Plugins\msgpopup.dll
+Plugins\msn.dll
+Plugins\mtextcontrol.dll
+Plugins\mydetails.dll
+Plugins\new_gpg.dll
+Plugins\newawaysys.dll
+Plugins\neweventnotify.dll
+Plugins\newsaggregator.dll
+Plugins\newxstatusnotify.dll
+Plugins\nimcontact.dll
+Plugins\nohistory.dll
+Plugins\notesreminders.dll
+Plugins\notifyanything.dll
+Plugins\nudge.dll
+Plugins\omegle.dll
+Plugins\openfolder.dll
+Plugins\openssl.dll
+Plugins\packupdater.dll
+Plugins\pasteit.dll
+Plugins\ping.dll
+Plugins\pluginupdater.dll
+Plugins\pmanagerex.dll
+Plugins\popup.dll
+Plugins\quickcontacts.dll
+Plugins\quickmessages.dll
+Plugins\quickreplies.dll
+Plugins\quicksearch.dll
+Plugins\quotes.dll
+Plugins\rate.dll
+Plugins\recentcontacts.dll
+Plugins\removepersonalsettings.dll
+Plugins\restart.dll
+Plugins\sametime.dll
+Plugins\scriver.dll
+Plugins\secureim.dll
+Plugins\seenplugin.dll
+Plugins\sendss.dll
+Plugins\sessions.dll
+Plugins\shlext.dll
+Plugins\simplear.dll
+Plugins\simplestatusmsg.dll
+Plugins\skypestatuschange.dll
+Plugins\skypeweb.dll
+Plugins\smileyadd.dll
+Plugins\sms.dll
+Plugins\spamotron.dll
+Plugins\spellchecker.dll
+Plugins\splashscreen.dll
+Plugins\startposition.dll
+Plugins\startupsilence.dll
+Plugins\statuschange.dll
+Plugins\statusmanager.dll
+Plugins\steam.dll
+Plugins\stopspam.dll
+Plugins\stopspammod.dll
+Plugins\tabsrmm.dll
+Plugins\tipper.dll
+Plugins\tlen.dll
+Plugins\toaster.dll
+Plugins\tooltipnotify.dll
+Plugins\toptoolbar.dll
+Plugins\tox.dll
+Plugins\trafficcounter.dll
+Plugins\translitswitcher.dll
+Plugins\twitter.dll
+Plugins\uinfoex.dll
+Plugins\userguide.dll
+Plugins\variables.dll
+Plugins\vkontakte.dll
+Plugins\watrack.dll
+Plugins\watrack_mpd.dll
+Plugins\wbosd.dll
+Plugins\weather.dll
+Plugins\webview.dll
+Plugins\whatsapp.dll
+Plugins\whenwasit.dll
+Plugins\whousesmyfiles.dll
+Plugins\winterspeak.dll
+Plugins\xsoundnotify.dll
+Plugins\yamn.dll
+Plugins\yapp.dll
+Plugins\yarelay.dll
+Plugins\zeronotify.dll
+Plugins\zeroswitch.dll
+
+
+Core\stdauth.dll
+Core\stdautoaway.dll
+Core\stdaway.dll
+Core\stdclist.dll
+Core\stdcrypt.dll
+Core\stdemail.dll
+Core\stdfile.dll
+Core\stdhelp.dll
+Core\stdidle.dll
+Core\stdmsg.dll
+Core\stdssl.dll
+Core\stduihist.dll
+Core\stduserinfo.dll
+Core\stduseronline.dll
+
+
+Libs\hunspell.mir
+Libs\libaxolotl.mir
+Libs\libeay32.mir
+Libs\libcurl.mir
+Libs\libjson.mir
+Libs\mir_app.mir
+Libs\mir_core.mir
+Libs\pcre16.mir
+Libs\ssleay32.mir
+Libs\zlib.mir
+
+
+Scripts\m_msg_buttonsbar.dll
+Scripts\m_popup.dll
+Scripts\m_schedule.dll
+Scripts\m_toptoolbar.dll
+Scripts\m_variables.dll
+Scripts\winapi.dll
+
+
+Icons\flags_icons.dll
+Icons\fp_icons.dll
+Icons\historypp_icons.dll
+Icons\proto_aim.dll
+Icons\proto_discord.dll
+Icons\proto_dropbox.dll
+Icons\proto_dummy.dll
+Icons\proto_facebook.dll
+Icons\proto_gg.dll
+Icons\proto_icq.dll
+Icons\proto_irc.dll
+Icons\proto_jabber.dll
+Icons\proto_metacontacts.dll
+Icons\proto_minecraftdynmap.dll
+Icons\proto_mra.dll
+Icons\proto_mradio.dll
+Icons\proto_msn.dll
+Icons\proto_newsaggregator.dll
+Icons\proto_omegle.dll
+Icons\proto_quotes.dll
+Icons\proto_sametime.dll
+Icons\proto_skype.dll
+Icons\proto_steam.dll
+Icons\proto_tlen.dll
+Icons\proto_tox.dll
+Icons\proto_twitter.dll
+Icons\proto_vkontakte.dll
+Icons\proto_weather.dll
+Icons\proto_whatsapp.dll
+Icons\proto_yamn.dll
+Icons\secureim_icons.dll
+Icons\tabsrmm_icons.dll
+Icons\toolbar_icons.dll
+Icons\uinfoex_icons.dll
+Icons\watrack_buttons.dll
+Icons\watrack_icons.dll
+Icons\xstatus_icq.dll
+Icons\xstatus_jabber.dll
+Icons\xstatus_mra.dll \ No newline at end of file
diff --git a/tools/build_scripts/z2_PackPluginUpater_x64.txt b/tools/build_scripts/z2_PackPluginUpater_x64.txt
new file mode 100644
index 0000000000..1b3543cbfd
--- /dev/null
+++ b/tools/build_scripts/z2_PackPluginUpater_x64.txt
@@ -0,0 +1,248 @@
+hashes.txt
+miranda64.exe
+pu_stub.exe
+sendlog.exe
+sendlogwin.exe
+
+
+Plugins\actman.dll
+Plugins\addcontactplus.dll
+Plugins\advaimg.dll
+Plugins\aim.dll
+Plugins\alarms.dll
+Plugins\assocmgr.dll
+Plugins\authstate.dll
+Plugins\autorun.dll
+Plugins\autoshutdown.dll
+Plugins\avatarhistory.dll
+Plugins\avs.dll
+Plugins\basichistory.dll
+Plugins\bass_interface.dll
+Plugins\boltun.dll
+Plugins\bosskey.dll
+Plugins\buddyexpectator.dll
+Plugins\buddypounce.dll
+Plugins\changekeyboardlayout.dll
+Plugins\clientchangenotify.dll
+Plugins\clist_blind.dll
+Plugins\clist_modern.dll
+Plugins\clist_nicer.dll
+Plugins\cln_skinedit.dll
+Plugins\cloudfile.dll
+Plugins\cmdline.dll
+Plugins\connectionnotify.dll
+Plugins\console.dll
+Plugins\contacts.dll
+Plugins\crashdumper.dll
+Plugins\cryptopp.dll
+Plugins\cslist.dll
+Plugins\cyrtranslit.dll
+Plugins\dbchecker.dll
+Plugins\dbeditorpp.dll
+Plugins\dbx_mmap.dll
+Plugins\db_autobackups.dll
+Plugins\discord.dll
+Plugins\dropbox.dll
+Plugins\dummy.dll
+Plugins\emlanproto.dll
+Plugins\exchange.dll
+Plugins\facebook.dll
+Plugins\favcontacts.dll
+Plugins\fileasmessage.dll
+Plugins\fingerprint.dll
+Plugins\flags.dll
+Plugins\fltcontacts.dll
+Plugins\folders.dll
+Plugins\ftpfile.dll
+Plugins\gg.dll
+Plugins\gmailnotifier.dll
+Plugins\gtalkext.dll
+Plugins\historypp.dll
+Plugins\historystats.dll
+Plugins\historysweeperlight.dll
+Plugins\httpserver.dll
+Plugins\hwhotkeys.dll
+Plugins\icq.dll
+Plugins\icqcorp.dll
+Plugins\iehistory.dll
+Plugins\ieview.dll
+Plugins\ignorestate.dll
+Plugins\import.dll
+Plugins\irc.dll
+Plugins\jabber.dll
+Plugins\keyboardnotify.dll
+Plugins\linklist.dll
+Plugins\listeningto.dll
+Plugins\menuex.dll
+Plugins\messagestate.dll
+Plugins\minecraftdynmap.dll
+Plugins\mirandag15.dll
+Plugins\mirfox.dll
+Plugins\mirlua.dll
+Plugins\mirotr.dll
+Plugins\mobilestate.dll
+Plugins\modernopt.dll
+Plugins\mra.dll
+Plugins\mradio.dll
+Plugins\msg_export.dll
+Plugins\msgpopup.dll
+Plugins\msn.dll
+Plugins\mtextcontrol.dll
+Plugins\mydetails.dll
+Plugins\new_gpg.dll
+Plugins\newawaysys.dll
+Plugins\neweventnotify.dll
+Plugins\newsaggregator.dll
+Plugins\newxstatusnotify.dll
+Plugins\nimcontact.dll
+Plugins\nohistory.dll
+Plugins\notesreminders.dll
+Plugins\notifyanything.dll
+Plugins\nudge.dll
+Plugins\omegle.dll
+Plugins\openfolder.dll
+Plugins\openssl.dll
+Plugins\packupdater.dll
+Plugins\pasteit.dll
+Plugins\ping.dll
+Plugins\pluginupdater.dll
+Plugins\pmanagerex.dll
+Plugins\popup.dll
+Plugins\quickcontacts.dll
+Plugins\quickmessages.dll
+Plugins\quickreplies.dll
+Plugins\quicksearch.dll
+Plugins\quotes.dll
+Plugins\rate.dll
+Plugins\recentcontacts.dll
+Plugins\removepersonalsettings.dll
+Plugins\restart.dll
+Plugins\sametime.dll
+Plugins\scriver.dll
+Plugins\secureim.dll
+Plugins\seenplugin.dll
+Plugins\sendss.dll
+Plugins\sessions.dll
+Plugins\shlext.dll
+Plugins\simplear.dll
+Plugins\simplestatusmsg.dll
+Plugins\skypestatuschange.dll
+Plugins\skypeweb.dll
+Plugins\smileyadd.dll
+Plugins\sms.dll
+Plugins\spamotron.dll
+Plugins\spellchecker.dll
+Plugins\splashscreen.dll
+Plugins\startposition.dll
+Plugins\startupsilence.dll
+Plugins\statuschange.dll
+Plugins\statusmanager.dll
+Plugins\steam.dll
+Plugins\stopspam.dll
+Plugins\stopspammod.dll
+Plugins\tabsrmm.dll
+Plugins\tipper.dll
+Plugins\tlen.dll
+Plugins\toaster.dll
+Plugins\tooltipnotify.dll
+Plugins\toptoolbar.dll
+Plugins\tox.dll
+Plugins\trafficcounter.dll
+Plugins\translitswitcher.dll
+Plugins\twitter.dll
+Plugins\uinfoex.dll
+Plugins\userguide.dll
+Plugins\variables.dll
+Plugins\vkontakte.dll
+Plugins\watrack.dll
+Plugins\watrack_mpd.dll
+Plugins\wbosd.dll
+Plugins\weather.dll
+Plugins\webview.dll
+Plugins\whatsapp.dll
+Plugins\whenwasit.dll
+Plugins\whousesmyfiles.dll
+Plugins\winterspeak.dll
+Plugins\xsoundnotify.dll
+Plugins\yamn.dll
+Plugins\yapp.dll
+Plugins\yarelay.dll
+Plugins\zeronotify.dll
+Plugins\zeroswitch.dll
+
+
+Core\stdauth.dll
+Core\stdautoaway.dll
+Core\stdaway.dll
+Core\stdclist.dll
+Core\stdcrypt.dll
+Core\stdemail.dll
+Core\stdfile.dll
+Core\stdhelp.dll
+Core\stdidle.dll
+Core\stdmsg.dll
+Core\stdssl.dll
+Core\stduihist.dll
+Core\stduserinfo.dll
+Core\stduseronline.dll
+
+
+Libs\hunspell.mir
+Libs\libaxolotl.mir
+Libs\libeay32.mir
+Libs\libcurl.mir
+Libs\libjson.mir
+Libs\mir_app.mir
+Libs\mir_core.mir
+Libs\pcre16.mir
+Libs\ssleay32.mir
+Libs\zlib.mir
+
+
+Scripts\m_msg_buttonsbar.dll
+Scripts\m_popup.dll
+Scripts\m_schedule.dll
+Scripts\m_toptoolbar.dll
+Scripts\m_variables.dll
+Scripts\winapi.dll
+
+
+Icons\flags_icons.dll
+Icons\fp_icons.dll
+Icons\historypp_icons.dll
+Icons\proto_aim.dll
+Icons\proto_discord.dll
+Icons\proto_dropbox.dll
+Icons\proto_dummy.dll
+Icons\proto_facebook.dll
+Icons\proto_gg.dll
+Icons\proto_icq.dll
+Icons\proto_irc.dll
+Icons\proto_jabber.dll
+Icons\proto_metacontacts.dll
+Icons\proto_minecraftdynmap.dll
+Icons\proto_mra.dll
+Icons\proto_mradio.dll
+Icons\proto_msn.dll
+Icons\proto_newsaggregator.dll
+Icons\proto_omegle.dll
+Icons\proto_quotes.dll
+Icons\proto_sametime.dll
+Icons\proto_skype.dll
+Icons\proto_steam.dll
+Icons\proto_tlen.dll
+Icons\proto_tox.dll
+Icons\proto_twitter.dll
+Icons\proto_vkontakte.dll
+Icons\proto_weather.dll
+Icons\proto_whatsapp.dll
+Icons\proto_yamn.dll
+Icons\secureim_icons.dll
+Icons\tabsrmm_icons.dll
+Icons\toolbar_icons.dll
+Icons\uinfoex_icons.dll
+Icons\watrack_buttons.dll
+Icons\watrack_icons.dll
+Icons\xstatus_icq.dll
+Icons\xstatus_jabber.dll
+Icons\xstatus_mra.dll \ No newline at end of file
diff --git a/tools/build_scripts/z3_PackArchives.bat b/tools/build_scripts/z3_PackArchives.bat
new file mode 100644
index 0000000000..8ff4df1109
--- /dev/null
+++ b/tools/build_scripts/z3_PackArchives.bat
@@ -0,0 +1,42 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+if /i '%tp%' == '64' set bit=_x64
+
+call a_SetVar%tp%.bat
+
+if not exist %ArchDistr% mkdir %ArchDistr%
+
+cd bin10
+rem for /F "tokens=2" %%x in (..\build\build.no) do set ver2=%%x
+rem for /F "tokens=3" %%y in (..\build\build.no) do set ver3=%%y
+
+cd Symbols%tp%
+%CompressIt% a -mx=9 "miranda-ng-debug-symbols_pdb%bit%.7z" *.pdb .\Plugins\*.pdb .\Core\*.pdb .\Libs\*.pdb
+move /Y miranda-ng-debug*.7z %ArchDistr%
+cd ../..
+
+pushd "bin10\Release%tp%"
+
+rem if exist %AutoCompile%\miranda-ng-v0.9*-alpha-latest%bit%.7z del /F /Q %AutoCompile%\miranda-ng-v0.9*-alpha-latest%bit%.7z
+%CompressIt% a -r -mx=9 "miranda-ng-alpha-latest%bit%.7z" Miranda%tp%.exe -i@..\..\z3_PackArchives.txt
+move /Y miranda-ng*.7z %ArchDistr%
+
+del /f /q miranda%tp%.exe
+del /f /q hashes.txt
+for /f %%a in (..\..\z3_PackArchives.txt) do del /s /q %%a
+rd /s /q Core
+REM rd /s /q Libs
+rd /s /q Languages
+
+%CompressIt% a -r -mx=9 "miranda-ng-plugins-latest%bit%.7z"
+move /Y miranda-ng-plugins*.7z %ArchDistr%
+
+cd ..
+
+if /i '%tp%' == '32' (
+if exist "Release" rd /Q /S "Release" >nul
+)
+if exist "Release%tp%" rd /Q /S "Release%tp%" >nul
+if exist "Symbols%tp%" rd /Q /S "Symbols%tp%" >nul
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/z3_PackArchives.txt b/tools/build_scripts/z3_PackArchives.txt
new file mode 100644
index 0000000000..bfa23df570
--- /dev/null
+++ b/tools/build_scripts/z3_PackArchives.txt
@@ -0,0 +1,57 @@
+dbchecker.bat
+mirandaboot.ini
+msvcp100.dll
+msvcr100.dll
+pu_stub.exe
+Core\StdAuth.dll
+Core\StdAutoAway.dll
+Core\StdAway.dll
+Core\StdClist.dll
+Core\StdCrypt.dll
+Core\StdEmail.dll
+Core\StdFile.dll
+Core\StdHelp.dll
+Core\StdIdle.dll
+Core\StdMsg.dll
+Core\StdSSL.dll
+Core\StdUIHist.dll
+Core\StdUrl.dll
+Core\StdUserInfo.dll
+Core\StdUserOnline.dll
+Libs\libaxolotl.mir
+Libs\libeay32.mir
+Libs\libjson.mir
+Libs\mir_app.mir
+Libs\mir_core.mir
+Libs\Pcre16.mir
+Libs\ssleay32.mir
+Libs\Zlib.mir
+Icons\Proto_AIM.dll
+Icons\Proto_Facebook.dll
+Icons\Proto_GG.dll
+Icons\Proto_ICQ.dll
+Icons\Proto_IRC.dll
+Icons\Proto_Jabber.dll
+Icons\Proto_MetaContacts.dll
+Icons\Proto_MSN.dll
+Icons\TabSRMM_icons.dll
+Icons\Toolbar_icons.dll
+Icons\xStatus_ICQ.dll
+Icons\xStatus_Jabber.dll
+Plugins\AdvaImg.dll
+Plugins\AIM.dll
+Plugins\AVS.dll
+Plugins\Clist_modern.dll
+Plugins\CrashDumper.dll
+Plugins\DbChecker.dll
+Plugins\Dbx_mmap.dll
+Plugins\Facebook.dll
+Plugins\GG.dll
+Plugins\ICQ.dll
+Plugins\Import.dll
+Plugins\IRC.dll
+Plugins\Jabber.dll
+Plugins\MSN.dll
+Plugins\PluginUpdater.dll
+Plugins\TabSRMM.dll
+Plugins\TopToolBar.dll \ No newline at end of file
diff --git a/tools/build_scripts/z3_PackArchivesStable.bat b/tools/build_scripts/z3_PackArchivesStable.bat
new file mode 100644
index 0000000000..c0ee3f9249
--- /dev/null
+++ b/tools/build_scripts/z3_PackArchivesStable.bat
@@ -0,0 +1,73 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+for /F "tokens=1,2,3 delims= " %%i in (build\build.no) do set MirVer=%%i.%%j.%%k
+if /i '%tp%' == '64' set bit=_x64
+if /i '%tp%' == '32' set VcPt=x86
+if /i '%tp%' == '64' set VcPt=x64
+if /i '%tp%' == '32' set VcURL=http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe
+if /i '%tp%' == '64' set VcURL=http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe
+if /i '%tp%' == '32' set CompileString=..\Tools\InnoSetup5\ISCC.exe /Dptx86 /DAppVer=%MirVer% "MirandaNG.iss"
+if /i '%tp%' == '64' set CompileString=..\Tools\InnoSetup5\ISCC.exe /DAppVer=%MirVer% "MirandaNG.iss"
+
+call a_SetVar%tp%.bat
+if not exist %ArchDistr% mkdir %ArchDistr%
+
+pushd "bin10\Symbols%tp%"
+%CompressIt% a -mx=9 "miranda-ng-debug-symbols_pdb%bit%.7z" *.pdb .\Plugins\*.pdb .\Core\*.pdb .\Libs\*.pdb
+move /Y miranda-ng-debug*.7z %ArchDistr%
+popd
+
+pushd "bin10\Release%tp%"
+
+if exist %ArchDistr%\miranda-ng-v0.9*%bit%.7z del /F /Q %ArchDistr%\miranda-ng-v0.9*%bit%.7z
+if exist %ArchDistr%\miranda-ng-v0.9*%bit%.exe del /F /Q %ArchDistr%\miranda-ng-v0.9*%bit%.exe
+%CompressIt% a -r -mx=9 "miranda-ng-v%MirVer%%bit%.7z" Miranda%tp%.exe -i@..\..\z3_PackArchives.txt
+move /Y miranda-ng*.7z %ArchDistr%
+
+del /f /q miranda%tp%.exe
+del /f /q hashes.txt
+for /f %%a in (..\..\z3_PackArchives.txt) do del /s /q %%a
+rd /s /q Core
+rd /s /q Libs
+
+rem Create directories and copy script and download needed files
+pushd %StableInstDir%
+mkdir tmp
+mkdir InnoNG_%tp%
+mkdir InnoNG_%tp%\Files\Languages
+copy /V /Y MirandaNG.iss InnoNG_%tp%
+xcopy Common\* InnoNG_%tp% /I /S /V /Y
+Tools\wget.exe -O tmp\InnoSetup5.7z http://miranda-ng.org/distr/installer/InnoSetup5.7z
+Tools\wget.exe -O tmp\MNG_Sounds.7z http://miranda-ng.org/distr/addons/Sounds/MNG_Sounds.7z
+Tools\wget.exe -O InnoNG_%tp%\Installer\vcredist_%VcPt%.exe %VcURL%
+%CompressIt% x tmp\InnoSetup5.7z -y -oTools
+%CompressIt% x %ArchDistr%\miranda-ng-v%MirVer%%bit%.7z -y -oInnoNG_%tp%\Files
+%CompressIt% x tmp\MNG_Sounds.7z -y -oInnoNG_%tp%\Files
+popd
+rem end
+
+copy /V /Y Languages\langpack_czech.txt %StableInstDir%\InnoNG_%tp%\Files\Languages
+copy /V /Y Languages\langpack_german.txt %StableInstDir%\InnoNG_%tp%\Files\Languages
+copy /V /Y Languages\langpack_polish.txt %StableInstDir%\InnoNG_%tp%\Files\Languages
+copy /V /Y Languages\langpack_russian.txt %StableInstDir%\InnoNG_%tp%\Files\Languages
+copy /V /Y Plugins\Clist_blind.dll %StableInstDir%\InnoNG_%tp%\Files\Plugins
+copy /V /Y Plugins\Clist_nicer.dll %StableInstDir%\InnoNG_%tp%\Files\Plugins
+copy /V /Y Plugins\Cln_skinedit.dll %StableInstDir%\InnoNG_%tp%\Files\Plugins
+copy /V /Y Plugins\Scriver.dll %StableInstDir%\InnoNG_%tp%\Files\Plugins
+rd /s /q Languages
+pushd %StableInstDir%\InnoNG_%tp%
+%CompileString%
+cd ..
+call cleanup.bat
+move /Y miranda-ng-v0.9*%bit%.exe "%ArchDistr%\"
+popd
+
+REM %CompressIt% a -r -mx=9 "miranda-ng-plugins-stable%bit%.7z"
+REM move /Y miranda-ng-plugins*.7z %ArchDistr%
+
+cd ..
+
+if exist "Release%tp%" rd /Q /S "Release%tp%" >nul
+if exist "Symbols%tp%" rd /Q /S "Symbols%tp%" >nul
+
+popd \ No newline at end of file
diff --git a/tools/build_scripts/z4_UploadPluginUpdater.bat b/tools/build_scripts/z4_UploadPluginUpdater.bat
new file mode 100644
index 0000000000..fa46e5a70a
--- /dev/null
+++ b/tools/build_scripts/z4_UploadPluginUpdater.bat
@@ -0,0 +1,21 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+
+call a_SetVar%tp%.bat
+
+if exist zzReport.txt del /f /q zzReport.txt
+
+:upload
+%WinSCP% /script=z4_UploadPluginUpdater.txt
+
+if errorlevel 1 goto error
+
+echo Upload Plugin Updater Success! >> zzReport.txt
+if exist %Arch% rd /Q /S "%Arch%" >nul
+goto end
+
+:error
+echo Upload Plugin Updater x%tp% Error! >> zzReport.txt
+
+:end
+
diff --git a/tools/build_scripts/z4_UploadPluginUpdater.txt b/tools/build_scripts/z4_UploadPluginUpdater.txt
new file mode 100644
index 0000000000..30351ee9c8
--- /dev/null
+++ b/tools/build_scripts/z4_UploadPluginUpdater.txt
@@ -0,0 +1,15 @@
+option batch abort
+
+option confirm off
+
+open watcher
+
+put %Arch%\Icons\*.zip x%tp%/Icons/
+put %Arch%\Languages\lang*.zip x%tp%/Languages/
+put %Arch%\Plugins\*.zip x%tp%/Plugins/
+put %Arch%\miranda%tp%.zip x%tp%/
+put %Arch%\msvcp100.zip x%tp%/
+put %Arch%\msvcr100.zip x%tp%/
+put %Arch%\hashes.zip x%tp%/
+
+exit \ No newline at end of file
diff --git a/tools/build_scripts/z4_UploadPluginUpdaterStable.bat b/tools/build_scripts/z4_UploadPluginUpdaterStable.bat
new file mode 100644
index 0000000000..d155ff50a2
--- /dev/null
+++ b/tools/build_scripts/z4_UploadPluginUpdaterStable.bat
@@ -0,0 +1,21 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+
+call a_SetVar%tp%.bat
+
+if exist zzReport.txt del /f /q zzReport.txt
+
+:upload
+%WinSCP% /script=z4_UploadPluginUpdaterStable.txt
+
+if errorlevel 1 goto error
+
+echo Upload Plugin Updater Success! >> zzReport.txt
+if exist %Arch% rd /Q /S "%Arch%" >nul
+goto end
+
+:error
+echo Upload Plugin Updater x%tp% Error! >> zzReport.txt
+
+:end
+
diff --git a/tools/build_scripts/z4_UploadPluginUpdaterStable.txt b/tools/build_scripts/z4_UploadPluginUpdaterStable.txt
new file mode 100644
index 0000000000..cdc0cf243c
--- /dev/null
+++ b/tools/build_scripts/z4_UploadPluginUpdaterStable.txt
@@ -0,0 +1,15 @@
+option batch abort
+
+option confirm off
+
+open watcher
+
+put %Arch%\Icons\*.zip distr/stable/x%tp%/Icons/
+put %Arch%\Languages\lang*.zip distr/stable/x%tp%/Languages/
+put %Arch%\Plugins\*.zip distr/stable/x%tp%/Plugins/
+put %Arch%\miranda%tp%.zip distr/stable/x%tp%/
+put %Arch%\msvcp100.zip distr/stable/x%tp%/
+put %Arch%\msvcr100.zip distr/stable/x%tp%/
+put %Arch%\hashes.zip distr/stable/x%tp%/
+
+exit \ No newline at end of file
diff --git a/tools/build_scripts/z5_UploadArchives.bat b/tools/build_scripts/z5_UploadArchives.bat
new file mode 100644
index 0000000000..f3503409cb
--- /dev/null
+++ b/tools/build_scripts/z5_UploadArchives.bat
@@ -0,0 +1,17 @@
+set p1=%1
+if "%p1%" == "" (echo "please spesify 'PASS' parameter to make this batch file work."&&pause&&goto :EOF)
+
+call a_SetVar32.bat
+
+:upload
+%WinSCP% /script=z5_UploadArchives.txt
+
+if errorlevel 1 goto error
+
+echo Upload Archives Success! >> zzReport.txt
+goto end
+
+:error
+echo Upload Archives Error! >> zzReport.txt
+
+:end \ No newline at end of file
diff --git a/tools/build_scripts/z5_UploadArchives.txt b/tools/build_scripts/z5_UploadArchives.txt
new file mode 100644
index 0000000000..5edbd58917
--- /dev/null
+++ b/tools/build_scripts/z5_UploadArchives.txt
@@ -0,0 +1,16 @@
+option batch abort
+
+option confirm off
+
+open watcher
+
+put "%ArchDistr%\miranda-ng-alpha-latest.7z" distr/
+put "%ArchDistr%\miranda-ng-alpha-latest_x64.7z" distr/
+put "%ArchDistr%\miranda-ng-plugins-latest.7z" distr/installer/pl/
+put "%ArchDistr%\miranda-ng-plugins-latest_x64.7z" distr/installer/pl/
+put "%ArchDistr%\miranda-ng-debug-symbols_pdb.7z" distr/
+put "%ArchDistr%\miranda-ng-debug-symbols_pdb_x64.7z" distr/
+
+put "%SourceDir%\timestamp.chk" distr/
+
+exit \ No newline at end of file
diff --git a/tools/build_scripts/z5_UploadArchivesStable.bat b/tools/build_scripts/z5_UploadArchivesStable.bat
new file mode 100644
index 0000000000..fb52c92134
--- /dev/null
+++ b/tools/build_scripts/z5_UploadArchivesStable.bat
@@ -0,0 +1,18 @@
+set p1=%1
+if "%p1%" == "" (echo "please spesify 'PASS' parameter to make this batch file work."&&pause&&goto :EOF)
+
+call a_SetVar32.bat
+
+:upload
+%WinSCP% /script=z5_UploadArchivesStable.txt
+
+if errorlevel 1 goto error
+
+echo Upload Archives and Installers Success! >> zzReport.txt
+if exist %ArchDistr% rd /Q /S "%ArchDistr%%" >nul
+goto end
+
+:error
+echo Upload Archives and Installers Error! >> zzReport.txt
+
+:end \ No newline at end of file
diff --git a/tools/build_scripts/z5_UploadArchivesStable.txt b/tools/build_scripts/z5_UploadArchivesStable.txt
new file mode 100644
index 0000000000..e2804fe6be
--- /dev/null
+++ b/tools/build_scripts/z5_UploadArchivesStable.txt
@@ -0,0 +1,17 @@
+option batch abort
+
+option confirm off
+
+open watcher
+
+rm distr/stable/version.txt
+rm distr/stable/miranda-ng-v*.7z
+rm distr/stable/miranda-ng-v*.exe
+
+put "%SourceDir%\version.txt" distr/stable/
+
+put "%ArchDistr%\miranda-ng-v*.7z" distr/stable/
+put "%ArchDistr%\miranda-ng-v*.exe" distr/stable/
+put "%ArchDistr%\miranda-ng-debug-symbols_pdb*.7z" distr/stable/
+
+exit \ No newline at end of file
diff --git a/tools/build_scripts/z6_CompileInstallers.bat b/tools/build_scripts/z6_CompileInstallers.bat
new file mode 100644
index 0000000000..c474413af0
--- /dev/null
+++ b/tools/build_scripts/z6_CompileInstallers.bat
@@ -0,0 +1,16 @@
+call a_SetVar32.bat
+if not exist %ArchDistr% mkdir %ArchDistr%
+
+pushd tools\installer_ng
+call createstructure.bat
+mkdir tmp
+copy /V /Y ..\..\build\build.no tmp\build.no
+pushd tmp
+for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+popd
+"%ProgramFiles(x86)%\Inno Setup 5\ISCC.exe" /Dptx86 /DAppVer=%MirVer% /O"Output" "InnoNG_32\MirandaNG.iss"
+"%ProgramFiles(x86)%\Inno Setup 5\ISCC.exe" /DAppVer=%MirVer% /O"Output" "InnoNG_64\MirandaNG.iss"
+call cleanup.bat
+copy /V /Y Output\miranda-ng-alpha-latest*.exe "%ArchDistr%\"
+rd /S /Q Output
+popd \ No newline at end of file
diff --git a/tools/build_scripts/z7_UploadInstallers.bat b/tools/build_scripts/z7_UploadInstallers.bat
new file mode 100644
index 0000000000..b681879579
--- /dev/null
+++ b/tools/build_scripts/z7_UploadInstallers.bat
@@ -0,0 +1,15 @@
+call a_SetVar32.bat
+
+:upload
+%WinSCP% /script=z7_UploadInstallers.txt
+
+if errorlevel 1 goto error
+
+echo Upload Installers Success! >> zzReport.txt
+if exist %ArchDistr% rd /Q /S "%ArchDistr%%" >nul
+goto end
+
+:error
+echo Upload Installers Error! >> zzReport.txt
+
+:end \ No newline at end of file
diff --git a/tools/build_scripts/z7_UploadInstallers.txt b/tools/build_scripts/z7_UploadInstallers.txt
new file mode 100644
index 0000000000..3d42d4704a
--- /dev/null
+++ b/tools/build_scripts/z7_UploadInstallers.txt
@@ -0,0 +1,10 @@
+option batch abort
+
+option confirm off
+
+open watcher
+
+put "%ArchDistr%\miranda-ng-alpha-latest.exe" distr/
+put "%ArchDistr%\miranda-ng-alpha-latest_x64.exe" distr/
+
+exit \ No newline at end of file
diff --git a/tools/build_scripts/zz_zBuildNightly.bat b/tools/build_scripts/zz_zBuildNightly.bat
new file mode 100644
index 0000000000..b267b77414
--- /dev/null
+++ b/tools/build_scripts/zz_zBuildNightly.bat
@@ -0,0 +1,27 @@
+call z1_ReBuild_Full.bat 32
+
+call z1_ReBuild_Full.bat 64
+
+call z2_PackPluginUpater.bat 32 DEV_N_STABLE
+
+call z2_PackPluginUpater.bat 64 DEV_N_STABLE
+
+pushd bin10
+if exist z_Errors*.txt echo There were errors! && pause
+popd
+
+call z3_PackArchives.bat 32
+
+call z3_PackArchives.bat 64
+
+call z4_UploadPluginUpdater.bat 32
+
+call z4_UploadPluginUpdater.bat 64
+
+call z5_UploadArchives.bat PASS
+
+call z6_CompileInstallers.bat
+
+call z7_UploadInstallers.bat
+
+call a_Sleep.bat \ No newline at end of file
diff --git a/tools/build_scripts/zz_zRebuildUploadStable.bat b/tools/build_scripts/zz_zRebuildUploadStable.bat
new file mode 100644
index 0000000000..3313bdcc0c
--- /dev/null
+++ b/tools/build_scripts/zz_zRebuildUploadStable.bat
@@ -0,0 +1,44 @@
+@echo off
+echo WARNING!!! You are about to compile and upload STABLE versions of Miranda NG! Are you absolutely sure?!
+pause
+
+git_update.bat
+set GIT_STATUS=%ERRORLEVEL%
+if %GIT_STATUS%==0 echo Git update success
+if not %GIT_STATUS%==0 goto :Error
+
+pushd bin10
+start /wait z1_ReBuild_w810.bat 32
+
+start /wait z1_ReBuild_w810.bat 64
+popd
+
+call z1_ReBuild_Full_Stable.bat 32
+
+call z1_ReBuild_Full_Stable.bat 64
+
+call z2_PackPluginUpater.bat 32
+
+call z2_PackPluginUpater.bat 64
+
+pushd bin10
+if exist z_Errors*.txt echo There were errors! && pause
+popd
+
+call z3_PackArchivesStable.bat 32
+
+call z3_PackArchivesStable.bat 64
+
+call z4_UploadPluginUpdaterStable.bat 32
+
+call z4_UploadPluginUpdaterStable.bat 64
+
+call z5_UploadArchivesStable.bat PASS
+
+goto :eof
+
+:Error
+echo GIT FAIL! > git_error.txt
+echo ============================= GIT FAIL! =============================
+pause
+exit \ No newline at end of file
diff --git a/tools/build_scripts/zz_zRebuildUploadTrunk.bat b/tools/build_scripts/zz_zRebuildUploadTrunk.bat
new file mode 100644
index 0000000000..0f0441bba9
--- /dev/null
+++ b/tools/build_scripts/zz_zRebuildUploadTrunk.bat
@@ -0,0 +1,44 @@
+call git_update.bat
+set GIT_STATUS=%ERRORLEVEL%
+if %GIT_STATUS%==0 echo Git update success
+if not %GIT_STATUS%==0 goto :Error
+
+pushd bin10
+start /wait z1_ReBuild_w810.bat 32
+
+start /wait z1_ReBuild_w810.bat 64
+popd
+
+call z1_ReBuild_Full.bat 32
+
+call z1_ReBuild_Full.bat 64
+
+call z2_PackPluginUpater.bat 32 DEV_N_STABLE
+
+call z2_PackPluginUpater.bat 64 DEV_N_STABLE
+
+pushd bin10
+if exist z_Errors*.txt echo There were errors! && pause
+popd
+
+call z3_PackArchives.bat 32
+
+call z3_PackArchives.bat 64
+
+call z4_UploadPluginUpdater.bat 32
+
+call z4_UploadPluginUpdater.bat 64
+
+call z5_UploadArchives.bat PASS
+
+call z6_CompileInstallers.bat
+
+call z7_UploadInstallers.bat
+
+goto :eof
+
+:Error
+echo GIT FAIL! > git_error.txt
+echo ============================= GIT FAIL! =============================
+pause
+exit \ No newline at end of file