I tried playing Windows games using Steam Play on Ubuntu 20.04 LTS

Good morning everyone. My name is Fujimon and I am posting to Qiita for the first time.

https://fujimon.hatenablog.jp/entry/2020/04/24/231010 This time, I will post the article posted on the Hatena blog to Qiita as well.

Let's get started!

The personal computer used this time is a model called "dynabook R734" from Toshiba. I have dual booted Windows 10 and Ubuntu 20.04 LTS, and I use 176GB and 80GB separately.

1, installation of Steam

First of all, nothing will start without Steam, so let's install Steam. You can install it from apt, but it seems that the version is a little old, so I think it is the most reliable to download the official deb. https://store.steampowered.com/about/

After downloading, install deb. Ubuntu 20.04 The Ubuntu software has been removed from LTS and replaced with software that has been redesigned for Snap, so you will need to use another package installer to include the deb package. (Maybe it's because I chose the minimal installation over the regular installation, but I'm not sure)

So I decided to use the old-fashioned package installer called gdebi. This is from the terminal

sudo apt install gdebi

If you run it, it will be installed. No additional repository is needed as it is in the initial repository. After installing gdebi, let's install the downloaded Steam. Double-click on deb to install it. Launch Steam when the installation is complete and log in once the dependencies are installed. Probably the language is English, so if you change English in interface from Settings to Japanese and restart Steam, it will be Japanese. If you have any other settings, please do it yourself.

2 Enable Steam Play

Next, enable something called Steam Play (Proton) so that you can install Windows games. Strictly speaking, it is enabled, but since it is only possible to install games that have been confirmed to work on Steam Play, change the setting so that all Windows games use Steam Play. image.png Select Steam Play image.png Check "Enable Steam Play for all other titles". You don't have to mess with the tools used for other titles.

3 Install the game you want to play

Games that can only be played on Windows can now be played on Linux. Let's install various games you want to play. I installed it because I want to play a game called "Billiard 3D". image.png

4 Long-sought activation

Hopefully you can start it. Fortunately the game I was trying to play started without incident image.png image.png When I tried to enter the practice screen, it seemed that DirectX was not included and I threw an error. image.png

Since this game works with OpenGL as well as DirectX, I solved it by changing the graphic system from DirectX to OpenGL from the settings, but if the game works only with DirectX, please try it by the method explained later. image.png By the way, you can play normally like this. However, there is one problem, and when Japanese is input in a window or chat, the characters are garbled, so I will fix these using wine and winetricks.

5 Install wine and winetricks

This Steam Play (Proton) is actually a fork of wine, and it seems that some Wine libraries are shared and used, so installing Wine and Winetricks and fetching the libraries from there may solve the problem, in fact this The garbled characters were solved by installing the font with winetricks. Ubuntu 20.04 LTS hasn't been released yet (released at midnight April 24, 2020) so I didn't have much information, but the method I tried

On the terminal 1 dpkg --add-architecture i386 | Enable 32-bit architecture (32-bit people probably don't need it)

2 sudo apt update | Repository update

3 sudo apt install wine64 wine32 winetricks | install wine64 wine32 winetricks

With these, we were able to introduce wine and wine tricks. To check if wine can be used

wine --version

You can check the version by running, probably 5.0 (please comment if different) image.png If you can confirm that wine can be used, to run it as 32 bits

export winearch=win32 winecfg

If you can't do it well winearch=win32 wineboot Try running (I used this method because it didn't work)

After executing the above command, finally install the font using winetricks. Even so

winetricks cjkfonts |Install Chinese Japanese Korean fonts

All you have to do is execute it and watch until the end. image.png The garbled characters have healed like this.

If you have a library you want other than fonts

winetricks | Launch winetricks image.png Make sure "Select the default wine prefix" is selected and click "OK" Something will come out, so answer NO or YES (I think it was an error report or something) image.png Select "Intel l a Windows DELL or component" above and click "OK" image.png Install the required libraries from here. Perhaps DirectX 11 and Vulkan API are often used in games.

Finally

https://www.protondb.com/ ↑ There is a list of games that have been played using proton on this site, so if you are worried that the game you want to play will run on Steam Play (Proton), you should take a look.

Thank you for your hard work so far. With the advent of Steam Play, I'm very happy to be able to play Windows games on Linux.

I will answer questions as far as I can answer, so please do not hesitate to visit the end blog or Twitter. Good night. By the way ... Which one should I use, Hatena Blog .....

Quote

https://linuxconfig.org/install-wine-on-ubuntu-20-04-focal-fossa-linux https://qiita.com/rYamashita1012/items/37e3ed22b3e9278f2250

Thank you!

Recommended Posts

I tried playing Windows games using Steam Play on Ubuntu 20.04 LTS
I tried Cython on Ubuntu on VirtualBox
I tried playing a ○ ✕ game using TensorFlow
I tried using Remote API on GAE / J
[Pythonocc] I tried using CAD on jupyter notebook
Notes for using TensorFlow on Bash on Ubuntu on Windows
I tried playing with the calculator on tkinter
I tried using parameterized
I tried using argparse
I tried using mimesis
I tried using aiomysql
I tried using Summpy
I tried using Pipenv
I tried using matplotlib
I tried using ESPCN
I tried using openpyxl
I tried using Ipython
I tried using PyCaret
I tried using cron
I tried using ngrok
I tried using face_recognition
I tried using PySpark from Jupyter 4.x on EMR
I tried using Jupyter
I tried using PyCaret
I tried using Heapq
I tried using doctest
I tried using folium
I tried using jinja2
I tried using folium
I tried using time-window
When I tried to build a Rails environment on WSL2 (Ubuntu 20.04LTS), I stumbled and fell.
[Images available] I tried using neofetch on various operating systems!
I tried running PIFuHD on Windows for the time being
I tried using "Syncthing" to synchronize files on multiple PCs
I tried changing the python script from 2.7.11 to 3.6.0 on windows10
I installed tensorRT on Ubuntu 18.04
[I tried using Pythonista 3] Introduction
I installed ROS on Ubuntu 18.04
I tried using easydict (memo).
USB Wifi on Ubuntu 20.04LTS
I tried face recognition using Face ++
I tried using Random Forest
I tried using BigQuery ML
I tried using Amazon Glacier
Operate ubuntu on VScode (windows10)
I tried using git inspector
I ran python on windows
I tried using magenta / TensorFlow
I tried MLflow on Databricks
I tried using AWS Chalice
I tried using Slack emojinator
I want to automatically operate Chrome on Windows from a virtual machine (ubuntu) started using Vagrant
I tried to create a server environment that runs on Windows 10
I tried using the COTOHA API (there is code on GitHub)
How to build a Python environment using Virtualenv on Ubuntu 18.04 LTS
I tried to visualize BigQuery data using Jupyter Lab on GCP
I tried AdaNet on table data
Remove ubuntu installed on Windows 10 machine
Python 3.4 pyvenv fails on Ubuntu 14.04 LTS
Introducing Python using pyenv on Ubuntu 20.04
Preparing python using vscode on ubuntu