forked from TLeonardUK/ds3os
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start of some publishing functionality.
- Loading branch information
1 parent
914912c
commit b0619fc
Showing
9 changed files
with
139 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
tags: | ||
- "v*" | ||
|
||
env: | ||
# Path to the solution file relative to the root of the project. | ||
SOLUTION_FILE_PATH: ./Source/DS3OpenServer.sln | ||
|
||
# Configuration type to build. | ||
# You can convert this to a build matrix if you need coverage of multiple configuration types. | ||
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
BUILD_CONFIGURATION: Release | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout respository | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 5.0.x | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Restore NuGet packages | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: nuget restore ${{env.SOLUTION_FILE_PATH}} | ||
|
||
- name: Install vcpkg | ||
shell: cmd | ||
working-directory: ${{github.workspace}}/Tools/vcpkg | ||
run: bootstrap-vcpkg.bat | ||
|
||
- name: Integrate vcpkg with Visual Studio | ||
working-directory: ${{github.workspace}}/Tools/vcpkg | ||
run: vcpkg integrate install | ||
|
||
- name: Build | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
# Add additional options to the MSBuild command line here (like platform or verbosity level). | ||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | ||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} | ||
|
||
- name: Package Release | ||
shell: cmd | ||
working-directory: ${{github.workspace}} | ||
run: ${{github.workspace}}/Tools/Package.bat | ||
|
||
- name: Zip Release | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
files: ${{github.workspace}}/Publish/ | ||
dest: ${{github.workspace}}/Publish.zip | ||
|
||
- name: Upload Release | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: release-build | ||
path: ${{github.workspace}}/Publish.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,5 @@ Temp/ | |
RawCaptures/ | ||
GameCaptures/ | ||
Dumps/ | ||
enc_temp_folder/ | ||
enc_temp_folder/ | ||
Publish/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
------------------------------------------------------------------------- | ||
Dark Souls 3 - Open Server | ||
https://github.com/TLeonardUK/ds3os | ||
------------------------------------------------------------------------- | ||
|
||
Contained in this folder are 2 executables. | ||
|
||
-- Server.exe -- | ||
When run this will launch a dark souls 3 server. When launched it will save | ||
a file to Saved\server.ds3oconfig, this file contains configuration settings | ||
and cryptographic keys that allow other users to join the server. You should | ||
open this file and modify the Name, Description and Hostname settings your | ||
server. If you do not have a hostname that points to your computer use your | ||
external IP address (the one you find from visiting sites like | ||
https://www.whatismyip.com/). | ||
|
||
The server accepts connections on ports 50050, 50000 and 50010 by default. If | ||
the computer you are running the server on is behind a router you will likely | ||
need to modify your wrote to port-forward TCP and UDP on all of those ports to | ||
allow external people to connect. Guides to doing this are numerous and available | ||
online. | ||
|
||
-- Loader.exe -- | ||
This tool allows you to launch Dark Souls III in a way that allows you to join | ||
an unofficial server. All you need to do is open the Loader, set the path | ||
to your DarkSoulsIII.exe (normally somewhere in your steam directory) and then | ||
import a .ds3oconfig file that describes the server to connect to, and should have | ||
been given to you by whoever is running the server. | ||
|
||
Be warned, while it does not currently seem to occur, no guarantee is made that | ||
your account will not be soft-banned on offical servers if you use this tool. | ||
It would be wise to use a family-share account or a similar disposable account | ||
when using this. |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Source/Loader/Properties/PublishProfiles/FolderProfile.pubxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
https://go.microsoft.com/fwlink/?LinkID=208121. | ||
--> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration>Debug</Configuration> | ||
<Platform>x64</Platform> | ||
<PublishDir>Z:\ds3os\Bin\Loader\Publish</PublishDir> | ||
<PublishProtocol>FileSystem</PublishProtocol> | ||
<TargetFramework>net5.0-windows</TargetFramework> | ||
<SelfContained>false</SelfContained> | ||
</PropertyGroup> | ||
</Project> |
9 changes: 9 additions & 0 deletions
9
Source/Loader/Properties/PublishProfiles/FolderProfile.pubxml.user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
https://go.microsoft.com/fwlink/?LinkID=208121. | ||
--> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<History>False|2021-08-21T18:49:02.8370246Z;False|2021-08-21T19:48:29.5760218+01:00;False|2021-08-21T19:47:45.8286531+01:00;</History> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
:: Assumed to be run from root directory. | ||
|
||
mkdir Publish | ||
mkdir Publish\Loader | ||
mkdir Publish\Server | ||
copy Resources\ReadMe.txt Publish\ReadMe.txt | ||
xcopy /s Bin\Server Publish\Server |