Skip to content

Commit 4ac5da7

Browse files
committed
Add Ubuntu 12.04 documentation
1 parent c40913f commit 4ac5da7

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Check out [this guide](docs/streaming/README.md).
2929

3030
### Using RS ASIO on linux
3131

32+
If you're using Ubuntu 12.04 LTS check [this page](docs/linux/ubuntu_1204_lts.md).
33+
3234
Some people have had success using RS ASIO with [wineasio](https://www.wineasio.org/) on linux. You can check out [this issue](https://github.com/mdias/rs_asio/issues/99) for more information.
3335

3436
## Audio Interfaces reported to work well

docs/linux/ubuntu_1204_lts.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# Ubuntu 12.04 - Steam Proton setup
2+
3+
4+
### Configuring Steam
5+
6+
1. Install the `steam-installer` package. DO NOT install the Steam snap version.
7+
2. Open steam and login with your steam account
8+
- It's recommended you launch steam through a command terminal to see extra log information.
9+
3. Go to menu `Steam -> Settings`, and on the `Compatibility` tab switch on the option `Enable Steam Play for all other titles`
10+
4. Install Rocksmith 2014
11+
- Since we didn't configure anything else, we should be using the `Proton Experimental` version at this point.
12+
5. Run the game once to check that the game boots up fine
13+
14+
### Installing WineASIO
15+
16+
In order to install WineASIO we must first add the repositories that contain the `wineasio` package:
17+
18+
1. Go to [https://kx.studio/Repositories](https://kx.studio/Repositories) and download the `kxstudio-repos.deb` file
19+
2. Install the deb file you just downloaded
20+
3. Open a command terminal and execute `sudo apt-get update`
21+
22+
Now you should be able to install WineASIO.
23+
24+
NOTE: we're assuming your steam is installed in `~/.steam/debian-installation/`. If that's not the case for you, change the relevant commands accordingly.
25+
26+
1. Open a command terminal and execute `sudo apt-get install wineasio`
27+
2. Now we need to make the wineasio files available for the installation of the game
28+
- Copy `/usr/lib/i386-linux-gnu/wine/wineasio.dll.so` to `~/.steam/debian-installation/steamapps/common/Proton - Experimental/files/lib/wine/i386-unix`
29+
- Copy `/usr/lib/i386-linux-gnu/wine/wineasio.dll` to `~/.steam/debian-installation/steamapps/common/Proton - Experimental/files/lib/wine/i386-windows`
30+
3. Make sure the owner of the files is your user, for example:
31+
- `chown your_user:your_user ~/.steam/debian-installation/steamapps/common/Proton\ -\ Experimental/files/lib/wine/i386-unix/wineasio.dll.so`
32+
- `chown your_user:your_user ~/.steam/debian-installation/steamapps/common/Proton\ -\ Experimental/files/lib/wine/i386-windows/wineasio.dll`
33+
4. Make sure permissions are `r-xr-xr-x` for the files, for example:
34+
- `chmod 555 ~/.steam/debian-installation/steamapps/common/Proton\ -\ Experimental/files/lib/wine/i386-unix/wineasio.dll.so`
35+
- `chmod 555 ~/.steam/debian-installation/steamapps/common/Proton\ -\ Experimental/files/lib/wine/i386-windows/wineasio.dll`
36+
37+
### Installing RS-ASIO
38+
39+
- Copy the contents (`avrt.dll`, `RS_ASIO.dll`, `RS_ASIO.ini`) of [latest release](https://github.com/mdias/rs_asio/releases/latest) (zip archive release-xxx.zip) to the game folder.
40+
- The rest of the guide assumes game folder is `~/.steam/debian-installation/steamapps/common/Rocksmith2014`
41+
- Run the game
42+
- The game should now complain that it has no available audio devices
43+
- Close the game
44+
- The `RS_ASIO-log.txt` file has been generated in the game folder, if you open it you should see the following in the log:
45+
```
46+
...
47+
0.397 [INFO] GetWineAsioInfo - Looking for wineasio.dll...
48+
0.422 [INFO] loaded
49+
0.422 [INFO] path: C:\windows\system32\wineasio.dll
50+
0.422 [INFO] name: wineasio-rsasio
51+
...
52+
```
53+
54+
If you see these entries in the log, that means RS-ASIO is able to locate and load your WineASIO installation. However this doesn't mean that WineASIO itself will be able to initialize properly.
55+
56+
NOTE: RS-ASIO has functionality to try to find wineasio without having to use `regsvr32` to register the wineasio dll. This is the message you see in the log entries above. When it finds it, it will expose it with driver name `wineasio-rsasio`, but if you also registered the wineasio.dll manually, you might have both `wineasio` and `wineasio-rsasio` entries showing on your log; this is not a problem and you can use either, but the `wineasio-rsasio` one has the guarantee that the file exists as RS-ASIO just found it.
57+
58+
### Configuring RS-ASIO.ini
59+
60+
A typical `RS-ASIO.ini` for `wineasio` will look like this:
61+
```
62+
[Config]
63+
EnableWasapiOutputs=0
64+
EnableWasapiInputs=0
65+
EnableAsio=1
66+
67+
[Asio]
68+
; available buffer size modes:
69+
; driver - respect buffer size setting set in the driver
70+
; host - use a buffer size as close as possible as that requested by the host application
71+
; custom - use the buffer size specified in CustomBufferSize field
72+
;BufferSizeMode=custom
73+
;CustomBufferSize=
74+
BufferSizeMode=driver
75+
76+
[Asio.Output]
77+
Driver=wineasio-rsasio
78+
BaseChannel=0
79+
AltBaseChannel=
80+
EnableSoftwareEndpointVolumeControl=1
81+
EnableSoftwareMasterVolumeControl=1
82+
SoftwareMasterVolumePercent=100
83+
EnableRefCountHack=false
84+
85+
[Asio.Input.0]
86+
Driver=wineasio-rsasio
87+
Channel=0
88+
EnableSoftwareEndpointVolumeControl=1
89+
EnableSoftwareMasterVolumeControl=1
90+
SoftwareMasterVolumePercent=100
91+
EnableRefCountHack=false
92+
93+
[Asio.Input.1]
94+
Driver=wineasio-rsasio
95+
Channel=1
96+
EnableSoftwareEndpointVolumeControl=1
97+
EnableSoftwareMasterVolumeControl=1
98+
SoftwareMasterVolumePercent=100
99+
EnableRefCountHack=false
100+
101+
[Asio.Input.Mic]
102+
Channel=
103+
EnableSoftwareEndpointVolumeControl=1
104+
EnableSoftwareMasterVolumeControl=1
105+
SoftwareMasterVolumePercent=100
106+
EnableRefCountHack=false
107+
```
108+
109+
If you run the game now RS-ASIO will attempt to use WineASIO, which may or may not succeed depending on whether you have it (and jackd) configured correctly. If you launched steam from a command line terminal you should also see some entries there about wineasio attempting to connect to jackd etc.

0 commit comments

Comments
 (0)