-
-
Notifications
You must be signed in to change notification settings - Fork 123
Setting up a development environment
Hubert Gendron edited this page Feb 27, 2021
·
14 revisions
- Fork the repository to your own Github account.
- Pull git repository locally (pass
--recursive
togit clone
to init and clone submodules)git clone https://github.com/your-github-name/nebula.git --recursive
- Initialize git submodule(s) by running the following command:
-
git submodule update --init --recursive
This command can also be used to fetch and update changes.
-
- Get the most up-to-date version of Dyson Sphere Program from Steam.
- Load
Nebula.sln
inside Visual Studio - Install BepInEx inside the Dyson Sphere Program Steam installation folder.
- For example:
C:\Program Files (x86)\Steam\steamapps\common\Dyson Sphere Program\BepInEx
- For example:
- Run the game once to activate BepInEx
- Add a
Nebula
folder inside theBepInEx\Plugins
folder - Build entire solution to generate binaries.
- Nebula uses Visual Studio build events to automatically copy the mod binaries to the
BepInEx\Plugins\Nebula
folder.
- Nebula uses Visual Studio build events to automatically copy the mod binaries to the
- Make sure that you have built the entire solution without errors
- Start the
NebulaServer
app from within VisualStudio (or from the built .exe atNebula\NebulaServer\bin\<target>\netcoreapp3.1\NebulaServer.exe
) - Start the game using
Steam
- From the game main menu, you should now see a
Multiplayer
button - Click
Multiplayer
- If the server is not running on your machine, you will need specify the ip and port in the
host
input- For example:
127.0.0.1:8469
(If the NebulaServer uses the default port8469
, you can omit the port in the input field)
- For example:
- Click
Join Game
- You should now see in your server prompt that a new connection was made