Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 10:05

English | Русский




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message

Post Post subject: Failed to contact key server. RTCW. Ftcks 0.51. Windows 7.   
Posted: Tuesday, 04 Jan 2011, 20:13   
Beginner Без звания
Joined: Saturday, 16 Aug 2008, 21:48
Posts: 12
bat file does not work in Windows 7 . How to remake for rtcw ?

  1.  
  2. @echo off
  3. TITLE Steam: Failed to contact key server Fix 0.51 by PeJpepiG - cs.rin.ru
  4. set dir=HKLM\SOFTWARE
  5. if %PROCESSOR_ARCHITECTURE%==AMD64 set dir=%dir%\Wow6432Node
  6. echo List of supported Games (id - game):
  7. echo.
  8. echo 1 - Act of War: Direct Action
  9. echo 2 - Act of War: High Treason
  10. echo 3 - Bioshock
  11. echo 4 - Birth of America
  12. echo 5 - Blazing Angels Squadrons of WWII
  13. echo 6 - Blazing Angels 2 Secret Missions of WWII
  14. echo 7 - Brothers in Arms: Road to Hill 30
  15. echo 8 - Call of Duty
  16. echo 9 - Call of Duty United Offensive
  17. echo 10 - Call of Duty 2
  18. echo 11 - Call of Duty 4
  19. echo 12 - Call of Juarez
  20. echo 13 - Chessmaster Grandmaster Edition
  21. echo 14 - Company of Heroes
  22. echo 15 - Company of Heroes OF
  23. echo 16 - Dawn of War
  24. echo 17 - Dawn of War Dark Crusade
  25. echo 18 - Dawn of War Winter Assault
  26. echo 19 - Dawn of War Soulstorm
  27. echo 20 - Doom 3
  28. echo 21 - Doom 3 RoE
  29. echo 22 - Empires DotMW
  30. echo 23 - Enemy Territory: QUAKE Wars
  31. echo 24 - EVE Online
  32. echo 25 - EVE Online Demo
  33. echo 26 - FarCry
  34. echo 27 - Frontlines: Fuel of War
  35. echo 28 - Full Spectrum Warrior
  36. echo 29 - Full Spectrum Warrior 2
  37. echo 30 - Genesis Rising
  38. echo 31 - GTI Racing
  39. echo 32 - Heroes of Annihiliated Empires
  40. echo 33 - Heroes of Might and Magic 5
  41. echo 34 - Joint Task Force
  42. echo 35 - Juiced 2
  43. echo 36 - Kane and Lynch
  44. echo 37 - Making History
  45. echo 38 - Medieval 2
  46. echo 39 - Nexus the Jupiter
  47. echo 40 - Painkiller
  48. echo 41 - Prey
  49. echo 42 - Quake 3 Arena
  50. echo 43 - Quake 3 Team Arena
  51. echo 44 - Rainbow Six Lockdown
  52. echo 45 - Rainbow Six Vegas
  53. echo 46 - Rainbow Six Vegas 2
  54. echo 47 - Rome TW
  55. echo 48 - Return to Castle Wolfenstein
  56. echo 49 - Sacred Gold
  57. echo 50 - Savage 2: A Tortured Soul
  58. echo 51 - STALKER
  59. echo 52 - TestApp 2760
  60. echo 53 - TestApp 2770
  61. echo 54 - TestApp 2780
  62. echo 55 - The Club
  63. echo 56 - The Movies
  64. echo 57 - The Movies Stunts and Effects
  65. echo 58 - The Settlers - Heritage of Kings
  66. echo 59 - The Settlers - Rise of an Empire
  67. echo 60 - Titan Quest
  68. echo 61 - Titan Quest Immortal Throne
  69. echo 62 - Trackmania United
  70. echo 63 - Trials 2 Second Edition
  71. echo 64 - Two Worlds
  72. echo 65 - Universe at War
  73. echo 66 - Unreal Tournament 2004
  74. echo 67 - Unreal Tournament 3
  75. echo 68 - Xpand Rally
  76. echo.
  77. set /p id=Specify the id of the game you want to fix:
  78. if %id%==1 set key="HKCU\Software\Eugen Systems\ActOfWar" && set value=RegNumber && goto reg
  79. if %id%==2 set key="HKCU\Software\Eugen Systems\ActOfWar_HighTreason" && set value=RegNumber && goto reg
  80. if %id%==3 set key="HKCU\Software\Valve\Steam\Apps\7670" && set value=SecuROM && goto reg
  81. if %id%==4 set key="steamapps\common\Birth Of America\BoA\Settings\serial.opt" && goto file
  82. if %id%==5 set key="HKCU\Software\Valve\TestApp15220" && set value=SteamKey && goto reg
  83. if %id%==6 set key="HKCU\Software\Valve\TestApp15230" && set value=SteamKey && goto reg
  84. if %id%==7 set key="HKCU\Software\Valve\TestApp15190" && set value=SteamKey && goto reg
  85. if %id%==8 set key="%dir%\Activision\Call of Duty" && set value=codkey && goto reg
  86. if %id%==9 set key="%dir%\Activision\Call of Duty United Offensive" && set value=key && goto reg
  87. if %id%==10 set key="%dir%\Activision\Call of Duty 2" && set value=codkey && goto reg
  88. if %id%==11 set key="%dir%\Activision\Call of Duty 4" && set value=codkey && goto reg
  89. if %id%==12 set key="%dir%\Techland\CallOfJuarez" && set value=SerialNumber && goto reg
  90. if %id%==13 set key="HKCU\Software\Valve\TestApp15260" && set value=SteamKey && goto reg
  91. if %id%==14 set key="%dir%\THQ\Company of Heroes" && set value=CoHProductKey && goto reg
  92. if %id%==15 set key="%dir%\THQ\Company of Heroes" && set value=CoHOFProductKey && goto reg
  93. if %id%==16 set key="%dir%\THQ\Dawn of War" && set value=Steam_CDKey && goto reg
  94. if %id%==17 set key="%dir%\THQ\Dawn of War - Dark Crusade" && set value=CDKey && goto reg
  95. if %id%==18 set key="%dir%\THQ\Dawn of War" && set value=Steam_CDKEY_WXP && goto reg
  96. if %id%==19 set key="%dir%\THQ\Dawn of War - Soulstorm" && set value=CDKEY && goto reg
  97. if %id%==20 set key="HKCU\Software\Valve\TestApp9050" && set value=SteamKey && goto reg
  98. if %id%==21 set key="HKCU\Software\Valve\TestApp9070" && set value=SteamKey && goto reg
  99. if %id%==22 set key="HKCU\Software\SSSI\Empires" && set value=GameSpy CD Key && goto reg
  100. if %id%==23 set key="HKCU\Software\Valve\ETQW" && set value=licensecode && goto reg
  101. if %id%==24 set key="HKCU\Software\Valve\TestApp8500" && set value=SteamKey && goto reg
  102. if %id%==25 set key="HKCU\Software\Valve\TestApp8510" && set value=SteamKey && goto reg
  103. if %id%==26 set key="HKCU\Software\Valve\TestApp13520" && set value=SteamKey && goto reg
  104. if %id%==27 set key="%dir%\THQ\Frontlines: Fuel of War" && set value=ProductKey && goto reg
  105. if %id%==28 set key="%dir%\Pandemic Studios\Full Spectrum Warrior\install" && set value=key && goto reg
  106. if %id%==29 set key="%dir%\Full Spectrum Warrior 2" && set value=key && goto reg
  107. if %id%==30 set key="HKCU\Software\DreamCatcher\GenesisRising" && set value=CDKey && goto reg
  108. if %id%==31 set key="%dir%\Techland\GTIRacing" && set value=SerialNumber && goto reg
  109. if %id%==32 set key="steamapps\common\Heroes of Annihilated Empires\appdata" && goto file
  110. if %id%==33 set key="HKCU\Software\Valve\TestApp15170" && set value=SteamKey && goto reg
  111. if %id%==34 set key="HKCU\Software\Valve\TestApp6400" && set value=SteamKey && goto reg
  112. if %id%==35 set key="HKCU\Software\Valve\TestApp9400" && set value=SteamKey && goto reg
  113. if %id%==36 set key="HKCU\Software\Valve\TestApp8080" && set value=SteamKey && goto reg
  114. if %id%==37 set key="%dir%\Muzzy Lane Software\Making History 2.0" && set value=LicenseKey && goto reg
  115. if %id%==38 set key="%dir%\SEGA\Medieval II Total War" && set value=CDKey && goto reg
  116. if %id%==39 set key="%dir%\Mithis\Nexus - The Jupiter Incident" && set value=Misc_AuthKey && goto reg
  117. if %id%==40 set key="HKCU\Software\Valve\TestApp3200" && set value=SteamKey && goto reg
  118. if %id%==41 set key="steamapps\common\Prey\base\preykey" && goto file
  119. if %id%==42 set key="steamapps\common\Quake 3 Arena\baseq3\q3key" && goto file
  120. if %id%==43 set key="steamapps\common\Quake 3 Arena\missionpack\q3key" && goto file
  121. if %id%==44 set key="HKCU\Software\Valve\TestApp15000" && set value=SteamKey && goto reg
  122. if %id%==45 set key="HKCU\Software\Valve\TestApp13540" && set value=SteamKey && goto reg
  123. if %id%==46 set key="HKCU\Software\Valve\TestApp15120" && set value=SteamKey && goto reg
  124. if %id%==47 set key="HKCU\Software\TheCreativeAssembly\RomeTW" && set value=cdkey && goto reg
  125. if %id%==48 set key="steamapps\common\Return to Castle Wolfenstein\main\rtcwkey" && goto file
  126. if %id%==49 set key="HKCU\Software\Valve\TestApp12320" && set value=SteamKey && goto reg
  127. if %id%==50 set key="steamapps\common\Savage 2 A Tortured Soul\promocode" && goto file
  128. if %id%==51 set key="%dir%\GSC Game World\STALKER-SHOC" && set value=InstallCDKEY && goto reg
  129. if %id%==52 set key="HKCU\Software\Valve\TestApp2760" && set value=SteamKey && goto reg
  130. if %id%==53 set key="HKCU\Software\Valve\TestApp2770" && set value=SteamKey && goto reg
  131. if %id%==54 set key="HKCU\Software\Valve\TestApp2780" && set value=SteamKey && goto reg
  132. if %id%==55 set key="HKCU\Software\Valve\TestApp10460" && set value=SteamKey && goto reg
  133. if %id%==56 set key="%dir%\Lionhead Studios Ltd\TheMovies" && set value=CDKey && goto reg
  134. if %id%==57 set key="%dir%\Lionhead Studios Ltd\TheMovies" && set value=CDKey_AddOn1 && goto reg
  135. if %id%==58 set key="HKCU\Software\Valve\TestApp15310" && set value=SteamKey && goto reg
  136. if %id%==59 set key="HKCU\Software\Valve\TestApp15330" && set value=SteamKey && goto reg
  137. if %id%==60 set key="%dir%\Iron Lore\Titan Quest" && set value=CD Key && goto reg
  138. if %id%==61 set key="%dir%\Iron Lore\Titan Quest Immortal Throne" && set value=CD Key && goto reg
  139. if %id%==62 set key="HKCU\Software\Valve\TestApp7200" && set value=SteamKey && goto reg
  140. if %id%==63 set key="HKCU\Software\RedLynx\Trials 2 SE" && set value=LicenseKey && goto reg
  141. if %id%==64 set key="HKCU\Software\Valve\TestApp1920" && set value=SteamKey && goto reg
  142. if %id%==65 set key="HKCU\Software\Valve\TestApp10430" && set value=SteamKey && goto reg
  143. if %id%==66 set key="%dir%\Unreal Technology\Installed Apps\UT2004" && set value=CDKey && goto reg
  144. if %id%==67 set key="HKCU\Software\Valve\TestApp13210" && set value=SteamKey && goto reg
  145. if %id%==68 set key="%dir%\Techland\XpandRally" && set value=SerialNumber && goto reg
  146. cls && echo Could not find the game specified! && pause && goto end
  147. :reg
  148. REG QUERY %key% /v %value%
  149. if errorlevel 1 echo Adding %key% %value% key && REG ADD %key% /v %value% /t REG_SZ /d serial
  150. echo.
  151. pause && goto end
  152. :file
  153. echo.
  154. echo %key%
  155. if not exist %key% echo key>%key%
  156. echo.
  157. if errorlevel 1 echo File created
  158. if errorlevel 0 echo Run Steam Ftcks Fix from Steam dir to correctly install a fix for this game.
  159. echo.
  160. pause && goto end
  161. :end
  162.  


Last edited by x9zero on Wednesday, 05 Jan 2011, 12:21, edited 3 times in total.

Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Tuesday, 04 Jan 2011, 20:50   
[ˈpeɪˈpeˈpɪg]
User avatar
Joined: Monday, 01 Jan 2007, 17:21
Posts: 1998
Location: Everywhere where there is good beer
bat works in Windows 7 x64. The bat exactly does what was needed to fix the "Failed to contact key server" some time ago (1 or 2 years?).

So your question should be:
How to update the bat to fix the todays "Failed to contact key server" error?

There are two possible answers:
1. You have to change reg path to this: HKCU/Software/Valve/Steam/Users/%yourid%/keys/%appid%
2. You have to change the bat so it writes the keys to this file (in correct format): Steam\userdata\<userid>\config\localconfig.vdf

I think the second one is the currently used one.

No guarantee anything is correct, that's just all I can remember, can't check it myself now.

_________________
Formerly known as PJG, but due to many people using this nickname I won't use it anymore.

If you believe in best_matrix07 being an annoying little kid with an annoying avatar and are 100% proud of it, put this in your sig.


Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Tuesday, 04 Jan 2011, 21:18   
Dark Elf Moderator
User avatar
Joined: Saturday, 27 May 2006, 01:53
Posts: 5467
Location: DHT node
If you don't know English or would rather speak Russian, please post in the Russian or foreign section.

_________________
RIP vigylant.


Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Tuesday, 04 Jan 2011, 22:04   
User Редкий гость
Joined: Saturday, 13 Nov 2010, 22:43
Posts: 30
hmmmm, pretty simple (yes, simple ;;)) but interesting batch script.

the only thing it does (in theory) is checking if a file called "rtcwkey" exists in the relative path "steamapps\common\Return to Castle Wolfenstein\main\", and if it does not exist, it creates it and writes the following text inside :


otherwise it should normally display "Run Steam Ftcks Fix from Steam dir to correctly install a fix for this game."

remember that this batch has to be run from your Steam installation directory (not SteamApps directory or elsewhere)

also PeJpepiG, I strongly advise using double quotes at line 155 because there may be space characters in the %key% variable :
  1. if not exist "%key%" echo key>%key%


Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Tuesday, 04 Jan 2011, 22:20   
[ˈpeɪˈpeˈpɪg]
User avatar
Joined: Monday, 01 Jan 2007, 17:21
Posts: 1998
Location: Everywhere where there is good beer
[DZ] Genesis
Of course it's simple. That's what bats are best for: Doing simple tasks.

About the double quotes at line 155:
Shouldn't be necessary, look how the %key% variable is set. (The example, RTCW, wouldn't even work otherwise)

Edit: But as I already wrote in my previous post this bat won't be of any use anymore. The way Steam stores your keys locally has been changed (also described in my previous post).

_________________
Formerly known as PJG, but due to many people using this nickname I won't use it anymore.

If you believe in best_matrix07 being an annoying little kid with an annoying avatar and are 100% proud of it, put this in your sig.


Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Tuesday, 04 Jan 2011, 22:58   
Beginner Без звания
Joined: Saturday, 16 Aug 2008, 21:48
Posts: 12
Quote:
The way Steam stores your keys locally has been changed


I shall be grateful if you show a step by step how to do it manually for RTCW
If this can be done

::)


Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Wednesday, 05 Jan 2011, 04:43   
[ˈpeɪˈpeˈpɪg]
User avatar
Joined: Monday, 01 Jan 2007, 17:21
Posts: 1998
Location: Everywhere where there is good beer
OK, I'm doing this from memory, so it might be wrong. Try the following:
Open this file:
Steam\userdata\<userid>\config\localconfig.vdf
This file should start with
  1. "UserLocalConfigStore"
  2. {

And now different sections follow, the one we are interested in is named "cdkeys", we don't care about the rest.
If this section already exists it should look similar like this:
  1.     "cdkeys"
  2.     {
  3.         "%appid%"       "%key%"
  4.     }

Now all you do is add an entry for RTCW, the result should look like this:
  1.     "cdkeys"
  2.     {
  3.         "%appid%"       "%key%"
  4.         "9010"      "%put rtcw key here%"
  5.     }

If the section doesn't exist yet, just add it.


So at the end the file should look like this if you have only RTCW's key in there:
  1. "UserLocalConfigStore"
  2. {
  3. %different section we don't care about%
  4.     "cdkeys"
  5.     {
  6.         "9010"      "%put rtcw key here%"
  7.     }
  8. }

_________________
Formerly known as PJG, but due to many people using this nickname I won't use it anymore.

If you believe in best_matrix07 being an annoying little kid with an annoying avatar and are 100% proud of it, put this in your sig.


Top
 Profile  

Post Post subject: Re: Failed to contact key server. RTCW. Ftcks 0.51. Windows   
Posted: Wednesday, 05 Jan 2011, 12:00   
Beginner Без звания
Joined: Saturday, 16 Aug 2008, 21:48
Posts: 12
PeJpepiG
Thanks a lot, it works! ::) :THUMBS UP:

-- Edit --

How to Fix RtCW not Launching ATI (With Latest Drivers)

New Updated File

http://www.filefront.com/17248996/atioglxx10_4.rar (ATI 10.4 Drivers File)

http://www.filefront.com/17248859/atioglxx10_1.rar (ATI 10.1 Drivers File)

[Updates]
* Should play past Level 3 now
* Should allow V-Sync to work if you were having issues before

Old one in case the new one causes you issues

http://www.filefront.com/16696483/atioglxx.rar

http://rapidshare.com/files/403424557/atioglxx.rar.html (ATI 9.11 Drivers File)

All you have to do is place that .dll file in the install directory with the .exe files.

by Stilkdog

if present freezing when the first level begins :

1) Click the Start button > Programs > Accessories > Wordpad.
2) Open the wolfconfig.cfg file which is located in the Return to Castle Wolfenstein\Main directory on your machine.
3) Locate the line reading:

seta r_allowExtensions "1"

4) Change the 1 to a 0.
5) Click File > Save.

or in game settings after launch "gl Extensions" - no


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group