I tested this with today's build and (although I didn't get a dialog box) the key was copied to my clipboard and I was able to paste it anywhere I needed.
Please reopen if you still have issues with the key.
Today I tried to get "Mount & Blade: Warband" CD key and have totally same issue.
Seems like that also actual for all non-linux games in my library (e.g Europa Universalis III).
I have latest version of Steam, but still have same bug.
Can't get key for Europa Universalis III too.
@dent007, how are you accessing this menu option?
Using the latest Linux Steam client, I see Mount & Blade on my Libray page but when I right-click I do not have a View CD Key option. I'm not sure this is expected (since I'm using the Linux client) or not but I can't repro your hanging dialog bug.
@frankc-valve, for me "CD key" option is available in right "Links" menu on game page, right under DLC. Screenshot is here:
http://www.sendspace.com/file/u8kq6k
It's will be really bad if you completely remove this options for non-linux games, because for Paradox games "cd keys" are used to register games on their forum.
@frankc-valve: Please reopen this as the issue is still unresolved (for me at least). When I request CD Key for Crysis 2 (but it's also same for GTA IV), it never completes, related console output:
CAPIJobRequestUserStats - Server response failed 2
cdkeydisplaydialog.cpp (97) : Assertion Failed: pApp->RequiresLegacyCDKey()
Assert( Assertion Failed: pApp->RequiresLegacyCDKey() ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamui/cdkeydisplaydialog.cpp:97
Installing breakpad exception handler for appid(steam)/version(1360282734_client)
Uploading dump (in-process) [proxy '']
/tmp/dumps/assert_20130208231612_1.dmp
success = yes
response: CrashID=bp-165462cb-416b-4350-a0ad-9e4a22130208
I'm having the same problem with "Wargame: European escalation"
And I have the same problem with "TrackMania United".
Still have the same problem with Europa Universalis III.
Still a problem: can't retrieve cd key for any non-linux game
Did this ever get fixed? I'm seeing this with the latest build. Trying to get my Doom 3 key.
@jared-wallace I have the exact same issue. Purchased Doom 3 pack, got the doom3-data-steam and doom3 packages from the AUR installed. But I can't get the CD key from steam, which I need to activate the game. The game launches fine, but I get "stuck" on the activation step.
Any idea what can be done here?
I just started downloading the game on a Windows box. VM would probably work too. As soon as it started, I could grab the key.
On December 11, 2015 9:04:40 AM CST, Dan Johansen [email protected] wrote:
@jared-wallace I have the exact same issue. Purchased Doom 3 pack, got
the doom3-data-steam and doom3 packages from the AUR installed. But I
can't get the CD key from steam, which I need to activate the game. The
game launches fine, but I get "stuck" on the activation step.Any idea what can be done here?
Reply to this email directly or view it on GitHub:
https://github.com/ValveSoftware/steam-for-linux/issues/212#issuecomment-163958262
Sent from my Android device with K-9 Mail. Please excuse my brevity.
I really hope that "get a windows install" is not the answer from Valve to this problem.
I'm having the same problem. Bought Trackmania 2 Stadium from Steam on Linux but cannot get the CD key to use it to play the game using Wine. The dialog opens but is stuck at "Requesting key..."
Hi, I am copying my findings from #5024.
Steam client has an option to show CD Key of certain games. Here are those games:
ShowCDKeyOnLaunch: https://steamdb.info/search/?a=app_keynames&keyname=179
ShowCDKeyInMenu: https://steamdb.info/search/?a=app_keynames&keyname=181
However, as I found out, Steam for Linux is unable to show cd keys of non-Linux titles:
Here is the CD Key output of Warhammer 40,000: Dawn of War - Game of the Year Edition:
When I try to see the cd key of a Linux game, Steam for Linux instantly shows the key:
Cities in Motion 2 via Steam for Linux:
https://yadi.sk/i/MZ9wymlo3K3d8T
As it turned out Steam client two different method to show CD keys; ShowCDKeyOnLaunch and ShowCDKeyInMenu. Apparently, CD key "option" of the games that use ShowCDKeyOnLaunch method does not show up on Steam client if the games don't support that OS (eg Linux). FlatOut: Ultimate Carnage which uses ShowCDKeyOnLaunch method is an example of that:
Steam for Linux: https://yadi.sk/i/6lVS9Hjx3K5AiM
Steam for Windows via PlayOnLinux: https://yadi.sk/i/2NZHmMaP3K5Ai5
On the other hand, CD key option of the games that use ShowCDKeyInMenu method does appear on Steam client of all 3 operating systems, but CD key cannot be retrieved if the game does not support the operating system in question (eg Linux). Previously showed Warhammer 40,000: Dawn of War - Game of the Year Edition is an example of that.
A Feral Interactive employee, edddeduck_feral explained the cause of the problem on Reddit:
. My system information via Steam client: Github Gist
The solution on valve is, games execute proton games only for windows or mac, put the same key that have in windows
I have having this issue with Trainz Simulator 12 on Ubuntu, checking for the key is mandatory on startup, so the game will not start.
FWIW, I can confirm that Tom Clancy's Splinter Cell: Conviction is getting its requested key when I start it with steam for windows and a current wine installation instead of using steam for linux and proton 4.2.2.
I have the same issue when installing assassin's creed unity. "Failed to request product key from Steam, please try again in a few minutes."
I also have this issue with Assassins Creed Unity. "Failed to request product key from Steam, please try again in a few minutes."
I have the same problem with AC: Unity. I've tried both my copy of the game and my wife's copy, but neither works...
I am unable to play Assassin's Creed II for the same reason. I have a CD key I got from Steam Support, but I can't get past this step to actually use it.
I have this issue with Driver San Francisco appid 33440. I had Steam on PlayOnLinux and actually got a cd key from Steam. However my PlayOnLinux got deleted and I wish to use Steam Proton but keep getting this error. Even though I have a cd key (I copied it) there is no way (that I have found) to install the key manually. I contacted Steam Support and the response was to report it here.
im waiting for this support for proton in linux @kisak-valve but nothing for update, the game that i test is assassin creed 2 only
I have the same problem. When I try to run the game and the CD Key error message appears, these two lines are inserted into the terminal:
GameAction [AppID 33230, ActionID 1] : LaunchApp changed task to ShowCDKey with ""
GameAction [AppID 33230, ActionID 1] : LaunchApp waiting for user response to ShowCDKey ""
I installed Steam on PlayOnLinux and now Driver San Francisco gets the cd key but through Steam Proton it still will not. The only problem now is when the game is launched it says "running" but after about a minute with nothing happening "running" stops and nothing.
I got a way to bypass the steam key not loading. For Assassin's Creed Brotherhood I got it fixed with this steps:
You need to edit ~/.steam/steam/appcache/appinfo.vdf . Edit the line with the text "legacykeyregistrylocation^@HKEY_CURRENT_USER\Software\Valve\TestApp48195\SteamKey" edit it to "legacykeyregistrylocation2^@HKEY_CURRENT_USER\Software\Valve\TestApp48195\SteamKey". With this typo steam will start the game without loading the game key.
Using @tijder 's tip, I was able to get Assassin's Creed II to start.
I used nano to edit the key
legacykeyregistrylocation^@HKEY_CURRENT_USER\Software\Valve\TestApp33361\SteamKey
and renamed it to
legacykeyregistrylocation2^@HKEY_CURRENT_USER\Software\Valve\TestApp33361\SteamKey
I was prompted to sign in to UPlay and had to link my steam account, but once I did I was able to start Assassin's Creed II without any trouble.
The problem is Steam will repair the file. So I think a nice generic command to run before starting Steam is something like this:
sed -i 's/legacykeyregistrylocation/legacykeyregistrylocation2/g' ~/.steam/steam/appcache/appinfo.vdf
I've tried the solution @tijder suggested, but it doesn't work in my case.
I've noticed that the Steam client recreates the file every time it starts. Then, if I edit the file with the client open it doesn't produce any effect. Maybe I'm doing something wrong...
Besides this solution wouldn't work for AC: Unity, because it doesn't seem to store the key in the registry so there is no "legacykeyregistrylocation" record.
The problem is Steam will repair the file. So I think a nice generic command to run before starting Steam is something like this:
sed -i 's/legacykeyregistrylocation/legacykeyregistrylocation2/g' ~/.steam/steam/appcache/appinfo.vdf
for me working goog but, i waiting for this solution in steam
Some games from Assassin's Creed saga are not playable on Proton due to CDKey failure. Using Lutris and the Windows version of Steam, all games that requires CDKey runs fine.
Valve should fix this annoyance quickly.
My sugestion are adding a fake Windows setting, such as PROTON_FORCE_WINDOWS=1 on relevant games, in order to get the Windows version keys, and resume the Steam DRM checks.
@PedroHLC I confirm. @tijder it doesn't work now.
@antimech for me it's still working. Maybe something else needs to be changed in this file ~/.steam/steam/appcache/appinfo.vdf. I'm running the normal version of ac:brotherhood.
The editing appinfo.vdf file trick doesn't seem to be working anymore in the Beta (2020-03-03), stable is still fine. (AC:Brotherhood)
The problem is Steam will repair the file. So I think a nice generic command to run before starting Steam is something like this:
sed -i 's/legacykeyregistrylocation/legacykeyregistrylocation2/g' ~/.steam/steam/appcache/appinfo.vdf
Make sure to set the immutable bit to prevent steam from reverting it back.
# chattr +i ~/.steam/steam/appcache/appinfo.vdf
The problem is Steam will repair the file. So I think a nice generic command to run before starting Steam is something like this:
sed -i 's/legacykeyregistrylocation/legacykeyregistrylocation2/g' ~/.steam/steam/appcache/appinfo.vdfMake sure to set the immutable bit to prevent steam from reverting it back.
# chattr +i ~/.steam/steam/appcache/appinfo.vdf
Stable 27.04.2020 not working =(
still not working with AC2 for me :cry:.
Same with AC2 and AC Brotherhood
I am also having this issue with AC Brotherhood
Bumping this for AC Brotherhood - seems like ValveSoftware/Proton#190 is also a duplicate of this.
a update for this?
having the same issue, only managed to play AC II by installing through lutris installing steam dxvk (https://lutris.net/games/assassins-creed-ii/) . It plays relatively well , I had only one crash with ~10 hours of play.
This bug is now known for nearly 8 years. And it most probably is quite an easy fix inside the Steam client. This issue is probably making dozens of games unplayable through proton which otherwise would just work fine. The devs even went the extra mile to prevent the old workaround (this might have been a side effect of something else, but still...)
Valve time is crazy.
This issue will probably be fixed once Portal 3 or L4D3 is released.
Please Valve devs, I know you hate it too, when a bug this old is still around :) And I'd love to play through the whole Assassin's Creed Saga on my Linux machine!
To provide some more Information:
Assassin's Creed 2 (33230) and Assassin's Creed Brotherhood (48190) won't launch because the key "can't be retrieved from steam". Assassin's Creed Revelations works just fine through Proton.
I think this might be, because of some misconfiguration with the steam depots. AC2 and AC Brotherhood are both available on Mac, but via a strange Mac DLC? Normally this would be done with via a Mac depot on the steam servers, but here it seems to be done with this DLC.
So the DLCs for me AC2 are:
and for AC Brotherhood:
I think that the current behavior might be intended, as for those games the Mac and Windows keys might differ. So on Mac, only the key from the Mac DLC should be shown and on Windows only the Windows key should be shown. This might confuse the steam client as there is no Linux key and it is only allowed to show the Windows key if there are no other platform specific keys? It's just a guess.
inside ~/.steam/steam/appcache/appinfo.vdf the games and DLCs have a validoslist which might be the cause for this? I'm just guessing here, as other games that are Windows only and have keys are launching just fine. Their keys are retrievable as well. Like Assassin's Creed Revelations (201870) or the Trackmania² (228760, 232910, 243360, 600720) games and Trackmania Turbo (375900). They also use legacykeyregistrylocation and not legacykeyregistrylocation2.
EDIT: the 2 was intended as a typo, so that steam does not try loading the key. Added this for better understanding.
Maybe @kisak-valve @Plagman or @frankc-valve can have a look at this again, as this might be a different cause than the original bug report had.
FYI:
sed -i 's/validoslist/oslist/g' ~/.steam/steam/appcache/appinfo.vdf did not help when trying to launch AC2 or trying to retrieve the key, But I think that the file will be overwritten when launching steam. I did not investigate it further.
Maybe someone else can try an pick up from here.
Edit:
I also tried adding the Steam Key from a Windows install of AC2 to the registry ~/.steam/registry.vdf with:
"TestApp33361"
{
"SteamKey" "123-4567-890A-BCDE-FGHI"
}
This had no effect.
And thank you for your hard work! (Not mine, but it totally stand behind this: https://medium.com/telework/a-thank-you-letter-for-kisak-at-valve-a74115c35d8e)
Edits: added a little more context and steam AppIDs
@cverstege I think you are right about steam client getting confused with the keys.
If you run it on command line steam does
[33230]Non-Steam Controller Configs Enabled: 1
ExecuteSteamURL: "steam://cdkeys/33230"
but if you run steam steam://cdkeys/33361 it works
33361 is the windows dlc
That works without an internet connection (after you get the key once), so there must be a cache or registry file somewhere with the keys, if we find it we can have a workaround until they fix it
Thanks @vaslabs for the hints.
I think the problem is the ShowCDKeyOnLaunch key for the Mac DLCs, as the Windows keys can be requested just fine. I tested it as well.
This flag (see https://steamdb.info/app/33362/ for AC2 and https://steamdb.info/app/48197/ for ACB) forces Steam to fetch the CD key when launching the game, even though were not on macos. This flag is also set on the Windows Key, but this seems to be fine.
I need to test if the Mac keys are fetchable from a Windows install or what exactly happens there
We could remove this from ~/.steam/steam/appcache/appinfo.vdf but Steam will overwrite this which each launch. Maybe starting steam in offline mode will prevent an overwrite?
Edit: Steam is stuck on the logging in screen when starting in offline mode and a with modified appinfo.vdf... Valve devs are too clever :smiley:
Trying to add a fake key for the mac dlc in ~/.steam/registry.vdf does not seem to work.
Edit: neither does disabling this dlc or removing mentions of it in ~/.steam/steam/steamapps/appmanifest_33230.acf has any effect (online and offline mode, just reinstalls the dlc when starting in online mode). Changing the files at runtime has no effect either
In Windows the Mac key is not retrievable as well. Steam is stuck requesting the key. The key window opens, but requesting the key won't finish. On linux the key windows won't even open and the error message to try again in a few minutes pops up immediatly.
On Windows the Mac DLCs won't even install/are not visible at all. So on Windows the Steam client only installs the Windows Key DLC (33361) and doesn't even list the Mac Key DLC (33362) as available.
So this is acutally not a bug when requesting the CD key, but rather a SteamPlay bug, where Steam on Linux makes the Mac Only DLC available as well, even though we do only want the Windows version to be installed and to be used with Proton!
Edit: spelling
+1 It looks like a steam play issue, even if I do
WINEPREFIX=~/.steam/steam/steamapps/compatdata/33230/ ~/.steam/steam/steamapps/common/Proton\ 5.13/dist/bin/wine AssassinsCreedIIGame.exe
it still goes for the key
Valve, please fix.
For what it's worth, I tried all the workarounds and the binary hacking I could on the appinfo.vdf, also using SteamEdit (which does not list the "Brotherhood Mac Key" DLC, or other DLCs in general?) to fix the checksum after making manual changes. I tried to set showcdkeyonlaunch to 0 (first only on the Mac DLC, then on both), no success. I tried the legacykeyregistrylocation thing, no effect. I tried adding is_hidden to steam_edit dict, no success - file becomes unable to load in SteamEdit so I'm sure enough it wouldn't load in proper Steam - I suspect the size of the dict is stored somewhere in the header given the diffs I observed. I tried manually requesting the key - and I've got my key, but I tried adding it to registry.vdf, no success.
I want to play this game please.
Valve, please fix.
@Cheaterman check out https://github.com/ValveSoftware/Proton/issues/190#issuecomment-734984986
SteamEdit does list DLCs, you need to toggle them in the bar at the top right. There is a filter where you can turn on/off games, dlcs, movies, software etc.

Do you see the green switch at the list on the top right. That's for DLCs. I did turn everything else off, that's why the buttons are grey. Then find the Brotherhood Mac DLC and set it to hidden for the game to launch.
You also need to disable the steam overlay. Otherwise steam will crash when launching the game. The game will be running fine, but steam won't track your playtime. See #7494.
Hahaha, thanks a lot @cverstege !!! I'm sorry to be that dumb, I didn't realize these icons were filters, I thought they were attibutes of whatever we had selected! I assure you that I tried hard, hahaha.
I confirm the key shows successfully when the file is edited through SteamEdit, stuff is installing right now, I'll confirm if I need to disable Steam overlay in an edit.
Thanks a lot again, sorry it wasn't clear for me :-)
EDIT: I'm using Proton 5.13 and it seems the overlay crashes by itself, but doesn't take the game with it - Steam does seem to exit though. The Ubi overlay on the other hand is a trap, it freezes the game instantly, and displays a pop-up in the top right corner if I don't - I can probably disable it entirely.
EDIT2: I confirm the game works perfectly, except it stutters occasionally, I strongly suspect it's when compiling the shaders, there's no shader pre-caching for this game it seems, and fossilize isn't doing its thing. Minor annoyance really - the game is very much playable here. Thanks again @cverstege
With the brand new update to Proton, the game crashes to desktop again. Probably not the right place for it, I'll look for the appropriate issue.
I tried the steam edit suggestion and it worked !!! Thanks @cverstege .
To run steam edit easily on Linux:
Create a new wine prefix e.g
~/.steamedit with winetricks.
Create a symbolic link in drive_c/Program Files (x86)/Steam that points to ~/.steam/steam
cd ~/.steamedit/drive_c/Program\ Files\ \(x86\)
ln ~/.steam/steam -s Steam
, install dotnet461 with winetricks ( I think dotnet 5 also works)
WINEPREFIX=~/.steamedit winetricks
Then run WINEPREFIX=~/.steamedit wine SteamEdit.exe
please @kisak-valve fix this I do not have windows to check the cd keys and running a 3rd party app is just meh, I'll do it this time but it's meh.
I don't have Windows either but TBF the SteamEdit thing is good enough.
Besides it's probably out of Valve's control so please be nice to Kisak 😅
kisak is cool but showing cd keys for a game i paid for is totally under valve's control
edit: steamedit doesn't actually show cd keys so i had to install steam inside wine to get the cd key
Perhaps you are right, yes. Re-reading the context, it does seem to be the
consensus, but with a functioning workaround I can see how this is low
priority on their TODO list 🙂
It doesn't sound that hard to implement (the feature works for linux games, I guess there's a check wether it's a platform game or not).
edit: just realised this issue was posted on Dec 21, 2012! so it's not even on their to do list
the option now appers under manage > cd keys, but it fails to retrieve the cd keys with message:
Failed to request product key from Steam, please try again in a few minutes
but hey, it's progress, hats off kisak
AC Odyssey there is no cdkeys undermanage.Where is it? Im tired f fighting with uplay.
Please please Valve can you resolve this we shouldn't need to hacking the files to get this to work, just correct the client incorrectly trying to request the Mac DLC!?!?
This still seems to be broken, around 9 years later. Slightly baffling. What's the hold-up?
Please Valve I want to get my CD key for the game I bought. Doesn't matter if it's a Windows game and I'm on Mac.
Hello, I was told by "Charles" to post in this specific thread. This is in regards to my current ticket in with Steam Support (Ticket: HT-5XTF-6F3Y-DWVW). I run PoP!_OS on an AMD/ATI machine, and reference ProtonDB with every game I play. Although I have not had a problem with Assassin's Creed I, II, Odyssey, or Origins, AC Brotherhood and Revelations refuse to let me play. I will click play, and then receive an error that Steam failed to retrieve or request an activation key. Using the Manage > CD Keys option pulls the same error. Either way, I can go no further in attempting to play the game(s) until this is resolved. I even downloaded the Ubisoft Connect client, and can successfully run it through Steam client via Proton 6.3-8, but this game does not show, and the key I received from "Charles" today was read as not valid. Many thanks for any help you can provide, as I would love to continue the AC story, support Steam, and not feel like I was cheated out of money that could have been better used as a student loan payment.
@PolarBass0511 you can try and run steam steam://cdkeys/33361 in the terminal to get the AC II key and activate it in uplay afterwards.
@PolarBass0511 I wrote a script to get AC 2 and Brotherhood working. I've not had an issue with getting CD key for revelations so not added it but maybe could help you with brotherhood
https://github.com/begin-theadventure/acfix Not needed anymore.
I created another way to apply the fix for Assassin's Creed, which I think is better because you can add it to multiple ACs at once - practically unlike with .vdf - theoretically well unless you wanna share your entire library...
+I added fixes for Unity and Brotherhood Standard Edition.
It looks like this bug is finally solved! Today I could start AC:II and AC:Brotherhood without any problems. Steam even showed the cd key! :tada:
Well there is definitely a change, this time I successfully launched ACII whereas I was stuck before with the CD key request.
I made it in two steps:
I managed to load Assassins creed 2 deluxe and Brotherhood without issue too! (well ubisoft connect crashes after update, but second try works fine)
Hopefully this is resolved now.... only took 10 years!!!
Can others give it a go and check?
Seems to be fixed in the current Steam Beta (2nd April 2022). The normal Client still does not work. (ACII and AC Brotherhood)
It looks like this bug is finally solved! Today I could start AC:II and AC:Brotherhood without any problems. Steam even showed the cd key! tada
I forgot to reply after this comment but it does indeed work now for AC: II, Brotherhood & Unity.
AC2 is still not working for me. I am getting following prompt:

I already played the game on windows few years ago, so its kinda weird that my key is not attached to my account already.
Replying to https://github.com/ValveSoftware/steam-for-linux/issues/212#issuecomment-1111127247
Are you using the beta steam client?
I just enabled the Steam Beta Client, restarted Steam and played Assassin's Creed II for 10 minutes. It works perfectly. Can't wait for this to be in the main release and we can finally close this 10-year-old issue. 👍
Replying to [#212 (comment)](https://github.com/ValveSoftware/steam-for-linux/issues/212#issuecomment-1111127247)
Are you using the beta steam client?
I just updated to Steam Beta and its working. Thanks!
Closing as fixed in the 2022-05-12 Steam client update (uncredited).
proton 6.3-8x1 2022-02proton 5.13x1 2020-12proton 4.2x1 2019-04WINEPREFIX=~/.steameditx1 2020-12WINEPREFIX=~/.steam/steam/steamapps/compatdata/33230/x1 2020-11PROTON_FORCE_WINDOWS=1x1 2019-08
I'm trying to get the CD key link for a non-Linux game I own (Crusader Kings II), so I can use it to sign up on their forums. The request never completes, it just says "Requesting key..." and copying to clipboard does nothing.
System info:
Processor Information:
Vendor: AuthenticAMD
Speed: 2800 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported
Network Information:
Network Speed:
Operating System Version:
Ubuntu 12.10 (64 bit)
Kernel Name: Linux
Kernel Version: 3.5.0-21-generic
X Server vendor: The X.Org Foundation
X Server release: 11300000
Video Card:
Driver: X.Org Gallium 0.4 on AMD RV770
Sound card:
Audio device: Nvidia MCP77/78 HDMI
Memory:
RAM: 3954 Mb
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 24605 Mb
Largest Free Hard Disk Block: 16279 Mb
Installed software:
Recent Failure Reports:
Fri Dec 21 11:53:12 2012 GMT: file ''/tmp/dumps/assert_20121221135304_1.dmp'', upload yes: ''CrashID=bp-20540da8-691f-4d9d-be7c-a727e2121221''