edison23

Zápisky šíleného jazykového editora

Uplay on Ubuntu

Ubisoft refuses to acknowledge Linux OS’s as a platform for gaming so they don’t port their software to Linux. But it’s 2020 and the Internet’s mighty FOSS developers made big progress in place of Ubisoft. There are Wine and Lutris and the combination of these makes it possible to play even Assassin’s Creed Odyssey on Ubuntu.

Datum: 2020-10-18
Kategorie: Guides Unix EN

Obsah


It’s surprisingly easy to get it working on Ubuntu 20.04. I managed to accomplish this using this guide so kudos goes to its creators (although it leads to using GOG which we don’t actually need).

Install Wine (staging)

First, install Wine, the Windows emulation software that enables Windows apps to run on Linux OS’s. Use the staging version instead of the stable one to get the newer (albeit less tested) build.

First, enable 32-bit architecture (as the Ubisoft games at least behave like 32-bit apps):

sudo dpkg --add-architecture i386

Then change the directory to some download folder of yours, download the signing key for the Wine repository and add it to your apt:

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

Add the Wine repository to your system (replace focal with the version of Ubuntu you’re using – here’s a list). Update your apt repos and install Wine along with its recommended packages:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo apt update
sudo apt install --install-recommends winehq-staging

Install Lutris

Now, it’s time to install Lutris, the FOSS game manager for Linux-based operating systems.

Add a repo with the latest version, update apt repos, and install:

sudo add-apt-repository ppa:lutris-team/lutris
sudo apt update
sudo apt install lutris

Launch Lutris and install Uplay

And you’re done (with the preparations, at least). Search your apps in the Ubuntu launcher, find Lutris, and launch it. In Lutris, search for "uplay" and install it.

After Uplay is installed, launch it. Be patient, it’s not the fastest thing in the world. When it launches, login and you should see your games.

Note: Many people on Reddit and elsewhere reported they haven’t been able to launch it or login. I didn’t encounter any of these issues so I can’t offer any solution here.

Download directory for Uplay games

Be careful when changing a download location of a game. Wine creates some kind of a "fake" NTFS c:\ drive in your ~/.wine/ directory to fool the Windows apps, Lutris downloads stuff like Uplay to ~/Games/uplay and Uplay downloads the games that aforementioned Wine directory. When I tried changing the target directory in Uplay so it’d download Assasin’s Creed to ~/Games/, it told me there’s not enough space (and reported some randomly small capacity), although that "fake" c:\ drive was ok for it even though it’s in ~/.wine/, so it’s the same drive. Guh, don’t know don’t care, it works with the default settings, I suggest leaving it at that.