* Misc tweaks that were done for 1.89
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1528 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
f1bf68da44
commit
0aa86ebc75
17 changed files with 772 additions and 91 deletions
83
script/BuildAndPackageWindowsBeta.bat
Normal file
83
script/BuildAndPackageWindowsBeta.bat
Normal file
|
@ -0,0 +1,83 @@
|
|||
REM ** Make sure american code page is used, otherwise the %DATE environmental var might be wrong
|
||||
CHCP 437
|
||||
|
||||
REM first clean out any bogus files
|
||||
cd ..\
|
||||
cd media
|
||||
set NO_PAUSE=1
|
||||
:call update_media.bat
|
||||
cd ..
|
||||
cd script
|
||||
|
||||
:setup for VS 2017
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\"vcvars32.bat
|
||||
|
||||
set C_TARGET_EXE=..\bin\dink.exe
|
||||
|
||||
REM erase it so we know it got built right
|
||||
del %C_TARGET_EXE% > NUL
|
||||
|
||||
set CL=/DRT_SCRIPT_BUILD
|
||||
:This would need to be "Release GL|x64" for the 64 bit build. But I don't think we really need to do one yet
|
||||
|
||||
:for full rebuild
|
||||
devenv ..\windows_vs2017\iphoneRTDink.sln /rebuild "ReleaseBeta GL|Win32"
|
||||
|
||||
:for no rebuild
|
||||
:devenv ..\windows_vs2017\iphoneRTDink.sln /build "ReleaseBeta GL|Win32"
|
||||
|
||||
REM Make sure the file compiled ok
|
||||
if not exist %C_TARGET_EXE% beeper.exe /p
|
||||
|
||||
:Sign it with the RTsoft cert (optional)
|
||||
|
||||
echo "Waiting 5 seconds "
|
||||
timeout 5
|
||||
|
||||
call sign.bat %C_TARGET_EXE%
|
||||
|
||||
REM Do a little cleanup in the dink bin dir as well
|
||||
del ..\bin\dink\continue_state.dat
|
||||
del ..\bin\dink\save*.dat
|
||||
del ..\bin\dink\quicksave.dat
|
||||
|
||||
//make the windows installer part
|
||||
SET C_FILENAME=DinkSmallwoodHDInstaller.exe
|
||||
del %C_FILENAME% > NUL
|
||||
|
||||
REM get version information from the source code
|
||||
echo Grabbing version # information from source code.
|
||||
|
||||
ctoenv.exe ..\source\App.cpp "m_version = " C_VERSION /r
|
||||
if errorlevel 1 beeper.exe /p
|
||||
call setenv.bat
|
||||
del setenv.bat
|
||||
|
||||
ctoenv.exe ..\source\App.cpp "m_versionString = \"" C_TEXT_VERSION_TEMP
|
||||
if errorlevel 1 beeper.exe /p
|
||||
call setenv.bat
|
||||
del setenv.bat
|
||||
SET C_TEXT_VERSION=%C_TEXT_VERSION_TEMP%
|
||||
REM done with temp var, kill it
|
||||
SET C_TEXT_VERSION_TEMP=
|
||||
echo Building installer: %C_FILENAME% %C_TEXT_VERSION%
|
||||
|
||||
cd win_installer
|
||||
..\..\..\..\util\NSIS\makensis.exe dink.nsi
|
||||
|
||||
SET C_FILENAME=DinkSmallwoodHDInstallerBeta.exe
|
||||
del %C_FILENAME%
|
||||
cd ..
|
||||
copy DinkSmallwoodHDInstaller.exe %C_FILENAME%
|
||||
del DinkSmallwoodHDInstaller.exe
|
||||
|
||||
set d_fname=%C_FILENAME%
|
||||
|
||||
echo "Waiting 5 seconds because NSIS does something and ruins the signing if I don't"
|
||||
timeout 5
|
||||
|
||||
call sign.bat %C_FILENAME%
|
||||
|
||||
:call FTPToSiteWin.bat
|
||||
cd script
|
||||
pause
|
|
@ -1,6 +1,6 @@
|
|||
cd ..\android
|
||||
call ..\app_info_setup.bat
|
||||
:call buildRelease.bat
|
||||
call buildRelease.bat
|
||||
@ECHO ON
|
||||
cd bin
|
||||
set D_FILE_NAME=%APP_NAME%-release.apk
|
||||
|
|
6
script/UploadWindowsVersion.bat
Normal file
6
script/UploadWindowsVersion.bat
Normal file
|
@ -0,0 +1,6 @@
|
|||
SET C_FILENAME=DinkSmallwoodHDInstaller.exe
|
||||
:del %C_FILENAME%
|
||||
:copy DinkSmallwoodHDInstaller.exe %C_FILENAME%
|
||||
set d_fname=%C_FILENAME%
|
||||
call FTPToSiteWin.bat
|
||||
pause
|
|
@ -1,6 +1,6 @@
|
|||
SET C_FILENAME=DinkSmallwoodHDInstallerBeta.exe
|
||||
del %C_FILENAME%
|
||||
copy DinkSmallwoodHDInstaller.exe %C_FILENAME%
|
||||
:del %C_FILENAME%
|
||||
:copy DinkSmallwoodHDInstaller.exe %C_FILENAME%
|
||||
set d_fname=%C_FILENAME%
|
||||
call FTPToSiteWin.bat
|
||||
pause
|
|
@ -32,10 +32,6 @@ Supported command line options:
|
|||
|
||||
Note: If a .dmod file is put in the Dink HD directory (where the .exe is) it will be automatically installed and then deleted
|
||||
|
||||
------------- BETA VERSION -----------------
|
||||
|
||||
This is a beta version which means it probably has bugs and isn't ready for general consumption. However, it means you've been recruited to help us make it better!
|
||||
|
||||
To report a bug, find or post a thread about Dink HD on dinknetwork.com and and please include the following information if you can:
|
||||
|
||||
- Dink files are installed to C:\Users\<user name>\AppData\Local\DinkSmallwoodHD by default.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue