Skip to content

Repository files navigation

Saturn

(Almost) Fully functional Toro and Friends: Onsen Town backend recreation (LINE, NeptuneSDK and BeXide APIs)

Contents: RequirementsSetup

Requirements

.NET 10 SDK

EFCore

Setup

  • Clone the repository
  • Run these commands in the repository's folder:
$ dotnet restore
$ dotnet ef database update
  • Edit Types/GameInfo.cs to use the right IP and port
    • If you don't want to use a defined port (for example if you're using a domain that's proxied to the running server) you can set Port to 80 or 433.
    • Make sure to change IsHTTPS accordingly. Using cleartext HTTP on Android requires further setup

For testing

  • Simply run this command:
$ dotnet run
  • The server is now running!

To edit the running port, you'll have to edit Properties/launchSettings.json.

For production

  • Run this command:
$ dotnet publish

You will get an executable called Saturn (alongside a bunch of other files) inside of bin/Release/net10.0/publish.

  • If you're running the server on the same machine as where you built it, you can simply run ./Saturn inside the folder.

  • If you're running the server on a separate machine, you'll have to copy the entire publish folder and all its contents in order for it to run correctly.

To edit the running port (which by default is 5000), you'll have to run Saturn like this:

$ ./Saturn --urls http://0.0.0.0:15154/
# ... where 15154 is the port it will run on

About

Almost fully functional Toro and Friends: Onsen Town backend recreation (LINE, NeptuneSDK and BeXide APIs)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages