protonscr

Invalid platform SteamCMD errors for L4D2

steamopen SteamCMD
ValveSoftware/steam-for-linux#11522 · opened 2024-11-27 by Cherry · updated 2026-07-25 · 19 comments · github
CCherry 2024-11-27 github

Steps for reproducing this issue:

  1. ./steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir ./l4d2 +login anonymous +app_update 222860 validate +quit

Observe the following issue:

Logging directory: 'E:\Steamcmd/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1731433425
-- type 'quit' to exit --
Loading Steam API...OK
"@sSteamCmdForcePlatformType" = "linux"

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to install app '222860' (Invalid platform)
TTheFlash787 2024-11-28 github

Can confirm, there isn't a way to retrieve Linux server files via SteamCMD anymore -- even through DepotDownloader.

MMathewG7 2024-11-28 github

Can't download server on linux, I confirm the same error

Llittlefroy 2024-11-28 github

try login to steam with a valid account before downloading, valve Removed this app from package [Anonymous Dedicated Server Comp]
https://steamdb.info/app/222860/history/

MMathewG7 2024-11-28 github

Has anyone been able to download the dedicated server on linux?

VVYRNACH 2024-11-29 github

try login to steam with a valid account before downloading, valve Removed this app from package [Anonymous Dedicated Server Comp] https://steamdb.info/app/222860/history/

this is working fine. I suspect Valve has taken this drastic step due to the amount of exploit/vulnerability abuse of server and matchmaking infra

Ffsj2009yx 2024-11-29 github

It seems to only work successfully when logged in to an account that has L4D2,that make me feel unsafe

CCyborgmatt 2024-12-02 github

It seems that these apps are being transitioned to a new "freetodownload" tag, and the older package is being phased out. Most apps now use this new tag and should work with anonymous login. However, a platform error still seems to occur.

As a temporary workaround, you can add an extra step to your build script to first set the PlatformType to windows, then switch it back to linux afterward. Here’s an example:

/steamcmd/steamcmd.sh +force_install_dir /home/gameservername +@sSteamCmdForcePlatformType windows
/steamcmd/steamcmd.sh +force_install_dir /home/gameservername +@sSteamCmdForcePlatformType linux
Ppsychonic 2025-01-03 github

even through DepotDownloader.

It works fine in DepotDownloader, as of release 2.7.4. It previously had no logic to handle the new freetodownload flow.

SteamCMD was updated for that flow, but has an apparent bug around platform handling when determining whether or not freetodownload applies to the current app before making the request out to attempt the download.

Ttyabus 2025-03-05 github

Can confirm this still happens as of today.

?ghost 2025-05-21 github

Yup still an issue.

Lliueic 2025-05-21 github

Yup still an issue.

You could change it to windows to download and then verify it with Linux. In many docker environments, you can get it for init script.

Ddgibbs64 2025-06-22 github

Can confirm this is still an issue. Is there anyone at valve that can resolve this issue? Feels like L4D2 has been forgotten during some SteamCMD maintenance and was never fixed.

Vvstyler96 2025-06-22 github

Yup still an issue.

You could change it to windows to download and then verify it with Linux. In many docker environments, you can get it for init script.

As in other repos, I discourage to do this, despite the installation works, it leads to an unstable server if you install additional plugins.

Lliueic 2025-06-23 github

Yup still an issue.

You could change it to windows to download and then verify it with Linux. In many docker environments, you can get it for init script.

As in other repos, I discourage to do this, despite the installation works, it leads to an unstable server if you install additional plugins.

It works quite well on my server till now. Maybe you could post your logs or plugins, and we could solve this problem together.

?ghost 2025-06-23 github

Is there anyone at valve that can resolve this issue?

I'm sure there is, but can is not will. I've got tickets on here open for years with no activity and certainly no fix. L4D ironically has been left for dead...and Valve doesn't seem to care about fixing anything that isn't related to their console or if the issue cuts into sales. Cue releasing TF2 source...why devote employee time to something when you can get the community to do it for free. Cue wait and see if they don't release l4d sources soon. This ticket will soon be open for a year as well...then two, then three. Call me cynical, pessimistic, jaded but...

Ggili-gili 2025-11-18 github

Not surprised to see this not being fixed after 4 years
Because it's Valve

Vvstyler96 2025-11-19 github

Not surprised to see this not being fixed after 4 years
Because it's Valve

I already provided the reason but people don't believe hehe

RRayneYoruka 2026-04-22 github

Its still an issue unfortunately.

HHairyMilkshakes 2026-07-25 github

Almost 2 years and still not fixed lol

Nothing extracted yet.