ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.49k stars 1.07k forks source link

Install non-steam game? #122

Closed smurfhunter closed 5 years ago

smurfhunter commented 6 years ago

Could one install a game/program inside steam using steam play?

OvermindDL1 commented 6 years ago

Should probably post that at https://github.com/ValveSoftware/steam-for-linux/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc as it is related to the Steam Client. :-)

gd71 commented 6 years ago

No yet tested but seems ok https://www.reddit.com/r/Steam/comments/99fjzw/steam_proton_for_non_steam_applications/

ghost commented 6 years ago

Would really like to be able to use Proton with non-Steam games. I can add a shortcut to an EXE to my Steam but it will still launch using system native wine and not Proton.

r4-broadcast commented 6 years ago

I tried 2 Non-Steam games:

Warcraft 3 & Frozen Throne: Run without issues, only Videos got an error. For running them I'm using:

STEAM_COMPAT_DATA_PATH=~/.proton/ ~/.steam/steam/steamapps/common/Proton\ 3.7/proton run whatever.exe

Also, using the same Commands, I tried 5 Adobe CC 2018 Apps:

Photoshop Ran but without the correct fonts on interface. Illustrator, Media Encoder, Premiere Pro and After Effects threw errors on libraries, specially MS.VC90

Read out:

https://www.reddit.com/r/linux_gaming/comments/9au2qp/how_do_i_use_proton_via_command_line/

WaKeMaTTa commented 6 years ago

I tried to run Mod Organizer and i had to install this package:

sudo apt-get install libfreetype6:i386

This is the command i used:

PROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 STEAM_COMPAT_DATA_PATH=~/.steam/steam/steamapps/compatdata/203630/ "~/.steam/steam/steamapps/common/Proton 3.7/proton" run "~/.steam/steam/steamapps/common/ModOrganizer/ModOrganizer.exe"

:heavy_check_mark: Tested in Ubuntu 18.04 LTS (64bits)

Kzimir commented 6 years ago

I have no file named "Proton" in "~/.steam/steam/steamapps/common/Proton 3.7/" :/

torzod commented 6 years ago

this is required for continuing the game OneShot (_______.exe)

gwemmie commented 6 years ago

Does Proton do anything under the hood that would benefit a non-Steam game that vanilla WINE doesn't do besides use DXVK? Would using wine with DXVK on DX10-12 games be effectively the same thing as twisting Proton to cover non-Steam games? (Honest question.)

I guess an easier way to answer this question is, does Valve add anything to WINE besides DXVK in making Proton, and do they contribute their improvements back to WINE itself as is GNU practice?

Just skimming the source a little, it seems to me like besides DXVK, all Proton adds to WINE is various specific versions and builds of individual libraries that are tailored to maximize compatibility with the games Proton directly supports. If that's true, that would mean using Proton on a non-Steam game is potentially less helpful than using just WINE with DXVK on it. But I only skimmed, so take this entire paragraph with a massive grain of salt.

EDIT: Researching further, I just learned another big thing besides DXVK that's added is esync: https://github.com/zfigura/wine/blob/esync/README.esync

justinvdk commented 5 years ago

For me the benefit is making sure that the executable I add would run in the same environment as any other program launched from steam.

More specifically to my situation: I've installed Steam via Flatpak and have no multilib/multiarch on my system, which means I am unable to run 32 bit binaries. Flatpak solves this internally and Steam runs perfectly, even Windows games via Proton. However, manually running a non-steam game in that environment is a pain (couldn't even get it to work).

Allowing running non-steam games via proton would solve this, and probably any other situation in which Steam installed in a tricky environment (I understand that mine is not very common; but similarity other setups might benefit).

I hope that in the future Steam would allow us some advanced control over what proton does with wine prefixes and such for these kind of edge-cases. Some games split multiplayer and singleplayer in two different binaries and Steam only has a single entry for both, with the Singleplayer game having a menu option to launch the Multiplayer binary. This doesn't work for me in proton with Splinter Cell: Chaos Theory unfortunately. I was hoping to just directly add the Multiplayer exe as non-steam game to work-around this.

kisak-valve commented 5 years ago

Closing as a duplicate of https://github.com/ValveSoftware/steam-for-linux/issues/5677. Also implemented in the 2019-01-18 Steam client beta update.

f0rmatme commented 5 years ago

thanks based mr valve, love the steam client beta update

melroy89 commented 5 years ago

Thank Valve! Love you guys.