Installer corepunk-standard

files:
- installer:
    filename: Corepunk.Installer.exe
    url: N/A:Select the Corepunk.Installer.exe file downloaded from https://corepunk.com
      (free registration required)
game:
  arch: win64
  exe: drive_c/users/steamuser/AppData/Local/Corepunk Launcher/Corepunk Launcher.exe
  prefix: $GAMEDIR
install_complete_text: "Installation complete.\n\nImportant: For best results, configure\
  \ the Wine runner manually:\n  Right-click Corepunk -> Configure -> Runner options\
  \ -> Wine version.\n  Proton-CachyOS or Proton-GE is strongly recommended.\n\nThe\
  \ launcher will download ~12 GB of game data on first launch.\nThis may take a while\
  \ depending on your connection.\n\nIf the launcher does not open:\n  - Verify DOTNET_ROOT\
  \ is set (it should be configured automatically)\n  - Check that webview2 is installed\
  \ in the Wine prefix\n\nKnown issue: Download may fail with a 502 Bad Gateway error.\n\
  Solution: Wait a few minutes and retry (Corepunk CDN issue).\n"
installer:
- task:
    arch: win64
    description: Creating 64-bit Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win10
    arch: win64
    description: Setting Windows 10 version
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet8
    arch: win64
    description: Installing .NET 8 Runtime (required by WPF launcher)
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    app: webview2
    arch: win64
    description: Installing WebView2 Runtime (required by launcher)
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    arch: win64
    description: Running Corepunk installer (Inno Setup)
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: "DOTNET_DLL=\"$(find \"$GAMEDIR/drive_c/Program Files/dotnet/shared/Microsoft.NETCore.App\"\
      \ -maxdepth 1 -type d | sort -V | tail -1)/System.Private.CoreLib.dll\" ; LAUNCHER_DIR=\"\
      $GAMEDIR/drive_c/users/steamuser/AppData/Local/Corepunk Launcher\" ; if [ -f\
      \ \"$DOTNET_DLL\" ] && [ -d \"$LAUNCHER_DIR\" ]; then\n  cp \"$DOTNET_DLL\"\
      \ \"$LAUNCHER_DIR/\" &&\n  echo \"System.Private.CoreLib.dll copied successfully\"\
      \nelse\n  echo \"Warning: System.Private.CoreLib.dll not found or launcher directory\
      \ missing\"\nfi\n"
    description: Copying System.Private.CoreLib.dll (workaround for Inno Setup .NET
      extraction bug)
system:
  env:
    DOTNET_ROOT: C:\Program Files\dotnet
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    PROTON_ENABLE_NGX_UPDATER: '1'
    PROTON_ENABLE_NVAPI: '1'
    STAGING_SHARED_MEMORY: '1'
    VKD3D_CONFIG: dxr
    VKD3D_FEATURE_LEVEL: '12_2'
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    __GL_SHADER_DISK_CACHE_SKIP_CLEANUP: '1'
  exclude_processes: Agent.exe "Battle.net Helper.exe"
  gamemode: true
wine:
  overrides:
    locationapi: disabled
    quartz: disabled
description: Automated installer for Corepunk, an MMORPG with a proprietary .NET 8
  WPF launcher protected by nProtect GameGuard. Creates a Wine prefix, installs required
  dependencies (.NET 8 Runtime, WebView2), patches System.Private.CoreLib.dll (workaround
  for a known Inno Setup extraction bug under Wine/Proton), and configures environment
  variables for optimal performance on NVIDIA GPUs with DXVK and VKD3D.
game_slug: corepunk
gogslug: ''
humblestoreid: ''
installer_slug: corepunk-standard
name: Corepunk
notes: "- Requires the official installer from corepunk.com (free registration).\r\
  \n- The script does not force a specific Wine runner. After installation,\r\n  configure\
  \ it manually: right-click the game -> Configure -> Runner\r\n  options -> Wine\
  \ version. Proton-CachyOS or Proton-GE is strongly\r\n  recommended for best results.\r\
  \n- System winetricks must be installed.\r\n- Tested on CachyOS (Arch Linux) with\
  \ KDE/Wayland, NVIDIA RTX 4070 Ti\r\n  SUPER, but should work on any Linux distribution\
  \ with Lutris.\r\n- nProtect GameGuard works without additional configuration under\r\
  \n  Proton-CachyOS.\r\n- .NET 8 and WebView2 are installed silently via winetricks.\r\
  \n- On first launch the launcher downloads ~12 GB of game data."
runner: wine
script:
  files:
  - installer:
      filename: Corepunk.Installer.exe
      url: N/A:Select the Corepunk.Installer.exe file downloaded from https://corepunk.com
        (free registration required)
  game:
    arch: win64
    exe: drive_c/users/steamuser/AppData/Local/Corepunk Launcher/Corepunk Launcher.exe
    prefix: $GAMEDIR
  install_complete_text: "Installation complete.\n\nImportant: For best results, configure\
    \ the Wine runner manually:\n  Right-click Corepunk -> Configure -> Runner options\
    \ -> Wine version.\n  Proton-CachyOS or Proton-GE is strongly recommended.\n\n\
    The launcher will download ~12 GB of game data on first launch.\nThis may take\
    \ a while depending on your connection.\n\nIf the launcher does not open:\n  -\
    \ Verify DOTNET_ROOT is set (it should be configured automatically)\n  - Check\
    \ that webview2 is installed in the Wine prefix\n\nKnown issue: Download may fail\
    \ with a 502 Bad Gateway error.\nSolution: Wait a few minutes and retry (Corepunk\
    \ CDN issue).\n"
  installer:
  - task:
      arch: win64
      description: Creating 64-bit Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win10
      arch: win64
      description: Setting Windows 10 version
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: dotnet8
      arch: win64
      description: Installing .NET 8 Runtime (required by WPF launcher)
      name: winetricks
      prefix: $GAMEDIR
      silent: true
  - task:
      app: webview2
      arch: win64
      description: Installing WebView2 Runtime (required by launcher)
      name: winetricks
      prefix: $GAMEDIR
      silent: true
  - task:
      arch: win64
      description: Running Corepunk installer (Inno Setup)
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: "DOTNET_DLL=\"$(find \"$GAMEDIR/drive_c/Program Files/dotnet/shared/Microsoft.NETCore.App\"\
        \ -maxdepth 1 -type d | sort -V | tail -1)/System.Private.CoreLib.dll\" ;\
        \ LAUNCHER_DIR=\"$GAMEDIR/drive_c/users/steamuser/AppData/Local/Corepunk Launcher\"\
        \ ; if [ -f \"$DOTNET_DLL\" ] && [ -d \"$LAUNCHER_DIR\" ]; then\n  cp \"$DOTNET_DLL\"\
        \ \"$LAUNCHER_DIR/\" &&\n  echo \"System.Private.CoreLib.dll copied successfully\"\
        \nelse\n  echo \"Warning: System.Private.CoreLib.dll not found or launcher\
        \ directory missing\"\nfi\n"
      description: Copying System.Private.CoreLib.dll (workaround for Inno Setup .NET
        extraction bug)
  system:
    env:
      DOTNET_ROOT: C:\Program Files\dotnet
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      PROTON_ENABLE_NGX_UPDATER: '1'
      PROTON_ENABLE_NVAPI: '1'
      STAGING_SHARED_MEMORY: '1'
      VKD3D_CONFIG: dxr
      VKD3D_FEATURE_LEVEL: '12_2'
      __GL_SHADER_DISK_CACHE: '1'
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
      __GL_SHADER_DISK_CACHE_SKIP_CLEANUP: '1'
    exclude_processes: Agent.exe "Battle.net Helper.exe"
    gamemode: true
  wine:
    overrides:
      locationapi: disabled
      quartz: disabled
slug: corepunk-standard
steamid: null
version: Standard
year: 2026
{
  "game_slug": "corepunk",
  "version": "Standard",
  "description": "Automated installer for Corepunk, an MMORPG with a proprietary .NET 8 WPF launcher protected by nProtect GameGuard. Creates a Wine prefix, installs required dependencies (.NET 8 Runtime, WebView2), patches System.Private.CoreLib.dll (workaround for a known Inno Setup extraction bug under Wine/Proton), and configures environment variables for optimal performance on NVIDIA GPUs with DXVK and VKD3D.",
  "notes": "- Requires the official installer from corepunk.com (free registration).\r\n- The script does not force a specific Wine runner. After installation,\r\n  configure it manually: right-click the game -> Configure -> Runner\r\n  options -> Wine version. Proton-CachyOS or Proton-GE is strongly\r\n  recommended for best results.\r\n- System winetricks must be installed.\r\n- Tested on CachyOS (Arch Linux) with KDE/Wayland, NVIDIA RTX 4070 Ti\r\n  SUPER, but should work on any Linux distribution with Lutris.\r\n- nProtect GameGuard works without additional configuration under\r\n  Proton-CachyOS.\r\n- .NET 8 and WebView2 are installed silently via winetricks.\r\n- On first launch the launcher downloads ~12 GB of game data.",
  "name": "Corepunk",
  "year": 2026,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "corepunk-standard",
  "installer_slug": "corepunk-standard",
  "script": {
    "files": [
      {
        "installer": {
          "filename": "Corepunk.Installer.exe",
          "url": "N/A:Select the Corepunk.Installer.exe file downloaded from https://corepunk.com (free registration required)"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/users/steamuser/AppData/Local/Corepunk Launcher/Corepunk Launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "install_complete_text": "Installation complete.\n\nImportant: For best results, configure the Wine runner manually:\n  Right-click Corepunk -> Configure -> Runner options -> Wine version.\n  Proton-CachyOS or Proton-GE is strongly recommended.\n\nThe launcher will download ~12 GB of game data on first launch.\nThis may take a while depending on your connection.\n\nIf the launcher does not open:\n  - Verify DOTNET_ROOT is set (it should be configured automatically)\n  - Check that webview2 is installed in the Wine prefix\n\nKnown issue: Download may fail with a 502 Bad Gateway error.\nSolution: Wait a few minutes and retry (Corepunk CDN issue).\n",
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating 64-bit Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win10",
          "arch": "win64",
          "description": "Setting Windows 10 version",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet8",
          "arch": "win64",
          "description": "Installing .NET 8 Runtime (required by WPF launcher)",
          "name": "winetricks",
          "prefix": "$GAMEDIR",
          "silent": true
        }
      },
      {
        "task": {
          "app": "webview2",
          "arch": "win64",
          "description": "Installing WebView2 Runtime (required by launcher)",
          "name": "winetricks",
          "prefix": "$GAMEDIR",
          "silent": true
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Running Corepunk installer (Inno Setup)",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "DOTNET_DLL=\"$(find \"$GAMEDIR/drive_c/Program Files/dotnet/shared/Microsoft.NETCore.App\" -maxdepth 1 -type d | sort -V | tail -1)/System.Private.CoreLib.dll\" ; LAUNCHER_DIR=\"$GAMEDIR/drive_c/users/steamuser/AppData/Local/Corepunk Launcher\" ; if [ -f \"$DOTNET_DLL\" ] && [ -d \"$LAUNCHER_DIR\" ]; then\n  cp \"$DOTNET_DLL\" \"$LAUNCHER_DIR/\" &&\n  echo \"System.Private.CoreLib.dll copied successfully\"\nelse\n  echo \"Warning: System.Private.CoreLib.dll not found or launcher directory missing\"\nfi\n",
          "description": "Copying System.Private.CoreLib.dll (workaround for Inno Setup .NET extraction bug)"
        }
      }
    ],
    "system": {
      "env": {
        "DOTNET_ROOT": "C:\\Program Files\\dotnet",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "PROTON_ENABLE_NGX_UPDATER": "1",
        "PROTON_ENABLE_NVAPI": "1",
        "STAGING_SHARED_MEMORY": "1",
        "VKD3D_CONFIG": "dxr",
        "VKD3D_FEATURE_LEVEL": "12_2",
        "__GL_SHADER_DISK_CACHE": "1",
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
        "__GL_SHADER_DISK_CACHE_SKIP_CLEANUP": "1"
      },
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\"",
      "gamemode": true
    },
    "wine": {
      "overrides": {
        "locationapi": "disabled",
        "quartz": "disabled"
      }
    }
  }
}
Back to game