PhoenicisOrg / scripts

Phoenicis scripts
GNU Lesser General Public License v3.0
64 stars 49 forks source link

Error during Steam installation + missing sound #462

Closed madoar closed 5 years ago

madoar commented 7 years ago

I'm currently writing a new script for the game Alien Swarm, which can be found here. When testing the new script I stumbled over multiple problems:

  1. When installing steam I get the following error message: auswahl_020 Luckily this message is ignorable, and can be closed without terminating the installation.
  2. Afterwards I've discovered, that I had no sound in the game. This lead me to the wine configuration and Regedit to take a look at the sound configuration of wine, which looks like this: auswahl_021 auswahl_022 As far as I know, the wine configuration should at least show a selected driver, which in my screenshot is none (Kein). In addition, as far as I understand https://wiki.winehq.org/Sound, a registry entry HKEY_CURRENT_USER\Software\Wine\Drivers should exist, which should contain at least the sound driver settings.

Do you have any idea how to fix these issues?

plata commented 7 years ago

Is there any bug report on winehq about this? At a first glance this looks like a Wine problem to me (wouldn't know how Phoenicis should cause this).

Regarding the webhelper: Can you solve it if you run steamwebhelper.exe with winxp?

madoar commented 7 years ago

I don't know of a bug report regarding sound problems in combination with wine and alien swarm. Maybe you could test if you stumble over the same problem? I mean the game is free and I believe you don't even need to completely install it, because the wine settings in my case show, that no drivers are available... Regarding webhelper: Here it seems like a change to winxp helps.

plata commented 6 years ago

Just tried. I have sound. Driver is set to winepulse.drv.

madoar commented 6 years ago

Kk, then it seems to be my setup. Do you have an idea how to elegantly fix the webhelper problem? I'm not sure if it's a good idea to completely set the windows version to winxp inside the script.

plata commented 6 years ago

We could set webhelper to winxp in the SteamScript directly.

madoar commented 6 years ago

Can you do a PR? I have no idea how to do this specifically for webhelper.

plata commented 6 years ago

I have no time to test this currently. But in the end it's pretty easy. Compare e.g. in the Rocksmith 2014 script:

wine.setOsForApplication().set("Rocksmith2014.exe", "win7").do();
plata commented 6 years ago

Do you still have this? I just installed Steam and Hexcells and both worked without problems.

madoar commented 6 years ago

@plata I'll test it tomorrow.

plata commented 6 years ago

@madoar can we close this?

madoar commented 5 years ago

I have no clue, I also don't have the game installed currently. But I think it is possible that the reason for this were some missing system dependencies at the time. So let's close this for now.