๐น๏ธDownloadable Content
Understanding Steam DLC and the Heathen Engineering tool kit
Last updated
Understanding Steam DLC and the Heathen Engineering tool kit
Last updated
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Steam Downloadable Content aka DLC allows you to sell expansions, seasons and other add-ons for your game through the Steam store and reliably and securely detect when a user owns that add-on
First, you need to create your DLC on the Steam Developer portal. https://partner.steamgames.com/
Log into your Steam Developer Portal and access your app's admin page. Look for the Technical Tools section and select the Edit Steamworks Settings option.
From there scroll down until you find the All DLC section and click Add New DLC button
Populate the form with the names of the DLC you would like to create making sure to start the name with the name of your game. For example, our game's name is Tรบatha Legends so we might a DLC something like Tรบatha Legends - The Iron King
You **MUST** publish your changes in the Steam Developer Portal before they will be accessible via Steam API. In the Steam Developer Portal when you have pending changes you will see a red banner at the top of the screen ... click it and follow the instructions.
The Downloadable Content Object helps you track the status of DLC. You can import the DLC you have defined in the Steam Developer Portal for this application by running the simulation such that Steam API can initialize and then clicking the Import button on the Steam Settings Downloadable Content list
Once completed all of the DLC registered to your application will be listed under your Steam Settings
And can be used to test ownership of the indicated DLC. Please see the Downloadable Content Object for details on the use of the object.
Modern DLC are not actually content that you download, they are far more offten locked content that you unlock through a purchase.
In Steam you don't "own" a game or app, you are "subscribed" to it. So to check for ownership of a given DLC, use the Steam Is Subscribed App node.
Assuming app is a valid AppId_t
note that AppId_t
is a Steamworks typedef
for uint32
.
It's often handy to iterate over all your DLC such as to list them in the game or open the Overlay to the store pages. We have provided a number of nodes to help you do just that.
You can get the count of all the DLC for the app via
with that, you can iterate through each and fetch details about a DLC via
Finally, if you are doing traditional DLC that is installed we provide you with node to check for installation, start the installation and uninstall. Note that install and uninstall is a request, Steam will attempt it if it can but if the user doesn't own the DLC, or the files are locked by the game running them, etc. then it may not complete.
To install DLC
Check if a DLC is installed
Uninstall a DLC