panorama

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2022 License: MIT

README

Panorama

Isometric world mapper for Minetest

screenshot

Installation guide

Note: Panorama started as our in-house mapper, and installation is non-trivial as a result. If you're not comfortable with complicated setups, check out mapserver instead!

Prerequisites
  • PostgreSQL backend for your world
  • Several gigabytes of disk space for tiles
  • A decent CPU and about a gigabyte of RAM, depending on workload
  • Recent Go compiler
Step 1: Install Panorama server

Currently, there are no pre-built binaries, so you'll have to build it yourself:

git clone https://github.com/lord-server/panorama
cd panorama
go build
Step 2: Extract game data

Install panorama_api mod and enable it. This mod dumps all info (besides game assets) required to render the map to your world directory.

Step 3: Configure Panorama

Copy config.example.toml to config.toml:

cp config.example.toml config.toml

Edit config.toml and configure paths to your world and game:

game_path = "/path/to/games/your_game"
world_path = "/path/to/worlds/your_world"
world_dsn = 'host=localhost port=5432 user=postgres password=pass dbname=world'
Step 4: Do a full render

This command will perform an initial render. It'll take a lot of time to finish, especially if your map is big.

./panorama --fullrender
Step 5: Run Panorama in server mode

Now you can run this command to serve tiles from address specified in config (localhost:33333 by default)

./panorama --serve

License

MIT

Directories

Path Synopsis
cmd
pkg
lm
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL