Installer star-wars-the-force-unleashed-2-disc-retail

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:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Activision/Star Wars The Force Unleashed/SWTFU
    Launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine Bottle, please wait...
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Insert disc 1
    requires: setup.exe
- merge:
    description: Extracting installation data from disc, please wait ...
    dst: $GAMEDIR/drive_c/swsetup
    src: $DISC
- execute:
    args: 744 -R $GAMEDIR/drive_c/swsetup
    descritpion: Set proper file permissions for extracted data, please wait...
    file: chmod
- task:
    executable: $GAMEDIR/drive_c/swsetup/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: dotnet35sp1
    arch: win32
    description: Installing Dot.Net 3.6 Service Pack 1
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2005 win7
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: xact
    arch: win32
    name: winetricks
    prefix: $GAMEDIR
wine:
  version: tkg-4.5-x86_64
{
  "wine": {
    "version": "tkg-4.5-x86_64"
  },
  "installer": [
    {
      "task": {
        "description": "Creating Wine Bottle, please wait...",
        "prefix": "$GAMEDIR",
        "arch": "win32",
        "install_mono": false,
        "name": "create_prefix"
      }
    },
    {
      "insert-disc": {
        "description": "Insert disc 1",
        "requires": "setup.exe"
      }
    },
    {
      "merge": {
        "description": "Extracting installation data from disc, please wait ...",
        "dst": "$GAMEDIR/drive_c/swsetup",
        "src": "$DISC"
      }
    },
    {
      "execute": {
        "descritpion": "Set proper file permissions for extracted data, please wait...",
        "args": "744 -R $GAMEDIR/drive_c/swsetup",
        "file": "chmod"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "executable": "$GAMEDIR/drive_c/swsetup/setup.exe",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "description": "Installing Dot.Net 3.6 Service Pack 1",
        "prefix": "$GAMEDIR",
        "arch": "win32",
        "name": "winetricks",
        "app": "dotnet35sp1"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "arch": "win32",
        "name": "winetricks",
        "app": "vcrun2005 win7"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "arch": "win32",
        "name": "winetricks",
        "app": "xact"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win32",
    "exe": "$GAMEDIR/drive_c/Program Files/Activision/Star Wars The Force Unleashed/SWTFU Launcher.exe"
  }
}
Back to game