summaryrefslogtreecommitdiffhomepage
path: root/proto-wine/ftnoir_protocol_wine.cpp
AgeCommit message (Collapse)Author
2024-06-08Refactored proton_path to be the dist dir locationKiril Zvezdarov
From Proton 9.0 and up, the directory containing library files and wine executables - previously called `dist`, appears to have been renamed to `files`. This breaks OpenTrack with newer Proton versions, because the path to the `wine` executable and proton library files is constructed as `:PROTON_PATH/dist/bin/wine`, i.e. the dist dir name is hardcoded. To fix this while preserving backward compatibility, this commit changes `proton_path` to point to the `dist` dir directly, be it `files` for 9.0+ or `dist` for older versions. Templated variables are adjusted accordingly to omit the dist dir. Obtaining the dist. dir path for a specific Proton version is done by recursively iterating the version's directory, looking for the `wine` executable. The first match is used to discover the grandparent dir path, which is the desired `:PROTON_PATH/:DIST_DIR` path.
2023-11-13Fix build for wine without wrapperFrancesco Zanini
`connected_game` is only declared in a specific configuration.
2023-02-26proto/wine: kill verbose warningStanislaw Halik
The .csv lookup may fail and thus result in this message getting printed 250 times per second.
2023-02-26moved changes from master to upstream-mergePriton-CE
2020-06-24Only set the wineprefix if not using protonRussell Sim
Seems this else was accidentally deleted in my last PR. Without it the wineprefix keeps getting set to ~/.wine
2020-06-17Remove qDebug statementRussell Sim
2020-06-17Replace exception handling with error return valueRussell Sim
2020-06-14Implement error handlingRussell Sim
2020-06-13Proton directory discoveryRussell Sim
Use search paths to find proton wine and the app directory, so that we can support steam installations in multiple locations and 3rd party proton installations.
2020-03-07fix qprocess race on unixStanislaw Halik
2020-02-03proto/wine: allow disabling freetrack/npclientStanislaw Halik
Fixes #1042
2020-02-03proto/wine: fix includesStanislaw Halik
2019-10-29proto/wine: add support for setting WINEPREFIXStanislaw Halik
2019-10-28proto/wine: implement more proton knobsStanislaw Halik
Reported by: @jp7677 Issue: #996
2019-10-28proto/wine: actually set environStanislaw Halik
2019-10-28proto/wine: move function prototypesStanislaw Halik
2019-10-28proto/wine: add support for protonStanislaw Halik
2019-09-22api: expose raw data to protocolsStanislaw Halik
Issue: #975
2019-07-05proto/wine: remove unused headersStanislaw Halik
2019-07-05proto/wine: fix qprocess warningStanislaw Halik
2018-12-12proto/wine: fixesStanislaw Halik
- use SDK_WINE boolean - improve logic when building for X-Plane only - rename when building for X-Plane - conditionalize Wine-related stuff - move starting the wrapper to initialize() as it should be done - use more C++17 - update header usage
2018-05-23proto/wine: remove obsolete `otr_tr'Stanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/726#issuecomment-391422146
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-18plugins: rename check_status -> initializeStanislaw Halik
It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly.
2017-12-09many: use otr_tr for non-qobject translationStanislaw Halik
I haven't even compile-tested Linux and OSX-specific bits.
2017-12-04api: add status check for modulesStanislaw Halik
2017-06-18minor tweaks onlyStanislaw Halik
2017-05-17use math constSven Kocksch
2016-11-04modules: make names uniqueStanislaw Halik
2016-07-19proto/{ft,wine}: simplify qprocess killing logicStanislaw Halik
2016-07-08gui, api, proto/wine: get rid of library path as exported symbolStanislaw Halik
There's no need to do that. It never changes unless the toolchain changes.
2016-07-06proto-wine: fix .dll path after hier(7) supportStanislaw Halik
2015-10-30also rename protocol -> protoStanislaw Halik