Erupe Community Edition

Erupe is a community-built server for Monster Hunter Frontier - All versions. It is a complete reverse engineered solution to self-host a Monter Hunter Frontier server.

![IMPORTANT] The purpose of this branch is to have a clean transition from a functional 9.2.0 release, to a future 9.3.0 version. Over the last 2 years after the release of 9.2.0, many commits introduced broken features.

Setup

If you are only looking to install Erupe, please use a pre-compiled binary.

If you want to modify or compile Erupe yourself, please read on.

Requirements

Install is simple, you need:

Installation

First-time Setup

  1. Clone the repository:

    git clone https://github.com/ZeruLight/Erupe.git
    cd Erupe
    
  2. Create a new PostgreSQL database and install the schema:

    # Download and apply the base schema
    wget https://github.com/ZeruLight/Erupe/releases/latest/download/SCHEMA.sql
    psql -U your_user -d your_database -f SCHEMA.sql
    
  3. Run each script under patch-schema to apply schema updates:

    psql -U your_user -d your_database -f patch-schema/01_patch.sql
    # Repeat for each patch file in order
    
  4. Copy config.example.json to config.json and edit it:

    cp config.example.json config.json
    # Edit config.json with your database credentials
    
  5. Install dependencies and run:

    go mod download
    go run .
    

    Or build a binary:

    go build
    ./erupe-ce
    

Updating an Existing Installation

  1. Pull the latest changes:

    git pull origin main
    
  2. Update dependencies:

    go mod tidy
    
  3. Apply any new schema patches from patch-schema

  4. Rebuild and restart:

    go build
    ./erupe-ce
    

Note

You will need to acquire and install the client files and quest binaries separately. See the resources for details.

Resources

Languages
Go 95.4%
PLpgSQL 3.8%
HTML 0.8%