Installer train-simulator-steam-proton

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.

game:
  appid: 24010
installer:
- write_file:
    content: "#!/bin/bash\n\nfor ap_arch in $(find -name *.ap) ; do\n  echo \"===\
      \ EXTRACTING: $ap_arch ===\"\n  unzip -o $ap_arch -d $(dirname $ap_arch)\ndone\n"
    file: $GAMEDIR/_extract_aps_.sh
- chmodx: $GAMEDIR/_extract_aps_.sh
- execute:
    file: $GAMEDIR/_extract_aps_.sh
require-binaries: unzip
{
  "game": {
    "appid": 24010
  },
  "require-binaries": "unzip",
  "installer": [
    {
      "write_file": {
        "file": "$GAMEDIR/_extract_aps_.sh",
        "content": "#!/bin/bash\n\nfor ap_arch in $(find -name *.ap) ; do\n  echo \"=== EXTRACTING: $ap_arch ===\"\n  unzip -o $ap_arch -d $(dirname $ap_arch)\ndone\n"
      }
    },
    {
      "chmodx": "$GAMEDIR/_extract_aps_.sh"
    },
    {
      "execute": {
        "file": "$GAMEDIR/_extract_aps_.sh"
      }
    }
  ]
}
Back to game