Install StarCraft 2

Hi all!
Do you have recommandations concerning the installation and configuration of StarCraft2 on endeavourus? So far, I could not find a guide.

I have a freshly installed endeavouros, using the XFCE environment, as well as the nvidia-driver for my RTX3070.
Thank you for your advise.

Although I haven’t tried it there’s this https://lutris.net/games/starcraft-ii/
You would need to install lutris to do it this way

Thanks, smokey. I’ve installed battle-net and Starcraft2 through lutris. Any advice regarding the configuration of wine?

If you install through lutris, you shouldn’t have to do anything yourself. The install script will do everything that is needed.

1 Like

I can play the game starcraft now. It is too early to evaluate to the gaming experience.
When I try to start “Battle.net” through the lutris interface, I get an error: “Non_Esync_Wine_Version” (see screenshot).

Also, I do not have any sound. I can see the sound-device in the settings of starcraft, but nothing happens when I activate it.

You should be able to turn off e-sync or experiment with other versions by right clicking the app and playing around with settings (sorry I can’t be more specific been a while since I’ve tried getting this running)

I played some time with the settings, but did not succeed: the user-experience while gaming remained poor. Still no sound.

So I did what I had to do: I installed windows.

If anybody should know/find good instructions for playing starcraft in endeavouros: please share! I’d be very happy to give it another try.

Thank you for your support.

It should be pretty straight forward. Install Lutris, then install Battle net from the Lutris homepage and after that Starcraft 2 from the homepage.

For Battle Net follow the instructions below CONFIGURE AND INSTALL THE DEPENDENCIES FIRST (see the Battle Net link).

For Nvidia it should be:

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

Then wine:

sudo pacman -S --needed 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-libgcrypt libgcrypt lib32-libxinerama \
ncurses lib32-ncurses ocl-icd lib32-ocl-icd 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

After that run the Battle Net install script and after that the installer for Starcraft with Lutris.

Works for me. My guess is, you are lacking some of the packages from above.

1 Like

Thank you very much, I0F!
The nvidia-drivers were in place, but it turned out I had conflicts with some of the pakckages with wine. They are solved now, so I wanted to re-install the lutris-script:

lutris-wrapper: /home/dejhost/.local/share/lutris/runtime/winetricks/winetricks
Started initial process 63974 from /home/dejhost/.local/share/lutris/runtime/winetricks/winetricks --unattended arial
Start monitoring process.
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: 2d7770aa1f49f42ad9dafb092110dbf49fa6581738f6b80488cf0d7f59b2de72 with wine-8.20 (Staging) and WINEARCH=win64
Executing w_do_call arial
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
arial already installed, skipping
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0
lutris-wrapper: /home/dejhost/.local/share/lutris/runtime/winetricks/winetricks
Started initial process 64800 from /home/dejhost/.local/share/lutris/runtime/winetricks/winetricks --unattended tahoma
Start monitoring process.
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: 2d7770aa1f49f42ad9dafb092110dbf49fa6581738f6b80488cf0d7f59b2de72 with wine-8.20 (Staging) and WINEARCH=win64
Executing w_do_call tahoma
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
tahoma already installed, skipping
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0
lutris-wrapper: /usr/bin/bash
Started initial process 65586 from /usr/bin/bash -c WINEESYNC=1 WINEPREFIX=/home/dejhost/Games/battlenet wine /home/dejhost/Games/battlenet/drive_c/Battle.net-Setup.exe
Start monitoring process.
ERROR: ld.so: object '/home/dejhost/.local/lib/vivaldi/media-codecs-e1cc9bedad03e1c47cb91fd92fd1a59ce8ff9265133fe6d6e344c7c92a7ade9c/libffmpeg.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/dejhost/.local/lib/vivaldi/media-codecs-e1cc9bedad03e1c47cb91fd92fd1a59ce8ff9265133fe6d6e344c7c92a7ade9c/libffmpeg.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
02dc:err:esync:esync_init Failed to open esync shared memory file; make sure no stale wineserver instances are running without WINEESYNC.
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256

I assume the libffmpeg.so-Problems explain the audio-issues, and the 64-bit WINEPREFIX explains the poor user experience. So far, both are still present.