Installer worms-3d-retail-disc-annivers

files:
- officialpatch: 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
  working_dir: $GAMEDIR/drive_c/Team17/Worms 3D
installer:
- task:
    arch: win64
    description: Creating Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    message: Mount or insert both Worms 3D EUROPE discs then continue.
    requires: setup.skin
- task:
    description: 'Installing Base Game.


      Select "setup.exe" from the disc

      Do not change the installation directory or start the game after setup.


      Reject GameSpy Arcade and shortcut creation if asked.

      '
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: 'Installing Service Patch 2 (update to v1073).


      Do not start the game yet! '
    executable: officialpatch
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: chmod -R u+w "$GAMEDIR/drive_c/Team17/Worms 3D"
    description: Making game directory writable
- execute:
    command: 'curl -s "https://api.github.com/repos/heatray/W3DPatch/releases/latest"
      \

      | grep browser_download_url \

      | grep ''W3DPatch.*\.zip'' \

      | cut -d ''"'' -f 4 \

      | head -n 1 \

      | xargs wget --no-check-certificate -O "$CACHE/W3DPatch.zip"

      '
    description: Downloading newest Anniversary Patch from Heatray's GitHub
- extract:
    description: Extracting Anniversary Patch
    dst: $GAMEDIR/drive_c/Team17/Worms 3D
    file: $CACHE/W3DPatch.zip
- 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:
    description: Patching the launcher to skip CD check
    dst: $GAMEDIR/drive_c/Team17/Worms 3D
    file: launcherpatch
- extract:
    description: Patching the executable to avoid SecuROM 4.85.07 DRM
    dst: $GAMEDIR/drive_c/Team17/Worms 3D/bin
    file: w3dpatch
- write_file:
    content: "\n---\n\n# LUTRIS / LINUX USAGE GUIDE\n\n## ENGLISH\n\n1. Open the game\
      \ through Lutris. It will use Launcher.exe.\n2. In the launcher's Advanced field,\
      \ enter:\n\n    /WIN\n\nThis should run the game in borderless-window mode and\
      \ improves Alt+Tab behavior.\n\nAdditional Anniversary Patch options can be\
      \ configured in:\n\n    bin/plugins/W3D.Patch.ini\n\nIf you want to start the\
      \ game faster, enable NoMoviesIntro so the game won't display\nthe company intro\
      \ videos.\n\nAdditional command-line parameters can be found here:\nhttps://www.playdome.hu/forum.php?action=ll&t=10580\n\
      \nHowever, this function can be unreliable. It is preferable to use only\n/WIN\
      \ and configure the remaining options through W3D.Patch.ini.\n\nThe launcher\
      \ automatically detects the monitor resolutions. Select the\ndesired resolution\
      \ from its drop-down menu.\n\n### FPS LIMIT\n\nThe launcher's FPS selector does\
      \ not work correctly. The game may run at\nthe highest frame rate the system\
      \ can produce.\n\nLimiting the frame rate with MangoHud is recommended. There\
      \ is no benefit\nin running a turn-based game from 2003 at thousands of FPS.\n\
      \n### PLAYING IN ULTRAWIDE WITHOUT AN ULTRAWIDE MONITOR\n\n1. Right-click Worms\
      \ 3D in Lutris.\n2. Select Configure.\n3. Enable Advanced options.\n4. Open\
      \ System options.\n5. Enable Gamescope.\n6. Under Game resolution, enter an\
      \ ultrawide resolution.\n\nExamples:\n\n    1706x720 or 1710x720 \u2014 approximately\
      \ 21:9\n    2560x720 \u2014 32:9\n\nImportant: If your monitor is 1920x1080\
      \ - 16:9, avoid using a 1080p ultrawide\nrendering resolution because the game\
      \ may crash. Use a 720p ultrawide\nresolution instead.\n\nStart the game again.\
      \ The virtual ultrawide resolution should now appear\nin the launcher's resolution\
      \ menu.\n\n\n### SUGGESTED MODS\n\n- Multiplayer MapPack by Simo-K on ModDB\n\
      All maps from the 3D series + several community-created maps, as well as the\
      \ ability to play all\nmaps in multiplayer without having to unlock anything.\n\
      \n- Frontend Music Tweak by 4erveR on W4Tweaks\nReplaces the \"Shake your coconuts\"\
      \ menu song with the theme music from the American version of the game,\n\"\
      Worms 3D Fanfare Title Theme\" by Bjorn Lynne\n\n\nREADME file and Lutris script\
      \ by 05LumberJack / JackGreen05\n\n---\n\n# GU\xCDA DE USO EN LUTRIS / LINUX\n\
      \n## ESPA\xD1OL\n\n1. Abre el juego mediante Lutris. Se utilizar\xE1 Launcher.exe.\n\
      2. En el campo Advanced del launcher, escribe:\n\n    /WIN\n\nEsto deber\xED\
      a ejecutar el juego en una ventana sin bordes y mejora el funcionamiento\nde\
      \ Alt+Tab.\n\nLas dem\xE1s opciones del Anniversary Patch se pueden configurar\
      \ en:\n\n    bin/plugins/W3D.Patch.ini\n\nRecomiendo activar NoMoviesIntro para\
      \ iniciar el juego sin mostrar los\nvideos introductorios de las empresas.\n\
      \nPuedes encontrar otros par\xE1metros de lanzamiento aqu\xED:\nhttps://www.playdome.hu/forum.php?action=ll&t=10580\n\
      \nSin embargo, esta funci\xF3n puede ser inestable. Es preferible utilizar\n\
      solamente /WIN y configurar las dem\xE1s opciones mediante W3D.Patch.ini.\n\n\
      El launcher detecta autom\xE1ticamente las resoluciones del monitor. Solo\n\
      debes seleccionar la resoluci\xF3n deseada en su men\xFA desplegable.\n\n###\
      \ L\xCDMITE DE FPS\n\nEl selector de FPS del launcher no funciona correctamente.\
      \ El juego puede\nejecutarse a la tasa de fotogramas m\xE1xima que produzca\
      \ el sistema.\n\nSe recomienda limitar los FPS mediante MangoHud. No hay beneficio\
      \ en\nejecutar un juego por turnos de 2003 a miles de FPS.\n\n### JUGAR EN ULTRAWIDE\
      \ SIN UN MONITOR ULTRAWIDE\n\n1. Haz clic derecho sobre Worms 3D en Lutris.\n\
      2. Selecciona Configurar.\n3. Activa las opciones avanzadas.\n4. Abre Opciones\
      \ del sistema.\n5. Activa Gamescope.\n6. En Resoluci\xF3n del juego, introduce\
      \ una resoluci\xF3n ultrawide.\n\nEjemplos:\n\n    1706x720 \xF3 1710x720 \u2014\
      \ aproximadamente 21:9\n    2560x720 \u2014 32:9\n\nImportante: si tu monitor\
      \ es 1920x1080 - 16:9, evita utilizar una\nresoluci\xF3n ultrawide de 1080p,\
      \ ya que el juego podr\xEDa cerrarse. Utiliza\nuna resoluci\xF3n ultrawide de\
      \ 720p.\n\nAbre nuevamente el juego. La resoluci\xF3n ultrawide virtual deber\xED\
      a aparecer\nahora en el men\xFA de resoluciones del launcher.\n\n\n### MODS\
      \ SUGERIDOS\n\n- Multiplayer MapPack por Simo-K en ModDB\nTodos los mapas de\
      \ la saga 3D + varios de la comunidad, as\xED como poder jugar a todos los\n\
      mapas en el multiplayer sin desbloquear nada.\n\n- Frontend Music Tweak por\
      \ 4erveR en W4Tweaks\nRemplaza la canci\xF3n del men\xFA \"Shake your coconuts\"\
      \ por el tema de Bjorn Lynne \"Worms 3D Fanfare Title Theme\"\nque est\xE1 en\
      \ la versi\xF3n americana del juego\n\n\n\nArchivo README y script de Lutris\
      \ por 05LumberJack / JackGreen05\n"
    description: Creating a README for Lutris/Linux usage instructions
    file: $GAMEDIR/drive_c/Team17/Worms 3D/README Anniversary Patch W3D.md
    mode: a
wine:
  overrides:
    dinput8: n,b
description: Worms 3D on Linux! *REQUIRES AN EUROPEAN .ISO
game_slug: worms-3d
gogslug: ''
humblestoreid: ''
installer_slug: worms-3d-retail-disc-annivers
name: Worms 3D
notes: "- Installs the game and applies the Anniversary Patch by Heatray.\r\nThis\
  \ patch enables Online Multiplayer with OpenSpy, adds fixes and allow Ultra-widescreen\r\
  \n- The launcher automatically detects your monitor's resolutions\r\n- European\
  \ release: https://archive.org/details/worms-3-d-1\r\n\r\n== technical info ==\r\
  \n- Anniversary Patch settings: game folder \u2192 bin \u2192 plugins \u2192 W3D.Patch.ini\r\
  \n- If you have a 16:9 monitor and want to play in Ultra-widescreen go to: Lutris\
  \ \u2192 Select Worms 3D \u2192 Configure \u2192 System Options \u2192 Enable \"\
  Gamescope\". In \"Game Resolution\" add an ultra-widescreen resolution, e.g: 1706x720.\
  \ More info in the \"README Anniversary Patch.md\".\r\n- To allow LAN multiplayer\
  \ go to your Firewall \u2192 add this rule: Allow incoming traffic from any destination\
  \ IP address on port: 5911 (this port is listed in PCGamingWiki's page for Worms\
  \ 3D)\r\n- Suggested mod after installation: Multiplayer MapPack."
runner: wine
script:
  files:
  - officialpatch: 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
    working_dir: $GAMEDIR/drive_c/Team17/Worms 3D
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix.
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      message: Mount or insert both Worms 3D EUROPE discs then continue.
      requires: setup.skin
  - task:
      description: 'Installing Base Game.


        Select "setup.exe" from the disc

        Do not change the installation directory or start the game after setup.


        Reject GameSpy Arcade and shortcut creation if asked.

        '
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: 'Installing Service Patch 2 (update to v1073).


        Do not start the game yet! '
      executable: officialpatch
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: chmod -R u+w "$GAMEDIR/drive_c/Team17/Worms 3D"
      description: Making game directory writable
  - execute:
      command: 'curl -s "https://api.github.com/repos/heatray/W3DPatch/releases/latest"
        \

        | grep browser_download_url \

        | grep ''W3DPatch.*\.zip'' \

        | cut -d ''"'' -f 4 \

        | head -n 1 \

        | xargs wget --no-check-certificate -O "$CACHE/W3DPatch.zip"

        '
      description: Downloading newest Anniversary Patch from Heatray's GitHub
  - extract:
      description: Extracting Anniversary Patch
      dst: $GAMEDIR/drive_c/Team17/Worms 3D
      file: $CACHE/W3DPatch.zip
  - 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:
      description: Patching the launcher to skip CD check
      dst: $GAMEDIR/drive_c/Team17/Worms 3D
      file: launcherpatch
  - extract:
      description: Patching the executable to avoid SecuROM 4.85.07 DRM
      dst: $GAMEDIR/drive_c/Team17/Worms 3D/bin
      file: w3dpatch
  - write_file:
      content: "\n---\n\n# LUTRIS / LINUX USAGE GUIDE\n\n## ENGLISH\n\n1. Open the\
        \ game through Lutris. It will use Launcher.exe.\n2. In the launcher's Advanced\
        \ field, enter:\n\n    /WIN\n\nThis should run the game in borderless-window\
        \ mode and improves Alt+Tab behavior.\n\nAdditional Anniversary Patch options\
        \ can be configured in:\n\n    bin/plugins/W3D.Patch.ini\n\nIf you want to\
        \ start the game faster, enable NoMoviesIntro so the game won't display\n\
        the company intro videos.\n\nAdditional command-line parameters can be found\
        \ here:\nhttps://www.playdome.hu/forum.php?action=ll&t=10580\n\nHowever, this\
        \ function can be unreliable. It is preferable to use only\n/WIN and configure\
        \ the remaining options through W3D.Patch.ini.\n\nThe launcher automatically\
        \ detects the monitor resolutions. Select the\ndesired resolution from its\
        \ drop-down menu.\n\n### FPS LIMIT\n\nThe launcher's FPS selector does not\
        \ work correctly. The game may run at\nthe highest frame rate the system can\
        \ produce.\n\nLimiting the frame rate with MangoHud is recommended. There\
        \ is no benefit\nin running a turn-based game from 2003 at thousands of FPS.\n\
        \n### PLAYING IN ULTRAWIDE WITHOUT AN ULTRAWIDE MONITOR\n\n1. Right-click\
        \ Worms 3D in Lutris.\n2. Select Configure.\n3. Enable Advanced options.\n\
        4. Open System options.\n5. Enable Gamescope.\n6. Under Game resolution, enter\
        \ an ultrawide resolution.\n\nExamples:\n\n    1706x720 or 1710x720 \u2014\
        \ approximately 21:9\n    2560x720 \u2014 32:9\n\nImportant: If your monitor\
        \ is 1920x1080 - 16:9, avoid using a 1080p ultrawide\nrendering resolution\
        \ because the game may crash. Use a 720p ultrawide\nresolution instead.\n\n\
        Start the game again. The virtual ultrawide resolution should now appear\n\
        in the launcher's resolution menu.\n\n\n### SUGGESTED MODS\n\n- Multiplayer\
        \ MapPack by Simo-K on ModDB\nAll maps from the 3D series + several community-created\
        \ maps, as well as the ability to play all\nmaps in multiplayer without having\
        \ to unlock anything.\n\n- Frontend Music Tweak by 4erveR on W4Tweaks\nReplaces\
        \ the \"Shake your coconuts\" menu song with the theme music from the American\
        \ version of the game,\n\"Worms 3D Fanfare Title Theme\" by Bjorn Lynne\n\n\
        \nREADME file and Lutris script by 05LumberJack / JackGreen05\n\n---\n\n#\
        \ GU\xCDA DE USO EN LUTRIS / LINUX\n\n## ESPA\xD1OL\n\n1. Abre el juego mediante\
        \ Lutris. Se utilizar\xE1 Launcher.exe.\n2. En el campo Advanced del launcher,\
        \ escribe:\n\n    /WIN\n\nEsto deber\xEDa ejecutar el juego en una ventana\
        \ sin bordes y mejora el funcionamiento\nde Alt+Tab.\n\nLas dem\xE1s opciones\
        \ del Anniversary Patch se pueden configurar en:\n\n    bin/plugins/W3D.Patch.ini\n\
        \nRecomiendo activar NoMoviesIntro para iniciar el juego sin mostrar los\n\
        videos introductorios de las empresas.\n\nPuedes encontrar otros par\xE1metros\
        \ de lanzamiento aqu\xED:\nhttps://www.playdome.hu/forum.php?action=ll&t=10580\n\
        \nSin embargo, esta funci\xF3n puede ser inestable. Es preferible utilizar\n\
        solamente /WIN y configurar las dem\xE1s opciones mediante W3D.Patch.ini.\n\
        \nEl launcher detecta autom\xE1ticamente las resoluciones del monitor. Solo\n\
        debes seleccionar la resoluci\xF3n deseada en su men\xFA desplegable.\n\n\
        ### L\xCDMITE DE FPS\n\nEl selector de FPS del launcher no funciona correctamente.\
        \ El juego puede\nejecutarse a la tasa de fotogramas m\xE1xima que produzca\
        \ el sistema.\n\nSe recomienda limitar los FPS mediante MangoHud. No hay beneficio\
        \ en\nejecutar un juego por turnos de 2003 a miles de FPS.\n\n### JUGAR EN\
        \ ULTRAWIDE SIN UN MONITOR ULTRAWIDE\n\n1. Haz clic derecho sobre Worms 3D\
        \ en Lutris.\n2. Selecciona Configurar.\n3. Activa las opciones avanzadas.\n\
        4. Abre Opciones del sistema.\n5. Activa Gamescope.\n6. En Resoluci\xF3n del\
        \ juego, introduce una resoluci\xF3n ultrawide.\n\nEjemplos:\n\n    1706x720\
        \ \xF3 1710x720 \u2014 aproximadamente 21:9\n    2560x720 \u2014 32:9\n\n\
        Importante: si tu monitor es 1920x1080 - 16:9, evita utilizar una\nresoluci\xF3\
        n ultrawide de 1080p, ya que el juego podr\xEDa cerrarse. Utiliza\nuna resoluci\xF3\
        n ultrawide de 720p.\n\nAbre nuevamente el juego. La resoluci\xF3n ultrawide\
        \ virtual deber\xEDa aparecer\nahora en el men\xFA de resoluciones del launcher.\n\
        \n\n### MODS SUGERIDOS\n\n- Multiplayer MapPack por Simo-K en ModDB\nTodos\
        \ los mapas de la saga 3D + varios de la comunidad, as\xED como poder jugar\
        \ a todos los\nmapas en el multiplayer sin desbloquear nada.\n\n- Frontend\
        \ Music Tweak por 4erveR en W4Tweaks\nRemplaza la canci\xF3n del men\xFA \"\
        Shake your coconuts\" por el tema de Bjorn Lynne \"Worms 3D Fanfare Title\
        \ Theme\"\nque est\xE1 en la versi\xF3n americana del juego\n\n\n\nArchivo\
        \ README y script de Lutris por 05LumberJack / JackGreen05\n"
      description: Creating a README for Lutris/Linux usage instructions
      file: $GAMEDIR/drive_c/Team17/Worms 3D/README Anniversary Patch W3D.md
      mode: a
  wine:
    overrides:
      dinput8: n,b
slug: worms-3d-retail-disc-annivers
steamid: null
version: Retail disc + Anniversary Patch
year: 2004
{
  "game_slug": "worms-3d",
  "version": "Retail disc + Anniversary Patch",
  "description": "Worms 3D on Linux! *REQUIRES AN EUROPEAN .ISO",
  "notes": "- Installs the game and applies the Anniversary Patch by Heatray.\r\nThis patch enables Online Multiplayer with OpenSpy, adds fixes and allow Ultra-widescreen\r\n- The launcher automatically detects your monitor's resolutions\r\n- European release: https://archive.org/details/worms-3-d-1\r\n\r\n== technical info ==\r\n- Anniversary Patch settings: game folder \u2192 bin \u2192 plugins \u2192 W3D.Patch.ini\r\n- If you have a 16:9 monitor and want to play in Ultra-widescreen go to: Lutris \u2192 Select Worms 3D \u2192 Configure \u2192 System Options \u2192 Enable \"Gamescope\". In \"Game Resolution\" add an ultra-widescreen resolution, e.g: 1706x720. More info in the \"README Anniversary Patch.md\".\r\n- To allow LAN multiplayer go to your Firewall \u2192 add this rule: Allow incoming traffic from any destination IP address on port: 5911 (this port is listed in PCGamingWiki's page for Worms 3D)\r\n- Suggested mod after installation: Multiplayer MapPack.",
  "name": "Worms 3D",
  "year": 2004,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "worms-3d-retail-disc-annivers",
  "installer_slug": "worms-3d-retail-disc-annivers",
  "script": {
    "files": [
      {
        "officialpatch": "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",
      "working_dir": "$GAMEDIR/drive_c/Team17/Worms 3D"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix.",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "message": "Mount or insert both Worms 3D EUROPE discs then continue.",
          "requires": "setup.skin"
        }
      },
      {
        "task": {
          "description": "Installing Base Game.\n\nSelect \"setup.exe\" from the disc\nDo not change the installation directory or start the game after setup.\n\nReject GameSpy Arcade and shortcut creation if asked.\n",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Service Patch 2 (update to v1073).\n\nDo not start the game yet! ",
          "executable": "officialpatch",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "chmod -R u+w \"$GAMEDIR/drive_c/Team17/Worms 3D\"",
          "description": "Making game directory writable"
        }
      },
      {
        "execute": {
          "command": "curl -s \"https://api.github.com/repos/heatray/W3DPatch/releases/latest\" \\\n| grep browser_download_url \\\n| grep 'W3DPatch.*\\.zip' \\\n| cut -d '\"' -f 4 \\\n| head -n 1 \\\n| xargs wget --no-check-certificate -O \"$CACHE/W3DPatch.zip\"\n",
          "description": "Downloading newest Anniversary Patch from Heatray's GitHub"
        }
      },
      {
        "extract": {
          "description": "Extracting Anniversary Patch",
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D",
          "file": "$CACHE/W3DPatch.zip"
        }
      },
      {
        "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": {
          "description": "Patching the launcher to skip CD check",
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D",
          "file": "launcherpatch"
        }
      },
      {
        "extract": {
          "description": "Patching the executable to avoid SecuROM 4.85.07 DRM",
          "dst": "$GAMEDIR/drive_c/Team17/Worms 3D/bin",
          "file": "w3dpatch"
        }
      },
      {
        "write_file": {
          "content": "\n---\n\n# LUTRIS / LINUX USAGE GUIDE\n\n## ENGLISH\n\n1. Open the game through Lutris. It will use Launcher.exe.\n2. In the launcher's Advanced field, enter:\n\n    /WIN\n\nThis should run the game in borderless-window mode and improves Alt+Tab behavior.\n\nAdditional Anniversary Patch options can be configured in:\n\n    bin/plugins/W3D.Patch.ini\n\nIf you want to start the game faster, enable NoMoviesIntro so the game won't display\nthe company intro videos.\n\nAdditional command-line parameters can be found here:\nhttps://www.playdome.hu/forum.php?action=ll&t=10580\n\nHowever, this function can be unreliable. It is preferable to use only\n/WIN and configure the remaining options through W3D.Patch.ini.\n\nThe launcher automatically detects the monitor resolutions. Select the\ndesired resolution from its drop-down menu.\n\n### FPS LIMIT\n\nThe launcher's FPS selector does not work correctly. The game may run at\nthe highest frame rate the system can produce.\n\nLimiting the frame rate with MangoHud is recommended. There is no benefit\nin running a turn-based game from 2003 at thousands of FPS.\n\n### PLAYING IN ULTRAWIDE WITHOUT AN ULTRAWIDE MONITOR\n\n1. Right-click Worms 3D in Lutris.\n2. Select Configure.\n3. Enable Advanced options.\n4. Open System options.\n5. Enable Gamescope.\n6. Under Game resolution, enter an ultrawide resolution.\n\nExamples:\n\n    1706x720 or 1710x720 \u2014 approximately 21:9\n    2560x720 \u2014 32:9\n\nImportant: If your monitor is 1920x1080 - 16:9, avoid using a 1080p ultrawide\nrendering resolution because the game may crash. Use a 720p ultrawide\nresolution instead.\n\nStart the game again. The virtual ultrawide resolution should now appear\nin the launcher's resolution menu.\n\n\n### SUGGESTED MODS\n\n- Multiplayer MapPack by Simo-K on ModDB\nAll maps from the 3D series + several community-created maps, as well as the ability to play all\nmaps in multiplayer without having to unlock anything.\n\n- Frontend Music Tweak by 4erveR on W4Tweaks\nReplaces the \"Shake your coconuts\" menu song with the theme music from the American version of the game,\n\"Worms 3D Fanfare Title Theme\" by Bjorn Lynne\n\n\nREADME file and Lutris script by 05LumberJack / JackGreen05\n\n---\n\n# GU\u00cdA DE USO EN LUTRIS / LINUX\n\n## ESPA\u00d1OL\n\n1. Abre el juego mediante Lutris. Se utilizar\u00e1 Launcher.exe.\n2. En el campo Advanced del launcher, escribe:\n\n    /WIN\n\nEsto deber\u00eda ejecutar el juego en una ventana sin bordes y mejora el funcionamiento\nde Alt+Tab.\n\nLas dem\u00e1s opciones del Anniversary Patch se pueden configurar en:\n\n    bin/plugins/W3D.Patch.ini\n\nRecomiendo activar NoMoviesIntro para iniciar el juego sin mostrar los\nvideos introductorios de las empresas.\n\nPuedes encontrar otros par\u00e1metros de lanzamiento aqu\u00ed:\nhttps://www.playdome.hu/forum.php?action=ll&t=10580\n\nSin embargo, esta funci\u00f3n puede ser inestable. Es preferible utilizar\nsolamente /WIN y configurar las dem\u00e1s opciones mediante W3D.Patch.ini.\n\nEl launcher detecta autom\u00e1ticamente las resoluciones del monitor. Solo\ndebes seleccionar la resoluci\u00f3n deseada en su men\u00fa desplegable.\n\n### L\u00cdMITE DE FPS\n\nEl selector de FPS del launcher no funciona correctamente. El juego puede\nejecutarse a la tasa de fotogramas m\u00e1xima que produzca el sistema.\n\nSe recomienda limitar los FPS mediante MangoHud. No hay beneficio en\nejecutar un juego por turnos de 2003 a miles de FPS.\n\n### JUGAR EN ULTRAWIDE SIN UN MONITOR ULTRAWIDE\n\n1. Haz clic derecho sobre Worms 3D en Lutris.\n2. Selecciona Configurar.\n3. Activa las opciones avanzadas.\n4. Abre Opciones del sistema.\n5. Activa Gamescope.\n6. En Resoluci\u00f3n del juego, introduce una resoluci\u00f3n ultrawide.\n\nEjemplos:\n\n    1706x720 \u00f3 1710x720 \u2014 aproximadamente 21:9\n    2560x720 \u2014 32:9\n\nImportante: si tu monitor es 1920x1080 - 16:9, evita utilizar una\nresoluci\u00f3n ultrawide de 1080p, ya que el juego podr\u00eda cerrarse. Utiliza\nuna resoluci\u00f3n ultrawide de 720p.\n\nAbre nuevamente el juego. La resoluci\u00f3n ultrawide virtual deber\u00eda aparecer\nahora en el men\u00fa de resoluciones del launcher.\n\n\n### MODS SUGERIDOS\n\n- Multiplayer MapPack por Simo-K en ModDB\nTodos los mapas de la saga 3D + varios de la comunidad, as\u00ed como poder jugar a todos los\nmapas en el multiplayer sin desbloquear nada.\n\n- Frontend Music Tweak por 4erveR en W4Tweaks\nRemplaza la canci\u00f3n del men\u00fa \"Shake your coconuts\" por el tema de Bjorn Lynne \"Worms 3D Fanfare Title Theme\"\nque est\u00e1 en la versi\u00f3n americana del juego\n\n\n\nArchivo README y script de Lutris por 05LumberJack / JackGreen05\n",
          "description": "Creating a README for Lutris/Linux usage instructions",
          "file": "$GAMEDIR/drive_c/Team17/Worms 3D/README Anniversary Patch W3D.md",
          "mode": "a"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game