Installer the-sims-2-universal-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.

files:
- file: N/A:Select the game's setup file
game:
  arch: win64
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine Prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: mfc42 d3dcompiler_43 d3dx9
    description: Installing dependencies...
    name: winetricks
    prefix: $GAMEDIR
    silent: 'true'
- task:
    description: Setting version to xp...
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: winxp
- write_file:
    content: boolprop useshaders true
    file: "$GAMEDIR/drive_c/users/$USER/My Documents/EA Games/The Sims\u2122 2 Ultimate\
      \ Collection/Config/userstartup.cheat"
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    description: Installing The Sims 2...
    executable: file
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    WINE_LARGE_ADDRESS_AWARE: 1
wine:
  d9vk: true
  version: lutris-nofshack-4.19-x86_64
{
  "installer": [
    {
      "task": {
        "description": "Creating Wine Prefix...",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64"
      }
    },
    {
      "task": {
        "description": "Installing dependencies...",
        "name": "winetricks",
        "silent": "true",
        "app": "mfc42 d3dcompiler_43 d3dx9",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Setting version to xp...",
        "path": "HKEY_CURRENT_USER\\Software\\Wine",
        "key": "Version",
        "value": "winxp",
        "name": "set_regedit",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "write_file": {
        "content": "boolprop useshaders true",
        "file": "$GAMEDIR/drive_c/users/$USER/My Documents/EA Games/The Sims\u2122 2 Ultimate Collection/Config/userstartup.cheat"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Installing The Sims 2...",
        "name": "wineexec",
        "executable": "file",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "game": {
    "prefix": "$GAMEDIR",
    "arch": "win64"
  },
  "system": {
    "env": {
      "WINE_LARGE_ADDRESS_AWARE": 1
    }
  },
  "wine": {
    "d9vk": true,
    "version": "lutris-nofshack-4.19-x86_64"
  },
  "files": [
    {
      "file": "N/A:Select the game's setup file"
    }
  ]
}
Back to game