Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Adding Steam API to Windows Template 32bit

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 11th Jun 2018 17:19 Edited at: 11th Jun 2018 17:26
(Sorry I should have added that this is for Tier 2 in the title.)

I thought it was easy to add the steam API to AGK's windows 2015 32bit template.

1> Make sure Steam is running and you are logged into the account where you paid your Product Submission Fee.

2> Download the steam SDK and extract it into your template folder. It should add a folder called "sdk".

3> Open Template's Program Properties and Add These Settings:

in "CC++/General/Additional Include Directories" add: sdk\public\steam
in "Linker/General/Additional Library Directories" add: sdk\redistributable_bin
in "Linker/Input/Additional Dependencies" add: steam_api.lib

4>Add "steam_api.dll" in the template directory. It is located in "sdk\redistributable_bin"

5>Create a text file called "steam_appid.txt" and type your app id number. Save this file and place it in the directory that will contain the compiled .exe file.

6>Edit template.c to the following: (this will test steam by displaying your username and id)

Login to post a reply

Server time is: 2024-11-23 20:18:27
Your offset time is: 2024-11-23 20:18:27