Hello my friends,
i'm requesting your help because my friend is stuck with this error : CA public key patching routine failed.
For me the suggested/commons issues solutions barely worked, but not for my friend.
First of all, here's our configs and tries...
Config
Mine
- Windows 11
- No antivirus but Win Defender
- Authorized in Firewall
- Own an English 'Ultimate Collection', patched in french in version 1.09.
- Activated in EA App (substitute of Origin).
- C&C Online installed
His
- Windows 11
- No antivirus but Win Defender
- Authorized in Firewall
- Own a German 'Ultimate Collection', patched in french in version 1.09.
- Activated in EA App (substitute of Origin).
- C&C Online installed
Now... what's happening
Note that, now it is working for me, but it was not obvious at first sight. My friend still not working...
First, when he starts C&C 3 directly from EA App he cannot enter the 'Multiplayer' > 'Internet' login page in the game. The standard error message is : "Unable to connect too the C&C 3 servers. Please check your internet connection". I guess it's normal.
Then, when he starts 'C&C Online', he can start C&C 3 directly from the C&C Online launcher but he cannot enter the 'Multiplayer' > 'Internet' login page in the game. The standard error message still persist. I guess it's not normal.
The logs says :
Started game with: "CNC3.exe " Caught CREATE_PROCESS_DEBUG_EVENT from C&C3. Detaching... Found game.dat process. PID 6968 *** Starting CA public key patching routine *** CA public key is expected value. Successfully patched CA public key. *** Starting hostname hooking routine *** Injecting DLL into game.dat process... Result of injection: Code -1073741582
Finally, he hooked C&C 3 in 'C&C Online', the Windows authorization message appeared and has been approved.
Now two options, same behavior :
- he starts C&C 3 from the EA App
- C&C Online launcher starts
- Launch C&C 3 from the launcher
- C&C Online starts a second instance (don't know why) and the error message 'CA public key patching routine failed' appears (see below screenshot #1 and log #2)
- Game starting, but cannot enter 'Multiplayer' > 'Internet' login page
- he starts C&C 3 from the C&C Online launcher
- C&C Online also starts a second instance (don't know why) and the error message still 'CA public key patching routine failed' appears
- Game starting, but cannot enter 'Multiplayer' > 'Internet' login page
We tried to set the compatibility mode on .exe, one by one then all :
- C&C Online
- cnconline.exe
- ifeo.exe
- C&C 3
- CNC3Launcher.exe (main launcher, the one asking which game to start : TW or KW)
- CNC3.exe
=> problem remains...
Screenshots/Logs
#1
image link : https://ibb.co/r3dz3Bs
#2
*** Starting CA public key patching routine *** ERROR: Reading process memory failed. Error: Seule une partie d’une requête ReadProcessMemory ou WriteProcessMemory a été effectuée. ERROR: Reading process memory failed. Error: Seule une partie d’une requête ReadProcessMemory ou WriteProcessMemory a été effectuée. ERROR: CA public key differs from expected value. Not patching. ERROR: CA public key patching routine failed.
We tried multiple repair, reinstall of both C&C Online and C&C 3, nothing worked...
Now, the other annoying thing is that for me, despite both configs are very similar, the problem was different...
C&C Online launcher could not start C&C 3 without hook, i got the error message : "game not found" (or "not installed', i don't remember)
But after hooking, then starting C&C 3 from the EA App, the C&C Online launcher started normally and the C&C 3 launch button worked fine (the Multiplayer > Internet login page was accessible)
If you have any suggestion, i would really appreciate it !!
Best regards, WhyT.