Trackmania through steam (Resolved)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
burkey
Level 2
Level 2
Posts: 21
Joined: Thu Feb 28, 2008 5:37 pm

Trackmania through steam (Resolved)

Post by burkey »

Edit: I resolved the issues by replacing the wrap_oal.dll in the Trackmania directory with a new one from the internet. Sound now works perfectly along with the rest of the game.


I just installed steam+TMN and it seems to run quite well apart from sound.

I tried switching to OSS and got not sound while on ALSA I get the occasional "click" and thats about it.

Other software I have run through wine is WAR beta and WoW both of which play sound fine, so I suspect maybe Steam is holding up the sound device or something?

I am on Ubuntu Hardy. I also used winetricks to install DX9, corefonts etc.

Hoping someone can point me in the right direction.
Last edited by burkey on Thu Sep 04, 2008 12:01 am, edited 1 time in total.
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Hi, when it come to steam sound I've also been through allot.

After many experiments, I figured that the best thing to do was to, firstly do everything in this topic, getting pulseaudio to work.

After that I constantly tried to use the padsp tehcnique. that is, select OSS and then do padsp steam to run it, but it constantly crashed my whole ubuntu system.

So I end up by thinking that I could route the sound first through ALSA and then through Pulseaudio, so I used aoss (I think I had to find some package). So, if you'd like to do this this way here's what to do.

First, go to:

http://ubuntuforums.org/showthread.php?t=789578

and do everything except for equalizer (unless you wish it)

Then, go to the console (terminal and type):

Code: Select all

aoss winecfg
select audio tab and choose aoss

Now, whenever you wish to launch steam (or any wine app) just do:

Code: Select all

cd path_to_application
aoss wine application
I usually create bash script that also handle extra stuff that some apps need.

BE AWARE THAT PULSEAUDIO IS NOT RECOMMENDED BY WINE DEVS. I am only posting this to help you.

Why doesn't sound work you may ask?

Well, as you can only have sound from one app at a time, steam captures the sound, so that when starting a game it will not have sound, because it's already taken.

Note: If you try ALSA in winecfg and it works, it has happened to me but sound doesn't work in other apps. (untested in most recent versions)

Good Luck,

Jorl17

EDIT: I think that the reasn why it doesn't work with other apps when using ALSA is because of Directinput-pulseaudio incompatiblity (but in latest versions there were core changes that I haven't tested that are said to fix this)
Gert van den Berg

Trackmania through steam

Post by Gert van den Berg »

On Tue, Aug 26, 2008 at 1:07 PM, burkey <[email protected]> wrote:
I just installed steam+TMN and it seems to run quite well apart from sound.
I'm not sure which TrackMania version is on Steam, but in order to get
TrackMania Nations Forever to work under Wine, I had to follow the
Howto on the appdb page that involved replacing a OpenAL DLL
(wrap_oal.dll) in the game's directory...

The test results and howto also differ on certain DirectX DLL's that
need replacement (If yours start, it should not be neccesary...)
http://appdb.winehq.org/objectManager.p ... ngId=23711
and
http://appdb.winehq.org/objectManager.p ... n&iId=7072

Gert
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Re: Trackmania through steam

Post by jorl17 »

Gert van den Berg wrote:On Tue, Aug 26, 2008 at 1:07 PM, burkey <[email protected]> wrote:
I just installed steam+TMN and it seems to run quite well apart from sound.
I'm not sure which TrackMania version is on Steam, but in order to get
TrackMania Nations Forever to work under Wine, I had to follow the
Howto on the appdb page that involved replacing a OpenAL DLL
(wrap_oal.dll) in the game's directory...

The test results and howto also differ on certain DirectX DLL's that
need replacement (If yours start, it should not be neccesary...)
http://appdb.winehq.org/objectManager.p ... ngId=23711
and
http://appdb.winehq.org/objectManager.p ... n&iId=7072

Gert
Hm, it could also be the cause, maybe a missbehaving OpenAL driver...who knows?

Good luck, be sure to check my tutorial (or just tell me if you can have sound in other apps launched from steam)
Locked