Hogwarp

Games
Report Issue

A Pterodactyl egg for the Hogwarts Legacy mod Hogwarp - For more info see their Nexus: https://www.nexusmods.com/hogwartslegacy/mods/1378

Contributors:
README

HogWarp

HogWarp is a Work In Progress mod that adds Multiplayer functionality to Hogwarts Legacy, similar to FiveM for GTAV

This Mod requires a API key only obtainable through their Discord, see the Startup Variable API KEY for more info.

Server Port

Port default
Game 11778

Hardware Requirements

Storage RAM CPU
1.5GiB 250MiB 🥔
Docker Images (1)
Name Image
ghcr.io/ptero-eggs/yolks:wine_latest ghcr.io/ptero-eggs/yolks:wine_latest
Startup Command
export WINEDLLOVERRIDES="mscoree=n,b;mshtml=n,b"; wine HogWarpServer.exe
Variables (9)

Wine Tricks

Environment:
WINETRICKS_RUN
Default:
dotnet7
User Viewable:
User Editable:
Rules:
nullable|string

Hogwarp API Key

A API required to boot - https://presence.hogwarp.com/login - If not set on install it will fail. Set API Key then Reinstall Files

Environment:
API_KEY
Default:
CHANGEME
User Viewable:
User Editable:
Rules:
required|string

Server Name

A name that displays on the Hogwarp list

Environment:
SERV_NAME
Default:
Ptero Hogwarp Server
User Viewable:
User Editable:
Rules:
required|string

WineARCH

Arch type for Wine

Environment:
WINEARCH
Default:
win64
User Viewable:
User Editable:
Rules:
required

Max Players

Max players for a server, this depends on your Patreon level for Hogwarp https://www.patreon.com/tiltedphoques - ( 4, 8, 16, No Limit ) In that order.

Environment:
MAX_PLAYERS
Default:
4
User Viewable:
User Editable:
Rules:
required|integer

Server Icon URL

The icon that displays on Hogwarps multiplayer listing

Environment:
SERV_ICON
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string

Server Description

The description that shows on the Multiplayer list

Environment:
SERV_DESC
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string

Download URL

URL to pull the files from - Files can be found in their Discord (https://discord.com/invite/hogwarp). Default URL will pull from there as well - These files can be outdated! Be sure to check for an update in the event it has a version mismatch with the client.

Environment:
DOWNLOAD_URL
Default:
https://cdn.discordapp.com/attachments/1076580539751993444/1118295980597575810/Server.zip
User Viewable:
User Editable:
Rules:
required|string

WINEDEBUG

Environment:
WINEDEBUG
Default:
-all
User Viewable:
User Editable:
Rules:
nullable
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#Hogwarp Install
apt update -y
apt install -y curl file unzip

if [ ! -d /mnt/server ]; then
    mkdir -p /mnt/server/
fi

cd /mnt/server/

# Validate link
if [ ! -z "${DOWNLOAD_URL}" ]; then 
    if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then
        echo -e "link is valid. setting download link to ${DOWNLOAD_URL}"
        DOWNLOAD_LINK=${DOWNLOAD_URL}
    else        
        echo -e "link is invalid closing out"
        exit 2
    fi
fi

curl -sSL ${DOWNLOAD_LINK} -o ${DOWNLOAD_LINK##*/}

# Unpack Server zip
FILETYPE=$(file -F ',' ${DOWNLOAD_LINK##*/} | cut -d',' -f2 | cut -d' ' -f2)

if [ "$FILETYPE" == "gzip" ]; then
    tar xzvf ${DOWNLOAD_LINK##*/}
elif [ "$FILETYPE" == "Zip" ]; then
    unzip ${DOWNLOAD_LINK##*/}
elif [ "$FILETYPE" == "XZ" ]; then
    tar xvf ${DOWNLOAD_LINK##*/}
else
    echo -e "unknown filetype. Exiting"
    exit 2 
fi

cd /mnt/server/

#Create the Plugins folder
mkdir plugins/

# Check for a config.json, if it is missing; create it
TARGET_FILE="config.json"

if test -f "$TARGET_FILE"; then
    echo "$TARGET_FILE exists. Skipping config install"
else
    echo "$TARGET_FILE does not exist. Installing!"
    curl -sSL -o config.json https://pteropaste.com/hy2d48dbhtdd/
    echo "$TARGET_FILE has been installed"
fi


## Install End
echo "-----------------------------------------"
echo "Hogwarp Is Installed!"
echo "-----------------------------------------"