Installer mass-effect-2-dvd

game:
  arch: win32
  args: -nomovieplayback
  exe: drive_c/Program Files/Mass Effect 2/Binaries/MassEffect2.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: d3dx9
    description: Installing DirectX 9.
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: physx
    description: Installing PhysX.
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: 'The installating folder MUST BE ''C:\Program Files\Mass Effect 2''

      Ignore install of DirectX, Visual C++ and PhysX.'
    executable: $DISC/Setup.exe
    name: wineexec
    prefix: $GAMEDIR
description: During installation, the default installation folder may be different
  depending on the ISO file used, be careful to select the right folder.Game options
  ( screen resolution, fullscreen, ... ) MUST BE configured manually by launching
  an EXE inside the installer ).
game_slug: mass-effect-2
gogslug: ''
humblestoreid: ''
installer_slug: mass-effect-2-dvd
name: Mass Effect 2
notes: "Because of the introduction videos (EA logo) it is necessary to launch the\
  \ game with the parameter'-nomovieplayback', which is not possible with the Mass\
  \ Effect 2 launcher.\r\nAfter installation and before starting the game, click on\
  \ 'Run EXE inside wineprefix', search for 'drive_c\\Program Files\\Mass Effect 2\\\
  Binaries\\MassEffect2config.exe' and configure the game.\r\nThe parameter \"-nomovieplayback\"\
  \ can block access to the Citadel, but maybe necessary to compete a quest on the\
  \ Citadel.\r\nIf you experience a black screen during the car chase, turning off\
  \ the graphics effects in MassEffect2config may help."
runner: wine
script:
  game:
    arch: win32
    args: -nomovieplayback
    exe: drive_c/Program Files/Mass Effect 2/Binaries/MassEffect2.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: d3dx9
      description: Installing DirectX 9.
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: physx
      description: Installing PhysX.
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: 'The installating folder MUST BE ''C:\Program Files\Mass Effect
        2''

        Ignore install of DirectX, Visual C++ and PhysX.'
      executable: $DISC/Setup.exe
      name: wineexec
      prefix: $GAMEDIR
slug: mass-effect-2-dvd
steamid: 24980
version: DVD
year: 2010
{
  "game_slug": "mass-effect-2",
  "version": "DVD",
  "description": "During installation, the default installation folder may be different depending on the ISO file used, be careful to select the right folder.Game options ( screen resolution, fullscreen, ... ) MUST BE configured manually by launching an EXE inside the installer ).",
  "notes": "Because of the introduction videos (EA logo) it is necessary to launch the game with the parameter'-nomovieplayback', which is not possible with the Mass Effect 2 launcher.\r\nAfter installation and before starting the game, click on 'Run EXE inside wineprefix', search for 'drive_c\\Program Files\\Mass Effect 2\\Binaries\\MassEffect2config.exe' and configure the game.\r\nThe parameter \"-nomovieplayback\" can block access to the Citadel, but maybe necessary to compete a quest on the Citadel.\r\nIf you experience a black screen during the car chase, turning off the graphics effects in MassEffect2config may help.",
  "name": "Mass Effect 2",
  "year": 2010,
  "steamid": 24980,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "mass-effect-2-dvd",
  "installer_slug": "mass-effect-2-dvd",
  "script": {
    "game": {
      "arch": "win32",
      "args": "-nomovieplayback",
      "exe": "drive_c/Program Files/Mass Effect 2/Binaries/MassEffect2.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": "d3dx9",
          "description": "Installing DirectX 9.",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "physx",
          "description": "Installing PhysX.",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "The installating folder MUST BE 'C:\\Program Files\\Mass Effect 2'\nIgnore install of DirectX, Visual C++ and PhysX.",
          "executable": "$DISC/Setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game