Installer the-sims-2-osabs-ts2-starter-pa

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:
- installer: https://github.com/voicemxil/TS2-Starter-Pack/releases/download/v12/TS2-SP-WebInstaller.v12.x64.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/The Sims 2 Starter Pack/Fun with Pets/SP9/TSBin/Sims2RPC.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    app: arial
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Once you get to the components page in the installer, choose the
      "Minimal (Linux/WINE optimized)" install type.
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: sed -i 's/uintProp maxResWidth      1600/uintProp maxResWidth      7680/g'
      "$GAMEDIR/drive_c/Program Files (x86)/The Sims 2 Starter Pack/Fun with Pets/SP9/TSData/Res/Config/Graphics
      Rules.sgr"
- execute:
    command: sed -i 's/uintProp maxResHeight     1200/uintProp maxResHeight     4320/g'
      "$GAMEDIR/drive_c/Program Files (x86)/The Sims 2 Starter Pack/Fun with Pets/SP9/TSData/Res/Config/Graphics
      Rules.sgr"
{
  "files": [
    {
      "installer": "https://github.com/voicemxil/TS2-Starter-Pack/releases/download/v12/TS2-SP-WebInstaller.v12.x64.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/The Sims 2 Starter Pack/Fun with Pets/SP9/TSBin/Sims2RPC.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial",
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Once you get to the components page in the installer, choose the \"Minimal (Linux/WINE optimized)\" install type.",
        "executable": "installer",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "sed -i 's/uintProp maxResWidth      1600/uintProp maxResWidth      7680/g' \"$GAMEDIR/drive_c/Program Files (x86)/The Sims 2 Starter Pack/Fun with Pets/SP9/TSData/Res/Config/Graphics Rules.sgr\""
      }
    },
    {
      "execute": {
        "command": "sed -i 's/uintProp maxResHeight     1200/uintProp maxResHeight     4320/g' \"$GAMEDIR/drive_c/Program Files (x86)/The Sims 2 Starter Pack/Fun with Pets/SP9/TSData/Res/Config/Graphics Rules.sgr\""
      }
    }
  ]
}
Back to game