Back to the main site

Need help troubleshooting an installer I made for Hearthstone

For a reason unknown to me my installer doesn’t ask for the installer file to be provided be the user. here is my current draft:

{
  "count":1,
  "next":null,
  "previous":null,
  "results":[
    {
      "id":8500,
      "game_id":2421,
      "game_slug":"hearthstone",
      "name":"Hearthstone",
      "year":2014,
      "user":"Dox",
      "runner":"wine",
      "slug":"hearthstone-dx11-to-vulkan-dxvk",
      "version":"DX11 to Vulkan (DXVK)",
      "description":"HearthStone - DX11 - 64 bit - Wine Staging + DXVK + esync.",
      "notes":"**IMPORTANT: INSTALL THE DEPENDENCIES FIRST**\r\nSee <a href=\"https://github.com/lutris/lutris/wiki/Game:-Blizzard-App\">https://github.com/lutris/lutris/wiki/Game:-Blizzard-App</a>",
      "created_at":"2018-06-02T15:27:40.491000Z",
      "updated_at":"2019-02-16T03:13:46.720076Z",
      "draft":false,
      "published":true,
      "published_by":19464,
      "rating":"4",
      "steamid":null,
      "gogid":null,
      "gogslug":"",
      "humblestoreid":"",
      "script":{
        "game":{
          "arch":"win64",
          "exe":"drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe",
          "prefix":"$GAMEDIR"
        },
        "files":[
          {
            "setup":"N/A:Select the Windows installer downloaded from Battle.net"
          },
          {
            "dxvkcache":"https://github.com/tannisroot/dxvk-caches/raw/master/Overwatch.tar.xz"
          }],
        "installer":[
          {
            "task":{
              "arch":"win64",
              "description":"Creating 64bit Wine prefix.",
              "name":"create_prefix",
              "prefix":"$GAMEDIR"
            }
          },
          {
            "task":{
              "arch":"win64",
              "description":"Installing Arial font",
              "name":"winetricks",
              "silent":true,
              "prefix":"$GAMEDIR",
              "app":"arial"
            }
          },
          {
            "task":{
              "arch":"win64",
              "description":"Setting vcruntime140 to native for Hearthstone.exe",
              "name":"set_regedit",
              "key":"vcruntime140",
              "value":"native",
              "prefix":"$GAMEDIR",
              "path":"HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Hearthstone.exe\\DllOverrides"
            }
          },
          {
            "task":{
              "arch":"win64",
              "description":"Setting Windows 10 mode for Wine",
              "name":"set_regedit",
              "key":"Version",
              "value":"win10",
              "prefix":"$GAMEDIR",
              "path":"HKEY_CURRENT_USER\\Software\\Wine"
            }
          },
          {
            "task":{
              "arch":"win64",
              "description":"Wine Staging: Enabling DXVA2",
              "name":"set_regedit",
              "key":"backend",
              "value":"va",
              "prefix":"$GAMEDIR",
              "path":"HKEY_CURRENT_USER\\Software\\Wine\\DXVA2"
            }
          },
          {
            "task":{
              "name":"winekill",
              "prefix":"$GAMEDIR"
            }
          },
          {
            "write_json":{
              "description":"Disabling Sound/Hardware Acceleration/Streaming in Blizzard App",
              "data":{
                "Client":{
                  "GameLaunchWindowBehavior":"2",
                  "GameSearch":{
                    "BackgroundSearch":"true"
                  },
                  "Sound":{
                    "Enabled":"false"
                  },
                  "HardwareAcceleration":"false",
                  "Streaming":{
                    "StreamingEnabled":"false"
                  }
                }
              },
              "file":"$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
            }
          },
          {
            "task":{
              "arch":"win64",
              "description":"Wine Staging: Enabling DXVA2",
              "name":"set_regedit",
              "key":"backend",
              "value":"va",
              "prefix":"$GAMEDIR",
              "path":"HKEY_CURRENT_USER\\Software\\Wine\\DXVA2"
            }
          },
          {
            "extract":{
              "description":"Extracting DXVK state cache",
              "file":"dxvkcache",
              "dst":"$GAMEDIR"
            }
          },
          {
            "task":{
              "name":"winekill",
              "prefix":"$GAMEDIR"
            }
          },
          {
            "task":{
              "arch":"win64",
              "description":"Installing Blizzard App. An installer will open.\n------------------------------\nTo progress, manually continue installation in that window.",
              "exclude_processes":"Battle.net.exe Agent.exe \"Battle.net Helper.exe\"",
              "name":"wineexec",
              "executable":"setup"
            }
          },
          {
            "task":{
              "name":"winekill",
              "prefix":"$GAMEDIR"
            }
          }],
        "wine":{
          "overrides":{
            "nvapi":"disabled",
            "d3d12":"disabled",
            "nvapi64":"disabled"
          },
          "dxvk":true,
          "version":"ge-protonified-nofshack-4.9-x86_64",
          "esync":true
        },
        "system":{
          "exclude_processes":"Agent.exe \"Battle.net Helper.exe\"",
          "env":{
            "DXVK_STATE_CACHE_PATH":"$GAMEDIR",
            "STAGING_SHARED_MEMORY":1,
            "DXVK_HUD":"compiler",
            "__GL_SHADER_DISK_CACHE":1,
            "__GL_SHADER_DISK_CACHE_PATH":"$GAMEDIR",
            "DXVK_HUD":0
          }
        }
      },
      "content":"files:\n- setup:\n    filename: Battle.net-Setup.exe\n    url: https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP\ngame:\n  arch: win64\n  exe: drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe\n  prefix: $GAMEDIR\ninstaller:\n- task:\n    arch: win64\n    description: Creating 64bit Wine prefix.\n    name: create_prefix\n    prefix: $GAMEDIR\n- task:\n    app: arial\n    arch: win64\n    description: Installing Arial font\n    name: winetricks\n    prefix: $GAMEDIR\n- task:\n    arch: win64\n    description: Setting vcruntime140 to native for Hearthstone.exe\n    key: vcruntime140\n    name: set_regedit\n    path: HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\Hearthstone.exe\\DllOverrides\n    prefix: $GAMEDIR\n    value: native\n- task:\n    arch: win64\n    description: Setting Windows 10 mode for Wine\n    key: Version\n    name: set_regedit\n    path: HKEY_CURRENT_USER\\Software\\Wine\n    prefix: $GAMEDIR\n    value: win10\n- task:\n    arch: win64\n    description: 'Wine Staging: Enabling DXVA2'\n    key: backend\n    name: set_regedit\n    path: HKEY_CURRENT_USER\\Software\\Wine\\DXVA2\n    prefix: $GAMEDIR\n    value: va\n- write_json:\n    data:\n      Client:\n        GameLaunchWindowBehavior: '2'\n        HardwareAcceleration: 'false'\n        Sound:\n          Enabled: 'false'\n        Streaming:\n          StreamingEnabled: 'false'\n    description: Disabling Sound/Hardware Acceleration/Streaming in Blizzard App\n    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config\n- task:\n    arch: win64\n    description: 'Installing Blizzard App\n\n      ------------------------------\n\n      Do not try to log into Battle.net. Lutris will automatically close the login\n      window. After Lutris installer is finished, you can start Blizzard App with\n      \"Launch the game\", and install / locate your Blizzard game.'\n    exclude_processes: Battle.net.exe Agent.exe \"Battle.net Helper.exe\"\n    executable: setup\n    name: wineexec\n- task:\n    name: winekill\n    prefix: $GAMEDIR\nsystem:\n  env:\n    DXVK_HUD: 0\n    __GL_SHADER_DISK_CACHE: 1\n    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR\n  exclude_processes: Agent.exe \"Battle.net Helper.exe\"\nwine:\n  dxvk: true\n  esync: true\n  version: tkg-unity-4.1-x86_64\n"
    }]
}

I hope you can help me fix this, as I don’t see any obvious errors. Thanks for you help.

still problem?
I’ve installed HS using this instructions for deck tracker: https://github.com/borisbabic/hearthstone_hdt_linux
only after this I’ve found Lutris and linked HS in it
this instructions are very different: win7 instead of win10, 32 bit instead of 64bit