Commit graph

1162 commits

Author SHA1 Message Date
Arkadiusz Hiler
fc18afd71e configure.sh: Expose --enable-ccache.
Until now the option had to be added by hand to the Makefile or
specified each `make` invocation.
2021-06-17 15:24:39 -05:00
Arkadiusz Hiler
c52532efce configure.sh: Detect rootless container setups.
Until now the option had to be added by hand to the Makefile or
specified each `make` invocation.
2021-06-17 15:24:39 -05:00
Arkadiusz Hiler
82ae47758f configure.sh: Add option to select container engine.
Configure will also test the container engine by trying to run the
selected SDK image.

This may make the first configure a bit slow, as it downloads the image,
but after that the SDK will be cached locally.
2021-06-17 15:24:39 -05:00
Arkadiusz Hiler
33814e973d configure.sh: Look for AFDKO.
Debian-like distributions install AFDKO's executables into libexec and
provide an `afdko` helper to call them.

Python's pip installs the executables in bin.

Let's support both.
2021-06-17 15:24:39 -05:00
Arkadiusz Hiler
f55d7adcb1 configure.sh: Check for host-side tools and warn if something is missing.
The checks don't exit immediately so users won't have to rerun configure
after installing only a single dependency.
2021-06-17 15:24:39 -05:00
Paul Gofman
68fc0e1c11 wineopenxr: Update to 1.0.17 registry version. 2021-06-17 15:10:20 -05:00
Paul Gofman
a079bcd080 wineopenxr: Fix spec entries. 2021-06-17 15:10:20 -05:00
Paul Gofman
e8aa632064 Update OpenXR-SDK submodule. 2021-06-17 15:10:20 -05:00
Rémi Bernon
cabe4dee6f build: Make sure wineopenx64.json depends on prefix.
So that deleting the prefix to recreate it also forces the file to be
copied again.
2021-06-17 15:10:20 -05:00
Shawn M. Chapla
1916502152 proton: Remove winebrowser shell DDE registry keys
CW-Bug-Id: #18527
2021-06-17 15:10:20 -05:00
Rémi Bernon
c1fc8283d1 build: Use jobs to control xargs parallelism. 2021-06-17 15:10:20 -05:00
Rémi Bernon
bdb6a31e8c build: Make silent builds actually quiet. 2021-06-17 15:10:20 -05:00
Paul Gofman
5b406be13e build: Fixup PE section headers.
For FH4.
2021-06-17 15:10:20 -05:00
Rémi Bernon
8448591ebd build: Build with Proton SDK 0.20210505.0-2.
But disable XPresent extension for now.
2021-06-17 15:10:20 -05:00
Paul Gofman
fb569a17e3 wineopenxr: Update to 1.0.15 registry version. 2021-06-17 15:10:20 -05:00
Andrew Eikum
607618b3df proton: Add PROTON_CRASH_REPORT_DIR runtime config
CW-Bug-Id: #18944
2021-06-17 15:10:17 -05:00
Renaud Lepage
139ad89ed3 proton: Assume STEAM_COMPAT_CLIENT_INSTALL_PATH is always set 2021-05-27 13:43:12 -05:00
Paul Gofman
57dc9d7062 lsteamclient: HACK Do not unset SteamAppId for 'Splitgate: Arena Warfare'.
CW-Bug-Id: 18924

To be dropped on the next rebase.
2021-05-27 21:30:27 +03:00
Rémi Bernon
751535d863
build: Restore missing tabulation in Makefile. 2021-05-27 19:13:24 +02:00
Arkadiusz Hiler
d2d52bd68a proton: Open the log file in append mode.
Opening file in append mode sets the offset to the end of the file prior
to each write. This allows user to append tags/notes to the log file
just before interesting events, e.g.:

    local $ ssh ivyl@test
    test  $ echo "!!! FOCUS CHANGE" >> ~/steam-XYZ.log

The log file is deleted just before we open it anyway, so there won't be
any leftover content from previous session.
2021-05-27 18:06:34 +03:00
Arkadiusz Hiler
a0c2cf6cac Use relative paths for wine and dxvk submodules. 2021-05-27 18:06:32 +03:00
Arkadiusz Hiler
bbf68812bc build: Add option to use rootless containers. 2021-05-27 18:06:31 +03:00
Rémi Bernon
0e897ff8b7
build: Move protonsdk_version default value to configure.sh. 2021-05-27 16:59:02 +02:00
Rémi Bernon
a8b3580679
configure: Rename --no-steam-runtime to --no-proton-sdk. 2021-05-27 16:58:19 +02:00
Rémi Bernon
9d5b7eb0cc
configure: Rename --steam-runtime-image to --proton-sdk-image. 2021-05-27 16:58:19 +02:00
Rémi Bernon
ecca62efa8
build: Create CCACHE_DIR if it doesn't exist and mount it.
Instead of the HOME dir, and only when ENABLE_CCACHE is set.
2021-05-27 16:58:18 +02:00
Rémi Bernon
8dd5db85dd
build: Pass CCACHE environment variable to the container build. 2021-05-27 16:58:18 +02:00
Rémi Bernon
d3e4d8a811
build: Pass -j flags and overrides to sub-make inside Vagrant. 2021-05-27 16:58:16 +02:00
Rémi Bernon
b84a7593b7
build: Pass -j flags to ninja build steps too. 2021-05-27 16:57:45 +02:00
Rémi Bernon
bb4c28c6ac
build: Use a separate rule for downloads. 2021-05-27 16:57:41 +02:00
Rémi Bernon
9283c7b50d
build: Use SHELL variable to execute commands in Vagrant. 2021-05-27 16:57:22 +02:00
Rémi Bernon
1e561a8bc0
build: Split non-vagrant commands from install rule. 2021-05-27 16:52:27 +02:00
Rémi Bernon
2269616052
build: Use a rule to create the vagrant_share/* directories. 2021-05-27 16:52:23 +02:00
Rémi Bernon
b58a10a265
build: Simplify and cleanup TTF font creation rules. 2021-05-27 16:52:09 +02:00
Rémi Bernon
acded80882
build: Install wineopenxr64.json after the prefix is created. 2021-05-27 16:52:08 +02:00
Rémi Bernon
41d488deee
build: Pass make flags and parallel flags to module rule. 2021-05-27 16:52:08 +02:00
Rémi Bernon
08992c126e
build: Make sure that module target triggers wine-configure. 2021-05-27 16:52:08 +02:00
Rémi Bernon
8726ea849d
build: Add specified modules to the container build list.
And not only when ending with 32/64.
2021-05-27 16:52:08 +02:00
Rémi Bernon
5dd383efff
build: Remove duplicate BUILD_DIR variable. 2021-05-27 16:52:07 +02:00
Andrew Eikum
bb11c5177c update wine 2021-05-13 11:14:44 -05:00
Jacek Caban
f632b693bd proton: Add runinprefix verb for running a program in a running session
CW-Bug-Id: 16785
2021-05-13 10:07:29 -05:00
Paul Gofman
ec9bf7f85d steam_helper: Create libraryfolders.vdf file.
For 2K Launcher.

CW-Bug-Id: 18912
2021-05-13 10:07:20 -05:00
Paul Gofman
016fb2fc76 steam_helper: Create Valve_SteamIPC_Class event.
For 2K Launcher.

CW-Bug-Id: 18912
2021-05-13 10:07:20 -05:00
Paul Gofman
301e733bbf steam_helper: Forward steam:// protocol requests to winebrowser.
CW-Bug-Id: 18912
2021-05-13 10:07:20 -05:00
Paul Gofman
7c30c77105 vrclient: Return stored BMD presence from BIsHmdPresent() if client core is not initialized.
CW-Bug-Id: 18901
2021-05-13 10:06:49 -05:00
Paul Gofman
0e9c2536c0 steam_helper: Store HMD presence status in registry.
CW-Bug-Id: 18901
2021-05-13 10:06:49 -05:00
Andrew Eikum
6cc6afaa3b update wine 2021-04-29 13:04:38 -05:00
Paul Gofman
8ddd3c36a1 proton: Link tahoma.ttf to Windows/Fonts.
CW-Bug-Id: 18862
2021-04-27 13:40:50 -05:00
Paul Gofman
e1885f8496 Add replacement font for Courier Bold.
CW-Bug-Id: 18862
2021-04-27 13:40:40 -05:00
Arkadiusz Hiler
575d9bc1f9 Don't install amd_ags_x64 into prefix
The DLL ships with the games and having the built-in version in
system32/syswow64 has unexpected consequences.

If the game is launched from a subdirectory, but the DLL is in current
working directory, the built-in takes precedence as CWD has lower search
priority than system directories (with the default SafeDllSearchMode).

By not installing amd_ags_x64.dll in system32/syswow64 the built-in is
still picked up correctly from lib/ when necessary.

There's an accompanying patch for wine that makes sure wineboot won't
install the dll, but since we construct our default_pfx in a special way
we also need to make sure that files won't get copied/linked there.

To make prefix updates smooth this change also removes any stale
amd_ags_x64.dlls that may have been installed by previous version of
Proton.

CW-Bug-Id: 18804
2021-04-27 11:11:14 -05:00