Commit Graph

491 Commits

Author SHA1 Message Date
Andrew Eikum
5286f43fda proton: Call python3 explicitly on Linux
Frustratingly, Ubuntu ships no python binary by default, only python3,
so we can't just call python and expect it to work. This will fail on
distros that don't ship python3, but them's the breaks.
2018-08-29 09:24:41 -05:00
Andrew Eikum
59b018c19d update wine 2018-08-28 10:52:20 -05:00
AsciiWolf
7081022403 proton: Fix typo 2018-08-27 08:57:09 -05:00
Adrian Torres
f9b5a08495 Make debug scripts dump dir configurable
If PROTON_DUMP_DEBUG_COMMANDS is set, the directory where
the debug scripts will be dumped to can be defined with
the env variable / setting PROTON_DEBUG_DIR.

This commit also lets users set PROTON_DUMP_DEBUG_COMMANDS
in user_settings.py, which didn't work previously because
the variable was being fetched from os.environ instead of env.

Closes #511
2018-08-27 08:56:06 -05:00
Krish De Souza
b0e4ddf8e3 Minor linting fixes to build_proton.sh
--Added double quotes around various variables to avoid globbing and word splitting.
  --Removed use of legacy basetick and replaced with $()
  --Avoid use of -a and -o and replaced with || and && which are more preferred.

Suggestions and fixes were recommended by shellcheck.
2018-08-27 08:49:57 -05:00
kisak-valve
022a24fc2c
Make env variables more new user friendly 2018-08-24 21:13:19 -04:00
Pierre-Loup A. Griffais
ee6a4771ea
Create CHANGELOG.md 2018-08-24 17:35:19 -07:00
Andrew Eikum
e7c4d12f8d proton: Fix byte string comparison 2018-08-24 13:48:57 -05:00
Andrew Eikum
9428857077
Merge pull request #237 from Gravemind/fix-build-wine32-typo
build_proton: Fix build wine32 typo
2018-08-24 11:55:48 -05:00
Andrew Eikum
46967e3bda update dxvk to v0.70 2018-08-24 11:32:20 -05:00
Andrew Eikum
094a2047d3 update wine 2018-08-24 11:32:17 -05:00
Andrew Eikum
088c88b745 Merge remote-tracking branch 'MayeulC/python3' into proton_3.7 2018-08-24 11:19:10 -05:00
Mayeul Cantan
0f80f2f52c Import print_function from __future__ for python compatibility
This alters the behaviour of python2's print statement to be compatible
with python3's print function. While not strictly necessary for now,
this might help future compatibility.
Thanks to Seppo Yli-Olli (@nanonyme) for suggesting this.
2018-08-24 09:28:52 +02:00
Andrew Eikum
a7b3740655 README: Tweak runtime config override wording 2018-08-23 11:30:05 -05:00
Andrew Eikum
3c7b887dcc update wine 2018-08-23 11:30:05 -05:00
tcarrio
0d9ec29b5e build_proton.sh: Use available cores for job count. 2018-08-23 11:29:56 -05:00
Andrew Eikum
fa8f06efaf proton: Move debug scripts to /tmp/proton_$USER/
To avoid conflicts between multiple Unix accounts.
2018-08-23 11:29:56 -05:00
Andrew Eikum
1b9d405d14 proton: Only dump debug scripts when requested 2018-08-23 11:29:54 -05:00
Andrew Eikum
af9eb02401 proton: Dump some default logging if PROTON_LOG is set 2018-08-23 11:29:54 -05:00
Andrew Eikum
8dc036b298 proton: Drop WINEARCH from environment 2018-08-23 11:29:49 -05:00
Andrew Eikum
10012eee17 proton: Fix null deref 2018-08-23 09:43:12 -05:00
Andrew Eikum
4d127190a6 proton: Fix for broken 64-bit-only prefix shipped 20180822 2018-08-23 09:10:15 -05:00
Mayeul Cantan
9c3667c083 Make proton, gen_wrapper and user_settings python scripts version-agnostic 2018-08-23 14:24:39 +02:00
Sebastian Wick
2863402e9e move proton from python2.7 to python3 2018-08-23 12:05:35 +02:00
Gravemind
ad5527f70b build_proton: Fix build wine32 typo
`./build_proton.sh --build wine32` was building wine64 instead of
wine32.
2018-08-23 10:27:19 +02:00
Pierre-Loup A. Griffais
5aed286761 build_proton.sh: configure DXVK release-ness differently
To avoid a bug in meson where it apparently ignores configure commands from
scripts.

https://github.com/ValveSoftware/Proton/issues/192
2018-08-22 18:25:28 -07:00
Pierre-Loup A. Griffais
e16787046b Update freetype2 submodule remote to point to something I can actually clone. 2018-08-22 18:24:19 -07:00
Andrew Eikum
2f298deccf
Merge pull request #36 from chrisballinger/patch-1
Add macOS dependencies to README
2018-08-22 10:08:43 -05:00
Andrew Eikum
59e86e0321
Merge pull request #96 from nanonyme/hashbang-sanitizing
Hashbang sanitizing
2018-08-22 10:01:27 -05:00
Jeremy White
ac9b82c3c7
Merge pull request #20 from tcarrio/runtime-options-update
Runtime config suggestion for specific game options
2018-08-22 09:24:06 -05:00
Seppo Yli-Olli
0002f84825
Sanitize hashbang 2018-08-22 16:52:24 +03:00
Seppo Yli-Olli
21c751ab73
Sanitize hashbang 2018-08-22 16:51:27 +03:00
Seppo Yli-Olli
6f0a6f656d
Sanitize hashbang 2018-08-22 16:50:20 +03:00
Seppo Yli-Olli
d162bda989
Sanitize hashbang 2018-08-22 16:49:20 +03:00
Chris Ballinger
c668fc9fd7
Add macOS dependencies to README 2018-08-21 22:04:25 -07:00
tcarrio
5192e41bfe Updated to mention PROTON_ variables specifically 2018-08-21 23:52:14 -04:00
Tom
f03e1de71d
Runtime config suggestion for specific game options
Updated README to reflect specific-game environment variable modification alongside the existing global option available through `user_settings.py`.
2018-08-21 22:09:48 -04:00
Andrew Eikum
3c2e18ff30
Merge pull request #6 from jwhite66/proton_3.7
Clarify the language around building dxvk.
2018-08-21 19:34:06 -05:00
Jeremy White
87e0abda53 Clarify the language around building dxvk. 2018-08-21 19:20:19 -05:00
Jeremy White
b8a3b24736
Merge pull request #3 from Chris-Johnston/patch-1
Fix CMake build instruction formatting in README
2018-08-21 19:07:40 -05:00
Chris Johnston
e50d601fd4
Fix CMake build instruction formatting in README
Fixes the CMake build instructions which appear to be formatted incorrectly.
2018-08-21 16:39:03 -07:00
Pierre-Loup A. Griffais
e7213f134b
Update PREREQS.md 2018-08-21 15:55:47 -07:00
Pierre-Loup A. Griffais
99ef22ceff
Update PREREQS.md 2018-08-21 11:40:57 -07:00
Pierre-Loup A. Griffais
4bb28580c6
Update README.md 2018-08-21 11:30:34 -07:00
Pierre-Loup A. Griffais
62698b0dac
Update README.md 2018-08-21 11:26:52 -07:00
Pierre-Loup A. Griffais
52c484d5a7
Update README.md 2018-08-21 11:24:44 -07:00
Pierre-Loup A. Griffais
9dc3c2c995
Update README.md 2018-08-21 11:24:31 -07:00
Pierre-Loup A. Griffais
123c816082
Update README.md 2018-08-21 11:22:07 -07:00
Andrew Eikum
3aed5f3a25 Merge remote-tracking branch 'github/proton_3.7' into proton_3.7 2018-08-21 10:27:26 -05:00
Andrew Eikum
d897a902d5 update wine 2018-08-20 10:59:11 -05:00