Steamworks Documentation
Found 354 search results for "Steam games compatibility PC"
Step by Step: Leaderboards

bIOFailure) { m_nLeaderboardEntries = min(pCallback->m_cEntryCount, 10); for (int index = 0; index < m_nLeaderboardEntries; index++) { SteamUserStats()->GetDownloadedLeaderboardEntry( pCallback->m_hSteamLeaderboardEntries,index,&m_leaderboardEntries[index],NULL,0); } } } [/code] [section]Step 3 - Integrating into your game[/section] The following is a complete listing of code snippets that you would need to integrate into your game in the appropriate locations. …

[/code] [subsection]Processing Callbacks[/subsection] To ensure that we process all Steam callbacks we need to regularly pump for new messages. This is achieved by adding this call to the game loop. [code=cpp] ... SteamAPI_RunCallbacks(); ... …

IBroadcastService Interface

Provides access to Steam broadcasts. [b]NOTE:[/b] This is a Service interface, methods in this interface should be called with the [code-inline]input_json[/code-inline] parameter. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=PostGameDataFrame]PostGameDataFrame[/section] [code=http]POST https://partner.steam-api.com/IBroadcastService/PostGameDataFrame/v1/[/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 publisher authentication key.…

Authentication using Web API Keys

You can create a user Web API key from the [url=https://steamcommunity.com/dev/apikey]registration page on the Steam Community[/url]. [section=publisher-keys]Publisher Keys[/section] Game developers can create Web API keys that are associated with their Steamworks publisher account. …

[/list] The four types of Web API Key Permissions are: [list][*]Microtransactions for initializing, finalizing, and reconciling in-game purchases. [*]Sales Data calls to the IPartnerFinancialService API. [*]Economy calls for games that use the Steam Inventory Service. [*]General API calls for things like authenticating a user or checking ownership of a DLC-- everything not included in the above three permissions. …

Adding Community Moderators

[section]Overview[/section] Various parts of the Steam Community are moderated by a combination of official Valve staff, community moderators, and representatives of the game developers and publishers. …

Below are more details on how to add moderators and what they can control. If your account has permissions to moderate content in the Steam Community, you will see an 'admin' tab to the far right when viewing a game or software's Steam Community Hub. [section]Adding moderators and setting permissions[/section] You can promote trusted community members or add internal team members to help moderate your Steam Community Hub. …

Browsing Configurations

[docimg=browse_configs_2.png]browse_configs_2.png[/docimg] This is the one we currently have selected, which was selected for us by default when we started the game for the first time. The developer can upload configuration for multiple different controller types -- such as PlayStation 4 controller, Steam Controller, and Xbox 360/One controllers, and on the first run, Steam will detect your device and select the appropriate configuration. …

[section]Templates[/section] Sometimes you just won't be happy with a game's official configuration, or you'll want to create your own config but want to skip the tedium of setting up all the basic boilerplate. …

ISteamClient Interface

Returns NULL if any of the arguments are not valid. [subsection=GetISteamGameServer]GetISteamGameServer[/subsection] [code=cpp]ISteamGameServer * GetISteamGameServer( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]hSteamUser[/b][/td][td][apitype]ISteamClient::HSteamUser[/apitype][/td][td]The user handle to get the interface from.…

Returns NULL if any of the arguments are not valid. [subsection=GetISteamGameServerStats]GetISteamGameServerStats[/subsection] [code=cpp]ISteamGameServerStats * GetISteamGameServerStats( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]hSteamUser[/b][/td][td][apitype]ISteamClient::HSteamUser[/apitype][/td][td]The user handle to get the interface from.…

Release Options

This is a great way to start building an audience and providing customers the ability to add your game to their wishlist in anticipation of your launch. You must have a Coming Soon page up on Steam for at least two weeks before you can release your product. …

To learn more about visibility at launch, please see [doclink=marketing/visibility]Visibility on Steam[/doclink]. [section]Pre-Purchase[/section] Pre-Purchases are not a self-served feature and will need to be set up by Valve. We normally don't recommend pre-purchase launches since spreading out sales across a few weeks during a pre-purchase can make it difficult for your game to have a successful launch day on Steam. …

Action Set Layers

Action set layers are intended for narrow use cases and a good practice is to apply and remove them only on specific game state changes. [/callout] For games with native Steam Input support, the developer can define specific action set layers activated by the game's code. …

[section]A practical example[/section] Imagine a class-based shooter with vehicles. This game has native Steam Input support and makes use of action set layers. For basic gameplay, a base action set is always active and covers running around, picking up items, jumping, etc. …

Common Redistributables

[section=overview]Overview[/section] Many games and applications require shared components to be installed on the user's machine before they can successfully run. Steam has long used [doclink=sdk/installscripts]install scripts[/doclink] to allow these redistributables to be installed. …

[section=Testing]Testing Common Redists[/section] If you want to test your installation with your selected common redistributables, the ideal method is by using a clean OS image on a machine or VM. You can also force Steam to reinstall common redistributables by deleting the following registry key: [list] [*] [b]32-bit Windows[/b]: HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\Apps\CommonRedist [*] [b]64-bit Windows[/b]: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Valve\Steam\Apps\CommonRedist [/list] A subkey is created in this key for each common redistributable which has been installed, so you can delete individual subkeys to test various partially-installed states as well. …

Sale Page Section: Apps And Bundles

Smart section (requires a linked app list)[/subsection] This is a set of options that will populate an app section using some pre-defined criteria. This is most often used to personalize the display of games for each user visiting your page, for example by showing the player games that are part of this event that are on their withlist or are recommended to them by Steam. …

You'll either type in the game name or appID and select the game from the drop-down. [section]Options for display of games[/section] These options can be combined in a variety of ways to achieve the look you are going for. …

Reporting and Payments FAQ

What apps are eligible for accruing additional revenue share?[/b] A. Additional revenue share is accrued towards any 'Game' app or 'Application' app on Steam. To check your app type, navigate to the 'Edit Steamworks Settings' page, which is found under the 'Technical Tools' heading on the App Landing Page. …

The Additional Revenue Share system will attribute revenue from this package to the parent app for the DLC, so long as the parent app is a Game or Application. [*] [b]Q. I created a package that has more than one Game or Application app in it, how does Steam decide which app accrues additional revenue share?…

Touch Menus

A touch menu is an on-screen overlay of game actions, displayed as a grid of choices selectable with a controller. These are very similar to [doclink=features/steam_controller/radial_menus][/doclink], except that instead of aiming a virtual pointer to select an action, the player must touch a specific location on the input device. …

The method for doing this is identical to the one described in the [doclink=features/steam_controller/radial_menus][/doclink] document. Touch menus and radial menus draw from the exact same source files. [section]Further Reading[/section] [list] [*] [url=http://www.gamasutra.com/blogs/LarsDoucet/20170125/289904/The_Steam_Controller_Configurators_Untapped_Power.php]The Steam Controller Configurator's Untapped Power[/url] [*] [doclink=features/steam_controller/input_source][/doclink] [*] [doclink=features/steam_controller/input_source_modes][/doclink] [*] [doclink=features/steam_controller/mode_shifting][/doclink] [*] [doclink=features/steam_controller/mouse_regions][/doclink] [*] [doclink=features/steam_controller/radial_menus][/doclink] [/list] …

Creating and Configuring Deluxe Packs

This is sometimes called Special Editions or Soundtrack Editions. Deluxe Editions can be very successful on Steam if you have quality content (In-game items, DLC, Soundtracks, Artwork, etc...) to add to the base game. We recommend that you offer the Deluxe Edition at a price slightly above, but still relatively close to the base game price. …

[section]Parts of a Deluxe Edition[/section] A Deluxe Edition is typically comprised of the base game plus some additional content. In most cases you will also want to provide a path for customers to upgrade from your base game to add on the Deluxe Edition content. …

Update Visibility Rounds

With Update Visibility Rounds, we've dedicated space on the front page of the Steam store to highlighting products where the developer has a major update they would like to tell customers about. These appear to customers that have your game in their library or on their wishlist. …

Note that the recent community announcement needs to have been posted within the last 30 days. [*] When you get everything entered in, you're ready to start. [*] Your product will be added to a pool of titles that are opted in, and randomly selected to appear each time a customer views the home page until your visibility round ends. [*] Each visibility round will appear on the front page of Steam for up to 30 days. The number of impressions and clicks will depend on how many customers your game has and how many users have your game on their wishlist. …

ISteamMicroTxn Interface

Notification of authorization comes either through the Steam client (your game registers to receive notification) or through the user being redirected back to your web site (return URL specified when you redirect a user's web session to Steam). …

[/td][/tr] [tr][td][b]billingtype[0][/b][/td][td]string[/td][td][/td][td]Optional recurring billing type. Valid options are: [b]"Steam"[/b] or [b]"Game"[/b] [list][*]Steam: Steam automatically re-bills[*]Game: Partner needs to call ProcessAgreement API to bill[/list][/td][/tr] [tr][td][b]period[0][/b][/td][td]string[/td][td][/td][td]Optional period for recurring billing. …

ISteamInventory Interface

This API is only intended for prototyping - it is only usable by Steam accounts that belong to the publisher group for your game. You can pass in an array of items, identified by their [apitype]ISteamInventory::SteamItemDef_t[/apitype] and optionally a second array of corresponding quantities for each item. …

[b]Example:[/b] [code=cpp]void SpaceWarItem::LoadInventory( IGameEngine *pGameEngine ) { SteamInventory()->GetAllItems( &s_RequestResult ); }[/code] [subsection=GetEligiblePromoItemDefinitionIDs]GetEligiblePromoItemDefinitionIDs[/subsection] [code=cpp]bool GetEligiblePromoItemDefinitionIDs( CSteamID steamID, SteamItemDef_t *pItemDefIDs, uint32 *punItemDefIDsArraySize );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]steamID[/b][/td][td][apitype]steam_api::CSteamID[/apitype][/td][td]The Steam ID of the user who these items are for. …

Mouse Regions

In addition to working great for top-down style games, regions can be restricted to certain areas of the screen, scaled, stretched and mode-shifted in to select mini-maps, toolbars, inventory, etc. …

By placing an oval-shaped mouse region in the lower left hand corner and binding it to the Steam controller trackpad, we can easily select a character just by swiping left or right and clicking. [i]Empires of the Undergrowth[/i] [docimg=empires_of_the_undergrowth.png]empires_of_the_undergrowth.png[/docimg] This is an insect-themed Real-Time Strategy game. …

Release Process

You can pick the date that it should release and you can configure most features yourself. The general process for launching your product on Steam is displayed at the top of your product landing page in Steamworks. [docimg=ReleaseExampleDocs.jpg]ReleaseExampleDocs.jpg[/docimg] [callout]NOTE: Publishing a coming soon page or releasing a game requires two specific Steamworks permissions: 1. …

We'll send you any feedback if necessary, or if none is necessary, we'll mark your store page as "Ready for release". [subsection]Game Build[/subsection] The Game Build checklist consist of required items to prepare your application for release on Steam. Upload a mostly final build default branch (The build should include all the featured described on your store page, but doesn't have to be absolutely final. …

Application Settings for Virtual Reality

If your game submits a suggested input binding for Meta Quest 2 controllers, SteamVR will automatically rebind most controller types so they will work. …

[docimg=SystemRequirementsVRFields.png]SystemRequirementsVRFields.png[/docimg] In the fields under "VR Devices and Support" you should describe both the SDKs and the specific devices that your game supports. Start with the SDK such as OpenXR or SteamVR and then describe any individual headsets, controllers, and/or room size requirements.…

ISteamUserStats Interface

You must call either this or [api]ISteamUserStats::FindOrCreateLeaderboard[/api] to obtain the leaderboard handle which is valid for the game session for each leaderboard you wish to access prior to calling any other Leaderboard functions. [b]Returns:[/b] [apitype]steam_api::SteamAPICall_t[/apitype] to be used with a [apitype]ISteamUserStats::LeaderboardFindResult_t[/apitype] call result. …

After receiving this callback the user's stats will be unavailable until this function is called again. The equivalent function for game servers is [api]ISteamGameServerStats::RequestUserStats[/api]. [b]Returns:[/b] [apitype]steam_api::SteamAPICall_t[/apitype] to be used with a [apitype]ISteamUserStats::UserStatsReceived_t[/apitype] call result. …

Results 261 to 280 of 354