-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aliens vs. Predator (10680) #530
Comments
This is strange, I got it running once. Can't reproduce it now. On first start it wants to open a ' readme.txt' (with a leading space) file which doesn't exist and would normally be the 'Readme.txt' file in the games folder. After letting proton's notepad create the file, I was able to start and play the game, DX9 as well as DX11. It had crackling sound in the menue as well as in game, but not in the cutscenes. While playtesting it crashed in Singleplayer when activating the first powerswitch. Since then I was not able to start the game again. I verified the game cache and cleaned the prefix, but no luck so far. I'm wondering why it's so stubborn with proton as it's working flawless (except DX11) in vanilla wine (platinum rating). |
I tinkered around a bit further. The audio issue seems related to the wine version. Proton still refuses to start the game, though it's wine 3.7 |
Fails to start for me too under proton.
|
This is due to CEG DRM, see #753 I discovered this, when tinkering further around. As I didn't want to re-download the game again and again, I copied the files from my working wine 3.0.3 prefix. Here the binaries are working, and suddenly I was able to start the game with proton. As I already reported in my previous post above, when I didn't understand why. When verifying the integrity of the files, it'll overwrite the executables and it won't start anymore. I also tried to download the windows version via steamcmd and let it install into my steamapp directory, but here the binaries also don't work. steamcmd +@sSteamCmdForcePlatformType windows +login <mysteamlogin> +force_install_dir "~/.local/share/Steam/steamapps/common/Aliens\ vs\ Predator/" +app_update 10680 install +quit With the working binary the game crashes after a while with proton. In marine single player as soon as you pull the switch after you found the dead worker, but also in multiplayer. I guess it's related to an audio issue. WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/10680/pfx WINE=~/.local/share/Steam/steamapps/common/Proton\ 3.7/dist/bin/wine64 winetricks And set xaudio2_5 and xaudio2_7 to native (tried POL's wine 3.7 so it wouldn't reconfigure the prefix, but it still does, which also doesn't seem to matter): WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/10680/pfx ~/.PlayOnLinux/wine/linux-amd64/3.7/bin/winecfg But it didn't change anything, DX9 has sound, DX11 doesn't, both versions still crash. Still the DX9 version in wine stable (3.0.3 atm) has platinum rating and works flawless. FWIW I was able to get rid of the audio crackling with the help of Optimize PulseAudio for Steam.
|
Alright, I got it working! tl;dr: get ceg exe files via wine, Long:
This has to be done on the same machine, as the ceg drm generates executables for your machine. Make backups of these two files: cp AvP.exe{,.bak}
cp AvP_DX11.exe{,.bak} If you verify the integrity of the gamefiles, those to .exe files will be deleted, and redownloaded when starting AvP, but then the start will fail as ceg download seems not to work with the Linux steam client. Start AvP so it creates the proton prefix. It will work, but AvP will crash after a short while. Don't wonder, there is a small black box on the top left using DX9 or a small window using DX11 before the splash screen shows up. The crash can be fixed via this override: To set the xaudio2_5 override, e.g. use your wine install: WINEPREFIX=<SteamLibrary>/steamapps/compatdata/10680/pfx /opt/wine-staging/bin/winecfg Add xaudio2_5 to the overrides, native or native/builtin. edit: seems to be enough just to install xact, it's not necessary to set the override: WINEPREFIX=<SteamLibrary>/steamapps/compatdata/10680/pfx WINE=<SteamLibrary>/steamapps/common/Proton\ 3.16/dist/bin/wine64 winetricks xact I played it now for a while, and it doesn't seem to crash anymore. Works beautifully with DX9 as well as DX11. Tested with proton 3.16-3. |
Doesn't start for me. Here is the Proton log: And my specs: |
@Corben78 I can confirm it, doesn't start for me, too. Computer Information: Processor Information: Operating System Version: Video Card: Sound card: Memory: Miscellaneous: Recent Failure Reports: |
This is really odd (pun intended). As said, it does only start at all if you copy the executables (AvP.exe, AvP_DX11.exe) from a windows installation (e.g. wine, maybe even windows) from the same machine to the Linux AvP installation folder. The Steam Linux client (as well as steamcmd, both win and lin) doesn't download a working executable. Now the game is crashing for me, e.g. when pulling the first lever in the Marine campaign, or killing the first Alien in survivor mode (probably the quickest way to test) on odd days, but not on even days. I tried this by just changing the date on my machine and restarting the game. E.g. crashing on 27th, working on 28th, crashing on 29th, working on 30th, crashing on 31th, also crashing on the 1st... (I didn't test more yet). It's the same behavior on two machines for me (Desktop and Notebook). So maybe this is a date-dependent initializer, as iirc when it was working in proton, it didn't crash after passing midnight as long as I didn't restarting the game. Strange is though, that this does not happen with the wine version. Here it's working each day. Also, it's not needed to install xact via winetricks. On the first time setup, the game wants to open a ReadMe.txt. But in proton a file called ' readme.txt' is wanted, which doesn't exist. So if you let the opened notepad create that file and close notepad then, the first time setup will finish correctly and install the xaudio dlls. If you close notepad without creating that file, the first time setup seems to be interrupted, and you don't have any audio. If you start the game a second time, the setup continues, and then you have sound. So winetricks xact is not needed at all. So the symptom is now, that it's working on every second day. The cause might be a completely different though. edit: workaround to determine the date and set the next even day and then start the game:
edit:
edit: edit:
This all worked today flawless. |
Works without issues. Started DX11 version and played some minutes into the Marine mission. |
Looks like the behaviour changed in 2019. Yesterday (3rd jan) we were playing multiplayer, and when I was killing my first enemy (be it killing an Alien as Marine, or as Marine killing an Alien) the game crashed. It did not crash with the previous triggers, like pulling the first lever in the Marine campaign, so this issue might have been fixed in Proton 3.16-5 or 3.16-6 with @flibitijibo's FAudio implementation. Today (4th jan) I was testing again, and it did not crash on the first Alien kill. So I guess in 2019 we can play AvP on even days and not on odd days ;) edit: you still need the correct ceg executables from a windows or wine install of the same machine, or it won't start at all. edit: Looks like I was a bit confused, it's still as it was last year. Working on even days, not on odd days. That did not change. But my faketime command worked today (5th jan). |
There seems a regression with mouse movement since Proton 4.2. Though you can get AvP working with above workarounds (getting a ceg protected executable from a windows/wine install of the same machine, and faking the date so it doesn't crash at certain trigger points), the mouse movement is inverted for a certain movement distance. Also quitting the game doesn't work any more, the game locks up on quit and has to be killed. (A kind of similar issue has been with Subnautica in a former Proton version, but only concerning the down movement and way less notable, was fixed in Subnautica experiemental branch or in a later Proton version. Atm I play Subnautica with 4.11 flawlessly). |
Still can't laucnh the game. System Information
|
I had to install the Alien vs Predator game in a Windows Steam version with Wine to get the proper generated AvP_DX11.exe AvP.exe files and copy those to ~/.steam/steam/steamapps/common/Aliens\ vs\ Predator/ to be able to execute the game perfectly with Steam Play compatibility tool Proton. System information
|
The strange mouse behaviour mentioned in #530 (comment) seems to be fixed with in Proton 5.0 (tested with 5.0-3) |
The installation process still doesn't work, so I've hard to copy the exe files from a Wine Steam install. I still get consistent crashes on both Predator and Marine tutorials. So far survival and Alien story mode seem to be working (I've tried the fakedate workaround but it doesn't work). Also, the process hands after exiting the application, and has to be manually killed. I'm currently on Arch 64 and I've tried all the available Proton versions (from 5.0-5 to 3.7-8). I attached a log of the crash during the Predator's tutorial. |
Please, fix this annoying bug. Just replace AvP.exe in launcher for Linux with Windows-version of this file (as noted here: https://www.protondb.com/app/10680#8k3i4GHRsF ) I don't know what the difference between versions of .exe file for Linux and Windows, but from from windows-version works fine on Linux. So installation of AVP in Linux is really pain and it can be fixed simple, as I understand right 😭😭😭 |
Game works now with latest Steam Client beta and Proton experimental 6.3-20211027. I played through some of the trigger points, where the game was crashing before and had no issues. The game just loses audio when tabbing out (also tabbing out with Steam overlay open). |
Game seems to work fine indeed with beta client and latest Proton experimental. |
Compatibility Report
System Information
Symptoms
|
Playable on latest Beta + Experimental, also starts in fullscreen on my |
With latest beta + experimental I have issue with mouse in the menu (the mouse is visible, but the menu options are not reacting to it) and the sound issue mentioned earlier. Specs: https://gist.github.com/Zlopez/1433022f5f75aebc3155a622997b2997 |
Another one problem with AvP (now installation is failing):
Have tried several times. |
This issue is solved, time to close. |
Game crashing in the first predator mission |
game won't start (without any windows)
steam-10680.log
The text was updated successfully, but these errors were encountered: