ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.12k stars 1.06k forks source link

Call of Duty: Black Ops (42700) #790

Open SteveHeist opened 6 years ago

SteveHeist commented 6 years ago

I cannot for the life of me get Call of Duty: Black Ops to launch. I have tried most every workaround I can find online, using winetricks to install d3dx9, vcrun2005, vcrun2008, disable GLSL, create two DLL overrides for both dsound & d3dx9_43 (in an effort to use the wine-builtin one I installed as opposed to the Black Ops native versions). I even went so far as to try the compatdata from Call of Duty: World At War (10090), because it works fine. Nothing, just briefly "Running", and a silent death, maybe sometimes syncing.

Has there been any meaningful progress by anybody else getting the game to launch, or any further ideas? I have all my logs on Google Docs (for "Find..." searchability), and an example on Pastebin as well, if you think that'll help.

kisak-valve commented 6 years ago

Hello @SteveHeist, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. Additionally, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

SteveHeist commented 6 years ago

https://gist.github.com/SteveHeist/1f51e113d17ac6bb8224c70a926d6508 (System Info .gist.) steam-42700.log

kisak-valve commented 6 years ago

You may have better luck with padoka's bleeding edge ppa instead of padoka's stable ppa.

SteveHeist commented 6 years ago

Can you pass me the "sudo add-apt-repository" for that? I can't find it.

kisak-valve commented 6 years ago

Info at https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa.

SteveHeist commented 6 years ago

Thank you! If replacing the GPU drivers doesn't work, I'll put a new .log here, correct? Would I need to update the gist as well?

SteveHeist commented 6 years ago

Still nothing. New log: steam-42700.log

SteveHeist commented 6 years ago

For some cross-comparison, I tried redoing the winetricks install for d3dx9, vcrun2005 & vcrun2008, as well as setting up the DLL override for dsound and setting the "Windows Version" to XP. Still nothing, but that should provide a reasonably different log to see if we're getting anywhere. steam-42700.log

SteveHeist commented 6 years ago

I've spent the last few days nose-to-the-grindstone with another person's help, and we still couldn't get it to boot. Here's the most recent log: steam-42700.log

tunanachos commented 6 years ago

Doesn't work on Manjaro linux either (unsurprisingly) - oddly enough I've seen this be installed on Ubuntu years ago and it looked playable.

Odd that with all this new stuff coming out these games remain an issue (I imagine every modern CoD from that last 10 years will have the same issues).

999gary commented 6 years ago

Advanced Warfare works, mw3 works, and black ops 1 works fine on wine 3.0 and up, just not proton

SteveHeist commented 6 years ago

@999gary Out of curiousity - when you say it "works fine", do you mean you got the in-game audio working, or no? If so, and I know it divulges from the point of this Issue thread, but how? I can't get the audio working.

999gary commented 6 years ago

@SteveHeist I've played bo1 for years without changing anything and everything has always worked, even with different distros, so I cant really help you there. Sorry :/

SteveHeist commented 6 years ago

Just gonna update this - I got it working in Lutris.

Wine 3.16-staging, although it did run with esync as well. Winecfg set to Windows XP. DXVK 0.80 is enabled, but I don't think that does anything for D3D9. Audio is set to ALSA because PulseAudio doesn't agree with it.

IanTrudel commented 5 years ago

This is working great on Lutris with tkg-wine-4.1 (Winesteam).

The noticeable difference in the installation is that DirectX installer fails on Steam because it cannot register xact. Unfortunately, it seems winetricks/protontricks also fails to install xact. Anyone has the same problem?

C:\Windows\Logs\DXError.log

There also seems to be a problem with libFAudio.so:

002d:err:module:load_builtin_dll failed to load .so lib for builtin L"xactengine3_0.dll": libFAudio.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

danielepusceddu commented 4 years ago

With newer Wine runners (4.12), the game seems to crash when starting a match. Audio works. Older ones (for example 4.1) start the match fine, but with no audio and terrible performance (lots of stuttering)

EDIT: I managed to make audio work in older wine versions and the match not crash in newer versions. I did it with winetricks xact, faudio, directmusic. I have no idea which one actually did it. However, the game still stutters too much, the multiplayer is unplayable.

mathew2214 commented 4 years ago

it seems this game wont launch due to CEG. a cracked exe file would be required for proton to run this game. (#753)

Sporif commented 4 years ago

For me the multiplayer version installs and launches out of the box with 4.11-12, but the single player installs and then crashes right after a window opens. This also happens with Winesteam, but the single player used to work a while ago so I have no idea what's wrong there.

But for some reason both fail to launch with 5.0-1.

This is regardless of whether I'm using d9vk or wined3d. Also the multiplayer stutters much more than running it through Winesteam.

Sporif commented 4 years ago

OK for some reason now the single player also works with 4.11-12. But 5.0-2 still doesn't work with either.

echaskaris commented 4 years ago

@Sporif How did you get it work, out of the box? I can't get it to work.

Sporif commented 4 years ago

@echaskaris No idea, it just works out of the box for me.

echaskaris commented 4 years ago

@Sporif Distro?

Sporif commented 4 years ago

@echaskaris Arch + i3

tunanachos commented 4 years ago

@echaskaris Arch + i3

Can you provide evidence? Nobody on proton can get it to work https://www.protondb.com/app/42700

And I'm using Manjaro+i3wm and it refuses to launch? Could you give us a screenshot or any more info? Would be very helpful & thanks for your time.

Sporif commented 4 years ago

@tunanachos Unfortunately it doesn't work anymore. It's really weird, I've tried different dxvk and proton versions and all launch but only show a blank window with a dxvk submission error/device lost.

tunanachos commented 4 years ago

Bummer - well thanks for updating anyway.

anirrudh commented 4 years ago

Is there any interest in fixing this? A couple friends have been on me and I refuse to run windows nor have the time to setup VFIO. I hope this is fixable.

Edit: for anyone reading this, look at @mathew2214's comment above. I guess all we can do is wait at this point. It does work when installed via wine, but proton would obviously mean much, much better performance.

loopdel0op commented 4 years ago

i was playing bo1 on lutris with a config profile that someone made. a few days ago i tried to run it with proton and it worked out of the box with much better performance than lutris. Like mouse was smooth af. now it doesnt work for some reason.

loopdel0op commented 4 years ago

I got it now. if i run the game on lutris with this profile https://lutris.net/games/call-of-duty-black-ops/ and then if i run it with proton it WORKS!!!

edit: i am back from playing it, everything on steam is on default options regarding bo1. When i launch the lutris version it will crash after the intro and will go to desktop. Be warned your desktop resolution will be changed to 800x600 if you wont change it from the config file.

config file is on STEAMLIBRARY/steamapps/common/bo1foldername/players/config commands are very similar to source engines ones

So it is simple just run bo1 with the lutris profile. it might crash or work but performance will not be that good on lutris. After running it from lutris close wine steam and lutris and run it from steam. just press the play button. if i reboot it wont work so you need to repeat this everytime you play :/

Road-Drum commented 4 years ago

I got it now. if i run the game on lutris with this profile https://lutris.net/games/call-of-duty-black-ops/ and then if i run it with proton it WORKS!!!

I can't see the profile. can you copy and paste the changes that needs to be applied to steam with the profile?

mathew2214 commented 3 years ago

i can confirm it runs on Proton, without lutris, once CEG is out of the way. Proton runs BO1 flawlessly, its simply a matter of Valve supporting one of their own services. Valve, please make CEG on Linux.

tunanachos commented 3 years ago

i can confirm it runs on Proton, without lutris, once CEG is out of the way. Proton runs BO1 flawlessly, its simply a matter of Valve supporting one of their own services. Valve, please make CEG on Linux.

Hey there, sorry to be very dumb here but are you saying you've got black ops 1 working on Proton? If so, could you explain what you did and how you did it? If not forgive my mistake.

mathew2214 commented 3 years ago

i can confirm it runs on Proton, without lutris, once CEG is out of the way. Proton runs BO1 flawlessly, its simply a matter of Valve supporting one of their own services. Valve, please make CEG on Linux.

Hey there, sorry to be very dumb here but are you saying you've got black ops 1 working on Proton? If so, could you explain what you did and how you did it? If not forgive my mistake.

i used a custom launcher to bypass CEG. I'm not comfortable sharing details as doing so could be interpreted as encouraging/enabling piracy. i could not play multiplayer, only singleplayer. this confirms that BO1 would run perfectly under Proton should Valve ever decide to support their own DRM (CEG) on their own platform (Steam), with their own compatibility tool (Proton).

kisak-valve commented 3 years ago

Call Of Duty: Black Ops will not start: Acer Nitro 5; Ubuntu 20.04 LTS; GTX 1050

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4633. @tptignor posted on 2021-02-18T00:26:23:

Compatibility Report

System Information

I confirm:

steam-42700.log

Symptoms

The game fails to start. There is a cryptic exception in the log.

Reproduction

Double click on Play in the Steam window.

caseif commented 2 years ago

I can confirm that the game now launches and runs without any issues on my system using the latest Steam client beta and Proton Experimental.

serebit commented 2 years ago

Same here. Can't launch the Ascension zombies map though.

tunanachos commented 2 years ago

Hm, not for me. I'm using Manjaro with i3wm.

I've just logged into Steam & updated the latest version of Proton (experimental) but when I attempt to launch Black Ops (or Black Ops: Multiplayer) it says "launching" and then "Running" for a few seconds before failing to do anything else.

I have launched Steam in a terminal and will upload the output text (from the moment I attempt to launch the game to the moment it closes itself) to this post.

Any help would be greatly appreciated because I have missed playing this game sorely since switching to Linux (almost 7 years ago!).

Thanks in advance!

BlopsOutput.docx .

EDIT:

Forgive me, I hadn't updated to the Steam Beta - I now have Black Ops 1 playing on Linux... So far I'm only on the title screen but... I'm so happy :) thank-you

Road-Drum commented 2 years ago

can confirm the game launches on Proton with both Proton Experimental and Steam Beta. Though as a precaution I rebuild ~STEAMAPP_DIR/compatdata/42700 from older Proton Experimental. Difference in behavior on stable client and beta client is on beta client, an additional window pops up saying completing installation and I noticed a command prompt was initiated with Proton's wine during that process

DLC (Rezurrection) is detected and works fine though I only tried Nacht der Untoten solo as co-op lobby is empty at the time of writing

Will try other CEG game that I own (Prototype 2)

echaskaris commented 2 years ago

Game now launches, but performance is subpar with stutters, could be my FX CPU though...

serebit commented 2 years ago

@Fenteale

Call of Duty: Black Ops works totally fine now, minus one oddity that's also present if you attempt to run a cracked CEG-less EXE—the Ascension zombies map refuses to load. The game crashes if you try to start up that map.

IIRC This has been an issue forever even with just a completely normal windows install. The Ascension dlc for some reason crashes if you don't have the Multiplayer component installed, try it again after installing the multiplayer.

Just tested the singleplayer campaign in Black Ops for myself. Everything worked great! I was even able to unlock achievements.

I do have the Multiplayer component installed. If you're correct, then it's probably due to the fact that Multiplayer and Zombies get installed in different prefixes.

Fenteale commented 2 years ago

Replying to https://github.com/ValveSoftware/Proton/issues/790#issuecomment-954839622

Ahhh, that might be it. Might have to test by doing some symlinks. I'll try it myself in a bit.

Fenteale commented 2 years ago

Replying to https://github.com/ValveSoftware/Proton/issues/790#issuecomment-955146669

Just tested now. I tried for fun running Ascension with just the singleplayer installed. Instant crash when it starts. I installed the multiplayer, booted it up to the main menu, quit then started up the singleplayer again. I tried to load into Ascension and it just worked for me, I didn't have to tweak anything else. Maybe you have to run the multiplayer once?

I only have the Ascension DLC so I can't check any of the other ones.

SergeyLatyshev commented 2 years ago

It seems like the game crashes on start when I turn MangoHud on and works when I disable it. steam-42700-crash.zip steam-42700-nocrash.zip

kisak-valve commented 2 years ago

Hello @SergeyLatyshev, in your log, s.exe: ../MangoHud-0.6.6-1/subprojects/imgui/imgui.cpp:6420: void ImGui::SetCurrentFont(ImFont*): Проверочное утверждение «font && font->IsLoaded()» не выполнено looks like something to report to the MangoHud issue tracker for @flightlessmango to ponder.

tunanachos commented 2 years ago

Replying to https://github.com/ValveSoftware/Proton/issues/790#issuecomment-955168911

Oddly enough all the maps work for me (zombies). Call Of The Dead is INCREDIBLY choppy/low FPS (I'm assuming it's the weather in the map because when there is a snowstorm the FPS drops).

Oddly enough when connecting to MP servers I often get "lost connection to host". Also, when I validate the game files almost always 2 files are missing....

While it nice to be able to play Black Ops 1 after all these years there are certainly a few issues still prevalent with this game. Not to diminish the results.

NikoBellicRU commented 2 years ago

Zombies at least the 1st map worked great as well as the campaign but it seemed to be missing some background sound not sure tho.

The biggest issues i found was the steam overlay takes 3-5sec to open when pressed and on the menu in both mp and sp on the friends tab the fps drops from 91 to ~ 55 fps. steam-42700.log

EDIT: Also noticed that the mouse movement is very choppy in comparison to the gamepad.

tunanachos commented 2 years ago

I would also like to add that the mouse movement (at least for me on my computer) is very "choppy". This is related to Black Ops 1 because playing Black Ops II the mouse is fine (nice and smooth).

I have fiddled with the settings as best I can but cannot fix this issue, it makes playing on MP and Zombies quick tricky. Can anyone else confirm this issue?

tunanachos commented 2 years ago

There was an update today (to Proton experimental) and there has been a regression in the sound (menu noises, battle noises.. things like bullets, footsteps and explosions are missing but killstreak noises remain working).

Reverting back to 6.3-7 'fixes' these regressions.

Seltyk commented 2 years ago

I can also confirm that Black Ops works with Proton 6.3-7 on Steam beta. Campaign and zombies both work, mouse is slightly choppy, multiplayer loads but cannot connect to servers. Proton Experimental cannot play most sound effects, as tunanachos reported.

tunanachos commented 2 years ago

@wundrweapon Good news! You can play on multiplayer servers.

However, I've found you need to "verify integrity of game files..." almost every time you have played/want to play CoD:BO (at least, I've found this helps).

Often I'll get "2 files failed to verify"... No idea what those files are but give it a go and see if it works.

More often than not when attempting to connect to a server on MP I get "lost connection to host" (assuming that's what has stopped you connecting to servers?) but upon doing some Googling it seems this could be an issue with the game itself and not Steam/Linux/Proton. Could be wrong!

Additionally Co-op Zombies / DLC works well, although I get terrible mouse issues aiming (almost as if the sensitivity is being changed) which aren't prevalent when using a game-pad (Logitech F310 Wired Gamepad).

Some maps cause HUGE losses to FPS when looking in certain areas, even with lowest settings. Although I am questioning if this could be again poor optimization of them game itself and not an issue with Steam/Linux/Proton.

Hope this helps.