2015-02-19 08:03:33 +00:00
|
|
|
@echo off
|
|
|
|
|
2015-09-13 22:20:08 +00:00
|
|
|
if exist "C:\Program Files\7-Zip\7z.exe" ( set zip="C:\Program Files\7-Zip\7z.exe")
|
|
|
|
|
|
|
|
|
|
|
|
if %zip% == "" (
|
|
|
|
echo can not find 7z.exe
|
|
|
|
goto :end
|
|
|
|
)
|
|
|
|
|
2015-02-19 08:03:33 +00:00
|
|
|
SET current_dir=%cd%
|
|
|
|
cd /d %~dp0..\..\
|
|
|
|
SET base_dir=%cd%
|
|
|
|
cd /d %current_dir%
|
|
|
|
|
2015-03-23 18:28:00 +00:00
|
|
|
rd "%base_dir%\Bin\Package" /Q /S > NUL 2>&1
|
2015-03-05 05:23:07 +00:00
|
|
|
md "%base_dir%\Bin\Package"
|
|
|
|
md "%base_dir%\Bin\Package\Config"
|
|
|
|
md "%base_dir%\Bin\Package\Lang"
|
|
|
|
md "%base_dir%\Bin\Package\Plugin"
|
|
|
|
md "%base_dir%\Bin\Package\Plugin\Audio"
|
|
|
|
md "%base_dir%\Bin\Package\Plugin\GFX"
|
|
|
|
md "%base_dir%\Bin\Package\Plugin\Input"
|
|
|
|
md "%base_dir%\Bin\Package\Plugin\RSP"
|
2015-02-19 08:03:33 +00:00
|
|
|
|
|
|
|
copy "%base_dir%\Bin\Release\Project64.exe" "%base_dir%\Bin\Package"
|
2015-03-05 05:23:07 +00:00
|
|
|
copy "%base_dir%\Config\Glide64.rdb" "%base_dir%\Bin\Package\Config"
|
2015-02-19 08:03:33 +00:00
|
|
|
copy "%base_dir%\Config\Project64.cht" "%base_dir%\Bin\Package\Config"
|
|
|
|
copy "%base_dir%\Config\Project64.rdb" "%base_dir%\Bin\Package\Config"
|
|
|
|
copy "%base_dir%\Config\Project64.rdx" "%base_dir%\Bin\Package\Config"
|
2015-03-23 18:28:00 +00:00
|
|
|
copy "%base_dir%\Lang\*.pj.Lang" "%base_dir%\Bin\Package\Lang"
|
2015-02-19 08:03:33 +00:00
|
|
|
copy "%base_dir%\Plugin\Audio\Jabo_Dsound.dll" "%base_dir%\Bin\Package\Plugin\Audio"
|
|
|
|
copy "%base_dir%\Plugin\GFX\Jabo_Direct3D8.dll" "%base_dir%\Bin\Package\Plugin\GFX"
|
|
|
|
copy "%base_dir%\Plugin\GFX\PJ64Glide64.dll" "%base_dir%\Bin\Package\Plugin\GFX"
|
|
|
|
copy "%base_dir%\Plugin\Input\PJ64_NRage.dll" "%base_dir%\Bin\Package\Plugin\Input"
|
|
|
|
copy "%base_dir%\Plugin\RSP\RSP 1.7.dll" "%base_dir%\Bin\Package\Plugin\RSP"
|
2015-09-13 22:20:08 +00:00
|
|
|
|
|
|
|
cd %base_dir%\Bin\Package
|
|
|
|
%zip% a -tzip -r ../project64 *
|
|
|
|
cd /d %current_dir%
|