Siarkowy / com.valvesoftware.Steam.CompatibilityTool.WineASIO

WineASIO extension for Steam Flatpak app. Low-latency audio in Rocksmith 2014! 🎸✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steam WineASIO Flatpak 🎸✨

WineASIO extension for Steam Flatpak, built as a patch on top of Wine Flatpak.

Simple low-latency audio setup for Rocksmith 2014 under Linux!

Contents

Goals

  • Run Rocksmith 2014 with low latency audio.

  • Wide setup compatibility thanks to PipeWire.

    • Support for Rocksmith Real Tone Cable (RTC)
    • Support for dedicated audio interfaces

How to Build

This Flatpak is currently only built locally.

TL;DR: You can run all setup steps with default make target.

make

Install Dependencies

You need the following tools installed before proceeding.

flatpak
make

Build WineASIO Extension

You can build locally with the following command.

make build

Configure Steam App Permissions

Adjust permissions for Steam Flatpak to allow usage of pipewire-jack.

make overrides

Restart Steam App

Finally, make sure to quit Steam if it is running, then start in development mode.

make run

Steam can also be now started manually, without access to debugging tools.

How to Run

Several steps need to be performed manually before running the game.

Runtime Dependencies

Make sure your host operating system comes with pipewire-jack.

In case of Fedora Silverblue, run the following and reboot.

rpm-ostree install pipewire-jack-audio-connection-kit.i686

Verify that pipewire-jack libraries are present.

find /usr -name '*libjack.so.0*' 2>&-

/usr/lib/pipewire-0.3/jack/libjack.so.0
/usr/lib/pipewire-0.3/jack/libjack.so.0.3.1003
/usr/lib64/pipewire-0.3/jack/libjack.so.0
/usr/lib64/pipewire-0.3/jack/libjack.so.0.3.1003

See also:

Install Rocksmith 2014 & Mods

Install necessary mods in Rocksmith 2014 directory, incl. RS ASIO.

Refer to Rocksmith 2014 On Linux guide for instructions.

This package automates wineasio build & setup steps for you.

Configure Proton Version

Preferably, use an older Proton version like 7.0-6, shipped by Steam.

  • Alternatively, install a more recent version of Proton using ProtonUp-Qt.
  • It is necessary to restart Steam to pick up available Proton versions.

Select Proton version in Rocksmith 2014 > Properties > Compatibility > Force Version.

Adjust Launch Options

Modify launch options for Rocksmith 2014 to include wineasioutil.

Adjust PIPEWIRE_LATENCY to the correct value for your audio interface.

PIPEWIRE_LATENCY="128/48000" /app/share/steam/compatibilitytools.d/WineASIO/bin/wineasioutil %command%

wineasioutil configures DLLs inside Proton installation & game prefix, and enables logging.

Run the Game from Steam

At this point, run Rocksmith 2014 from Steam as usual.

You might need to do it twice in case of fresh install, or after deleting the game prefix.

How to Debug

Refer to Flatpak App Debugging guide for general overview.

Enable debug logging with make.

make run DEBUG=9

Then, inspect logs in the following locations.

$XDG_DATA_HOME/steam-221680.log
    Rocksmith 2014 launch logs.

$XDG_DATA_HOME/wineasioutil.log
    WineASIO Util logs.

$XDG_DATA_HOME/proton_$USER
    Proton debug scripts.

$XDG_DATA_HOME/proton.log
    Proton launch logs.

Reveal filesystem locations of XDG directories as follows.

flatpak run --command=env com.valvesoftware.Steam | grep XDG

Drop into Steam app shell.

flatpak run --command=bash --devel com.valvesoftware.Steam

About

WineASIO extension for Steam Flatpak app. Low-latency audio in Rocksmith 2014! 🎸✨


Languages

Language:Shell 87.6%Language:Makefile 12.4%