Installer mass-effect-dvd

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: drive_c/Program Files/Mass Effect/MassEffectLauncher.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: setup.exe
- task:
    arch: win32
    description: Creating 32bit Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Setting OS as Windows 7.
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win7
- task:
    description: Allow DirectX apps to stop the mouse leaving their window.
    key: GrabFullScreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
- task:
    description: Deny the window manager to decorate the windows.
    key: Decorated
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: N
- task:
    description: Allow the window manager to control the windows.
    key: Managed
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
- task:
    description: Enabling CSMT for better graphic performance.
    key: wined3d
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllRedirects
    prefix: $GAMEDIR
    value: wined3d-csmt.dll
- task:
    description: Enabling VAAPI as backend for DXVA2 GPU decoding.
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
- task:
    app: mfc42
    description: Installing mfc42.
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx9
    description: Installing DirectX 9.
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dsound
    description: Installing DirectSound.
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: 'The installing folder MUST BE "C:\Program Files\Mass Effect".

      Ignore the installating of DirectX.

      '
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
{
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/Mass Effect/MassEffectLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "insert-disc": {
        "requires": "setup.exe"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "Creating 32bit Wine prefix.",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Setting OS as Windows 7.",
        "key": "Version",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine",
        "prefix": "$GAMEDIR",
        "value": "win7"
      }
    },
    {
      "task": {
        "description": "Allow DirectX apps to stop the mouse leaving their window.",
        "key": "GrabFullScreen",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "value": "Y"
      }
    },
    {
      "task": {
        "description": "Deny the window manager to decorate the windows.",
        "key": "Decorated",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "value": "N"
      }
    },
    {
      "task": {
        "description": "Allow the window manager to control the windows.",
        "key": "Managed",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
        "prefix": "$GAMEDIR",
        "value": "Y"
      }
    },
    {
      "task": {
        "description": "Enabling CSMT for better graphic performance.",
        "key": "wined3d",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllRedirects",
        "prefix": "$GAMEDIR",
        "value": "wined3d-csmt.dll"
      }
    },
    {
      "task": {
        "description": "Enabling VAAPI as backend for DXVA2 GPU decoding.",
        "key": "backend",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
        "prefix": "$GAMEDIR",
        "value": "va"
      }
    },
    {
      "task": {
        "app": "mfc42",
        "description": "Installing mfc42.",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "d3dx9",
        "description": "Installing DirectX 9.",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "dsound",
        "description": "Installing DirectSound.",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "The installing folder MUST BE \"C:\\Program Files\\Mass Effect\".\nIgnore the installating of DirectX.\n",
        "executable": "$DISC/setup.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    }
  ]
}
Back to game