Cxbx-Reloaded/appveyor-gather.bat

37 lines
752 B
Batchfile
Raw Normal View History

2018-02-15 23:36:25 +00:00
:: Cxbx-Reloaded gather script
2018-02-15 23:36:25 +00:00
@if "%1"=="" goto show_usage
@set ZIP_APP="%cd%\import\7za\7za.exe"
@set BUILD_PATH="%cd%\build\win32\%1\"
@set ARTIFACT_PATH="%cd%\export\%1.zip"
:: Add generic resources
2018-02-14 22:09:59 +00:00
@call %ZIP_APP% u %ARTIFACT_PATH% COPYING README.md
:: Check for build resources
@if not exist %BUILD_PATH% goto missing_build
@pushd %BUILD_PATH%
2018-02-14 22:09:59 +00:00
:: Add Cxbx binaries
Add controller port configuration GUI and support virtual SB controller with feedback status (#1196) * Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent. Add newly findings for device table related info. * Revert g_Controller ZeroMemory() calls. now the XINPUT_STATE is correctly refering to host type, no need to specify the name space. * Add X_CONTROLLER_HOST_BRIDGE structure type. Prepare for configurabale host input, and virtual xbox controller. * Fix DeviceInfo initialization when device table is not found. always set state to enable rumble. * experimenting virtual SteelBatalion controller. using console as controller output. using XInput and direct input combined keys * first attem to emulat SteelBatalion controller works. * add dialog file to solution * Restore missing dialog files and functions * Minor fix * fix dialog control grouping now registry works. * refine some controller related constants * Using Dialog for showing SBC controller feedback add possibility of using same dialog for virtual controller input. * using EmuUpdateTickCount() as modeless dialog message handler. sort of working. revert the dlg message handling from wnd.cpp * Finally the dialog for virtual SB controller feedback status works! modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog. lots of code change and clean up. * fix debug build, use same character set setting for all configurations. * restore C++ optimiztion setting in master * remove unitended included ribbon resources * removed necessary official document mentioning * Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore * Move Host Port assignment related code to src/common/win32 * fix merge confliction * oops, fix merge conflictions again. * Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future. * remove unintended binary files * fix debug build, again. revert unindteded changes to submodule * rever unintended submodule change * Relocate project to build/Win32 folder Co-Authored-By: anita999 <anita999@ms12.hinet.net> * Restore sln file base on master * Include project dependency to build * Final fixup for sln file * Restore original new line code * Update Wnd.cpp * Remove old include * Include CxbxVSBC.dll into AppVeyor This should be the last fixup for pull request. * Fix merge-conflict * Fix files encode format to UTF-8 * treat .rc file as text instead of binary * Revert "treat .rc file as text instead of binary" This reverts commit 034039d72353a72017b04908133f68df77a26672.
2018-05-29 12:33:01 +00:00
@call %ZIP_APP% u %ARTIFACT_PATH% Cxbx.exe glew32.dll subhook.dll d3d8.dll CxbxVSBC.dll
2018-02-14 22:09:59 +00:00
:: Add debugger binaries
@call %ZIP_APP% u %ARTIFACT_PATH% CxbxDebugger.exe capstone.dll cs_x86.dll
@popd
@goto eof
:missing_build
@echo Missing build directory %BUILD_PATH%
2018-02-15 23:36:25 +00:00
@set ERRORLEVEL=1
@goto eof
2018-02-15 23:36:25 +00:00
:show_usage
@echo Usage: %~0% build_config
@goto eof
:eof
2018-02-14 20:29:30 +00:00
@echo Gather complete