mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-03-16 23:40:21 +03:00
Update to new versions and F29
parent
02e258acd3
commit
1fa4d6ded9
@ -1,8 +1,8 @@
|
||||
# Introduction
|
||||
|
||||
These instructions cover building Proton 3.16 or newer on Fedora using Docker. It is possible to compile without Docker (with `--no-steam-runtime` option to configure script), but this article does not cover such scenario.
|
||||
These instructions cover building Proton 4.2 or newer on Fedora using Docker. It is possible to compile without Docker (with `--no-steam-runtime` option to configure script), but this article does not cover such scenario.
|
||||
|
||||
Tested on Fedora 28.
|
||||
Tested on Fedora 29.
|
||||
|
||||
## Install Docker
|
||||
|
||||
@ -43,9 +43,9 @@ Clone Proton repository using `--recurse-submodules` to automatically initialise
|
||||
|
||||
$ git clone --recurse-submodules git@github.com:ValveSoftware/Proton.git proton
|
||||
|
||||
Then clone steam-runtime, it should be placed next to Proton repo. Use `-b wip-docker` to automatically checkout branch implementing Docker support.
|
||||
Then clone steam-runtime, it should be placed next to Proton repo.
|
||||
|
||||
$ git clone -b wip-docker git@github.com:ValveSoftware/steam-runtime.git
|
||||
$ git clone git@github.com:ValveSoftware/steam-runtime.git
|
||||
|
||||
## Build Docker images
|
||||
|
||||
@ -65,10 +65,11 @@ Once finished, you can check if new images were registered in docker (IMAGE ID w
|
||||
|
||||
Now it's time to build Proton itself:
|
||||
|
||||
$ mkdir proton/mybuild
|
||||
$ cd proton/mybuild
|
||||
$ mkdir proton-mybuild
|
||||
$ cd proton-mybuild
|
||||
$ ../configure.sh --steam-runtime64=docker:steam-proton-dev --steam-runtime32=docker:steam-proton-dev32
|
||||
$ make -j$(nproc) all
|
||||
$ ../proton/configure.sh --steam-runtime64=docker:steam-proton-dev --steam-runtime32=docker:steam-proton-dev32 --steam-runtime="$HOME/.local/share/Steam/ubuntu12_32/steam-runtime" --build-name="proton-mybuild"
|
||||
$ make
|
||||
|
||||
To package Proton after successful build:
|
||||
|
||||
@ -80,6 +81,6 @@ To test it you can install your build in Steam client. You need to select `proto
|
||||
|
||||
If you want to remove your locally built proton:
|
||||
|
||||
$ rm -rf ~/.local/share/Steam/compatibilitytools.d/proton-localbuild
|
||||
$ rm -rf ~/.local/share/Steam/compatibilitytools.d/proton-mybuild
|
||||
|
||||
Read more about deployment and Proton configuration: https://github.com/ValveSoftware/Proton#deploying
|
Loading…
x
Reference in New Issue
Block a user