Speedy37 / SC-InteractiveMap

Satisfactory-Calculator Interactive Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Satisfactory-Calculator Interactive Map aka "SCIM"

This repository is here for bug reporting and is not intended to be forked or deployed in any means.

About The Project

The interactive map acts as a 2D map rendering engine and a full-featured save editor for Satisfactory.
A game from Coffee Stain Studios

You can see a Live Example

SCIM

Social media links

Discord
Twitter

License

Copy of the source code and data assets is not permitted in any case.
The map is solely intended to be used on the satisfactory-calculator.com domain.

Roadmap

See the open issues for a list of proposed features (and known issues).

Remote save loading

You can remotely load a dedicated server save by appending ?url=SAVE_LINK to the interactive map URL.
The server needs to send the save file with a valid SSL certificate and CORS enabled.

server {
    server_name             satisfactory.domain; # Dedicated server domain
    root                    /home/steam/.config/Epic/FactoryGame/Saved/SaveGames/server; # SAVE FOLDER

    listen                  443 ssl; # managed by Certbot
    ssl_certificate         /etc/letsencrypt/live/satisfactory.domain/fullchain.pem; # managed by Certbot
    ssl_certificate_key     /etc/letsencrypt/live/satisfactory.domain/privkey.pem; # managed by Certbot    
    include                 /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam             /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

    # Make the save loadable by the map
    add_header              Access-Control-Allow-Headers "Access-Control-Allow-Origin";
    add_header              Access-Control-Allow-Origin "https://satisfactory-calculator.com";

    if($request_method = OPTIONS){
        return 200;
    }
 }

About

Satisfactory-Calculator Interactive Map


Languages

Language:JavaScript 99.6%Language:HTML 0.4%