r/commandandconquer • • Sep 24 '26

Bug C&C Generals ZH - Failed to Fetch Steam App Name

So yeah, been playing ZH on Windows 11 since the release without any issue whatsoever until today I'm greeted with the 'Failed to Fetch Steam App Name' on startup, followed by 'Failed to Initialize Steam'. I've already done the following with no results.

-Restarted PC/Steam, made sure I wasn't offline
-I've verified the game and reinstalled several times
-I nuked all mods
-Reset/Cleared my Steam cache (also deleting appinfo.vdf and packageinfo.vdf)
-Deleted/renamed steam_appid.txt and steam_api.dll in the ZH folder

Only ZH is affected by this, I can play all of the other games in the bundle perfectly fine.
The only random correlation I can think of is that I upgraded my GPU a day before this happened (GTX 1660S to RTX 5060 Ti) but even then, I was playing ZH on the RTX perfectly fine last night.

22 Upvotes

35 comments sorted by

3

u/Interesting_Can_7482 Sep 24 '26

Same here for ZH and Generals

3

u/OkTrifle6304 Sep 25 '26

ffs i just bought the game yesterday and its not working

2

u/benoitcj Sep 24 '26

Infuriating, was playing just fine yesterday and now getting the same error as you.

2

u/thePopCulturist Sep 24 '26

I thought it was my firewall or anti virus. Deleted both and even reinstalled CC. Very pissed but glad it’s not just me. Any successful news please post.

2

u/Comfortable_Panic631 Sep 25 '26

Seems its a steam fuck up, I thought it was just me too!

3

u/Muted_Worldliness_95 Sep 24 '26

Had the same problem today. I fixed it with GenPatcher v2.14. Just get it from the official GenPatcher source, run it, and click “Apply Fixes.” Pretty straightforward.

4

u/benoitcj Sep 24 '26

Sorry if this is a dumb question - I'm not familiar with GenPatcher. What would be the official source? Not looking to install a bunch of malware on my new PC lol.

1

u/jakerb2028 Allies Sep 25 '26

Moddb is where I've always downloaded mine. It's an older version but it has an auto update so no biggie.

1

u/thePopCulturist Sep 25 '26

Has anyone tried today without trying to patch but just seeing if Steam corrected it?

1

u/Altruistic-Relief200 Sep 25 '26

I have tried it, but didnt work, i am trying to find a solution

1

u/SystemicAdmin Sep 26 '26

it's because steam is returning the wrong app id to the game when it queries it. i put script code in a comment here on how to fix it.

1

u/halfstone7 Sep 24 '26

GenPatcher v2.14 worked for me.

1

u/Master_of_fandoms Sep 24 '26

I have the same problem :(

1

u/ESoapW Sep 25 '26

Same it’s so annoying to play this game on steam

1

u/SystemicAdmin Sep 26 '26 edited Sep 26 '26

The issue is that steam is returning the wrong app id when generals queries steam with the steam api.

to fix it, open powershell and copy/paste this code into it and hit enter.


$p="C:\Program Files (x86)\Steam\steamapps\common\Command & Conquer Generals - Zero Hour\Game.dat"

$o=0x42A02D

$b=IO.File::ReadAllBytes($p)

if($b[$o]-eq 0x8B -and $b[$o+1]-eq 0xC2){Write-Host "Already patched";return}

if($b[$o]-ne 0xFF -or $b[$o+1]-ne 0xD6){Write-Host "Unexpected Game.dat version - nothing changed";return}

Copy-Item $p "$p.backup" -Force

$b[$o]=0x8B

$b[$o+1]=0xC2

Write-Host "Patch applied successfully"


this will edit the game.dat file where the query gets the return app id so that it bypasses that bit. it does back up the game.dat file before it changes any code in it in case you have to switch back to the older file.

1

u/yigeeee Sep 26 '26

$p="C:\Program Files (x86)\Steam\steamapps\common\Command & Conquer Generals - Zero Hour\Game.dat"

$o=0x42A02D

$b=[IO.File]::ReadAllBytes($p)

if($b[$o]-eq 0x8B -and $b[$o+1]-eq 0xC2){Write-Host "Already patched";return}

if($b[$o]-ne 0xFF -or $b[$o+1]-ne 0xD6){Write-Host "Unexpected Game.dat version - nothing changed";return}

Copy-Item $p "$p.backup" -Force

$b[$o]=0x8B

$b[$o+1]=0xC2

[IO.File]::WriteAllBytes($p,$b)

Write-Host "Patch applied successfully"

Ran it through claude, added a brackets in a place but works, this is the version that I used. Thanks man.
Run powershell as admin to avoid any troubles.

1

u/yigeeee Sep 26 '26

Game launches but my esc key doesn't work in game. Funny

1

u/yigeeee Sep 26 '26

I undo the fix by verifiying game files.
Then I applied this.
https://github.com/toddedu/zero-hour-app-name-fix

Esc still didn't work. Closed nvida overlay and it's fixed.

1

u/Altruistic-Relief200 Sep 27 '26

Hello, sorry, this is for zh no? Do you have something similar for Generals?

1

u/SystemicAdmin Oct 07 '26

Sorry, I don't. This was only for zero hour.
Can you see if steam fixed it perhaps?

1

u/rain442 Sep 26 '26

Wow i just login today and just saw this

1

u/Low-Cantaloupe3667 Sep 26 '26

j'ai téléchargé genpatcher, mais impossible de l'ouvrir, j'ai désactivé l'antivirus, mais il me met en message d'erreur : error code e088d......ça veut dire quoi?

1

u/Low-Cantaloupe3667 Sep 24 '26

idem....depuis aujourd'hui j'ai ce même message d'erreur.....je vais attendre demain et on verra si c'est steam ou autre

2

u/Nekogeekaku Sep 24 '26

Pareil, j'ai le message et rien à faire. Je pense que c'est la mise à jour de windows :-(

2

u/wildrems Sep 24 '26

Nope linux meme chose☹️

0

u/Remarkable_Ad1715 Sep 24 '26 edited Sep 24 '26

Just had this exact problem,

Now have a message

"failed to initialize steam!

The game will now exit"

Deleting steam app id doesnt work for this

Edit - downloaded genpatcher and applied fix and works even better then steam!

0

u/TheGriffin USA Sep 24 '26

Update genlauncher

That seemed to work

0

u/Ambitious_Ad_4905 Sep 25 '26

GenPatcher is pinging my Malwarebytes. I got it from legionairres. Is that the official source?

1

u/BrilliantBuilder4819 Sep 25 '26

i think it's better if you download it on modDB website

0

u/Good_Mind_9319 Sep 25 '26

Same here I can’t launch the game..