Installer the-sims-2-origin

files:
- client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    description: Installing Origin... Login window will pop-up and close.
    exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
      QtWebEngineProcess.exe
    executable: client
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: 0
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
description: "This installer makes use of Vulkan. It will not work on machines that\
  \ don't support it or haven't been properly configured for it.\r\nIt is made for\
  \ the Ultimate Collection version from Origin."
game_slug: the-sims-2
gogslug: ''
humblestoreid: ''
installer_slug: the-sims-2-origin
name: The Sims 2
notes: "IMPORTANT: READ THE MANUAL AND INSTALL DEPENDENCIES!\r\nSee https://github.com/lutris/docs/blob/master/Origin.md\r\
  \n\r\n- The game will fail to launch with Origin-In-Game enabled. Please disable\
  \ it in Origin's preferences to launch The Sims 2.\r\n- Enable the FSR option on\
  \ 4K displays for bigger GUI and change the resolution to a lower one, this will\
  \ allow it to downscale while preserving quality.\r\n- For support, contact @Tannis\
  \ Root on Lutris Discord server."
runner: wine
script:
  files:
  - client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Origin/Origin.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: arial
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: /silent
      description: Installing Origin... Login window will pop-up and close.
      exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
        QtWebEngineProcess.exe
      executable: client
      name: wineexec
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
      DXVK_HUD: 0
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
slug: the-sims-2-origin
steamid: null
version: Origin
year: 2004
{
  "game_slug": "the-sims-2",
  "version": "Origin",
  "description": "This installer makes use of Vulkan. It will not work on machines that don't support it or haven't been properly configured for it.\r\nIt is made for the Ultimate Collection version from Origin.",
  "notes": "IMPORTANT: READ THE MANUAL AND INSTALL DEPENDENCIES!\r\nSee https://github.com/lutris/docs/blob/master/Origin.md\r\n\r\n- The game will fail to launch with Origin-In-Game enabled. Please disable it in Origin's preferences to launch The Sims 2.\r\n- Enable the FSR option on 4K displays for bigger GUI and change the resolution to a lower one, this will allow it to downscale while preserving quality.\r\n- For support, contact @Tannis Root on Lutris Discord server.",
  "name": "The Sims 2",
  "year": 2004,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-sims-2-origin",
  "installer_slug": "the-sims-2-origin",
  "script": {
    "files": [
      {
        "client": "https://download.dm.origin.com/origin/live/OriginThinSetup.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "description": "Installing Origin... Login window will pop-up and close.",
          "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe",
          "executable": "client",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
        "DXVK_HUD": 0,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      },
      "exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe"
    }
  }
}
Back to game