Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "User:Outoflives"

From PCGamingWiki, the wiki about fixing PC games
m
(Pseudo-templates)
Line 13: Line 13:
 
====Why not just post Proton fixes for Steam games on ProtonDB and then post non-Proton/non-Steam fixes on WineHQ AppDB and other Linux-specific sites?====
 
====Why not just post Proton fixes for Steam games on ProtonDB and then post non-Proton/non-Steam fixes on WineHQ AppDB and other Linux-specific sites?====
 
* Because the whole point of PC Gaming Wiki is to solve the problem of information being scattered all over like that.
 
* Because the whole point of PC Gaming Wiki is to solve the problem of information being scattered all over like that.
 +
* While many Linux users may already be going to ProtonDB and WineHQ AppDB for help on running games, these sites are primarily for reporting compatibility, and PC Gaming Wiki is specifically for listing fixes.
 +
 +
==Pseudo-templates==
 +
I don't think I have permission to create actual templates on this wiki, but there are a few common tweaks I often find myself using to get games to run on Linux, and thus I've found myself copying and pasting the same or similar fixes onto multiple pages. So I might as well put them here for easy access.
 +
 +
===Force Proton usage===
 +
When the Linux version of a game doesn't work, I think forcing Steam to run the Windows version with Steam Play is a valid solution.
 +
{{Fixbox|description=Run the Windows version with Proton|fix=
 +
In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select a Proton version from the drop-down list.
 +
}}
 +
<pre>{{Fixbox|description=Run the Windows version with Proton|fix=
 +
In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select a Proton version from the drop-down list.
 +
}}</pre>
 +
 +
===Force specific Proton version===
 +
If a Steam game has no Linux version and therefore runs with Proton by default, but is known to work only with specific Proton versions, the simple instructions to force the use of a specific Proton version should be offered as a solution to whatever issue is caused by using the wrong version. This is probably most appropriate when a game requires an older Proton version due to some regression, as most users will probably be using the latest Proton by default.
 +
{{Fixbox|description=Use Proton 5.13-6 or older|fix=
 +
In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select Proton 5.13-6 or older from the drop-down list.
 +
}}
 +
<pre>{{Fixbox|description=Use Proton 5.13-6 or older|fix=
 +
In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select Proton 5.13-6 or older from the drop-down list.
 +
}}</pre>
 +
 +
===Set environment variable===
 +
Putting environment variables in the launch options is a common fix for various issues.
 +
====Proton flag====
 +
{{Fixbox|description=Enable "Use Wine D3D" flag|fix=
 +
Run Proton with the environment variable {{code|PROTON_USE_WINED3D}} set to {{code|1}}. (In the General tab of the game's Properties window in Steam, put <code>PROTON_USE_WINED3D=1 %command%</code> in the launch options field.)
 +
}}
 +
<pre>{{Fixbox|description=Enable "Use Wine D3D" flag|fix=
 +
Run Proton with the environment variable {{code|PROTON_USE_WINED3D}} set to {{code|1}}. (In the General tab of the game's Properties window in Steam, put <code>PROTON_USE_WINED3D=1 %command%</code> in the launch options field.)
 +
}}</pre>
 +
====Wine DLL override====
 +
{{Fixbox|description=Add Wine DLL override for {{code|d3d8.dll}}|fix=
 +
Run the game with the environment variable {{code|WINEDLLOVERRIDES}} set to <code>"d3d8=n,b"</code>. (In the General tab of the game's Properties window in Steam, put <code>WINEDLLOVERRIDES="d3d8=n,b" %command%</code> in the launch options field.)
 +
}}
 +
<pre>{{Fixbox|description=Add Wine DLL override for {{code|d3d8.dll}}|fix=
 +
Run the game with the environment variable {{code|WINEDLLOVERRIDES}} set to <code>"d3d8=n,b"</code>. (In the General tab of the game's Properties window in Steam, put <code>WINEDLLOVERRIDES="d3d8=n,b" %command%</code> in the launch options field.)
 +
}}</pre>

Revision as of 05:58, 10 December 2021

Working to address the lack of Linux-related content on PC Gaming Wiki. Contributions here.

Why Linux?

  • Because Linux is neat.
  • Because information about Linux is allowed here.
  • Because this wiki's editor community has Windows pretty much covered, to the point where there's not much for me to add, which is why I hardly ever used this account at all prior to switching from Windows to Linux.

Why not just post fixes on ProtonDB?

  • Because ProtonDB is not designed for looking up fixes, no matter how many people use it for that purpose. It's for reporting compatibility, and although reports may include descriptions of tweaks used for improving compatibility, the information is not organized in a way that helps readers find solutions to specific problems.
  • Because ProtonDB is specifically for Proton, and thus information about native ports and other compatibility tools is off-topic there, even if it's tolerated.
  • Because ProtonDB is limited to Steam games.

Why not just post Proton fixes for Steam games on ProtonDB and then post non-Proton/non-Steam fixes on WineHQ AppDB and other Linux-specific sites?

  • Because the whole point of PC Gaming Wiki is to solve the problem of information being scattered all over like that.
  • While many Linux users may already be going to ProtonDB and WineHQ AppDB for help on running games, these sites are primarily for reporting compatibility, and PC Gaming Wiki is specifically for listing fixes.

Pseudo-templates

I don't think I have permission to create actual templates on this wiki, but there are a few common tweaks I often find myself using to get games to run on Linux, and thus I've found myself copying and pasting the same or similar fixes onto multiple pages. So I might as well put them here for easy access.

Force Proton usage

When the Linux version of a game doesn't work, I think forcing Steam to run the Windows version with Steam Play is a valid solution.

Run the Windows version with Proton

In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select a Proton version from the drop-down list.

{{Fixbox|description=Run the Windows version with Proton|fix=
In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select a Proton version from the drop-down list.
}}

Force specific Proton version

If a Steam game has no Linux version and therefore runs with Proton by default, but is known to work only with specific Proton versions, the simple instructions to force the use of a specific Proton version should be offered as a solution to whatever issue is caused by using the wrong version. This is probably most appropriate when a game requires an older Proton version due to some regression, as most users will probably be using the latest Proton by default.

Use Proton 5.13-6 or older

In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select Proton 5.13-6 or older from the drop-down list.

{{Fixbox|description=Use Proton 5.13-6 or older|fix=
In the Compatibility tab of the game's Properties window in Steam, enable the "Force the use of a specific Steam Play compatibility tool" option and select Proton 5.13-6 or older from the drop-down list.
}}

Set environment variable

Putting environment variables in the launch options is a common fix for various issues.

Proton flag

Enable "Use Wine D3D" flag

Run Proton with the environment variable PROTON_USE_WINED3D set to 1. (In the General tab of the game's Properties window in Steam, put PROTON_USE_WINED3D=1 %command% in the launch options field.)

{{Fixbox|description=Enable "Use Wine D3D" flag|fix=
Run Proton with the environment variable {{code|PROTON_USE_WINED3D}} set to {{code|1}}. (In the General tab of the game's Properties window in Steam, put <code>PROTON_USE_WINED3D=1 %command%</code> in the launch options field.)
}}

Wine DLL override

Add Wine DLL override for d3d8.dll

Run the game with the environment variable WINEDLLOVERRIDES set to "d3d8=n,b". (In the General tab of the game's Properties window in Steam, put WINEDLLOVERRIDES="d3d8=n,b" %command% in the launch options field.)

{{Fixbox|description=Add Wine DLL override for {{code|d3d8.dll}}|fix=
Run the game with the environment variable {{code|WINEDLLOVERRIDES}} set to <code>"d3d8=n,b"</code>. (In the General tab of the game's Properties window in Steam, put <code>WINEDLLOVERRIDES="d3d8=n,b" %command%</code> in the launch options field.)
}}