Skip to content

Instantly share code, notes, and snippets.

@Narayana108
Last active September 2, 2023 14:31
Show Gist options
  • Save Narayana108/c2e115b817ba130d5393430cfb1356e9 to your computer and use it in GitHub Desktop.
Save Narayana108/c2e115b817ba130d5393430cfb1356e9 to your computer and use it in GitHub Desktop.
Warcraft III Reforged installation guide via Lutris (Linux)

Warcraft III Reforged installation guide via Lutris

My setup:

  • Computer: Lenovo Thinkpad X1 Carbon 7th Gen - Drivers: Intel Vulkan
  • OS: EndevourOS (Arch Linux)
  • WM: BSPWM

Prerequisites:

Make sure you have all the prerequisites installed like drivers and wine for Lutris.

Installation Guide

Lutris game template used: Battle.net + w3champions version

https://lutris.net/games/warcraft-iii-reforged/

  1. Start installation
  2. It will automatically download battle.net and w3championships installation files, but you can also specify the source file. My installations failed a few times, therefor I manually downloaded the files to save installation times(My internet is slow).
  1. It will start installing Blizzard app (battle.net)
  2. You/It will start downloading Warcraft 3 Reforged (28GB)
  3. It will then install w3champions app
  4. Complete

Installation halt workaround

  1. After successful installing one or more of the above apps. The installation process may halt, as the installed app didn't close properly and the only option available in the UI is to cancel the entire installation. Don't cancel !

Find and kill the app running in the background manually:

ps aux | grep w3champion
kill -9 <pid>

The installation process will continue smoothly once the app is terminated.

Duplicate original game launcher and configuration before altering any configs

When changing configs its always essential to have a backup. This way its easy to revert back. This can be life saving ! Here we are not going to do any serious config changes, but this will come in handy later again.

Note It will still use the same game directory.

  • Duplicate Game:

    Right click on Warcraft III Reforged, and click on Duplicate.

  • Rename:

    Right click on the duplicated game and click Configure and change the name of the game.

Issues after installation finished

  1. Game not launching. No screens pop up. No useful information in the logs that I can remember.
  • Cause:
    • Desktop native 4K resolution
  • 2 Solutions:
    1. Change your desktop resolution to 1920x1080

    2. Right click on game, click Configure, click System options, set Switch resolution to: 1920x1080

      This temporary will change your desktop resolution to 1920x1080 when the game launches and change it back when the game closes.

    • Don't use use Virtual Desktop resoltion it will give performance issues.
  1. Slow loading (Black screen)

I thought it was frozen and I was googling solutions for black screens and naturally I was unable to solve the issue. I then opened the game and just waited for about 1min, and to my surprise the game started, but with enormous lag.

  • Cause:
    • Performance/optimization issue. I was using Virtual Desktop resolution initially.
  • Solution:
    • The two solutions as mentioned in the first issue right above this issue.
  1. Warcarft 3 Reforged game menu extremely laggy.
  • Solution: Disable animated backgrounds and reduce CPU usage.
    • commands
      cd ~/Games/warcraft-iii-reforged/drive_c/Program\ Files\ \(x86\)/Warcraft\ III/_retail_/webui
      mkdir webms && cd webms
      touch mainmenu.webm corner-machinery-animated.webm random-bg.webm roc_prologue.webm roc_human.webm roc_orc.webm roc_nightelf.webm roc_undead.webm tft_human.webm tft_orc.webm tft_nightelf.webm tft_undead.webm
    • Note that the menu animations are still very laggy, but the UI is much better and usable.
  1. In game performance laggy:
  • Solution:

    • In the Video options set the graphics to: Classic mode.

    The ingame performance is incredibly smooth !

The above 4 solutions should be all that's needed to make your game smooth and playable !

  1. How to launch W3Championship ?
    • Duplicate the game and rename is to W3 Championships

    • Right click on W3 Championships game and click Configure

    • Click Game options and set the Executable /home/<user>/Games/warcraft-iii-reforged/drive_c/<user>/narayana/AppData/Local/Programs/w3champions/w3champions.exe

    • If W3Championship is not installed its very easy to install. Click on the wine glass in the footer of the app.

    • Click Wine Control Panel. Click Add and Remove Programs. Click Install. Select the w3championships install file, etc...

  • This is how far I have gotten. I have not played on w3championships yet or online yet. I'm still practicing against bots...

Debugging tips

  • Run Lutris in Debugging mode, to pick up and resolve any errors.
lutris -d
  • Not all errors are relevant. This error is still there and my game works fine.
[0901/070021.863:ERROR:network_change_notifier_win.cc(142)] WSALookupServiceBegin failed with: 0
  • The docs have some more resources if you are experience additional errors along the line i.e. battle.net issue. https://github.com/lutris/docs/

  • Lutris just sometimes doesn't work for no reason even when 5 seconds earlier it was working, just restart your PC. Now your guaranteed to have the full windows experience :')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment