Build Instructions
Build/Launch Instructions. [ALL CREDIT GOES TO derole1 for their AWESOME & hard work] Windows 10 only - if you don't understand how to port forward, modify firewalls, run custom DNS, don't even bother continuing.
- Download a copy of this github repository as a zip, unzip somewhere
- Download and install Visual Studio 2022 Community Edition (Choose the .Net Desktop Development).
- Find, download and install Win64OpenSSL_Light-3_0_0.msi, when prompted install to the system folder
- Go to you unzipped folder, open ModnationServerEmu.sln
- When it asks to update the project to .Net 4.8, let it.
- Expand Bombserber > Src and open (double click on) Program.cs
- Change the IP addresses to match the system the compiled binary will run on.
- Go to Tools menu > NuGet Package Manager > Manager NuGet Packages for Solution..
- Search for Sqlite
- Click on "System.Data.SqLite.Core, then on the right select the project files and click install.
- Now go to the Build menu and choose Build solution
Running app for first time
- Go to the project folder > BombServer > Bin > Debug and run BombServerEmu_MNR.exe (as Administrator)
- It should generate a cert, pop up a folder with a "output.pfx" file in it. Copy this file, go back to the Debug folder
- Make a new folder called Certs, paste in "output.pfx"
- Close the window that was running BombServer
Running BombServer.
- Run the BombServerEmu_MNR.exe (as Administrator) again, it should start with a bunch of lines about "Register method" and the last line should say "Started service stats ... <your IP address>"
Running Modnation Server
- Go to the project folder > ModnationServer > Bin > Debug and run ModnationServer.exe (as Administrator)
- If it works, it will show two lines saying CDNServer and MainServer Started (http://*/
To stop the servers, just close the window.
I have not yet attempted to connect the game to the server or attempted to set up the required DNS entries as i dont know the URL's that i need to redirect as yet. I'll try and update as i know more, if anyone wants to share - that would be great.
It appears there is one DNS call to: modnation.ps3.playstationcloud.com
However internally pointing that to my windows box running the compiled server versions it does not work, but then again i have NO IDEA whether this is a working version of the server software.