Repo cleanup (#310)

* Reduce build size by removing redundant files.

22 MB of the build output was OpenTK.xml, the doc file for it.
This commit removes a lot of files like PDB files from the build output
on Release, cutting build size down to 13 MB.

Also deleted a ton of dead third party files in Third-Party, and the two
spare copies of CSFML...

* Remove more dead files.

* Even more!

* Generic repo cleanup. Removing dead files all over.

What the hell was filesystemeditor.exe supposed to be?
This commit is contained in:
Pieter-Jan Briers
2017-08-08 12:47:31 +02:00
committed by GitHub
parent d1b29a6f94
commit b9ece2888b
38 changed files with 29 additions and 3162 deletions

View File

@@ -1,4 +0,0 @@
{
"phabricator.uri": "http://phab.nexisonline.net",
"project.name": "Space Station 14"
}

View File

@@ -1,4 +0,0 @@
call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
@echo on
call prebuild-2010.cmd
call msbuild SpaceStation14.sln /t:Build /p:Configuration=Release;Platform=x86

View File

@@ -1,10 +0,0 @@
#!/bin/bash
prebuild-nant.sh
nant
#nunit-console Bin/SS14.Test.dll -nodots -xml=NUnit.Results.xml
echo NUnit disabled.
#7za a SS14.7z Bin/*
echo Packaging disabled.

View File

@@ -1,2 +0,0 @@
cd bin\client
start SpaceStation14.exe

View File

@@ -1,2 +0,0 @@
cd bin\server
start SpaceStation14_Server.exe

View File

@@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<DirectedGraph GraphDirection="LeftToRight" Layout="Sugiyama" xmlns="http://schemas.microsoft.com/vs/2009/dgml">
<Nodes>
<Node Id="Client" Category="Project" Label="Client" />
</Nodes>
<Links />
<Categories>
<Category Id="Project" />
</Categories>
<Properties>
<Property Id="GraphDirection" DataType="Microsoft.VisualStudio.Progression.Layout.GraphDirection" />
<Property Id="Label" Label="Label" Description="Displayable label of an Annotatable object" DataType="System.String" />
<Property Id="Layout" DataType="System.String" />
</Properties>
<Styles>
<Style TargetType="Node" GroupLabel="Project" ValueLabel="True">
<Condition Expression="HasCategory('Project')" />
<Setter Property="Background" Value="Blue" />
</Style>
</Styles>
</DirectedGraph>

View File

@@ -1,25 +0,0 @@
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="linux" dll="libX11" target="libX11.so.6"/>
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/>
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/>
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/>
<!-- XQuartz compatibility (X11 on Mac) -->
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/>
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/>
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/>
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/>
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/>
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/>
</configuration>

View File

@@ -21,6 +21,7 @@
</FileUpgradeFlags>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<TargetFrameworkProfile />
<AllowedReferenceRelatedFileExtensions>.pdb;.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
@@ -52,6 +53,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<AllowedReferenceRelatedFileExtensions>.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp">
@@ -143,25 +145,22 @@
<Name>SS14.Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="csfml-graphics-2.dll">
<ItemGroup Condition="'$(OS)' != 'Unix'">
<Content Include="..\Third-Party\extlibs\csfml-graphics-2.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="csfml-network-2.dll">
<Content Include="..\Third-Party\extlibs\csfml-system-2.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="csfml-system-2.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="csfml-window-2.dll">
<Content Include="..\Third-Party\extlibs\csfml-window-2.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="OpenTK.dll.config">
<Content Include="$(SolutionDir)packages\OpenTK.3.0.0-pre\content\OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</Content>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

View File

@@ -1,25 +0,0 @@
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="linux" dll="libX11" target="libX11.so.6"/>
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/>
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/>
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/>
<!-- XQuartz compatibility (X11 on Mac) -->
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/>
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/>
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/>
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/>
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/>
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/>
</configuration>

View File

@@ -42,6 +42,7 @@
<BootstrapperEnabled>true</BootstrapperEnabled>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NoWarn>0649</NoWarn>
<AllowedReferenceRelatedFileExtensions>.pdb;.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@@ -84,6 +85,7 @@
<NoStdLib>False</NoStdLib>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<AllowedReferenceRelatedFileExtensions>.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Diagnostics.Runtime, Version=0.8.31.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
@@ -183,10 +185,6 @@
<SubType>Code</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="plugins.cfg">
<SubType>Code</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\Resources\EngineContentPack.zip">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
@@ -203,12 +201,12 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="client_config.toml">
<Content Include="client_config.toml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="OpenTK.dll.config">
</Content>
<Content Include="$(SolutionDir)packages\OpenTK.3.0.0-pre\content\OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</Content>
<None Include="packages.config" />
<Compile Include="GameObjects\AnimatedSprite.cs" />
<Compile Include="GameObjects\Components\ClickableComponent.cs" />

View File

@@ -1,10 +0,0 @@
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=Plugin_ParticleFX
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_CgProgramManager

View File

@@ -1,25 +0,0 @@
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="linux" dll="libX11" target="libX11.so.6"/>
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/>
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/>
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/>
<!-- XQuartz compatibility (X11 on Mac) -->
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/>
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/>
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/>
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/>
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/>
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/>
</configuration>

View File

@@ -28,6 +28,7 @@
<TargetFrameworkProfile />
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NoWarn>0649</NoWarn>
<AllowedReferenceRelatedFileExtensions>.pdb;.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@@ -70,13 +71,9 @@
<NoStdLib>False</NoStdLib>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<AllowedReferenceRelatedFileExtensions>.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<ItemGroup>
<Reference Include="CSScriptLibrary">
<Name>CSScriptLibrary</Name>
<HintPath>..\Third-Party\CSScriptLibrary.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll</HintPath>
<Private>True</Private>
@@ -152,18 +149,13 @@
<Compile Include="Reflection\ServerReflectionManager.cs" />
<Compile Include="BaseServer.cs" />
<Compile Include="Signals.cs" />
<None Include="OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="server_config.toml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="app.config">
</None>
<Content Include="atoms.ss13">
<SubType>Code</SubType>
<Content Include="$(SolutionDir)packages\OpenTK.3.0.0-pre\content\OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="server_config.toml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="app.config" />
<Content Include="emotes.xml">
<SubType>Code</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

View File

@@ -1,17 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SS14.Server", "SS14.Server.csproj", "{B04AAE71-0000-0000-0000-000000000000}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B04AAE71-0000-0000-0000-000000000000}.Debug|x86.ActiveCfg = Debug|x86
{B04AAE71-0000-0000-0000-000000000000}.Debug|x86.Build.0 = Debug|x86
{B04AAE71-0000-0000-0000-000000000000}.Release|x86.ActiveCfg = Release|x86
{B04AAE71-0000-0000-0000-000000000000}.Release|x86.Build.0 = Release|x86
EndGlobalSection
EndGlobal

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,25 +0,0 @@
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="linux" dll="libX11" target="libX11.so.6"/>
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/>
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/>
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/>
<!-- XQuartz compatibility (X11 on Mac) -->
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/>
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/>
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/>
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/>
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/>
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/>
</configuration>

View File

@@ -22,6 +22,7 @@
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<TargetFrameworkProfile />
<NoWarn>0649</NoWarn>
<AllowedReferenceRelatedFileExtensions>.pdb;.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<BaseAddress>285212672</BaseAddress>
@@ -51,6 +52,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<AllowedReferenceRelatedFileExtensions>.dll.config</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<ItemGroup>
<Reference Include="BsDiffLib">
@@ -306,9 +308,9 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="OpenTK.dll.config">
<Content Include="$(SolutionDir)packages\OpenTK.3.0.0-pre\content\OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</Content>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />

View File

@@ -1,25 +0,0 @@
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="linux" dll="libX11" target="libX11.so.6"/>
<dllmap os="linux" dll="libXi" target="libXi.so.6"/>
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0"/>
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL"/>
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib"/>
<!-- XQuartz compatibility (X11 on Mac) -->
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib"/>
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib"/>
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib"/>
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib"/>
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib"/>
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib"/>
</configuration>

View File

@@ -46,13 +46,6 @@
<Reference Include="OpenTK, Version=3.0.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4, processorArchitecture=MSIL">
<HintPath>$(SolutionDir)packages\OpenTK.3.0.0-pre\lib\net20\OpenTK.dll</HintPath>
</Reference>
<!--<Reference Include="NUnit3.TestAdapter">
<HintPath>$(SolutionDir)packages\NUnit3TestAdapter.3.7.0\tools\NUnit3.TestAdapter.dll</HintPath>
<Private>False</Private>
</Reference>-->
<Reference Include="sfmlnet-audio-2">
<HintPath>..\Third-Party\sfmlnet-audio-2.dll</HintPath>
</Reference>
<Reference Include="sfmlnet-graphics-2, Version=2.1.0.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Third-Party\sfmlnet-graphics-2.dll</HintPath>
@@ -113,11 +106,11 @@
</ProjectReference>
<ProjectReference Include="..\SS14.Client\SS14.Client.csproj">
<Project>{0c31dfdf-0000-0000-0000-000000000000}</Project>
<Name>SpaceStation14</Name>
<Name>SS14.Client</Name>
</ProjectReference>
<ProjectReference Include="..\SS14.Server\SS14.Server.csproj">
<Project>{b04aae71-0000-0000-0000-000000000000}</Project>
<Name>SpaceStation14_Server</Name>
<Name>SS14.Server</Name>
</ProjectReference>
<ProjectReference Include="..\SS14.Shared\SS14.Shared.csproj">
<Project>{0529f740-0000-0000-0000-000000000000}</Project>
@@ -127,18 +120,11 @@
<ItemGroup>
<Folder Include="Server\" />
</ItemGroup>
<ItemGroup>
<Content Include="CSFML\csfml-audio-2.dll" />
<Content Include="CSFML\csfml-graphics-2.dll" />
<Content Include="CSFML\csfml-network-2.dll" />
<Content Include="CSFML\csfml-system-2.dll" />
<Content Include="CSFML\csfml-window-2.dll" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="OpenTK.dll.config">
<Content Include="$(SolutionDir)packages\OpenTK.3.0.0-pre\content\OpenTK.dll.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</Content>
<None Include="packages.config" />
</ItemGroup>
<Choose>
@@ -161,13 +147,6 @@
</Choose>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<DefineConstants Condition="'$(HEADLESS)'!=''">$(DefineConstants);HEADLESS</DefineConstants>
</PropertyGroup>

View File

@@ -1,242 +0,0 @@
'''
Build Order Calculator for Prebuild projects. Run in root of SS14 folder.
(c)2015 Rob "N3X15" Nelson <nexisentertainment@gmail.com>
MIT License
Requires lxml. (pip install lxml)
'''
import os, sys
from lxml import etree
class BaseNode:
def setAttr(self, element, name, skip_when_default=True, default=None):
value = getattr(self, name, default)
if value == default and skip_when_default: return
element.set(name, value)
def getAttr(self, element, name, required=False, default=None):
value = element.get(name, None)
if value is None:
if required:
raise ValueError('{} is not set, but is required.'.format(name))
else:
value = default
setattr(self, name, value)
class Configuration(BaseNode):
def __init__(self):
self.options = {}
self.name = ''
def SerializeXML(self, parent):
config = etree.SubElement(parent, 'Configuration', {'name':self.name})
options = etree.SubElement(config, 'Options')
for k, v in self.options.items():
etree.SubElement(options, k).text = v
@classmethod
def DeserializeXML(cls, element):
assert element.tag == 'Configuration'
options = element[0]
cfg = Configuration()
for option in options:
cfg.options[option.tag] = option.text
return cfg
class Reference(BaseNode):
def __init__(self):
self.name = ''
self.path = None
def IsProjectReference(self):
return self.path is None
def SerializeXML(self, parent):
ref = etree.SubElement(parent, "Reference", {'name':name})
self.setAttr(ref, 'path')
@classmethod
def DeserializeXML(cls, element):
assert element.tag == 'Reference'
ref = Reference()
ref.getAttr(element, 'name', required=True)
ref.getAttr(element, 'path')
return ref
class File(BaseNode):
def __init__(self):
self.path = ''
self.buildAction = None
self.filename = ''
def SerializeXML(self, parent):
f = etree.SubElement(self.files, 'File')
f.text = self.filename
self.setAttr(element, 'path')
self.setAttr(element, 'buildAction', default='Compile')
@classmethod
def DeserializeXML(cls, element):
assert element.tag == 'File'
f = File()
f.filename = element.text
f.getAttr(element, 'path')
f.getAttr(element, 'buildAction')
class Project(BaseNode):
def __init__(self):
self.name = ''
self.frameworkVersion = ''
self.rootNamespace = ''
self.type = ''
self.path = ''
self.configurations = []
self.referencePaths = []
self.files = []
self.references = []
@classmethod
def DeserializeXML(cls, element):
assert element.tag == 'Project'
proj = Project()
proj.getAttr(element, 'frameworkVersion', required=True)
proj.getAttr(element, 'name', required=True)
proj.getAttr(element, 'type', required=True)
proj.getAttr(element, 'path', required=True)
proj.getAttr(element, 'rootNamespace')
for child in element:
if not etree.iselement(child) or child.tag is etree.Comment: continue
if child.tag == 'Configuration':
proj.configurations += [Configuration.DeserializeXML(child)]
elif child.tag == 'ReferencePath':
proj.referencePaths += [child.text]
elif child.tag == 'Files':
for filedata in child:
if not etree.iselement(filedata) or filedata.tag is etree.Comment: continue
proj.files += [File.DeserializeXML(filedata)]
elif child.tag == 'Reference':
proj.references += [Reference.DeserializeXML(child)]
else:
print('!!! Unknown project tag child {}'.format(child.tag))
return proj
def GetProjectDependencies(self):
deps = []
for ref in self.references:
if ref.path is None:
deps += [ref.name]
return deps
def SerializeXML(self):
# <Project frameworkVersion="v4_0" name="Client" path="SS3D_Client" type="WinExe" rootNamespace="SS13">
proj = etree.Element('Project')
self.setAttr(proj, 'frameworkVersion', required=True)
self.setAttr(proj, 'name', required=True)
self.setAttr(proj, 'type', required=True)
self.setAttr(proj, 'path', required=True)
self.setAttr(proj, 'rootNamespace')
for configuration in self.configurations:
configuration.SerializeXML(self.tree)
for refpath in self.referencePaths:
etree.SubElement(self.tree, 'ReferencePath').text = refpath
if len(self.files) > 0:
files = etree.SubElement(self.tree, 'Files')
for file in self.files:
file.SerializeXML(files)
if len(self.references) > 0:
for ref in self.references:
ref.SerializeXML(files)
return f
@classmethod
def Load(cls, filename):
proj = None
with open(filename, 'r') as f:
tree = etree.parse(f)
root = tree.getroot()
for elem in root.getiterator():
if not hasattr(elem.tag, 'find'): continue # (1)
i = elem.tag.find('}')
if i >= 0:
elem.tag = elem.tag[i + 1:]
proj = Project.DeserializeXML(root)
return proj
def Save(self, filename):
with open(filename, 'w') as f:
f.write(etree.tostring(self.tree, pretty_print=True, encoding='utf-8'))
print(' -> {}'.format(filename))
if __name__ == '__main__':
projects = {}
project_deps = {}
build_order = []
longestPath=0
for entry in os.listdir('.'):
if os.path.isdir(entry):
for f in os.listdir(entry):
filename = os.path.join(entry, f)
if os.path.isfile(filename) and filename.endswith('prebuild.xml'):
print('Loading {}...'.format(filename))
proj = Project.Load(filename)
print(' Loaded {} project.'.format(proj.name))
projects[proj.name] = proj
project_deps[proj.name] = proj.GetProjectDependencies()
pathLen=len(proj.path)
if pathLen>longestPath:
longestPath=pathLen
for projName in project_deps.keys():
deps = project_deps[projName]
newDeps = []
for dep in deps:
if dep in projects:
newDeps += [dep]
project_deps[projName] = newDeps
projsLeft = len(projects)
it = 0
while projsLeft > 0:
it += 1
for projName in projects.keys():
if projName in build_order: continue
deps = project_deps[projName]
if len(deps) == 0:
build_order += [projName]
projsLeft -= 1
print('[{}] Added {} (0 deps)'.format(it, projName))
continue
defer = False
for dep in deps:
if dep not in build_order:
defer = True
break
if defer: continue
build_order += [projName]
projsLeft -= 1
print('[{}] Added {} ({} deps)'.format(it, projName, len(deps)))
print('')
print('\t\t<!-- BUILD ORDER CALCULATED BY Tools\calculate-buildorder.py -->')
for projName in build_order:
project = projects[projName]
deps = project_deps[projName]
# print(repr(deps))
prereq = ''
if len(deps) > 0:
prereq = (' '*(longestPath-len(project.path))) + '<!-- Prerequisites: {} -->'.format(', '.join(sorted(deps)))
print('\t\t<?include file="./{}/prebuild.xml" ?>{}'.format(project.path, prereq))

View File

@@ -1,5 +0,0 @@
..\..\Downloads\gource-0.35.win32\gource -1280x720 -a 1 -s 4 -c 2 --key --camera-mode overview --title SS13 --hidemouse,filenames --logo ..\..\Downloads\gource-0.35.win32\forumbuttonbg.png --max-user-speed 300
capture using fraps, recode using ffmpeg:
ffmpeg -i "c:\path-to-input-moive.avi" "C:\path-to-output-movie.webm"

View File

@@ -1,5 +0,0 @@
@echo off
if not exist out goto END
rmdir/s /q out
:END
echo Cleanup Executed successfully.

View File

@@ -1,21 +0,0 @@
@echo off
if exist out goto continue
:cleanup
call cleanup.bat
goto gen
:gen
mkdir out
cd ..\..\
svn log --xml -v svn://games.ques.to/ss3d/ss3d/trunk > Tools\statsvn\out\svn.log
cd Tools\statsvn\out
java -jar ..\statsvn.jar -threads 5 -exclude "Lidgren.Network/**:Media/**" -include "**/*.cs:**/*.xml" svn.log ..\..\..\
cd ..
goto end
:continue
SET /P ANSWER=stat output dir is not empty. Continue (Y/N)?
if /i {%ANSWER%}=={y} (goto cleanup)
if /i {%ANSWER%}=={Y} (goto cleanup)
goto end
:end

View File

@@ -1,43 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="EntityTemplates" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="EntityTemplates" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="EntityTemplate">
<xs:complexType>
<xs:sequence>
<xs:element name="Components" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Component" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Parameters" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="type" type="xs:string" />
<xs:attribute name="value" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="atomname" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="KeyBindings" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="KeyBindings" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Binding">
<xs:complexType>
<xs:attribute name="Key" type="xs:string" />
<xs:attribute name="Function" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -1 +0,0 @@
for /d /r . %%d in (bin,obj) do @if exist "%%d" rd /s/q "%%d"

View File

@@ -1,23 +0,0 @@
@echo off
set zip="C:\Program Files\7-Zip\7z.exe"
set hour=%time:~0,2%
if "%time:~0,1%"==" " set hour=0%time:~1,1%
set dt=%date:~10,4%-%date:~4,2%-%date:~7,2%_%hour%%time:~3,2%
set dir=ss14-%dt%
mkdir %dir%
mkdir %dir%\bin
mkdir %dir%\bin\client
mkdir %dir%\bin\server
mkdir %dir%\Resources
copy Resources\ResourcePack.zip %dir%\Resources
copy Buildfiles\* %dir%
xcopy /E Bin\Client\* %dir%\bin\client
xcopy /E Bin\Server\* %dir%\bin\server
cd %dir%
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S *.svn*') DO RMDIR /S /Q "%%G"
cd ..
%zip% -tzip a %dir%.zip %dir%
rd /S /Q %dir%
pause

View File

@@ -1,2 +0,0 @@
call runclient.bat
call runclient.bat

View File

@@ -1,6 +0,0 @@
@echo off
set PDIR=%~dp0
cd %PDIR%Bin\Client
start SS14.Client.exe %*
cd %PDIR%
set PDIR=

View File

@@ -1,12 +0,0 @@
@echo off
set PDIR=%~dp0
cd %PDIR%Bin\MessagingProfiler
call SS14.Tools.MessagingProfiler.exe %*
cd %PDIR%
set PDIR=
pause

View File

@@ -1,7 +0,0 @@
@echo off
set PDIR=%~dp0
cd %PDIR%Bin\Server
call SS14.Server.exe %*
cd %PDIR%
set PDIR=
pause

View File

@@ -1,16 +0,0 @@
@echo off
set zip="C:\Program Files\7-Zip\7z.exe"
set hour=%time:~0,2%
if "%time:~0,1%"==" " set hour=0%time:~1,1%
set dt=%date:~10,4%-%date:~4,2%-%date:~7,2%_%hour%%time:~3,2%
set dir=ss14-server-%dt%
mkdir %dir%
mkdir %dir%\bin
mkdir %dir%\bin\server
xcopy /E Bin\Server\* %dir%\bin\server
cd %dir%
cd ..
%zip% -tzip a %dir%.zip %dir%
rd /S /Q %dir%
pause

View File

@@ -1,8 +0,0 @@
REM @echo off
SET ARC_HOME=E:\dev\arcanist\arcanist
CMD /C call arc.bat > nul 2>&1
if ERRORLEVEL 1 GOTO path
GOTO end
:path
SET PATH=%PATH%;%ARC_HOME%\bin
:end