Installer future-pinball-19120101231-27

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:
- fpball: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/fp_install.zip
- regfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/fp.reg
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/resolution.sh
- table1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/back_to_the_future_ultimate_3_0_mod-table.zip
- gpreadme: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/gamepad%20profiles/fp_gamepad_readme.html
- gpx360: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/gamepad%20profiles/fp_x360.gamecontroller.amgp
- gpsteam: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/gamepad%20profiles/fp_steam.sccprofile
game:
  args: /open "C:\Future Pinball\Tables\back_to_the_future_ultimate_3_0_mod-table\BTTFMOD.fpt"
    /play
  exe: drive_c/Future Pinball/Future Pinball.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Future Pinball/
    src: fpball
- extract:
    dst: $GAMEDIR/drive_c/Future Pinball/Tables/back_to_the_future_ultimate_3_0_mod-table/
    src: table1
- merge:
    dst: $GAMEDIR/drive_c/tmp
    src: regfile
- merge:
    dst: $GAMEDIR/drive_c/tmp/
    src: script
- chmodx: $GAMEDIR/drive_c/tmp/resolution.sh
- execute:
    args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/tmp/resolution.sh
- task:
    args: $GAMEDIR/drive_c/tmp/fp2.reg
    executable: regedit
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Future Pinball/gamepad profiles/
    src: gpreadme
- merge:
    dst: $GAMEDIR/drive_c/Future Pinball/gamepad profiles/
    src: gpx360
- merge:
    dst: $GAMEDIR/drive_c/Future Pinball/gamepad profiles/
    src: gpsteam
- task:
    app: oleaut32 vcrun6 wsh57 dinput8
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
wine:
  Desktop: true
{
  "files": [
    {
      "fpball": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/fp_install.zip"
    },
    {
      "regfile": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/fp.reg"
    },
    {
      "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/resolution.sh"
    },
    {
      "table1": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/back_to_the_future_ultimate_3_0_mod-table.zip"
    },
    {
      "gpreadme": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/gamepad%20profiles/fp_gamepad_readme.html"
    },
    {
      "gpx360": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/gamepad%20profiles/fp_x360.gamecontroller.amgp"
    },
    {
      "gpsteam": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Future%20Pinball/gamepad%20profiles/fp_steam.sccprofile"
    }
  ],
  "game": {
    "args": "/open \"C:\\Future Pinball\\Tables\\back_to_the_future_ultimate_3_0_mod-table\\BTTFMOD.fpt\" /play",
    "exe": "drive_c/Future Pinball/Future Pinball.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Future Pinball/",
        "src": "fpball"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Future Pinball/Tables/back_to_the_future_ultimate_3_0_mod-table/",
        "src": "table1"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/tmp",
        "src": "regfile"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/tmp/",
        "src": "script"
      }
    },
    {
      "chmodx": "$GAMEDIR/drive_c/tmp/resolution.sh"
    },
    {
      "execute": {
        "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT",
        "file": "$GAMEDIR/drive_c/tmp/resolution.sh"
      }
    },
    {
      "task": {
        "args": "$GAMEDIR/drive_c/tmp/fp2.reg",
        "executable": "regedit",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/Future Pinball/gamepad profiles/",
        "src": "gpreadme"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/Future Pinball/gamepad profiles/",
        "src": "gpx360"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/Future Pinball/gamepad profiles/",
        "src": "gpsteam"
      }
    },
    {
      "task": {
        "app": "oleaut32 vcrun6 wsh57 dinput8",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    }
  ],
  "wine": {
    "Desktop": true
  }
}
Back to game