Jump to content


Photo

[C&C3 TW] CA public key patching routine failed


  • Please log in to reply
1 reply to this topic

#1 WhyT_

WhyT_
  • New Members
  • 1 posts

Posted 22 July 2023 - 05:31 PM

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 :

  1. he starts C&C 3 from the EA App
    1. C&C Online launcher starts
    2. Launch C&C 3 from the launcher
    3. 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)
    4. Game starting, but cannot enter 'Multiplayer' > 'Internet' login page
  2. he starts C&C 3 from the C&C Online launcher
    1. C&C Online also starts a second instance (don't know why) and the error message still 'CA public key patching routine failed' appears
    2. Game starting, but cannot enter 'Multiplayer' > 'Internet' login page

We tried to set the compatibility mode on .exe, one by one then all :

  1. C&C Online
    1. cnconline.exe
    2. ifeo.exe
  2. C&C 3
    1. CNC3Launcher.exe (main launcher, the one asking which game to start : TW or KW)
    2. 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.



#2 Cervanthes

Cervanthes

    Minister of Member reeducation

  • Division Leaders
  • 1,130 posts
  • Location:wherever command wants me to be youll usually find me around good beer and food
  • Projects:CCO/T3AO Servers, NatNeg, Launcher Replacement, Linux Support
  •  Asked a question but no answer yet? high chance that im not reachable atm, check our discord instead!
  • Division:CCO/T3AO & Revora
  • Job:Effectively Wall-E just for Revora & there is no god up here but me!
  • Donated

Posted 28 August 2023 - 10:34 AM

thats a pretty good post thank you for that

you may have to send EA App and the launcher to launch as administrator


post-901776-1710002981.png

Join our Discord for Quicker and more fluent support! Join Here!!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users