Skip to content

Play your Steam library's Windows games on a jailbroken PS5.

C++

Log how much owned DLC a game's Steam emulation gets

Leonardo Lobatoc4cc9dca34c4
diff --git a/src/steam/backend/steam_install_runner.cpp b/src/steam/backend/steam_install_runner.cpp
index 52ba247..2bc95a2 100644
--- a/src/steam/backend/steam_install_runner.cpp
+++ b/src/steam/backend/steam_install_runner.cpp
@@ -520,6 +520,11 @@ InstallRunner::Result SteamInstallRunner::Run(const StoredSession& session, std:
dlc.push_back(depot.owner_app);
const bool written = runtime::WriteSteamworksFacts(folder, depots, dlc, effective_language);
if (!written) log("steamworks_facts", "write-failed", folder.c_str());
+ else
+ log("steamworks_facts", "written",
+ ("depots=" + std::to_string(depots.size()) + " dlc=" + std::to_string(dlc.size()) + " listed=" +
+ std::to_string(app->dlc_app_ids.size()))
+ .c_str());
return written;
};
// An update's facts go in place with its record.