[section]Enabling Trading Cards[/section] To get started, create the following assets. More details on each are provided below: [list][*]5-15 Trading Cards [*]5-10 Emoticons [*]Badges for Level 1-5 and the Foil Badge [*]3-10 Still Profile Backgrounds[/list] Note: There is a complete checklist on the Community Items (e.g. …
You must provide 5 emoticons. A user will randomly receive one of these emoticons when crafting a badge. Images required: [list][*]5 Emoticons at both 18x18 and 54x54, both transparent PNG[/list] [callout=blue]NOTE: The 18x18 version is the most commonly viewed so ensure that the emoticon is legible at this size. …
\n" ); break; case k_ESteamInputType_PS4Controller: printf( "PS4 controller!\n" ); break; case k_ESteamInputType_PS5Controller: printf( "PS5 controller!\n" ); break; case k_ESteamInputType_SteamDeckController: printf( "Steam Deck!…
\n"); break; case k_ESteamInputType_PS4Controller: printf("PS4 controller!\n"); break; case k_ESteamInputType_PS5Controller: printf("PS5 controller!\n"); break; case k_ESteamInputType_SteamDeckController: printf("Steam Deck!…
[h4]Bundle format[/h4] [code] bundle_def : item_recipe , { ";" , item_recipe } item_recipe : item_def , [ "x" , quantity ] [/code] [h4]Bundle examples[/h4] [list] [*] Grant one each of itemdef 201, itemdef 202, itemdef 203: [code] type: bundle bundle: 201;202;203[/code] [*] Grant one instance with itemdef 101 and five instances of itemdef 102: [code] type: bundle bundle: 101x1;102x5[/code] [*] Random 90% chance of itemdef 501, 9% chance of itemdef 502, 1% chance of item 503: [code] type: generator bundle: 501x90;502x9;503x1[/code] [*] 90% chance of a common item; 10% chance of a special item. …
[h4]Exchange Example[/h4] [code] // require one of: // - one item#100 and one item#101; or, // - five of item#102; or, // - 3 of item#103 and three of item#104. "exchange":"100,101;102x5;103x3,104x3" // requires one left glove and one right glove: "exchange":"handed:left,handed:right" // require three trees plus something fancy: "exchange":"type:tree*3,quality:fancy" // require either: // - item#201 and item#202; or, // - a banana-flavored item and a heavy object "exchange":"201x1,202x1;flavor:banana,mass:heavy" // recycle five "common" artifacts into one "special" artifact: { "name":"special_generator", "type":"generator", "tags":"rarity:special", "bundle":...., "exchange":"rarity:common*5", ... } [/code] [subsection=PromoItems]Promo Items[/subsection] Promotional items can be granted to players based on a few different criteria: [list] [*] Ownership of an appid (including a DLC appid) [*] An achievement [*] Playtime in an appid [*] Manually granted - client needs to call AddPromoItem with the specific item def id. …
[/list] [/list] [/list] [b]Example Response:[/b] [code=xml] <response> <result>OK</result> <params> <orderid>938473</orderid> <transid>374839</transid> </params> </response> [/code] [section=GetReport]GetReport[/section] [code=http]GET https://partner.steam-api.com/ISteamMicroTxn/GetReport/v5/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr] [td][b]key[/b][/td][td]string[/td] [td]✔[/td] [td]Steamworks Web API [url=https://partner.steamgames.com/doc/webapi_overview/auth#publisher-keys]publisher key[/url] with [b]Microtransaction[/b] permissions.…
Change history: [list] [*] [b]Version 2[/b] - Changed result to returns arrays. [*] [b]Version 3[/b] - Changed to string formatted 64 bit numbers. [*] [b]Version 4[/b] - Added [code-inline]storepurchasereference[/code-inline] section to return sales information for DLCs sold on the store that reference in-game microtransaction items. [*] [b]Version 5[/b] - Added new status values to for transactions to reflect suspected fraud or friendly fraud. [/list] [b]Response:[/b] [list] [*] [code-inline]response[/code-inline] [list] [*] [code-inline]result[/code-inline] - Result of the operation. …
Refer to the template (downloadable above) for the area in the middle occluded by the profile.[/h4] [list] [*]300 x 168px .webm <1MB (for preview purposes) [*]300 x 168px .mp4 <1MB (for preview purposes) [*]1920 x 1080px .jpg (still) < 350KB [*]1920 x 1080px .mp4 <4MB [*]1920 x 1080px .webm <4MB [/list] [img]https://steamcdn-a.akamaihd.net/steamcommunity/public/images/steamworks_docs/english/anim_BG_GIF.gif[/img] [url=https://store.steampowered.com/points/shop/c/backgrounds](Click here to see examples live in the Points Shop.)…
[/list] [subsection]Asset Checklist[/subsection] [list] [*]1920 x 1200px .webm or .mp4 (full-size movie / with sound) < 50MB [*]1920 x 1200px .png, .jpg, .webp (still) < 10MB [/list] [docfile=steam_deck_startup_movie_template.zip]Download the templates here[/docfile] Please remember that, under the Steam Distribution Agreement, all marketing materials you provide need to be non-infringing. …
unSessionID ) { continue; } int nResolutionX = 0, nResolutionY = 0; SteamRemotePlay()->BGetSessionClientResolution( unSessionID, &nResolutionX, &nResolutionY ); if ( nResolutionX > nMaxResolutionX ) { nMaxResolutionX = nResolutionX; nMaxResolutionY = nResolutionY; } } if ( pnX ) { *pnX = nMaxResolutionX; } if ( pnY ) { *pnY = nMaxResolutionY; } return ( nMaxResolutionX > 0 && nMaxResolutionY > 0 ); } [/code] [subsection=ShowRemotePlayTogetherUI]ShowRemotePlayTogetherUI[/subsection] [code=cpp]bool ShowRemotePlayTogetherUI();[/code] Show the Remote Play Together UI in the game overlay. …
[/td][/tr] [tr=k_ERemotePlayMouseButtonMiddle][td][b]k_ERemotePlayMouseButtonMiddle[/b][/td][td]0x0010[/td][td]The middle mouse button.[/td][/tr] [tr=k_ERemotePlayMouseButtonX1][td][b]k_ERemotePlayMouseButtonX1[/b][/td][td]0x0020[/td][td]The first extended mouse button.…
PowerFormId=1b290fb6-bf33-4529-b6b4-0c05174271f7&env=na1&acct=8eb740d5-3d42-42a7-b032-df44d160f47f&v=2]commercial/government use license[/url]. A PDF copy for your prior review can be downloaded [docfile=2023STEAMVRCOMMERCIALINSTALLATIONLICENSE.pdf]here[/docfile]. …
If this is the case on your system you may see an error message reporting one or several of the following of the following files missing on your system: d3dx10_43.dll MSVCP140.dll VCRUNTIME140.dll MSVCP140.dll This issue can generally be addressed by installing the Microsoft DirectX Runtime and the Microsoft Visual C++ Redistributable. …
The trailer should be the highest resolution that you have, up to 1920 x 1080 resolution, 30/29.97 or 60/59.94 fps, high bit rate (5,000+ Kbps) and in .mov, .wmv, or .mp4 container files. H.264 video and AAC audio is preferred, but we can transcode from many formats. 16:9 aspect ratio is preferred since the Steam client is optimized for widescreen, but 4:3 aspect ratio is accepted. …
The most common reason for a trailer to fail is the resolution of the video. Please ensure you use a common resolution such as 1920x1080 or 1280x720 to avoid any downstream processing issues. Another common issue is an unsupported audio sample rate (please use 44Khz or 48Khz). …
[list] [*] In your game code: set your camera-angles-per-mouse-pixel ratio to 0.022 degrees per pixel. i.e. one mouse dot will turn your camera 0.022 degrees. [*] Set your default user mouse sensitivity to 2.5x. [*] These are the standards used in Source 2 engine games. This is why the default "Dots per 360 setting" is 6545. 360degrees / ( 0.022 * 2.5 ) = 6545.45' [/list] [/list] [subsection]Graphics[/subsection] [list] [*][b]Vulkan API[/b]: We recommend targeting Vulkan as your primary graphics API for best performance and battery life. If you use an engine like Unity or Unreal, enabling Vulkan in your build for all users will result in the highest performance/longevity. (Note: Proton includes a DirectX-to-Vulkan translation layer. If your game or engine has high-quality DirectX support but no Vulkan support, it's likely that this automated translation layer will exceed the performance of doing a custom Vulkan implementation.) [*][b]Video/Audio Codecs[/b]: We recommend using standalone codecs (eg., VP9 or AV1) rather than codecs that are tied to a specific vendor (eg., WMF). …
[/td][/tr] [tr=k_EAppType_DLC][td][b]k_EAppType_DLC[/b][/td][td]0x020[/td][td]Downloadable Content.[/td][/tr] [tr=k_EAppType_Guide][td][b]k_EAppType_Guide[/b][/td][td]0x040[/td][td]Game guide, PDF etc[/td][/tr] [tr=k_EAppType_Driver][td][b]k_EAppType_Driver[/b][/td][td]0x080[/td][td]Hardware driver updater (ATI, Razor etc.)…
[/td][/tr] [tr=k_EAppType_Plugin][td][b]k_EAppType_Plugin[/b][/td][td]0x1000[/td][td]Plug-in types for other Apps.[/td][/tr] [tr=k_EAppType_Music][td][b]k_EAppType_Music[/b][/td][td]0x2000[/td][td]Music files.…
. - With their GetDetailedSales querying completed, Partner X would then stores off the result_highwatermark value (120) from GetChangedDatesForPartner for future calls. - The next day (May 5th, 2025), Partner X starts their workday by calling GetChangedDatesForPartner again (using a highwatermark value of 120, the stored value from the previous day's call). …
Partner X would also store off new values for dates they don't already have (2025/05/05) - Finally, Partner X would then store off the result_highwatermark value (163) from GetChangedDatesForPartner until their next call. …
\pipe\HID#VID_045E&PID_028E&IG_00#045E&0B00&00045EB00704DAF3#0#20160 for an Xbox one controller with a VID/PID of 0x45e/0x0b00. Example code: [code] #define VALVE_DIRECTINPUT_GAMEPAD_VID 0x28DE #define VALVE_DIRECTINPUT_GAMEPAD_PID 0x11FF #define STEAM_INPUT_VID_INDEX 37 #define STEAM_INPUT_PID_INDEX 42 #define STEAM_INPUT_SIAPI_HANDLE_INDEX 47 #define STEAM_INPUT_GAMEPAD_INDEX 64 #define MAX_PATH 260 //... …
= (UINT)-1 ) { if ( rdi.hid.dwVendorId == VALVE_DIRECTINPUT_GAMEPAD_VID && rdi.hid.dwProductId == VALVE_DIRECTINPUT_GAMEPAD_PID ) { uint32 ulVID = strtoul( &devName[STEAM_INPUT_VID_INDEX], NULL, 16 ); uint32 ulPID = strtoul( &devName[STEAM_INPUT_PID_INDEX], NULL, 16 ); uint64 ulDeviceHandle = strtoull( &devName[STEAM_INPUT_SIAPI_HANDLE_INDEX], NULL, 16 ); uint32 unGamepadIndex = strtoul( &devName[STEAM_INPUT_GAMEPAD_INDEX], NULL, 16 ); Log( "Raw input device: VID = 0x%x, PID = 0x%x, handle = 0x%llx, index = 0x%x, %s\n", ulVID, ulPID, ulDeviceHandle, unGamepadIndex, devName ); // You can now use either the VID/PID to identify the device directly or use ulDeviceHandle with GetInputTypeForHandle ESteamInputType inputType = SteamInput()->GetInputTypeForHandle( ulDeviceHandle ); switch( inputType ) { case k_ESteamInputType_Unknown: printf( "unknown!…
Generator Legendary applies the tag [code-inline]quality:legendary[/code-inline] and creates sword or shield items, while Generator Common applies the tag [code-inline]quality:common[/code-inline] and also creates sword or shield items. [code] itemdefid: 10 type: item name: Sword itemdefid: 11 type: item name: Shield itemdefid: 100 type: generator name: Generator A bundle: 101x1;102x9 tags: color:red itemdef: 101 type: generator name: Generator Legendary bundle: 10;11 tags: quality:legendary itemdef: 102 type: generator name: Generator Common bundle: 10;11 tags: quality:common [/code] Another way to assign tags would be to use the [code-inline]tag_generator[/code-inline] item definition type. …
In the end you could end up with "Legendary Red Shield with Flames" or a "Common Red Sword with Lasers." [code] itemdefid: 10 type: item name: Sword itemdefid: 11 type: item name: Shield itemdefid: 100 type: generator name: Generator A bundle: 10;11 tags: color:red tag_generators: 101;102 itemdefid: 101 type: tag_generator name: Tag Generator Quality tag_generator_name: quality tag_generator_values: legendary:1;common:9 itemdefid: 102 type: tag_generator name: Tag Generator FX tag_generator_name: fx tag_generator_values: flames;sparks;lasers [/code] The format for the [code-inline]tag_generators[/code-inline] field is a list of all item definition ids of the tag generators you want applied, separated by the ";" character. …
[subsection]Apple macOS[/subsection] Steam officially supports Intel Mac, OS X version 10.11 (El Capitan), or later. [b]Notarization[/b] Starting October 14th, 2019 Steam will require all new macOS Applications to be 64-bit and notarized by Apple. …
Valve approves of these efforts but does not officially endorse or provide support for them. Steam on Linux supports both x86 and x64, it's highly recommended that you ship 64 bit binaries as the vast majority of users will be running that. The [url=https://github.com/ValveSoftware/steam-for-linux]Steam for Linux Client[/url] Github page is very active and contains the bug tracker for the Linux Steam Client. …
Once you've confirmed that you've [doclink=/store/promo/organizers#10]read the rules[/doclink], Steam will enable a sale page so you can begin building your event. At this time, your event will be reviewed for any potential curated homepage featuring. …
For clarity, this includes pages such as "Developer X's July Sale", "Publisher X's Autumn Sale", and other adhoc pages. Developer, Publisher, and Franchise sale pages are still available once a calendar year regardless of curation status. …
[b]Design:[/b] These are small, so for best results focus on making the [b][color=#ca5029]logo clearly legible.[/color] [/b] [b]Size:[/b] Please provide '462px x 174px' image. From that, two smaller sizes (120x45 and 184x69) capsules are automatically generated. [b]Requirements: [/b]Small Capsule should contain readable logo, even at smallest size. …
[docimg=screenshotsuitable.PNG]screenshotsuitable.PNG[/docimg][/list] [b]Size:[/b] 1920x1080 minimum. 16:9 aspect ratio [section=page_background]Page Background [color=#acb5be]Optional[/color][/section] [docimg=dota_page_bg_raw.jpg]dota_page_bg_raw.jpg[/docimg] [b]Usage:[/b] This is the image that may be used in the background of your store page. …
[h4]Example[/h4] A basic one will look like this: [code]"InstallScript" { "Registry" { "HKEY_LOCAL_MACHINE\\SOFTWARE\\Foo\\Bar" { "string" { "Install_Path" "%INSTALLDIR%" "Exe_Path" "%INSTALLDIR%\\foobar.exe" } "dword" { "PatchVersion" "12" } } } "Run Process" { "DirectX" { "HasRunKey" "HKEY_LOCAL_MACHINE\\Software\\Valve\\Steam\\Apps\\480" "Process 1" "%INSTALLDIR%\\DirectX\\DXSETUP.exe" "Command 1" "/silent" "NoCleanUp" "1" } } } [/code] The second keyname after the root describes what kind of action will take place. …
Second, mark an install script using the [code-inline]InstallScript[/code-inline] directive in a depot build script. You can see an example on the [doclink=sdk/uploading#5]Uploading to Steam - Advanced Build Scripts[/doclink] page. During the build process, two things take place: [list] [*] The install script is uploaded to Steam and cryptographically signed. …
[/callout] [section]Overview[/section] If Steam error reporting is implemented then Steam will automatically upload mini dumps of any exception after 10 similar exceptions are thrown. You can view the details of each crash on the [url=https://partner.steamgames.com/errors]Error Reports[/url] page of the Steamworks Partner backend. …
You must hook up the Win32 [url=https://msdn.microsoft.com/en-us/library/5z4bw5h5.aspx]_set_se_translator[/url] function which calls a function you create to handle the minidump. In that function you can use [api]steam_api::SteamAPI_SetMiniDumpComment[/api] and [api]steam_api::SteamAPI_WriteMiniDump[/api] to notify Steam about the impending crash. …
[introblock=Achievements_1.gif] [h5]In Brief[/h5]Use achievements to reward players for hitting certain milestones or for interacting with your game in particular ways. [h5]Level of integration[/h5]10 minutes and under 10 lines of code. Steamworks SDK integration necessary. [/introblock] [section]Introduction[/section] Achievements can be used as a way to encourage and reward player interactions and milestones within your game. …
[/td][/tr] [tr][td][b]x[/b][/td][td]float[/td][td]The current state of this action on the horizontal axis.[/td][/tr] [tr][td][b]y[/b][/td][td]float[/td][td]The current state of this action vertical axis.…
[table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]rotQuatX[/b][/td][td]float[/td][td]Sensor-fused absolute rotation (will drift in heading), x axis[/td][/tr] [tr][td][b]rotQuatY[/b][/td][td]float[/td][td]Sensor-fused absolute rotation (will drift in heading), y axis[/td][/tr] [tr][td][b]rotQuatZ[/b][/td][td]float[/td][td]Sensor-fused absolute rotation (will drift in heading), z axis[/td][/tr] [tr][td][b]rotQuatW[/b][/td][td]float[/td][td]Sensor-fused absolute rotation (will drift in heading), w axis[/td][/tr] [tr][td][b]posAccelX[/b][/td][td]float[/td][td]Positional acceleration, x axis[/td][/tr] [tr][td][b]posAccelY[/b][/td][td]float[/td][td]Positional acceleration, y axis[/td][/tr] [tr][td][b]posAccelZ[/b][/td][td]float[/td][td]Positional acceleration, z axis[/td][/tr] [tr][td][b]rotVelX[/b][/td][td]float[/td][td]Angular velocity, x axis[/td][/tr] [tr][td][b]rotVelY[/b][/td][td]float[/td][td]Angular velocity, y axis[/td][/tr] [tr][td][b]rotVelZ[/b][/td][td]float[/td][td]Angular velocity, z axis[/td][/tr] [/table] [section=enums]Enums[/section] These are enums which are defined for use with ISteamController. …