Installer call-of-duty-black-ops-ii-plutonium

files:
- plutonium: https://cdn.plutonium.pw/updater/plutonium.exe
game:
  arch: win64
  exe: drive_c/Plutonium/plutonium.exe
  name: Plutonium
  prefix: $GAMEDIR
installer:
- input_menu:
    description: Enable NTSYNC for improved performance? (Requires kernel 6.10+, older
      distros may not support this.)
    id: NTSYNC
    options:
    - '1': Yes - Enable NTSYNC
    - '0': No - Disable NTSYNC
    preselect: '0'
- input_menu:
    description: Are you using a Wayland session?
    id: WAYLAND
    options:
    - '1': Yes - Using Wayland
    - '0': No - Using X11
    preselect: '0'
- task:
    app: d3dcompiler_47 d3dcompiler_43 d3dx9 d3dx10
    description: Install required d3d dependencies via winetricks
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: msasn1 corefonts
    description: Install required msasn1/corefonts dependencies via winetricks
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2005 vcrun2012 vcrun2019 xact_x64 xact xinput
    description: Install required vcrun/audio/input dependencies via winetricks
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: win10
    description: Setting Windows version to Windows 10
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: fontsmooth=rgb
    description: Enabling subpixel font smoothing for RGB LCDs
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: videomemorysize=default
    description: Letting wine detect memory size for GPU
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: graphics=default
    description: Set graphics driver to system default
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: grabfullscreen=y
    description: Allow grabbing fullscreen windows
    name: winetricks
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Plutonium
    src: plutonium
system:
  env:
    DXVK_ASYNC: 0
    DXVK_STATE_CACHE: 1
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    PROTON_ENABLE_WAYLAND: $INPUT_WAYLAND
    PROTON_NO_ESYNC: 1
    PROTON_NO_FSYNC: 1
    PROTON_PRIORITY_HIGH: 1
    PROTON_USE_NTSYNC: $INPUT_NTSYNC
    PROTON_USE_WOW64: 1
    STAGING_SHARED_MEMORY: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    __GL_SHADER_DISK_CACHE_SKIP_CLEANUP: 1
    __GL_THREADED_OPTIMIZATIONS: 1
wine:
  esync: false
  fsync: false
  overrides:
    '*xinput1_1': b,n
    '*xinput1_2': b,n
    '*xinput1_3': b,n
    '*xinput9_1_0': b,n
description: Downloads Plutonium and installs required dependencies to use it.https://plutonium.pw/
game_slug: call-of-duty-black-ops-ii
gogslug: ''
humblestoreid: ''
installer_slug: call-of-duty-black-ops-ii-plutonium
name: 'Call of Duty: Black Ops II'
notes: it is highly suggested to use the NTSYNC and Wayland environment variable,
  it will highly improve performance in all CoD titles. If you aren't familiar with
  it, there are guides online.
runner: wine
script:
  files:
  - plutonium: https://cdn.plutonium.pw/updater/plutonium.exe
  game:
    arch: win64
    exe: drive_c/Plutonium/plutonium.exe
    name: Plutonium
    prefix: $GAMEDIR
  installer:
  - input_menu:
      description: Enable NTSYNC for improved performance? (Requires kernel 6.10+,
        older distros may not support this.)
      id: NTSYNC
      options:
      - '1': Yes - Enable NTSYNC
      - '0': No - Disable NTSYNC
      preselect: '0'
  - input_menu:
      description: Are you using a Wayland session?
      id: WAYLAND
      options:
      - '1': Yes - Using Wayland
      - '0': No - Using X11
      preselect: '0'
  - task:
      app: d3dcompiler_47 d3dcompiler_43 d3dx9 d3dx10
      description: Install required d3d dependencies via winetricks
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: msasn1 corefonts
      description: Install required msasn1/corefonts dependencies via winetricks
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: vcrun2005 vcrun2012 vcrun2019 xact_x64 xact xinput
      description: Install required vcrun/audio/input dependencies via winetricks
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: win10
      description: Setting Windows version to Windows 10
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: fontsmooth=rgb
      description: Enabling subpixel font smoothing for RGB LCDs
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: videomemorysize=default
      description: Letting wine detect memory size for GPU
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: graphics=default
      description: Set graphics driver to system default
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: grabfullscreen=y
      description: Allow grabbing fullscreen windows
      name: winetricks
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/Plutonium
      src: plutonium
  system:
    env:
      DXVK_ASYNC: 0
      DXVK_STATE_CACHE: 1
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      PROTON_ENABLE_WAYLAND: $INPUT_WAYLAND
      PROTON_NO_ESYNC: 1
      PROTON_NO_FSYNC: 1
      PROTON_PRIORITY_HIGH: 1
      PROTON_USE_NTSYNC: $INPUT_NTSYNC
      PROTON_USE_WOW64: 1
      STAGING_SHARED_MEMORY: 1
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
      __GL_SHADER_DISK_CACHE_SKIP_CLEANUP: 1
      __GL_THREADED_OPTIMIZATIONS: 1
  wine:
    esync: false
    fsync: false
    overrides:
      '*xinput1_1': b,n
      '*xinput1_2': b,n
      '*xinput1_3': b,n
      '*xinput9_1_0': b,n
slug: call-of-duty-black-ops-ii-plutonium
steamid: 202970
version: Plutonium
year: 2012
{
  "game_slug": "call-of-duty-black-ops-ii",
  "version": "Plutonium",
  "description": "Downloads Plutonium and installs required dependencies to use it.https://plutonium.pw/",
  "notes": "it is highly suggested to use the NTSYNC and Wayland environment variable, it will highly improve performance in all CoD titles. If you aren't familiar with it, there are guides online.",
  "name": "Call of Duty: Black Ops II",
  "year": 2012,
  "steamid": 202970,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "call-of-duty-black-ops-ii-plutonium",
  "installer_slug": "call-of-duty-black-ops-ii-plutonium",
  "script": {
    "files": [
      {
        "plutonium": "https://cdn.plutonium.pw/updater/plutonium.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Plutonium/plutonium.exe",
      "name": "Plutonium",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Enable NTSYNC for improved performance? (Requires kernel 6.10+, older distros may not support this.)",
          "id": "NTSYNC",
          "options": [
            {
              "1": "Yes - Enable NTSYNC"
            },
            {
              "0": "No - Disable NTSYNC"
            }
          ],
          "preselect": "0"
        }
      },
      {
        "input_menu": {
          "description": "Are you using a Wayland session?",
          "id": "WAYLAND",
          "options": [
            {
              "1": "Yes - Using Wayland"
            },
            {
              "0": "No - Using X11"
            }
          ],
          "preselect": "0"
        }
      },
      {
        "task": {
          "app": "d3dcompiler_47 d3dcompiler_43 d3dx9 d3dx10",
          "description": "Install required d3d dependencies via winetricks",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "msasn1 corefonts",
          "description": "Install required msasn1/corefonts dependencies via winetricks",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2005 vcrun2012 vcrun2019 xact_x64 xact xinput",
          "description": "Install required vcrun/audio/input dependencies via winetricks",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win10",
          "description": "Setting Windows version to Windows 10",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "fontsmooth=rgb",
          "description": "Enabling subpixel font smoothing for RGB LCDs",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "videomemorysize=default",
          "description": "Letting wine detect memory size for GPU",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "graphics=default",
          "description": "Set graphics driver to system default",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "grabfullscreen=y",
          "description": "Allow grabbing fullscreen windows",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Plutonium",
          "src": "plutonium"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_ASYNC": 0,
        "DXVK_STATE_CACHE": 1,
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "PROTON_ENABLE_WAYLAND": "$INPUT_WAYLAND",
        "PROTON_NO_ESYNC": 1,
        "PROTON_NO_FSYNC": 1,
        "PROTON_PRIORITY_HIGH": 1,
        "PROTON_USE_NTSYNC": "$INPUT_NTSYNC",
        "PROTON_USE_WOW64": 1,
        "STAGING_SHARED_MEMORY": 1,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
        "__GL_SHADER_DISK_CACHE_SKIP_CLEANUP": 1,
        "__GL_THREADED_OPTIMIZATIONS": 1
      }
    },
    "wine": {
      "esync": false,
      "fsync": false,
      "overrides": {
        "*xinput1_1": "b,n",
        "*xinput1_2": "b,n",
        "*xinput1_3": "b,n",
        "*xinput9_1_0": "b,n"
      }
    }
  }
}
Back to game