diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/installing-northstar/using-northstar/playing-on-linux.md | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/docs/installing-northstar/using-northstar/playing-on-linux.md b/docs/installing-northstar/using-northstar/playing-on-linux.md index 06d2aca..4b6aa88 100644 --- a/docs/installing-northstar/using-northstar/playing-on-linux.md +++ b/docs/installing-northstar/using-northstar/playing-on-linux.md @@ -1,10 +1,10 @@ -# Playing on Linux 🐧 +# Playing on Linux Northstar is officially supported on Linux, it uses compatibility layers like Proton or Wine to launch the game on POSIX systems. ## Installing -### Steam (Proton) +### Steam (Proton) (old guide) 1. Download the latest version of Northstar from the [releases](https://github.com/R2Northstar/Northstar/releases) page 2. Extract all contents of the file to your Titanfall 2 folder ( Right click _Titanfall 2_ > Open _Properties_ > Click _Local Files_ > Click _Browse_ ) @@ -23,7 +23,6 @@ Now Steam will automatically launch Northstar when you hit play. Just launch the 1. If you don't already have the game downloaded, install the game [from here.](https://lutris.net/games/titanfall-2/) 2. Download the latest version of Northstar from the [releases](https://github.com/R2Northstar/Northstar/releases) page 3. Extract all contents of the file to your Titanfall 2 folder - 4. **If you have the game installed on Lutris:** right click _Titanfall 2_ > _Configure_ > _Game Options_ > Set _Executable path_ to _NorthstarLauncher.exe_ 5. **Otherwise:** click the `+` button in the top left > set the name to whatever and _Runner_ to _Wine_ > click on _Game options_ > set _Executable path_ to _NorthstarLauncher.exe_ then save. @@ -41,25 +40,25 @@ Now just launch the game through Lutris and you should be greeted with a Northst This guide is really basic and needs fleshing out to make it more accessible. It also assumes you own Titanfall2 on Steam and run it from there. {% endhint %} -- Install Titanfall2 via the Steam store on the SteamDeck and run the vanilla game at least once -- Switch to desktop mode +* Install Titanfall2 via the Steam store on the SteamDeck and run the vanilla game at least once +* Switch to desktop mode\ (A mouse + keyboard plugged into the Deck are recommended for the next few steps) -- Install Northstar like you would in the Linux+Steam guide. +* Install Northstar like you would in the Linux+Steam guide.\ If you installed Titanfall2 on the Deck's internal storage, it will be located at `/home/deck/.local/share/Steam/steamapps/common/Titanfall2` -- Like with the Linux guide, rename `Titanfall2.exe` to something else (like `Titanfall2.original.exe`) and rename or link `NorthstarLauncher.exe` to `Titanfall2.exe`. +* Like with the Linux guide, rename `Titanfall2.exe` to something else (like `Titanfall2.original.exe`) and rename or link `NorthstarLauncher.exe` to `Titanfall2.exe`. We now need to configure Steam to use the right Proton version for Northstar due to current incompatibilities on Northstar's side. -- Install [_ProtonUp-Qt_](https://flathub.org/apps/details/net.davidotek.pupgui2) via the _Discover Store_ on the SteamDeck. We'll use it to easily add special Proton versions. -- Launch ProtonUp-Qt and click on "_Add version_". Wait a bit for it to load. Then for "_Compatibility tool_" select `Proton-GE`, for "_Version_" choose `7.3-GE-1`, and click on "_Install_". -- Wait a bit for it to install, then go to "_Show game list_", go to _Titanfall2_ and select `7.3-GE-1` as the compatibility tool. Afterwards close the pop-up and ProtonUp-Qt. +* Install [_ProtonUp-Qt_](https://flathub.org/apps/details/net.davidotek.pupgui2) via the _Discover Store_ on the SteamDeck. We'll use it to easily add special Proton versions. +* Launch ProtonUp-Qt and click on "_Add version_". Wait a bit for it to load. Then for "_Compatibility tool_" select `Proton-GE`, for "_Version_" choose `7.3-GE-1`, and click on "_Install_". +* Wait a bit for it to install, then go to "_Show game list_", go to _Titanfall2_ and select `7.3-GE-1` as the compatibility tool. Afterwards close the pop-up and ProtonUp-Qt. At this point we can go back to Deck UI. The mouse and keyboard are also no longer needed. -- In Steam go to Titanfall2 -> settings -> _Properties_ -> _Compatibility_ and make sure "Force the use of a specific Steam Play compatibility tools" is checked and `Proton-7.3-GE-1` is selected. If not, do so. -- Now go back to the main page of TItanfall2 and hit "_Play_". -- On the first launch, Titanfall2+Northstar will take a long time to boot (like 5+ minutes, seriously). Do not close the game, just wait until you see the main menu screeen. Subsequent launches should be faster. -- If you get "Northstar has crashed!" error close out of the game and try again. Make sure you followed the above instructions. +* In Steam go to Titanfall2 -> settings -> _Properties_ -> _Compatibility_ and make sure "Force the use of a specific Steam Play compatibility tools" is checked and `Proton-7.3-GE-1` is selected. If not, do so. +* Now go back to the main page of TItanfall2 and hit "_Play_". +* On the first launch, Titanfall2+Northstar will take a long time to boot (like 5+ minutes, seriously). Do not close the game, just wait until you see the main menu screeen. Subsequent launches should be faster. +* If you get "Northstar has crashed!" error close out of the game and try again. Make sure you followed the above instructions. Should you at any point want to play vanilla Titanfall2 again, go back to Desktop mode and change the previously renamed `Titanfall2.exe` (now `Titanfall2.original.exe` if you followed the steps above) back to `Titanfall2.exe`. Additionally you stop forcing the different Proton version in the Deck UI game settings. @@ -71,17 +70,16 @@ Northstar only requires the [Vulkan layer](https://github.com/ishitatsuyuki/Late Once installed, LatencyFleX can be enabled by doing either of the following: -- **Steam:** Add the following to your Titanfall 2 launch options: `"LFX=1 %command%"` -- **Lutris:** Right click on Titanfall 2, click 'Configure', navigate to 'System Preferences' / 'System Options' / 'Environmental Variables', and use the following: +* **Steam:** Add the following to your Titanfall 2 launch options: `"LFX=1 %command%"` +* **Lutris:** Right click on Titanfall 2, click 'Configure', navigate to 'System Preferences' / 'System Options' / 'Environmental Variables', and use the following: -> Key: LFX -Value: 1 +> Key: LFX Value: 1 Once in-game, LatencyFleX can be toggled off and on using the `"r_latencyflex"` console variable. While playing with LatencyFleX, **VSync and Adaptive Super Sampling must be disabled**. If you wish to prevent tearing while using LatencyFleX, the following may be added to the end of `ns_startup_args.txt` in the root of your Titanfall 2 install: -> +fps_max_use_refresh 1 +> \+fps\_max\_use\_refresh 1 ## Troubleshooting @@ -98,7 +96,8 @@ This problem is caused due to missing fonts on your Titanfall 2 wine prefix, you 5. You can now close it and launch the game. ### Crackling sound -Can be fixed by adding [`tsched=0`](https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Glitches.2C_skips_or_crackling) to `/etc/pulse/default.pa` + +Can be fixed by adding [`tsched=0`](https://wiki.archlinux.org/title/PulseAudio/Troubleshooting#Glitches.2C\_skips\_or\_crackling) to `/etc/pulse/default.pa` ### Fullscreen issues @@ -128,7 +127,7 @@ There are also other (not necessary) tweaks as: _DXVK-_[_async_](https://github.com/Sporif/dxvk-async#improvements): -Wine: download [**dxvk-async**](https://github.com/Sporif/dxvk-async/releases), extract and put it in `~/.local/share/lutris/runtime/dxvk` then type the name of the folder in `▲` -> `Configure` -> `Runner Options` -> `DXVK version`, to enable add `DXVK_ASYNC 1` to `System Options` -> `Environment variables` +Wine: download [**dxvk-async**](https://github.com/Sporif/dxvk-async/releases), extract and put it in `~/.local/share/lutris/runtime/dxvk` then type the name of the folder in `▲` -> `Configure` -> `Runner Options` -> `DXVK version`, to enable add `DXVK_ASYNC 1` to `System Options` -> `Environment variables` Proton: can be used with [**Proton-GE**](https://github.com/GloriousEggroll/proton-ge-custom). Type `DXVK_ASYNC 1 %command%` under `Properties..` -> `LAUNCH OPTIONS` @@ -144,7 +143,7 @@ Access can be restricted using a file manager or terminal: `chmod -R 555` -> access only -`chmod -R 755` -> access + save +`chmod -R 755` -> access + save It's also possible to create command aliases to type something short, such as tfoff/tfon. @@ -152,9 +151,9 @@ It's also possible to create command aliases to type something short, such as tf If you ever used ReShade together with Titanfall2 in the past it will have created a bunch of DXVK DLLs that are incompatible with Northstar. If Northstar fails to fully initialize with an exeption and you have previously installed ReShade on Windows delete the following files from `Titanfall2/bin/x64_retail/`: -- D3D8.DLL -- D3D9.DLL -- D3D10.DLL -- D3D11.DLL -- OPENGL.DLL -- DXGI.DLL +* D3D8.DLL +* D3D9.DLL +* D3D10.DLL +* D3D11.DLL +* OPENGL.DLL +* DXGI.DLL |