Installer worms-3d-retail-anniversary-p

files:
- patch1: https://archive.org/download/worms-3-dservice-patch-2/Worms3DServicePatch1.exe
- patch2: https://archive.org/download/worms-3-dservice-patch-2/Worms3DServicePatch2.exe
- launcherpatch: https://codeberg.org/Natanox/lutris-installers/raw/commit/19ee02cf014aa1011d7580b043a933492e7b68c0/Worms%203D/files/LauncherPatch.zip
- w3dpatch: https://codeberg.org/Natanox/lutris-installers/raw/commit/19ee02cf014aa1011d7580b043a933492e7b68c0/Worms%203D/files/GamePatch.zip
game:
  exe: $GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: Worms3D.exe
- task:
    description: 'Installing Base Game. Do not change directory or start game after
      setup!

      Ignore Gamespy Setup if asked'
    executable: $DISC/setup.exe
    name: wineexec
- task:
    description: 'Installing Service Patch 1. Do not start game after setup!

      If asked select Repair.'
    executable: patch1
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: 'Installing Service Patch 2. Do not start game after setup!

      If asked select Repair.'
    executable: patch2
    name: wineexec
- execute:
    command: cd "$GAMEDIR/drive_c"; chmod -R +w "Team17";
- move:
    description: Creating file Backups before patching
    dst: $GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe.backup
    src: $GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe
- move:
    dst: $GAMEDIR/drive_c/Team17/Worms 3D/bin/Worms3D.exe.backup
    src: $GAMEDIR/drive_c/Team17/Worms 3D/bin/Worms3D.exe
- extract:
    dst: $GAMEDIR/drive_c/Team17/Worms 3D
    file: launcherpatch
- extract:
    dst: $GAMEDIR/drive_c/Team17/Worms 3D/bin
    file: w3dpatch
- execute:
    command: curl -s "https://api.github.com/repos/heatray/W3DPatch/releases/latest"
      | grep browser_download_url | cut -d '"' -f 4 | xargs wget --no-check-certificate
      -O "$CACHE/w3dpatch.zip"
    description: Downloading newest Anniversary Patch from Github
- extract:
    description: Extracting Anniversary Patch
    dst: $GAMEDIR/drive_c/Team17/Worms 3D
    file: $CACHE/w3dpatch.zip
- write_config:
    description: Disabling intro videos due to bug
    file: $GAMEDIR/drive_c/Team17/Worms 3D/bin/plugins/W3D.Patch.ini
    key: NoMoviesIntro
    section: Options
    value: 1
wine:
  overrides:
    dinput8: n,b
description: Simple Installer
game_slug: worms-3d
gogslug: ''
humblestoreid: ''
installer_slug: worms-3d-retail-anniversary-p
name: Worms 3D
notes: "- Automated Download of necessary files\r\n- Backups files and applies CD/DVD\
  \ Preservation Patch\r\n- Installs Worms 3D Anniversary Patch, enabling Multiplayer\
  \ and adding patches.\r\n- Additional configuration in game folder \u2192 bin \u2192\
  \ plugins\r\n- Ingame FMVs currently disabled"
runner: wine
script:
  files:
  - patch1: https://archive.org/download/worms-3-dservice-patch-2/Worms3DServicePatch1.exe
  - patch2: https://archive.org/download/worms-3-dservice-patch-2/Worms3DServicePatch2.exe
  - launcherpatch: https://codeberg.org/Natanox/lutris-installers/raw/commit/19ee02cf014aa1011d7580b043a933492e7b68c0/Worms%203D/files/LauncherPatch.zip
  - w3dpatch: https://codeberg.org/Natanox/lutris-installers/raw/commit/19ee02cf014aa1011d7580b043a933492e7b68c0/Worms%203D/files/GamePatch.zip
  game:
    exe: $GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: Worms3D.exe
  - task:
      description: 'Installing Base Game. Do not change directory or start game after
        setup!

        Ignore Gamespy Setup if asked'
      executable: $DISC/setup.exe
      name: wineexec
  - task:
      description: 'Installing Service Patch 1. Do not start game after setup!

        If asked select Repair.'
      executable: patch1
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: 'Installing Service Patch 2. Do not start game after setup!

        If asked select Repair.'
      executable: patch2
      name: wineexec
  - execute:
      command: cd "$GAMEDIR/drive_c"; chmod -R +w "Team17";
  - move:
      description: Creating file Backups before patching
      dst: $GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe.backup
      src: $GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe
  - move:
      dst: $GAMEDIR/drive_c/Team17/Worms 3D/bin/Worms3D.exe.backup
      src: $GAMEDIR/drive_c/Team17/Worms 3D/bin/Worms3D.exe
  - extract:
      dst: $GAMEDIR/drive_c/Team17/Worms 3D
      file: launcherpatch
  - extract:
      dst: $GAMEDIR/drive_c/Team17/Worms 3D/bin
      file: w3dpatch
  - execute:
      command: curl -s "https://api.github.com/repos/heatray/W3DPatch/releases/latest"
        | grep browser_download_url | cut -d '"' -f 4 | xargs wget --no-check-certificate
        -O "$CACHE/w3dpatch.zip"
      description: Downloading newest Anniversary Patch from Github
  - extract:
      description: Extracting Anniversary Patch
      dst: $GAMEDIR/drive_c/Team17/Worms 3D
      file: $CACHE/w3dpatch.zip
  - write_config:
      description: Disabling intro videos due to bug
      file: $GAMEDIR/drive_c/Team17/Worms 3D/bin/plugins/W3D.Patch.ini
      key: NoMoviesIntro
      section: Options
      value: 1
  wine:
    overrides:
      dinput8: n,b
slug: worms-3d-retail-anniversary-p
steamid: null
version: Retail + Anniversary Patch
year: 2004
{
  "game_slug": "worms-3d",
  "version": "Retail + Anniversary Patch",
  "description": "Simple Installer",
  "notes": "- Automated Download of necessary files\r\n- Backups files and applies CD/DVD Preservation Patch\r\n- Installs Worms 3D Anniversary Patch, enabling Multiplayer and adding patches.\r\n- Additional configuration in game folder \u2192 bin \u2192 plugins\r\n- Ingame FMVs currently disabled",
  "name": "Worms 3D",
  "year": 2004,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "worms-3d-retail-anniversary-p",
  "installer_slug": "worms-3d-retail-anniversary-p",
  "script": {
    "files": [
      {
        "patch1": "https://archive.org/download/worms-3-dservice-patch-2/Worms3DServicePatch1.exe"
      },
      {
        "patch2": "https://archive.org/download/worms-3-dservice-patch-2/Worms3DServicePatch2.exe"
      },
      {
        "launcherpatch": "https://codeberg.org/Natanox/lutris-installers/raw/commit/19ee02cf014aa1011d7580b043a933492e7b68c0/Worms%203D/files/LauncherPatch.zip"
      },
      {
        "w3dpatch": "https://codeberg.org/Natanox/lutris-installers/raw/commit/19ee02cf014aa1011d7580b043a933492e7b68c0/Worms%203D/files/GamePatch.zip"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "Worms3D.exe"
        }
      },
      {
        "task": {
          "description": "Installing Base Game. Do not change directory or start game after setup!\nIgnore Gamespy Setup if asked",
          "executable": "$DISC/setup.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "description": "Installing Service Patch 1. Do not start game after setup!\nIf asked select Repair.",
          "executable": "patch1",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Service Patch 2. Do not start game after setup!\nIf asked select Repair.",
          "executable": "patch2",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; chmod -R +w \"Team17\";"
        }
      },
      {
        "move": {
          "description": "Creating file Backups before patching",
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe.backup",
          "src": "$GAMEDIR/drive_c/Team17/Worms 3D/Launcher.exe"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D/bin/Worms3D.exe.backup",
          "src": "$GAMEDIR/drive_c/Team17/Worms 3D/bin/Worms3D.exe"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D",
          "file": "launcherpatch"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D/bin",
          "file": "w3dpatch"
        }
      },
      {
        "execute": {
          "command": "curl -s \"https://api.github.com/repos/heatray/W3DPatch/releases/latest\" | grep browser_download_url | cut -d '\"' -f 4 | xargs wget --no-check-certificate -O \"$CACHE/w3dpatch.zip\"",
          "description": "Downloading newest Anniversary Patch from Github"
        }
      },
      {
        "extract": {
          "description": "Extracting Anniversary Patch",
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D",
          "file": "$CACHE/w3dpatch.zip"
        }
      },
      {
        "write_config": {
          "description": "Disabling intro videos due to bug",
          "file": "$GAMEDIR/drive_c/Team17/Worms 3D/bin/plugins/W3D.Patch.ini",
          "key": "NoMoviesIntro",
          "section": "Options",
          "value": 1
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game