Playing on the Steam Deck: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(some elaboration, from my personal tests with SteamOS)
(wording, corrections, and instructions for launching without Steam)
 
Line 1: Line 1:
The Steam Deck is known for being able to seamlessly run Windows software through Proton, the Wine wrapper. Running Oni on the Deck is thus easier than directly [[Playing in Linux|using Wine to run Oni in Linux]]. While Oni should work out of the box, you will likely experience dropped frames when sounds play, especially rapid-fire sounds like gunfire. Follow these steps to solve the issue.
The Steam Deck is known for being able to seamlessly run Windows software through Proton, the Wine fork distributed by Valve. Running Oni on the Deck is thus easier than directly [[Playing in Linux|using Wine to run Oni in Linux]].


# Install Oni (vanilla or Anniversary Edition) on a Windows PC and copy the installation to a flash drive.
# Switch from SteamOS to the Linux desktop by choosing Steam Menu > Power > Switch to Desktop.
# Switch from SteamOS to the Linux desktop by choosing Steam Menu > Power > Switch to Desktop.
# Install Oni (vanilla or Anniversary Edition) on a Windows PC and transfer the files to the Deck using a flash drive.
# In the desktop file explorer (Dolphin), copy the Oni installation from your flash drive to the Deck.
# Install the app "ProtonUp-Qt" from the Discover app (Software Center), which should be in the taskbar already.
# Add the installation's Oni.exe to Steam as a non-Steam game. You can quickly do this by right-clicking the app and choosing "Add to Steam".
# Add the Oni installation's EXE (or the EXE in the AE folder if you copied over AE Oni) to Steam as a non-Steam game. You can quickly do this by right-clicking the app and choosing "Add to Steam".
# Right-click Oni in your Steam library and choose Properties > Compatibility. Check the box "Force the use of a specific Steam Play compatibility tool" and choose the latest numbered version of Proton. Oni is ready to run at this point, but will suffer from dropped frames when sound effects play rapidly.
# Right-click Oni in Steam and choose Properties > Compatibility. Check the box "Force the use of a specific Steam Play compatibility tool" and choose the latest version of Proton. Oni is ready to run at this point, but sound effects will cause it to drop frames.
# Download [http://mods.oni2.net/node/403 msacm32.dll] and drop it into the Oni or AE directory.
# Download [http://mods.oni2.net/node/403 msacm32.dll] and drop it into the Oni or AE directory.
# Add <code>WINEDLLOVERRIDES="msacm=n,b" %command%</code> in the Steam launch options for the game.
# Add <code>WINEDLLOVERRIDES="msacm32=n,b" %command%</code> in the Steam launch options for the game.
# Launch it! The first time you run Oni, Steam will have to download a Steam Linux runtime and the version of Proton which you selected, so sit tight.
# Launch it! The first time you run Oni, Steam will have to download a Steam Linux runtime and the version of Proton which you selected, so sit tight.
After performing the above steps, you won't have to switch to the Linux desktop to play Oni; it should be playable from your SteamOS library.
==Steam-less launch==
Note that you don't need to launch Oni through Steam if you're using the Deck from the Linux desktop. You can install Lutris from the Discover app and then add Oni manually to its list of games. Make sure to turn off Esync and Fsync under the game config's "Runner options" tab. In the "DLL overrides" section, add key "msacm32" and value "n,b" to take advantage of the msacm32.dll that you placed in Oni's directory if you followed the above instructions.


[[Category:Oni Support]]
[[Category:Oni Support]]

Latest revision as of 19:10, 19 July 2023

The Steam Deck is known for being able to seamlessly run Windows software through Proton, the Wine fork distributed by Valve. Running Oni on the Deck is thus easier than directly using Wine to run Oni in Linux.

  1. Install Oni (vanilla or Anniversary Edition) on a Windows PC and copy the installation to a flash drive.
  2. Switch from SteamOS to the Linux desktop by choosing Steam Menu > Power > Switch to Desktop.
  3. In the desktop file explorer (Dolphin), copy the Oni installation from your flash drive to the Deck.
  4. Add the installation's Oni.exe to Steam as a non-Steam game. You can quickly do this by right-clicking the app and choosing "Add to Steam".
  5. Right-click Oni in your Steam library and choose Properties > Compatibility. Check the box "Force the use of a specific Steam Play compatibility tool" and choose the latest numbered version of Proton. Oni is ready to run at this point, but will suffer from dropped frames when sound effects play rapidly.
  6. Download msacm32.dll and drop it into the Oni or AE directory.
  7. Add WINEDLLOVERRIDES="msacm32=n,b" %command% in the Steam launch options for the game.
  8. Launch it! The first time you run Oni, Steam will have to download a Steam Linux runtime and the version of Proton which you selected, so sit tight.

After performing the above steps, you won't have to switch to the Linux desktop to play Oni; it should be playable from your SteamOS library.

Steam-less launch

Note that you don't need to launch Oni through Steam if you're using the Deck from the Linux desktop. You can install Lutris from the Discover app and then add Oni manually to its list of games. Make sure to turn off Esync and Fsync under the game config's "Runner options" tab. In the "DLL overrides" section, add key "msacm32" and value "n,b" to take advantage of the msacm32.dll that you placed in Oni's directory if you followed the above instructions.