mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-23 03:02:51 +01:00
parent
e3e6af2371
commit
2879b1ce1b
@ -1,6 +1,7 @@
|
|||||||
using Model;
|
using Model;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Common
|
namespace Common
|
||||||
@ -9,12 +10,17 @@ namespace Common
|
|||||||
{
|
{
|
||||||
public const long FileSizeLimit = 1024 * 1024;
|
public const long FileSizeLimit = 1024 * 1024;
|
||||||
|
|
||||||
|
private const string workingDirectory = "WD";
|
||||||
|
private static readonly string iraArt = Path.Combine(workingDirectory, "IRA");
|
||||||
|
private static readonly string iraRff = Path.Combine(workingDirectory, "BLOOD.RFF");
|
||||||
|
private static readonly string iraSound = Path.Combine(workingDirectory, "SOUNDS.RFF");
|
||||||
|
|
||||||
public static readonly IReadOnlyDictionary<string, Mod> SupportedMods = new Dictionary<string, Mod>()
|
public static readonly IReadOnlyDictionary<string, Mod> SupportedMods = new Dictionary<string, Mod>()
|
||||||
{
|
{
|
||||||
{ "BLOOD", new Mod("BLOOD", "Blood", "") },
|
{ "BLOOD", new Mod("BLOOD", "Blood", "") },
|
||||||
{ "CRYPTIC", new Mod("CRYPTIC", "Cryptic Passage", "-ini CRYPTIC.INI") },
|
{ "CRYPTIC", new Mod("CRYPTIC", "Cryptic Passage", "-ini CRYPTIC.INI") },
|
||||||
{ "DW", new Mod("DW", "Death Wish", "-ini dw.ini") },
|
{ "DW", new Mod("DW", "Death Wish", "-ini dw.ini") },
|
||||||
{ "TWOIRA", new Mod("TWOIRA", "The Way of Ira", "-ini TWOIRA/twoira.ini -j=TWOIRA") },
|
{ "TWOIRA", new Mod("TWOIRA", "The Way of Ira", $"-game_dir IRA -ini ira.ini -art {iraArt} -rff {iraRff} -snd {iraSound}") },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
16
README.md
16
README.md
@ -34,7 +34,7 @@ After you start the container, the following will happen:
|
|||||||
2. Download the Dockerfile: `wget https://raw.githubusercontent.com/CommonLoon102/NBloodServerSupervisor/master/Dockerfile --directory-prefix=supervisor`
|
2. Download the Dockerfile: `wget https://raw.githubusercontent.com/CommonLoon102/NBloodServerSupervisor/master/Dockerfile --directory-prefix=supervisor`
|
||||||
3. Build the Docker image: `sudo docker build --build-arg CACHEBUST=$(date +%s) -t nblood-supervisor:latest supervisor`
|
3. Build the Docker image: `sudo docker build --build-arg CACHEBUST=$(date +%s) -t nblood-supervisor:latest supervisor`
|
||||||
4. Navigate to your Blood 1.21 directory where you have the below files.
|
4. Navigate to your Blood 1.21 directory where you have the below files.
|
||||||
The files are from stock Blood 1.21, Cryptic Passage, Death Wish 1.6.10 and The Way of Ira 1.0.1
|
The files are from stock Blood 1.21, Cryptic Passage, Death Wish 1.6.10 and The Way of Ira 1.0.2.4
|
||||||
- BLOOD.INI
|
- BLOOD.INI
|
||||||
- BLOOD.RFF
|
- BLOOD.RFF
|
||||||
- CP01.MAP-CP09.MAP
|
- CP01.MAP-CP09.MAP
|
||||||
@ -52,10 +52,12 @@ The files are from stock Blood 1.21, Cryptic Passage, Death Wish 1.6.10 and The
|
|||||||
- SOUNDS.RFF
|
- SOUNDS.RFF
|
||||||
- SURFACE.DAT
|
- SURFACE.DAT
|
||||||
- TILES000.ART-TILES017.ART
|
- TILES000.ART-TILES017.ART
|
||||||
- TWOIRA (folder, see below)
|
- IRA (folder, see below)
|
||||||
- VOXEL.DAT
|
- VOXEL.DAT
|
||||||
|
|
||||||
You need a folder in your Blood folder, named `TWOIRA`, and inside that, these files:
|
You need a folder in your Blood folder, named `IRA`, and inside that, these files:
|
||||||
|
- WD (folder, see below)
|
||||||
|
- ira.ini
|
||||||
- IRA01.MAP
|
- IRA01.MAP
|
||||||
- IRA02_A.MAP
|
- IRA02_A.MAP
|
||||||
- IRA02_B.MAP
|
- IRA02_B.MAP
|
||||||
@ -66,8 +68,12 @@ You need a folder in your Blood folder, named `TWOIRA`, and inside that, these f
|
|||||||
- IRA07.MAP
|
- IRA07.MAP
|
||||||
- IRA08.MAP
|
- IRA08.MAP
|
||||||
- SURFACE.DAT
|
- SURFACE.DAT
|
||||||
- TILES18.ART
|
- VOXEL.DAT
|
||||||
- twoira.ini
|
|
||||||
|
Inside `WD`:
|
||||||
|
- BLOOD.RFF
|
||||||
|
- IRA000.ART-IRA018.ART
|
||||||
|
- SOUNDS.RFF
|
||||||
|
|
||||||
5. Run a Docker container from there: `sudo docker run --volume "$PWD":/supervisor/publish/blood --network=host --detach nblood-supervisor`
|
5. Run a Docker container from there: `sudo docker run --volume "$PWD":/supervisor/publish/blood --network=host --detach nblood-supervisor`
|
||||||
6. Optional: You can see the ApiKey here:
|
6. Optional: You can see the ApiKey here:
|
||||||
|
@ -104,6 +104,7 @@
|
|||||||
<h2>@dw 1.6.10</h2>
|
<h2>@dw 1.6.10</h2>
|
||||||
<details>
|
<details>
|
||||||
<summary>Show @dw <span class="bolder">version 1.6.10</span> servers</summary>
|
<summary>Show @dw <span class="bolder">version 1.6.10</span> servers</summary>
|
||||||
|
<p><a href="https://www.moddb.com/mods/death-wish-for-blood/downloads/death-wish-160-updated-10-31-19" target="_blank" rel="nofollow noreferrer noopener">Download @dw from here</a></p>
|
||||||
<p>The below files must be in your Blood directory:</p>
|
<p>The below files must be in your Blood directory:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>dw.ini</li>
|
<li>dw.ini</li>
|
||||||
@ -115,15 +116,24 @@
|
|||||||
@ListServers(@dw)
|
@ListServers(@dw)
|
||||||
</details>
|
</details>
|
||||||
<br />
|
<br />
|
||||||
<h2>@twoira 1.0.1</h2>
|
<h2>@twoira 1.0.2.4</h2>
|
||||||
<details>
|
<details>
|
||||||
<summary>Show @twoira <span class="bolder">version 1.0.1</span> servers</summary>
|
<summary>Show @twoira <span class="bolder">version 1.0.2.4</span> servers</summary>
|
||||||
<p>@twoira </p>
|
<p><a href="https://www.moddb.com/mods/the-way-of-ira/downloads/the-way-of-ira-twoira-v102-an-episode-for-blood" target="_blank" rel="nofollow noreferrer noopener">Download @twoira from here</a></p>
|
||||||
<p>The below folder (TWOIRA) must be in your Blood directory, and inside that the other additional files:</p>
|
<p>The below folder (IRA) must be in your Blood directory, and inside that the other additional files and folders:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>TWOIRA</li>
|
|
||||||
<li>
|
<li>
|
||||||
|
IRA
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>
|
||||||
|
WD
|
||||||
|
<ul>
|
||||||
|
<li>BLOOD.RFF</li>
|
||||||
|
<li>IRA000.ART-IRA018.ART</li>
|
||||||
|
<li>SOUNDS.RFF</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>ira.ini</li>
|
||||||
<li>IRA01.MAP</li>
|
<li>IRA01.MAP</li>
|
||||||
<li>IRA02_A.MAP</li>
|
<li>IRA02_A.MAP</li>
|
||||||
<li>IRA02_B.MAP</li>
|
<li>IRA02_B.MAP</li>
|
||||||
@ -134,8 +144,7 @@
|
|||||||
<li>IRA07.MAP</li>
|
<li>IRA07.MAP</li>
|
||||||
<li>IRA08.MAP</li>
|
<li>IRA08.MAP</li>
|
||||||
<li>SURFACE.DAT</li>
|
<li>SURFACE.DAT</li>
|
||||||
<li>TILES18.ART</li>
|
<li>VOXEL.DAT</li>
|
||||||
<li>twoira.ini</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user