Skip to content

garrettjoecox/anchor

Repository files navigation

anchor

What is this?

Anchor is a client/server service for providing multiplayer functions in Harbor Masters 64 ports. It's primary functions are loading save state from a remote player when you join their session, and sending flag sets/item gives across all players in a room/team.

This implementation of a client/server model is very generic, allowing for multiple games to use it's functions at once as the client software is responsible for handling all of the game state.

How to use this?

Note

For your typical user, you don't actually need this, as we have a public server hosted for general use at anchor.hm64.org:43383 which is the default on clients. Self hosting may be a better option for you if you are not based in the US however, as latency may be an issue.

Precompiled Binaries

Build from source

  1. Install Go

  2. Git clone this repository:

git clone https://github.com/garrettjoecox/anchor.git && cd anchor
  1. Run the server:
go run .

Docker

docker run -p 43383:43383 -v /my/mnt/logs:/app/logs ghcr.io/garrettjoecox/anchor:latest

Optional environment variables can be set:

  • PORT: configures the server port inside the container; defaults to 43383
  • Volumes: mounts a local directory to a directory in the container; our example uses the log folder

Docker Compose

Example docker compose file

docker compose up -d

Any configurable environment variables can be viewed here.

About

Anchor is a mod+server that enables co-op on Ship of Harkinian, the Ocarina of Time PC Port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages