Installer test-drive-unlimited-platinum-mod

files:
- patch166a: https://www.moddb.com/games/test-drive-unlimited/downloads/patch-1-66a
- mod10: N/A:Select the ZIP file for the 1.0 version of the Platinum mod
- mod121: N/A:Select the ZIP file for the 1.21 update of the Platinum mod
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/TDU - Project
    Paradise Launcher.exe
  prefix: $GAMEDIR
install_complete_text: Installation successful! When starting the game, make sure
  you have the Big bnk activated in the launcher (Marked check). Do not install a
  No-DVD patch, as it is already included in the mod.
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win7
    name: winetricks
    prefix: $GAMEDIR
- insert-disc:
    requires: Test Drive Unlimited.msi
- task:
    arch: win64
    description: Installing Test Drive Unlimited. This may take a few minutes and
      the installer may appear frozen.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/patch166a
    file: patch166a
- task:
    arch: win64
    description: Installing Patch 1.66a
    executable: $CACHE/patch166a/Test Drive Unlimited Patch 1.66A.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: find "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/"
      \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
- extract:
    dst: $CACHE/mod10
    file: mod10
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited
    src: $CACHE/mod10/Test Drive Unlimited
- execute:
    command: find "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/"
      \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
- extract:
    dst: $CACHE/mod121
    file: mod121
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited
    src: $CACHE/mod121/Test Drive Unlimited
system:
  env:
    DXVK_FRAME_RATE: 90
description: Platinum mod from https://turboduck.net/files/file/81-test-drive-unlimited-platinum-v10-torrent/
game_slug: test-drive-unlimited
gogslug: ''
humblestoreid: ''
installer_slug: test-drive-unlimited-platinum-mod
name: Test Drive Unlimited
notes: The mod files for version 1.0 (https://turboduck.net/files/file/81-test-drive-unlimited-platinum-v10-torrent/)
  and the 1.21 update (https://turboduck.net/files/file/85-test-drive-unlimited-platinum-patch-update/)
  have to be downloaded beforehand (but not extracted).
runner: wine
script:
  files:
  - patch166a: https://www.moddb.com/games/test-drive-unlimited/downloads/patch-1-66a
  - mod10: N/A:Select the ZIP file for the 1.0 version of the Platinum mod
  - mod121: N/A:Select the ZIP file for the 1.21 update of the Platinum mod
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/TDU - Project
      Paradise Launcher.exe
    prefix: $GAMEDIR
  install_complete_text: Installation successful! When starting the game, make sure
    you have the Big bnk activated in the launcher (Marked check). Do not install
    a No-DVD patch, as it is already included in the mod.
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win7
      name: winetricks
      prefix: $GAMEDIR
  - insert-disc:
      requires: Test Drive Unlimited.msi
  - task:
      arch: win64
      description: Installing Test Drive Unlimited. This may take a few minutes and
        the installer may appear frozen.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/patch166a
      file: patch166a
  - task:
      arch: win64
      description: Installing Patch 1.66a
      executable: $CACHE/patch166a/Test Drive Unlimited Patch 1.66A.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: find "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/"
        \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
  - extract:
      dst: $CACHE/mod10
      file: mod10
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited
      src: $CACHE/mod10/Test Drive Unlimited
  - execute:
      command: find "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/"
        \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \)
  - extract:
      dst: $CACHE/mod121
      file: mod121
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited
      src: $CACHE/mod121/Test Drive Unlimited
  system:
    env:
      DXVK_FRAME_RATE: 90
slug: test-drive-unlimited-platinum-mod
steamid: null
version: Platinum mod
year: 2007
{
  "game_slug": "test-drive-unlimited",
  "version": "Platinum mod",
  "description": "Platinum mod from https://turboduck.net/files/file/81-test-drive-unlimited-platinum-v10-torrent/",
  "notes": "The mod files for version 1.0 (https://turboduck.net/files/file/81-test-drive-unlimited-platinum-v10-torrent/) and the 1.21 update (https://turboduck.net/files/file/85-test-drive-unlimited-platinum-patch-update/) have to be downloaded beforehand (but not extracted).",
  "name": "Test Drive Unlimited",
  "year": 2007,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "test-drive-unlimited-platinum-mod",
  "installer_slug": "test-drive-unlimited-platinum-mod",
  "script": {
    "files": [
      {
        "patch166a": "https://www.moddb.com/games/test-drive-unlimited/downloads/patch-1-66a"
      },
      {
        "mod10": "N/A:Select the ZIP file for the 1.0 version of the Platinum mod"
      },
      {
        "mod121": "N/A:Select the ZIP file for the 1.21 update of the Platinum mod"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/TDU - Project Paradise Launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "install_complete_text": "Installation successful! When starting the game, make sure you have the Big bnk activated in the launcher (Marked check). Do not install a No-DVD patch, as it is already included in the mod.",
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win7",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "Test Drive Unlimited.msi"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Test Drive Unlimited. This may take a few minutes and the installer may appear frozen.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/patch166a",
          "file": "patch166a"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Patch 1.66a",
          "executable": "$CACHE/patch166a/Test Drive Unlimited Patch 1.66A.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "find \"$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/\" \\( -type d -exec chmod 755 {} + \\) -o \\( -type f -exec chmod 644 {} + \\)"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/mod10",
          "file": "mod10"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited",
          "src": "$CACHE/mod10/Test Drive Unlimited"
        }
      },
      {
        "execute": {
          "command": "find \"$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited/\" \\( -type d -exec chmod 755 {} + \\) -o \\( -type f -exec chmod 644 {} + \\)"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/mod121",
          "file": "mod121"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Atari/Test Drive Unlimited",
          "src": "$CACHE/mod121/Test Drive Unlimited"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": 90
      }
    }
  }
}
Back to game