Installer the-sims-2-aube-ts2-magipack

files:
- installer: N/A:Path to The_Sims_2_Repack_v5_Setup.exe
game:
  arch: win64
  exe: drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSBin/Sims2RPC.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    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: Use the default Components page settings when installing.
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: 'sed -i ''s/uintProp maxResWidth\s*[0-9]\+/uintProp maxResWidth      7680/''
      "$GAMEDIR/drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSData/Res/Config/Graphics
      Rules.sgr"

      sed -i ''s/uintProp maxResHeight\s*[0-9]\+/uintProp maxResHeight     4320/''
      "$GAMEDIR/drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSData/Res/Config/Graphics
      Rules.sgr"'
    description: Upgrade maximale resolution of the game
description: Uses the installer by MagiPack, an alternative to the late TS2 Starter
  Pack.
game_slug: the-sims-2
gogslug: ''
humblestoreid: ''
installer_slug: the-sims-2-aube-ts2-magipack
name: The Sims 2
notes: "INSTRUCTIONS:\r\n    - Download TS2 here \u2192 https://www.magipack.games/the-sims-2/\r\
  \n    - Extract the .rar archive.\r\n    - Download and edit this script under the\
  \ \"installer\" section; change the path to match your system.\r\n    - VERY IMPORTANT:\
  \ Replace all spaces in `.bin` and `.exe` filenames with underscores (`_`)!\r\n\
  \    - IN LUTRIS:\r\n        - Open the menu,\r\n        - Click \"Add Game\",\r\
  \n        - Choose \"From Script\",\r\n        - Select your edited `.yml` file,\r\
  \n        - At the \"File review\" step, manually select `The_Sims_2_Repack_v5_Setup.exe`\
  \ from your local files,\r\n        - Continue with the installation.\r\n  IMPORTANT\
  \ INFORMATION:\r\n    - Use the default Components page settings when installing.\r\
  \n    - You may also choose to enable the clean neighborhood template option.\r\n\
  \    - Do not check the box for DXVK, as this is already handled by Lutris.\r\n\
  \    - Enable the FSR option on 4K displays for bigger GUI and change the resolution\
  \ to a lower one.\r\n    - This installer makes use of Vulkan. It will not work\
  \ on machines that don't support it or haven't been properly configured.\r\n   \
  \ - Graphics Rules Maker is usually not necessary, but in some cases, you may need\
  \ to change the window mode.\r\n      You can do this by editing \"~/Documents/Sims2RPC/settings.txt\"\
  ."
runner: wine
script:
  files:
  - installer: N/A:Path to The_Sims_2_Repack_v5_Setup.exe
  game:
    arch: win64
    exe: drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSBin/Sims2RPC.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      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: Use the default Components page settings when installing.
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
  - execute:
      command: 'sed -i ''s/uintProp maxResWidth\s*[0-9]\+/uintProp maxResWidth      7680/''
        "$GAMEDIR/drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSData/Res/Config/Graphics
        Rules.sgr"

        sed -i ''s/uintProp maxResHeight\s*[0-9]\+/uintProp maxResHeight     4320/''
        "$GAMEDIR/drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSData/Res/Config/Graphics
        Rules.sgr"'
      description: Upgrade maximale resolution of the game
slug: the-sims-2-aube-ts2-magipack
steamid: null
version: Aube TS2 MagiPack
year: 2004
{
  "game_slug": "the-sims-2",
  "version": "Aube TS2 MagiPack",
  "description": "Uses the installer by MagiPack, an alternative to the late TS2 Starter Pack.",
  "notes": "INSTRUCTIONS:\r\n    - Download TS2 here \u2192 https://www.magipack.games/the-sims-2/\r\n    - Extract the .rar archive.\r\n    - Download and edit this script under the \"installer\" section; change the path to match your system.\r\n    - VERY IMPORTANT: Replace all spaces in `.bin` and `.exe` filenames with underscores (`_`)!\r\n    - IN LUTRIS:\r\n        - Open the menu,\r\n        - Click \"Add Game\",\r\n        - Choose \"From Script\",\r\n        - Select your edited `.yml` file,\r\n        - At the \"File review\" step, manually select `The_Sims_2_Repack_v5_Setup.exe` from your local files,\r\n        - Continue with the installation.\r\n  IMPORTANT INFORMATION:\r\n    - Use the default Components page settings when installing.\r\n    - You may also choose to enable the clean neighborhood template option.\r\n    - Do not check the box for DXVK, as this is already handled by Lutris.\r\n    - Enable the FSR option on 4K displays for bigger GUI and change the resolution to a lower one.\r\n    - This installer makes use of Vulkan. It will not work on machines that don't support it or haven't been properly configured.\r\n    - Graphics Rules Maker is usually not necessary, but in some cases, you may need to change the window mode.\r\n      You can do this by editing \"~/Documents/Sims2RPC/settings.txt\".",
  "name": "The Sims 2",
  "year": 2004,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-sims-2-aube-ts2-magipack",
  "installer_slug": "the-sims-2-aube-ts2-magipack",
  "script": {
    "files": [
      {
        "installer": "N/A:Path to The_Sims_2_Repack_v5_Setup.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSBin/Sims2RPC.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "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": "Use the default Components page settings when installing.",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "sed -i 's/uintProp maxResWidth\\s*[0-9]\\+/uintProp maxResWidth      7680/' \"$GAMEDIR/drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSData/Res/Config/Graphics Rules.sgr\"\nsed -i 's/uintProp maxResHeight\\s*[0-9]\\+/uintProp maxResHeight     4320/' \"$GAMEDIR/drive_c/MagiPacks/The Sims 2/Fun with Pets/SP9/TSData/Res/Config/Graphics Rules.sgr\"",
          "description": "Upgrade maximale resolution of the game"
        }
      }
    ]
  }
}
Back to game