v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
7
scripts/windows/build.bat
Normal file
7
scripts/windows/build.bat
Normal file
|
@ -0,0 +1,7 @@
|
|||
cd /d %~dp0
|
||||
cd ..\..
|
||||
|
||||
cd build
|
||||
IF %ERRORLEVEL% NEQ 0 exit /b %ERRORLEVEL%
|
||||
|
||||
"C:\Program Files (x86)\CMake\bin\cmake.exe" --build . --config %1
|
8
scripts/windows/copy-to-steam32.bat
Normal file
8
scripts/windows/copy-to-steam32.bat
Normal file
|
@ -0,0 +1,8 @@
|
|||
cd /d %~dp0
|
||||
cd ..\..\dist
|
||||
|
||||
set STEAM_STARBOUND_DIR=c:\Program Files (x86)\Steam\steamapps\common\Starbound - Unstable
|
||||
|
||||
.\asset_packer.exe -c ..\assets\packing.config "custom assets" ..\assets\packed .\packed.pak
|
||||
move packed.pak "%STEAM_STARBOUND_DIR%\assets\packed.pak"
|
||||
copy starbound.exe "%STEAM_STARBOUND_DIR%\win32\"
|
8
scripts/windows/copy-to-steam64.bat
Normal file
8
scripts/windows/copy-to-steam64.bat
Normal file
|
@ -0,0 +1,8 @@
|
|||
cd /d %~dp0
|
||||
cd ..\..\dist
|
||||
|
||||
set STEAM_STARBOUND_DIR=c:\Program Files (x86)\Steam\steamapps\common\Starbound - Unstable
|
||||
|
||||
.\asset_packer.exe -c ..\assets\packing.config "custom assets" ..\assets\packed .\packed.pak
|
||||
move packed.pak "%STEAM_STARBOUND_DIR%\assets\packed.pak"
|
||||
copy starbound.exe "%STEAM_STARBOUND_DIR%\win64\"
|
7
scripts/windows/find_invalid_tiles.bat
Normal file
7
scripts/windows/find_invalid_tiles.bat
Normal file
|
@ -0,0 +1,7 @@
|
|||
pushd %~dp0
|
||||
pushd ..\..\dist
|
||||
map_grep "invalid=true" ..\assets\packed\dungeons\
|
||||
map_grep "invalid=true" ..\assets\devel\dungeons\
|
||||
pause
|
||||
popd
|
||||
popd
|
24
scripts/windows/sbinit.config
Normal file
24
scripts/windows/sbinit.config
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"assetDirectories" : [
|
||||
"..\\assets\\",
|
||||
".\\mods\\"
|
||||
],
|
||||
|
||||
"storageDirectory" : ".\\",
|
||||
|
||||
"assetsSettings" : {
|
||||
"pathIgnore" : [],
|
||||
"digestIgnore" : [
|
||||
".*"
|
||||
]
|
||||
},
|
||||
|
||||
"defaultConfiguration" : {
|
||||
"allowAdminCommandsFromAnyone" : true,
|
||||
"anonymousConnectionsAreAdmin" : true,
|
||||
|
||||
"gameServerBind" : "*",
|
||||
"queryServerBind" : "*",
|
||||
"rconServerBind" : "*"
|
||||
}
|
||||
}
|
44
scripts/windows/setup32.bat
Normal file
44
scripts/windows/setup32.bat
Normal file
|
@ -0,0 +1,44 @@
|
|||
cd /d %~dp0
|
||||
cd ..\..
|
||||
|
||||
mkdir dist
|
||||
del dist\*.dll
|
||||
copy lib\windows32\*.dll dist\
|
||||
copy scripts\windows\sbinit.config dist\
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
if exist "C:\Program Files (x86)\CMake\bin" (
|
||||
set CMAKE_EXE_PATH="C:\Program Files (x86)\CMake\bin"
|
||||
) else (
|
||||
set CMAKE_EXE_PATH="C:\Program Files\CMake\bin"
|
||||
)
|
||||
|
||||
set QT_PREFIX_PATH=C:\Qt\5.6\msvc2015
|
||||
|
||||
if exist %QT_PREFIX_PATH% (
|
||||
|
||||
%CMAKE_EXE_PATH%\cmake.exe ^
|
||||
..\source ^
|
||||
-G"Visual Studio 14" ^
|
||||
-T"v140_xp" ^
|
||||
-DSTAR_USE_JEMALLOC=OFF ^
|
||||
-DCMAKE_PREFIX_PATH=%QT_PREFIX_PATH% ^
|
||||
-DSTAR_BUILD_QT_TOOLS=ON ^
|
||||
-DCMAKE_INCLUDE_PATH="..\lib\windows32\include" ^
|
||||
-DCMAKE_LIBRARY_PATH="..\lib\windows32"
|
||||
|
||||
) else (
|
||||
|
||||
%CMAKE_EXE_PATH%\cmake.exe ^
|
||||
..\source ^
|
||||
-G "Visual Studio 14" ^
|
||||
-T"v140_xp" ^
|
||||
-DSTAR_USE_JEMALLOC=OFF ^
|
||||
-DCMAKE_INCLUDE_PATH="..\lib\windows32\include" ^
|
||||
-DCMAKE_LIBRARY_PATH="..\lib\windows32"
|
||||
|
||||
)
|
||||
|
||||
pause
|
42
scripts/windows/setup64.bat
Normal file
42
scripts/windows/setup64.bat
Normal file
|
@ -0,0 +1,42 @@
|
|||
cd /d %~dp0
|
||||
cd ..\..
|
||||
|
||||
mkdir dist
|
||||
del dist\*.dll
|
||||
copy lib\windows64\*.dll dist\
|
||||
copy scripts\windows\sbinit.config dist\
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
if exist "C:\Program Files (x86)\CMake\bin" (
|
||||
set CMAKE_EXE_PATH="C:\Program Files (x86)\CMake\bin"
|
||||
) else (
|
||||
set CMAKE_EXE_PATH="C:\Program Files\CMake\bin"
|
||||
)
|
||||
|
||||
set QT_PREFIX_PATH=C:\Qt\5.6\msvc2015_64
|
||||
|
||||
if exist %QT_PREFIX_PATH% (
|
||||
|
||||
%CMAKE_EXE_PATH%\cmake.exe ^
|
||||
..\source ^
|
||||
-G"Visual Studio 15 Win64" ^
|
||||
-DSTAR_USE_JEMALLOC=ON ^
|
||||
-DCMAKE_PREFIX_PATH=%QT_PREFIX_PATH% ^
|
||||
-DSTAR_BUILD_QT_TOOLS=ON ^
|
||||
-DCMAKE_INCLUDE_PATH="..\lib\windows64\include" ^
|
||||
-DCMAKE_LIBRARY_PATH="..\lib\windows64"
|
||||
|
||||
) else (
|
||||
|
||||
%CMAKE_EXE_PATH%\cmake.exe ^
|
||||
..\source ^
|
||||
-G "Visual Studio 15 Win64" ^
|
||||
-DSTAR_USE_JEMALLOC=ON ^
|
||||
-DCMAKE_INCLUDE_PATH="..\lib\windows64\include" ^
|
||||
-DCMAKE_LIBRARY_PATH="..\lib\windows64"
|
||||
|
||||
)
|
||||
|
||||
pause
|
1
scripts/windows/showlog.bat
Normal file
1
scripts/windows/showlog.bat
Normal file
|
@ -0,0 +1 @@
|
|||
powershell.exe -command "Get-Content -Path '%cd%\..\..\dist\starbound.log' -Wait"
|
6
scripts/windows/update_tilesets.bat
Normal file
6
scripts/windows/update_tilesets.bat
Normal file
|
@ -0,0 +1,6 @@
|
|||
pushd %~dp0
|
||||
pushd ..\..\dist
|
||||
update_tilesets
|
||||
pause
|
||||
popd
|
||||
popd
|
Loading…
Add table
Add a link
Reference in a new issue