Installer the-sims-medieval-origin

files:
- origin: https://download.dm.origin.com/origin/live/OriginSetup.exe
game:
  arch: win32
  exe: drive_c/Program Files/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine Prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    app: dotnet20
    arch: win32
    description: Installing .Net 2.0
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    description: Installing Origin...
    exclude_processes: Origin.exe
    executable: origin
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
description: ''
game_slug: the-sims-medieval
gogslug: ''
humblestoreid: ''
installer_slug: the-sims-medieval-origin
name: The Sims Medieval
notes: "- Please disable Origin-In-Game to avoid crashing on startup.\r\n- If the\
  \ updates throws an error try updating again then it should work."
runner: wine
script:
  files:
  - origin: https://download.dm.origin.com/origin/live/OriginSetup.exe
  game:
    arch: win32
    exe: drive_c/Program Files/Origin/Origin.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      description: Creating Wine Prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      app: dotnet20
      arch: win32
      description: Installing .Net 2.0
      name: winetricks
      prefix: $GAMEDIR
      silent: true
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      description: Installing Origin...
      exclude_processes: Origin.exe
      executable: origin
      name: wineexec
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
slug: the-sims-medieval-origin
steamid: null
version: Origin
year: 2011
{
  "game_slug": "the-sims-medieval",
  "version": "Origin",
  "description": "",
  "notes": "- Please disable Origin-In-Game to avoid crashing on startup.\r\n- If the updates throws an error try updating again then it should work.",
  "name": "The Sims Medieval",
  "year": 2011,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-sims-medieval-origin",
  "installer_slug": "the-sims-medieval-origin",
  "script": {
    "files": [
      {
        "origin": "https://download.dm.origin.com/origin/live/OriginSetup.exe"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Origin/Origin.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine Prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet20",
          "arch": "win32",
          "description": "Installing .Net 2.0",
          "name": "winetricks",
          "prefix": "$GAMEDIR",
          "silent": true
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Origin...",
          "exclude_processes": "Origin.exe",
          "executable": "origin",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game