Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Mass Effect (17460)

Open FreeSevenSix opened this issue 8 years ago • 83 comments

in mass efect in game there is no sound. there is an option in the sound menu to enable or disable hardware sound. this does not work cuz when you restart the game the game enables hardware sound by default. in order too fix this you need to go to the BIOEngine.ini file, open it with a text editor and look for ISACTAudio.ISACTAudioDevice. add following in that section

DeviceName=Generic Software UseEffectsProcessing=False

save and restart the game

FreeSevenSix avatar Aug 22 '18 22:08 FreeSevenSix

https://bugs.winehq.org/show_bug.cgi?id=40898

The game doesn't force anything by default then, I don't know what you are talking about.

mirh avatar Aug 23 '18 00:08 mirh

I confirm the workaround works for me. Since I also have the same issue on Mass Effect 2, I'll try to find the parameter for this one.

eandry77 avatar Aug 23 '18 17:08 eandry77

Mouse behaves very strange as if stumbling on the walls.

FiXIDeA avatar Aug 24 '18 02:08 FiXIDeA

Can confirm both the issue and the fix. I had to edit the following file : .steam/steam/steamapps/common/Mass Effect/BioGame/Config/DefaultEngine.ini And append the two lines provided by OP above under the [ISACTAudio.ISACTAudioDevice] section (after line 724). Audio now works fine, and I was able to complete Eden Prime with no issues.

The only strange thing is that video resolution was limited to 1366x768. Here is my Steam SysInfo.

ghost avatar Aug 24 '18 12:08 ghost

Could you try installing libopenal1 ?

mirh avatar Aug 24 '18 15:08 mirh

The libopenal1 package was already installed in my case. I thought of removing it for testing purposes, but gave up since KDE and a lot of smaller packages seem to depend on it.

ghost avatar Aug 24 '18 19:08 ghost

The only strange thing is that video resolution was limited to 1366x768

does the game have higher resolution on windows?

FreeSevenSix avatar Aug 24 '18 21:08 FreeSevenSix

Not tested, I do not have a Windows install, but I just searched for the answer and realized I had merely stumbled on this issue, which existed on Windows. Thus the port is seamless AFAICT and could be whitelisted if the fix was included.

ghost avatar Aug 24 '18 21:08 ghost

Mass Effect crashes with a Pure Virtual Function error.

Issue transferred from https://github.com/ValveSoftware/Proton/issues/472. @nstgc posted on 2018-08-25T01:47:52:

I'm feeling quite silly; I should have spent more time on this, however I didn't think to report it until now. In the 100+ hours I've played Mass Effect in wine/CrossOver (it was the first game I beat in Linux, and I've beat it more times there after) I've never gotten an error related to pure virtual functions. In fact, it has run nearly perfectly, and I can't actually remember if it has ever crashed before in Linux (On Windows it sure did!). Both Mass Effect 1&2 run BETTER in Wine/CrossOver than on Windows 7. So within the first hour seeing a crash is a big deal to me. . .but I just reset whatever changed so I pushed it from my mind and moved on to something else.

I was able to fix this with a git reset --hard (I have compatdata as a Git repo). Unfortunate, I didn't take note of what it reset, but it wasn't an intentional change, I do know that. I had actually been working on Skyrim SE.

kisak-valve avatar Aug 25 '18 01:08 kisak-valve

Responding to ME2 comment, in my limited testing ME2 ran perfectly. A surprising number of games in fact are running perfectly without any intervention from me. At least in cursory tests. Initially I thought ME1 ran perfectly too. . .

nstgc avatar Aug 25 '18 01:08 nstgc

@DrWindu the dropdown in-game seems to show only up to 1366x768, but if I use the arrow keys and scroll down, I'm able to select higher resolutions, including 1920x1080... Guess the options are just not visible?

muru avatar Aug 25 '18 09:08 muru

ME2 problem might be this, and at worst it will be solved when wine switches to FAudio.

mirh avatar Aug 25 '18 11:08 mirh

Not sure if discussing ME2 is appropriate in this issue but for me it has no sound when:

  1. launched the first time after install
  2. launched via the "Mass Effect 2 launcher" program

If started directly the second time, everything is totally fine.

rkfg avatar Aug 25 '18 16:08 rkfg

after playing for about 10 hours , i'm now in the feros system. the game starts crashing about evry 5 - 10 minutes with the Pure Virtual Function error

FreeSevenSix avatar Aug 31 '18 20:08 FreeSevenSix

You can fix that by reverting. . .something. I'm not sure what I reverted. I just did a git reset --hard and those errors stopped. However, could you capture an error log? I didn't and wish I had.

nstgc avatar Aug 31 '18 20:08 nstgc

i switched to the beta build of proton and i just played through the feros mission and some stuff on the citadel, no errors whatsoever. since the switch i played about 3-4 hours.

FreeSevenSix avatar Sep 01 '18 08:09 FreeSevenSix

Yeah. When you change builds it updates the prefix and had a similar effect to when I reset it.

nstgc avatar Sep 01 '18 12:09 nstgc

This is pretty weird and I just learned that it's UB to call pure virtual functions from constructor/destructor. I mean, this error must happen in the program itself so how does updating Proton/Wine fix that? Wine is written in C, not C++, it just can't cause this error by itself. Would be great to see the stack trace when it happens.

rkfg avatar Sep 01 '18 12:09 rkfg

Set openal32 to builtin and remove

DeviceName=Generic Software
UseEffectsProcessing=False

from BIOEngine.ini This fixed 'Pure Virtual Function' crashes for me.

soredake avatar Sep 02 '18 14:09 soredake

That already makes more sense. A bug in the wine passthrough would explain both the native-looking error, and the lack of sound for some people.

EDIT: could people getting the pure virtual function crash, attach log/dump to the issue I mentioned in the first comment?

mirh avatar Sep 02 '18 14:09 mirh