Installer train-simulator-steam-proton

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
description: Train Simulator runs well using Steam Play, tested with Proton 4.2.
game_slug: train-simulator-2014
gogslug: ''
humblestoreid: ''
installer_slug: train-simulator-steam-proton
name: Train Simulator
notes: "If, after downloading new DLCs, the level doesn't load, you may need to extract\
  \ its .ap files.\r\nTo do this, run the created script _extract_aps_.sh, which is\
  \ inside the steamapps/common/RailWorks folder."
runner: steam
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)\n\
        done\n"
      file: $GAMEDIR/_extract_aps_.sh
  - chmodx: $GAMEDIR/_extract_aps_.sh
  - execute:
      file: $GAMEDIR/_extract_aps_.sh
  require-binaries: unzip
slug: train-simulator-steam-proton
steamid: 24010
version: Steam Proton
year: 2009
{
  "game_slug": "train-simulator-2014",
  "version": "Steam Proton",
  "description": "Train Simulator runs well using Steam Play, tested with Proton 4.2.",
  "notes": "If, after downloading new DLCs, the level doesn't load, you may need to extract its .ap files.\r\nTo do this, run the created script _extract_aps_.sh, which is inside the steamapps/common/RailWorks folder.",
  "name": "Train Simulator",
  "year": 2009,
  "steamid": 24010,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "steam",
  "slug": "train-simulator-steam-proton",
  "installer_slug": "train-simulator-steam-proton",
  "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"
  }
}
Back to game