Installer the-x-files-game-cd

game:
  exe: drive_c/X-Files - The Game/xfiles.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert CD 1 and press "autodetect"
    requires: nav1.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
- insert-disc:
    description: Please insert CD 2 and press "autodetect"
    requires: nav2.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
- insert-disc:
    description: Please insert CD 3 and press "autodetect"
    requires: nav3.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
- insert-disc:
    description: Please insert CD 4 and press "autodetect"
    requires: nav4.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
- insert-disc:
    description: Please insert CD 5 and press "autodetect"
    requires: nav5.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
- insert-disc:
    description: Please insert CD 6 and press "autodetect"
    requires: nav6.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
- insert-disc:
    description: Please insert CD 7 and press "autodetect"
    requires: nav7.nmv
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $DISC
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game"; cd "X-Files
      - The Game"; find . -depth -print0 | xargs -0n 1 bash -c 's=$(dirname "$0")/$(basename
      "$0"); d=$(dirname "$0")/$(basename "$0"|tr "[A-Z]" "[a-z]"); mv -f "$s" "$d"'
      ;
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $GAMEDIR/drive_c/X-Files - The Game/medinst
- merge:
    dst: $GAMEDIR/drive_c/X-Files - The Game
    src: $GAMEDIR/drive_c/X-Files - The Game/mininst
- task:
    app: quicktime72
    name: winetricks
    silent: true
- execute:
    command: cd "$GAMEDIR/drive_c/X-Files - The Game"; rm -f -r mininst medinst directx
      qtw graphics setup.* data* _* autorun.* lang.dat os.dat layout.bin;
system:
  gamescope: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: 640x480
  gamescope_output_res: 1920x1080
description: Play "The X-Files Game" 7 CD edition on Linux!
game_slug: the-x-files-game
gogslug: ''
humblestoreid: ''
installer_slug: the-x-files-game-cd
name: The X-Files Game
notes: "- You will need CDs only one time during install\r\n- This game is capricious,\
  \ it does not run with all Wine version. During my tests I obtained good results\
  \ with Wine 8.0 vanilla and 8.1-staging\r\n- This game will launch in a window 640x480.\
  \ Use Gamescope to play this game in fullscreen"
runner: wine
script:
  game:
    exe: drive_c/X-Files - The Game/xfiles.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert CD 1 and press "autodetect"
      requires: nav1.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
  - insert-disc:
      description: Please insert CD 2 and press "autodetect"
      requires: nav2.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
  - insert-disc:
      description: Please insert CD 3 and press "autodetect"
      requires: nav3.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
  - insert-disc:
      description: Please insert CD 4 and press "autodetect"
      requires: nav4.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
  - insert-disc:
      description: Please insert CD 5 and press "autodetect"
      requires: nav5.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
  - insert-disc:
      description: Please insert CD 6 and press "autodetect"
      requires: nav6.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game";
  - insert-disc:
      description: Please insert CD 7 and press "autodetect"
      requires: nav7.nmv
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $DISC
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +rw "X-Files - The Game"; cd "X-Files
        - The Game"; find . -depth -print0 | xargs -0n 1 bash -c 's=$(dirname "$0")/$(basename
        "$0"); d=$(dirname "$0")/$(basename "$0"|tr "[A-Z]" "[a-z]"); mv -f "$s" "$d"'
        ;
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $GAMEDIR/drive_c/X-Files - The Game/medinst
  - merge:
      dst: $GAMEDIR/drive_c/X-Files - The Game
      src: $GAMEDIR/drive_c/X-Files - The Game/mininst
  - task:
      app: quicktime72
      name: winetricks
      silent: true
  - execute:
      command: cd "$GAMEDIR/drive_c/X-Files - The Game"; rm -f -r mininst medinst
        directx qtw graphics setup.* data* _* autorun.* lang.dat os.dat layout.bin;
  system:
    gamescope: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: 640x480
    gamescope_output_res: 1920x1080
slug: the-x-files-game-cd
steamid: null
version: CD
year: 1998
{
  "game_slug": "the-x-files-game",
  "version": "CD",
  "description": "Play \"The X-Files Game\" 7 CD edition on Linux!",
  "notes": "- You will need CDs only one time during install\r\n- This game is capricious, it does not run with all Wine version. During my tests I obtained good results with Wine 8.0 vanilla and 8.1-staging\r\n- This game will launch in a window 640x480. Use Gamescope to play this game in fullscreen",
  "name": "The X-Files Game",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-x-files-game-cd",
  "installer_slug": "the-x-files-game-cd",
  "script": {
    "game": {
      "exe": "drive_c/X-Files - The Game/xfiles.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 1 and press \"autodetect\"",
          "requires": "nav1.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\";"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 2 and press \"autodetect\"",
          "requires": "nav2.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\";"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 3 and press \"autodetect\"",
          "requires": "nav3.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\";"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 4 and press \"autodetect\"",
          "requires": "nav4.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\";"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 5 and press \"autodetect\"",
          "requires": "nav5.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\";"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 6 and press \"autodetect\"",
          "requires": "nav6.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\";"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD 7 and press \"autodetect\"",
          "requires": "nav7.nmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +rw \"X-Files - The Game\"; cd \"X-Files - The Game\"; find . -depth -print0 | xargs -0n 1 bash -c 's=$(dirname \"$0\")/$(basename \"$0\"); d=$(dirname \"$0\")/$(basename \"$0\"|tr \"[A-Z]\" \"[a-z]\"); mv -f \"$s\" \"$d\"' ;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$GAMEDIR/drive_c/X-Files - The Game/medinst"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/X-Files - The Game",
          "src": "$GAMEDIR/drive_c/X-Files - The Game/mininst"
        }
      },
      {
        "task": {
          "app": "quicktime72",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/X-Files - The Game\"; rm -f -r mininst medinst directx qtw graphics setup.* data* _* autorun.* lang.dat os.dat layout.bin;"
        }
      }
    ],
    "system": {
      "gamescope": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "640x480",
      "gamescope_output_res": "1920x1080"
    }
  }
}
Back to game