ModnationServerEmu icon indicating copy to clipboard operation
ModnationServerEmu copied to clipboard

Build Instructions

Open ysguy opened this issue 4 years ago • 0 comments

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.

  1. Download a copy of this github repository as a zip, unzip somewhere
  2. Download and install Visual Studio 2022 Community Edition (Choose the .Net Desktop Development).
  3. Find, download and install Win64OpenSSL_Light-3_0_0.msi, when prompted install to the system folder
  4. Go to you unzipped folder, open ModnationServerEmu.sln
  5. When it asks to update the project to .Net 4.8, let it.
  6. Expand Bombserber > Src and open (double click on) Program.cs
  7. Change the IP addresses to match the system the compiled binary will run on.
  8. Go to Tools menu > NuGet Package Manager > Manager NuGet Packages for Solution..
  9. Search for Sqlite
  10. Click on "System.Data.SqLite.Core, then on the right select the project files and click install.
  11. Now go to the Build menu and choose Build solution

Running app for first time

  1. Go to the project folder > BombServer > Bin > Debug and run BombServerEmu_MNR.exe (as Administrator)
  2. 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
  3. Make a new folder called Certs, paste in "output.pfx"
  4. Close the window that was running BombServer

Running BombServer.

  1. 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

  1. Go to the project folder > ModnationServer > Bin > Debug and run ModnationServer.exe (as Administrator)
  2. 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.

ysguy avatar Dec 08 '21 15:12 ysguy