Installer haven-hearth-standalone-game-clie

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- haven-and-hearth-launcher: http://www.havenandhearth.com/java/hafen-launcher.jar
- java-jre: https://lutris.net/files/runners/jre-8u191-linux-i586.tar.gz
game:
  exe: $GAMEDIR/hafen-launcher.jar
  prefix: java -jar
installer:
- move:
    dst: $GAMEDIR
    src: haven-and-hearth-launcher
- extract:
    file: java-jre
- chmodx: $GAMEDIR/hafen-launcher.jar
system:
  prefix_command: java -jar
{
  "files": [
    {
      "haven-and-hearth-launcher": "http://www.havenandhearth.com/java/hafen-launcher.jar"
    },
    {
      "java-jre": "https://lutris.net/files/runners/jre-8u191-linux-i586.tar.gz"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/hafen-launcher.jar",
    "prefix": "java -jar"
  },
  "installer": [
    {
      "move": {
        "dst": "$GAMEDIR",
        "src": "haven-and-hearth-launcher"
      }
    },
    {
      "extract": {
        "file": "java-jre"
      }
    },
    {
      "chmodx": "$GAMEDIR/hafen-launcher.jar"
    }
  ],
  "system": {
    "prefix_command": "java -jar"
  }
}
Back to game