Skip to content

feat(Steam): SteamCMD acquisition path — implementation offer, and how to split it #289

Open

Description

@bcupello

Following CONTRIBUTING's "discuss first", before opening anything: I have a working
SteamCMD-based implementation of most of the Steam Development Roadmap (project 4) and
would rather agree the shape with you than drop a large PR on work you have assigned to
yourself.

Working, tested against a real account on Engine 2.6.1:

Board item State
SteamCMD installation done, installed from the Accounts pane
Functional signin + steam guard done, incl. Steam Mobile App approval
Fetch game list 103 games enumerated from 113 licences
Game installing + progress handling done — 38 GB title installed, rate/ETA derived
Game update checker done, from appmanifest_<appid>.acf
Game moving done
Custom install directory done
SteamCMD autoupdate parser done (exit code 42 is the mechanism)

Launching works through the existing Wine path; titles needing a live Steam client
naturally don't, and the failure now explains itself instead of silently doing nothing.

Four things I'd like your call on:

  1. How to split it. I'd propose three small independent fixes first, then the feature:

    • fix: EpicGamesGameManager.install(game:qualityOfService:) recurses until the stack
      dies — the typed overload requires forPlatform: with no default, so the witness
      re-selects itself. StorefrontGameManager.install is unusable for Epic today.
    • fix: LocalGameManager.move(game:to:) builds its operation with type .uninstall
      and never calls queueOperation, so moving silently does nothing.
    • fix: one unknown storefront tag in games empties the entire library. Measured on
      0.6.0: seeding one unreadable row plus one ordinary local game leaves 0 of 2
      surviving, because decodeAndGet swallows the array-wide error into nil. A try?
      in AnyGame.init(from:) degrading to base Game fixes it. Worth shipping ahead of
      any new storefront case, since the build that needs the tolerance is the older one.
    • feat(Steam): the acquisition path.
  2. Fetch game list is not fully deliverable as written. licenses_print caps the
    apps it prints per package ((N in total) and an elided list), appcache/appinfo.vdf
    is binary VDF, and the Web API needs a key and a public profile. I get a complete
    list by re-reading elided packages through package_info_print, then resolving names
    and types with batched app_info_print. Worth splitting that caveat out as its own
    item?

  3. The build breaks on newer Xcode. CI is green on macos-26 today, but on Xcode
    26.6 a clean whole-module build fails with eight sending '…' risks causing data races
    errors, all in existing files (EpicGamesGameManager, LegendaryInterface,
    GameCard+Extensions, the Epic install/uninstall views). Nothing to do with Steam —
    should I open that separately with the list?

  4. Three smaller ones. I have a dependency-free self-check for the VDF/ACF and
    SteamCMD output parsers (67 assertions over verbatim SteamCMD captures, compiled
    standalone since there's no test target) — want it, or keep the PR to Mythic/? I also
    have a design document recording the decisions and their rejected alternatives; same
    question. And I added pt-BR for the strings I introduced while testing in that locale —
    happy to strip those if Crowdin should own them. No existing catalogue entry is
    modified, though Sign In, Verify and Update do have empty pt-BR upstream, which is
    why the Accounts pane shows an English button beside a translated status line.

Target branch: the four branches are cut from main since that's the default, but
dev is three commits ahead — say the word and I'll rebase.

Happy to be told this belongs on your branch instead — the measurements above are useful
either way.

Activity

  1. bcupello commented on Aug 21, 2026

    @bcupello
    Author

    Branches are up and the PRs are open, in dependency order:

    Each is cut from main; say the word and I will move them to dev. Close any of them freely if you would rather take the work a different way — the measurements in the description are the useful part.

  2. bcupello commented on Aug 21, 2026

    @bcupello
    Author

    Launch behaviour, now measured end to end on the same machine — recording it because it pins the engine ceiling precisely rather than by inference.

    Acquisition, on Engine 2.6.1: SteamCMD installed from the Accounts pane; signed in with a Steam Mobile App approval; 259 owned app IDs resolved from 113 licences into 103 games; Palworld pulled at 41.3 GB (38 GB on disk), ending Success! App '1623730' fully installed. with StateFlags 4 and buildid == TargetBuildID.

    Launch: the title starts, reaches RHI initialisation — far enough for Unreal to warn about the graphics driver, since D3DMetal presents as an AMD adapter — and then exits. Restoring steam.exe into the container and starting the client first does not change it:

    connection_log:  [Logged Off, 0, 0] [U:1:0]
    config/loginusers.vdf:  absent
    webhelper.txt:  startcount=6, 7, 8
    

    So the chain is: the game needs SteamAPI_Init, which needs a logged-in client; the client process runs but never logs in; logging in needs its Chromium 126 helper; that helper crash-loops on wine-7.7. Each link measured, none inferred.

    Two notes for whoever picks this up:

    • Having the client process alive is not sufficient, which I had assumed at first. It has to be signed in.
    • find_builtin_dll cannot find builtin library for steamclient64.dll is not the cause, though it looks like one. That is wine reporting it has no built-in replacement and will load the shipped native DLL, and it appears for every native DLL a game uses. Worth saying because it is the first thing that shows up when you look.

    None of this changes #293, which is acquisition only — it just means the "titles needing a live client cannot launch" line in that description is now a measurement rather than an expectation.

  3. bcupello commented on Aug 21, 2026

    @bcupello
    Author

    Correction to my previous comment. I said titles needing a live Steam client "cannot launch". That is wrong, at least for the one I tested, and the earlier comment overstated a measurement I had not actually taken — I had inferred the outcome from the launch exiting, without checking whether the game itself had run.

    Palworld does launch and run under Engine 2.6.1. Evidence from the container, not from watching the screen:

    • AppData/Local/Pal/Saved/SaveGames/UserOption.sav written — it reached its own options

    • webcache_4430/ and Logs/cef3.log written — its embedded CEF (the EOS overlay) initialised

    • six sessions across half an hour, with its own UI rendering

    • it gets far enough to initialise graphics and check the driver version — D3DMetal presents as an AMD adapter, so Unreal warns about it:

      Palworld graphics driver warning

    What actually fails is online authentication, and the game says so itself:

    Palworld running, EOS auth failure

    ConnectLoginNoEAS() failed due to the platform OSS giving an empty auth token — EOS asks the platform subsystem (Steam) for an auth ticket and gets nothing, because the client is present but not signed in. Behind it: ULoginDefaultOnlineSubsystemAsyncFunction::Activate() failed.

    Separately it then crashes, and this part I have not diagnosed:

    ErrorMessage: Unhandled Exception: 0xc06d007e
    EngineVersion: 5.1.1-0+++UE5+Release-5.1
    

    0xc06d007e is a delay-load failure — a module not found — and cef3.log shows at least one real one (could not LoadLibrary: msvproc.dll). Whether that is the same one, and whether it is fixable with a redistributable, I do not know.

    So the accurate statement, replacing mine: the engine ceiling blocks the Steam client's own UI and therefore anything needing a Steam auth ticket — not launching as such. A title that never asks for a ticket may well be fine. That is a materially better position than I described, and it narrows what an engine bump would buy.

    The client's helper does still crash-loop, which is what leaves the ticket empty:

    Steam client webhelper crash loop

    I will correct the same sentence in #293.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions