I want add "Wine" from system like a compat tool ?
Hi there, i want add "Wine" from system like a compat tool, Searching on google " Steam add to compat tools wine from system " i get this result :

" To use a system-installed Wine as a Steam compatibility tool, you'll need to either integrate it with SteamTinkerLaunch or manually create a compatibility tool directory within Steam's configuration. Steam natively supports Proton for running Windows games, but you can extend this functionality to include Wine.

Using SteamTinkerLaunch:

1. Install SteamTinkerLaunch:
Follow the instructions on the SteamTinkerLaunch GitHub page to install it.

2. Add Wine as a compatibility tool:
Use the command steamtinkerlaunch compat add or ./path/to/steamtinkerlaunch compat add if it's not in your PATH.

3. Restart Steam:
This makes the newly added tool available.

4. Configure game:
In Steam, right-click the game, go to Properties > Compatibility, and enable "Force the use of a specific Steam Play compatibility tool," then select SteamTinkerLaunch with your added Wine version.


Manual Method:

1. Create the directory:
Create a folder named compatibilitytools.d inside ~/.steam/root/ (or ~/.local/share/Steam/compatibilitytools.d if you have a different Steam directory) if it doesn't exist.

2. Create a tool directory:
Inside compatibilitytools.d, create a new folder for your Wine version (e.g., wine-custom).

3. Populate the tool directory:
Inside the new folder, you'll need to create the following:
tool_name file: This file should contain the name of your tool (e.g., "Wine Custom").
compat_tool.vdf file: This file defines the compatibility tool. An example is:

Code

"CompatTool"
{
"name" "Wine Custom"
"config"
{
"path" "$STEAM_COMPAT_TOOL_PATH"
"requires_tool_appid" "0"
}
"executable"
{
"path" "wine"
"arguments" "run %command%"
"type" "wine"
}
}

files directory (optional): If your Wine executable is not in your PATH, you can place it (and any necessary DLLs or libraries) inside this directory. You can also create symlinks here to your system's Wine files.

Restart Steam: This makes the new tool available.
Configure game: In Steam, right-click the game, go to Properties > Compatibility, and enable "Force the use of a specific Steam Play compatibility tool," then select your custom Wine tool.

Important Notes:
Proton is recommended: Proton is optimized for Steam gaming and generally offers better performance and compatibility. If you encounter issues with Wine, consider using Proton.

System Wine vs. Proton: System Wine is not the same as Proton. Proton is a patched version of Wine specifically designed for Steam Play.
~/.steam/root: This path might be different depending on your Steam installation. "

i just interested on manual method, but looks like more things are need like enviroments variables to set use the same prefixes uses proton for example or maybe i just am wrong and steam magically do that automatically

i ever i suggest from years ago to put options like a custom wine and or system wine ( before the Proton exist on steam, when valge use "Wine G" custom version for games like Septerra Core, Gorky 17, X-Blades. ) but none ever has answer that, and the IA gave me that answer and can be the first step for i can start solve that thing.