[SOLVED] Unable to install Battle.Net

Hi there,

lutris -d
https://paste.ubuntu.com/p/skcXwPRjYY/
lutris --submit-issue
https://paste.ubuntu.com/p/wB4mwxdw8N/

I currently dual boot Windows 10 and Arch and would like to move over to Linux permanently, but cant bare to give up some of my games.
Within Steam most games run flawlessly with Proton and using Lutris games like League of Legends, RIFT, SWTOR and more seem to install and run without any issue. I just cannot seem to get Battle.Net or World of Warcraft to install.

On lines 18-20 of the “lutris -d” output it shows the Battle.Net exe downloading -
"
DEBUG 2019-05-02 06:06:54,614 [downloader.start:55]:Starting download of: https://battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe DEBUG 2019-05-02 06:10:52,044 [downloader.on_done:97]:Finished downloading https://battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe
"
However by line 36 it seems to have magically disappeared -
"
WARNING 2019-05-02 06:11:09,446 [wine.game_exe:491]:The game doesn’t have an executabe
"

I am trying to install Battle.Net and World of Warcraft (I havent got that far yet) onto my platter drive. I have run “chmod -R 777 /6tbBlue/Lutris” in troubleshooting trying to make sure it is not a permission issue. I have also tried to install it to /home/jeremy/Games/ on my SSD without any luck.

Any suggestions or support would be really appreciated, I have spent far more hours on this than I care to admit and I think I have all the right dependencies, the right nvidia drivers, wine-staging, wine tricks, etc

Hello,
did you installed all Lutris Battle.Net requirements?
https://github.com/lutris/lutris/wiki/Game:-Blizzard-App

Battle.Net is a directX11 app, so you have to enable DXVK and install vulkan librairies in 32 and 64 bits.
For example on Ubuntu you type this command:
sudo apt-get install libvulkan1:i386 libvulkan1 libvulkan-dev:i386 libvulkan-dev

Once you install all requirements, reinstall Battle.Net from Lutris.

Hi there,

Thank you for your time and thank you for the reply.
I have carefully read through - https://github.com/lutris/lutris/wiki/Game:-Blizzard-App - a few times and installed the dependencies.
I am on Arch so I have run -
sudo pacman -S lib32-gnutls lib32-libldap lib32-libgpg-error lib32-sqlite lib32-libpulse

I have also installed the vulkan libraries.
When I run “pacman -Q | grep vulkan” this is the output -
lib32-vulkan-icd-loader 1.1.107-1
lib32-vulkan-validation-layers 1.1.106-1
vulkan-extra-layers 1.1.97.0+10340+118b2f331-1
vulkan-headers 1:1.1.107+133+5f1ceaa-1
vulkan-icd-loader 1.1.107-1
vulkan-tools 1.1.106-1
vulkan-validation-layers 1.1.106-1

For Vulkan I followed this - https://github.com/lutris/lutris/wiki/Installing-drivers
Running -
sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings
and
sudo pacman -S vulkan-icd-loader lib32-vulkan-icd-loader

As far as I can tell the Battle.Net requires -

  1. Wine https://github.com/lutris/lutris/wiki/Wine (i have wine 4.7 staging)
  2. Wine dependencies https://github.com/lutris/lutris/wiki/Wine-Dependencies (I have run the Arch command and have them installed)
  3. A Vulkan capable GPU https://en.wikipedia.org/wiki/Vulkan_(API)#Compatibility (I have the Nvidia 1070)
  4. A supported driver https://github.com/doitsujin/dxvk/wiki/Driver-support (nvidia-smi shows I have 418.56)
  5. Vulkan Loader https://github.com/lutris/lutris/wiki/Installing-drivers (I have run the Arch command and have them installed)
  6. Additional dependencies https://github.com/lutris/lutris/wiki/Game:-Blizzard-App (I have run the Arch command and have them installed)

I hope that makes sense.
I am still getting the same error when trying to install Battle.Net.

I saw this error in your log:

wine: Bad EXE format for Z:\home\jeremy\.cache\lutris\installer\battlenet\setup\Battle.net-Setup.exe

What filesystem did you choose for your hard drive where you installed your distribution ? Where Lutris installed? ntfs?

Hi,

Thanks again for the reply, I had not even noticed that.

I have 3 hdd’s in my PC.
1 SSD formated with NTFS for Windows 10
Another SSD formatted with ext4 for Arch (what I am using)
I have a 6TB platter drive in two partitions. 2.7TB in NTFS for Windows 10 and 2.7TB in ext4 for Arch.

[jeremy@Jeremy-PC ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 450M 0 part
├─sda2 8:2 0 100M 0 part
├─sda3 8:3 0 16M 0 part
└─sda4 8:4 0 111.2G 0 part
sdb 8:16 0 5.5T 0 disk
├─sdb1 8:17 0 2.7T 0 part /6tbBlue
└─sdb2 8:18 0 2.7T 0 part
sdc 8:32 0 232.9G 0 disk
├─sdc1 8:33 0 512M 0 part
├─sdc2 8:34 0 40G 0 part /
└─sdc3 8:35 0 192.4G 0 part /home

[jeremy@Jeremy-PC ~]$ df -Th /
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdc2 ext4 40G 22G 16G 59% /
[jeremy@Jeremy-PC ~]$ df -Th /6tbBlue
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ext4 2.8T 594G 2.0T 23% /6tbBlue

[jeremy@Jeremy-PC ~]$ which lutris
/usr/bin/lutris

Lutris is installed on my SSD which is purely ext4.
In Lutris I have changed the install location from “/6tbBlue/Lutris” (where I would like to install the game) to “/home/jeremy/Games” and I have the same issue there.

Thanks again for the help and I hope that answers your question properly.

It is better if you install Lutris and your games on ext4.
I just tested the Battle.net script, it installed fine. Sometimes, after a Blizzard update, the Lutris script could be broken. But that’s not the case here.

I think it’s time to make a little clean:

  1. erase /home/jeremy/.cache/lutris/installer/battlenet folder
  2. erase /home/jeremy/games/battlenet
  3. restart your computer
  4. download with Lutris Wine tkg-4.6 version and put it by default
  5. launch again the lutris script

If it is not sufficient, install wine32 on Arch, that should install all 32 bits libraries needed by Wine to run 32 bits app.
This video could help you: https://www.youtube.com/watch?v=8ILaS7moQos

Hi,

I have set the default installation path to my games folder on my ext4 SSD where Arch is installed.

When the install fails and I remove the Battle.Net it empties both -
/home/jeremy/.cache/lutris/installer/battlenet
/home/jeremy/games/battlenet
I double checked and confirmed they were both empty.

I have restarted and tried the install again, but it is still missing the .exe
Within Lutris I click the icon in the top left, choose ‘Manage runners’, scroll to wine and choose ‘Manage Versions’. Both tkg-4.0 AND tkg-4.6 are ticked. I untick tkg-4.0 but when I attempt the install again it says ‘Install script uses Wine tkg-4.0-x86_64’ so I think the script may be choosing 4.0

Googling this problem I had found the Glorious Eggroll Youtube channel and website.
In the past I copied the commands from here -
https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/
sudo pacman -Sy
sudo pacman -S wine-staging winetricks
sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba dosbox

The Youtube video looked a little bit different.
I ran -
sudo pacman -R wine-staging winetricks
sudo pacman -S wine winetricks --asdeps
I attempted the install again and it failed with the same error.
I have since run -
sudo pacman -R wine winetricks
sudo pacman -S wine-staging winetricks --asdeps
To go back to wine staging with all optional packages and tried again. It still fails with the same error.

So just to be completely paranoid I physically removed the SSD with Windows 10 on it from my PC, reformatted the SSD I was using for Linux with ext4 and reinstalled Arch fresh.

Just to test Lutris I installed Star Wars: The Old Republic, Warframe, Rift and League of Legends.
All of them installed and loaded without any issues.

I have very carefully worked through the Github Wiki pages and have run the following commands -


sudo pacman -S lib32-gnutls lib32-libldap lib32-libgpg-error lib32-sqlite lib32-libpulse


sudo pacman -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba


sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings
sudo pacman -S vulkan-icd-loader lib32-vulkan-icd-loader

I dont think I have missed anything, however when trying to install Battle.net or World of Warcraft I am still noticing the same errors -

WARNING 2019-05-04 22:15:38,844 [wine.game_exe:491]:The game doesn’t have an executabe

ERROR 2019-05-04 22:16:06,008 [commands.write_json:468]:Failed to parse JSON from file /home/jeremy/Games/battlenet/drive_c/users/jeremy/Application Data/Battle.net/Battle.net.config

WARNING 2019-05-04 22:16:11,287 [interpreter._finish_install:609]:No executable found at specified location /home/jeremy/Games/battlenet/drive_c/Program Files (x86)/Battle.net/Battle.net.exe

I might be way off, but I wonder if its possible Arch linux needs more dependencies than the ones listed on Github, as that seems to be the only real difference between Battle.Net and the other games I can see.
I am reluctant to, but wonder if I should give up on Arch and try using Ubuntu instead?
Any advice or ideas would really be appreciated.

I put a spare SSD in another PC, installed Manjaro and ran the commands in my previous post and tried to install Battle.Net or WoW. I would reliably either get the download failing or more commonly the exe missing errors shown above.
I reinstalled Manjaro (faster than installing Arch again) on my personal PC and I was still getting the exact same errors.

I then found this Github post from 2017 -

In addition to the commands in my previous post I also ran the commands in the Github post -
yay -S ttf-ms-fonts #I personally use yay instead of yaourt

sudo pacman -S wine winetricks

sudo pacman -S playonlinux steam vlc smplayer gimp

sudo pacman -S lib32-libldap lib32-gnutls lib32-lcms2

yay -S gstreamer0.10-{{bad,good,ugly,base}{,-plugins},ffmpeg}

sudo pacman -S lib32-nvidia-utils lib32-nvidia-libgl lib32-alsa-lib lib32-alsa-plugins lib32-libpulse lib32-alsa-oss lib32-openal

winetricks corefonts hosts winhttp wininet vcrun2015

Now Battle.Net and WoW install without issue.
To verify I fully reinstalled Majaro one last time, ran all the commands I had found on the Lutris Wiki (shown in earlier posts) and I was still getting the exe missing error.
I added the above commands I found on the Github post and it worked, again.
I have no idea which command fixed it or why, but Battle.Net and WoW now install as flawlessly and pain free as all the other games I have installed via Lutris.

1 Like

Blizzard software/games are always complicated to install on Linux, happy you found a solution.

1 Like

i tried multiple mount configurations for my existing ntfs games partition.
This one works well (/etc/fstab) - games will be complete detected and updates are success full

LABEL=Games /mnt/Games ntfs-3g defaults,uid=1000,gid=1000,locale=de_DE.utf8 0 2

i also added the same letter (G:) in Wine-Configuration with target /mnt/Games.