@@ -1,6 +1,6 @@
|
||||
pushd
|
||||
|
||||
$steamData = "C:/Steam/Data-playtest/"
|
||||
$steamData = "C:/Steam/Data/"
|
||||
$steamCMDPath = "C:/Steam/steamcmd/"
|
||||
$steamCMDZip = "C:/Steam/steamcmd.zip"
|
||||
|
||||
|
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -22,7 +22,8 @@ node {
|
||||
stage('Acquire SE') {
|
||||
bat 'powershell -File Jenkins/jenkins-grab-se.ps1'
|
||||
bat 'IF EXIST GameBinaries RMDIR GameBinaries'
|
||||
bat 'mklink /J GameBinaries "C:/Steam/Data-playtest/DedicatedServer64/"'
|
||||
bat 'mklink /J GameBinaries "C:/Steam/Data/DedicatedServer64/"'
|
||||
bat 'dir GameBinaries'
|
||||
}
|
||||
|
||||
stage('Acquire NuGet Packages') {
|
||||
|
@@ -44,7 +44,7 @@ namespace Torch.Server
|
||||
_instanceManager = instanceManager;
|
||||
InitializeComponent();
|
||||
_loadLocalization();
|
||||
var scenarios = MyLocalCache.GetAvailableWorldInfos(Path.Combine(MyFileSystem.ContentPath, "CustomWorlds"));
|
||||
var scenarios = MyLocalCache.GetAvailableWorldInfos(new List<string> {Path.Combine(MyFileSystem.ContentPath, "CustomWorlds")});
|
||||
foreach (var tup in scenarios)
|
||||
{
|
||||
string directory = tup.Item1;
|
||||
|
@@ -62,7 +62,7 @@ namespace Torch.Patches
|
||||
|
||||
if (!Game.IsDedicated)
|
||||
TakeSaveScreenshot();
|
||||
tmpSnapshot.SaveParallel(() => true, () =>
|
||||
tmpSnapshot.SaveParallel(null, null, () =>
|
||||
{
|
||||
if (!Game.IsDedicated && MySession.Static != null)
|
||||
ShowWorldSaveResult(tmpSnapshot.SavingSuccess);
|
||||
@@ -99,6 +99,7 @@ namespace Torch.Patches
|
||||
{
|
||||
File.Delete(thumbPath);
|
||||
}
|
||||
|
||||
MyGuiSandbox.TakeScreenshot(1200, 672, thumbPath, true, false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
@@ -179,7 +179,7 @@ namespace Torch
|
||||
}
|
||||
else
|
||||
{
|
||||
MyPerformanceSettings preset = MyGuiScreenOptionsGraphics.GetPreset(MyRenderQualityEnum.NORMAL);
|
||||
MyPerformanceSettings preset = MyGuiScreenOptionsGraphics.GetPreset(MyRenderPresetEnum.NORMAL);
|
||||
MyRenderProxy.Settings.User = MyVideoSettingsManager.GetGraphicsSettingsFromConfig(ref preset, false)
|
||||
.PerformanceSettings.RenderSettings;
|
||||
MyStringId graphicsRenderer = MySandboxGame.Config.GraphicsRenderer;
|
||||
|
Reference in New Issue
Block a user