This article's documentation is for anything that uses the Strata engine. Click here for more information.

Strata Hammer for Linux

From Valve Developer Community
Jump to navigation Jump to search

Strata Hammer

Stub

This article or section is a stub. You can help by expanding it.

Icon-under construction-blue.png
This is a draft page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

This will work for both Momentum Mod Momentum Mod and Portal 2: Community Edition Portal 2: Community Edition. Portal: Revolution Portal: Revolution Wasn't tested, but should work.

More in-depth documentation can be found it the Strata Source Wiki.

Installation

Wine or Proton will be needed.

Recommended way by the developers of Strata Source to run Strata Hammer is via Wine. Proton is not recommended for ease of use reasons, and due to some issues with dynamic mounting.

Note.pngNote:Running Hammer from P2:CE via Proton will throw an error because of dynamic mounting, the error reads Required search path for AppID 620 could not be located. Ensure you have this app installed, or contact a developer.. Momentum Mod's Hammer (and Portal Revolution) does not get this error.

If you plan to use Wine, You must install DXVK. Easiest way to do this is via winetricks by opening up a Terminal window and typing winetricks dxvk.

Icon-Important.pngImportant:For Momentum Mod Momentum Mod, you need to set the compatibility to any Proton version to have the bin/win64 folder, Portal 2: Community Edition Portal 2: Community Edition already has that folder.

Running

Using the Terminal, you can run it by opening in your terminal the location where hammer.exe is. Then run the command wine hammer.exe -winecompat.

Running with Proton

Albeit this is not recommended as per the official Strata documentation, it is possible to run Strata Hammer via Proton

Open the Steam client, Click Add a Non-Steam Game, Navigate to your game folder in steamapps/common then once in the game folder, navigate to bin/ then win64/ and click on hammer.exe to make a Non-Steam shortcut.

After you've added hammer.exe as a Non-Steam shortcut, go to your Steam Library then right click on the newly created hammer.exe then click on Properties.

In Shortcut tab make sure to add -winecompat to launch options. After you've done that go to Compatibility tab, click on the checkbox with the text "Force the use of a specific Steam Play compatibility tool" then select a Proton version.

Todo: Should probably specify which Proton version is the best to use. It is possible to use Proton Experimental but Viewport will constantly flash. This is fixable by forcing WineD3D to be used by using PROTON_USE_WINED3D=1 %COMMAND% -winecompat for launch options


See also

External links