Help integrating the Steam API
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Help integrating the Steam API
Hi all,
My novel's been Greenlit, so I now need to integrate the Steam API but am finding it a little overwhelming. According to these instructions, what's the minimum I need to do to prepare my game for distribution on Steam?: https://partner.steamgames.com/document ... ng_started
Is it complicated to add achievements?
Is it ok to include any extra files/code in non-Steam builds of the game?
Thanks!
My novel's been Greenlit, so I now need to integrate the Steam API but am finding it a little overwhelming. According to these instructions, what's the minimum I need to do to prepare my game for distribution on Steam?: https://partner.steamgames.com/document ... ng_started
Is it complicated to add achievements?
Is it ok to include any extra files/code in non-Steam builds of the game?
Thanks!
alwaysthesamebluesky.com
- SundownKid
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Help integrating the Steam API
You can message Pytom and he will send you the instructions for adding achievements. But it's mainly similar to changing a variable in the game, except you are just turning the achievement on, or adding an amount to it. As for the achievements themselves, you make those within Steam.
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Been trying to catch him on IRC - any advice regarding my other queries?
alwaysthesamebluesky.com
- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Help integrating the Steam API
Unfortunately I don't have time now but I made a short guide worth checking:
http://lemmasoft.renai.us/forums/viewto ... 51&t=29362
http://lemmasoft.renai.us/forums/viewto ... 51&t=29362
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Hi, thanks Jack, I have seen that, but it's integrating the API that I'm mainly struggling with. Are you able to help?jack_norton wrote:Unfortunately I don't have time now but I made a short guide worth checking:
http://lemmasoft.renai.us/forums/viewto ... 51&t=29362
alwaysthesamebluesky.com
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Help integrating the Steam API
Basically, you have to unzip the files, add a steam_appid.txt file to the directory with renpy.exe in it, and then use the new achievements API documented in the Ren'Py manual.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Ok, thanks Tom, so literally just extract the files to the core Ren'Py directory and build the distributions as usual? Just the standard achievements outlined here: http://www.renpy.org/doc/html/achievement.html will work with Steam?PyTom wrote:Basically, you have to unzip the files, add a steam_appid.txt file to the directory with renpy.exe in it, and then use the new achievements API documented in the Ren'Py manual.
alwaysthesamebluesky.com
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Help integrating the Steam API
Yes, the standard API should automatically enable steam if present. (You'll see the steam overlay pop up.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Hi Tom, sorry for the delay, was waiting to receive my appID. I've extracted the sdk zip to the root of my Ren'Py folder and added the steam_appid.txt (containing my ID) to the same folder, but I'm not seeing the Steam overlay present in the built distribution. I've tried both the 'sdk' folder and its child folders in the root directory but neither seem to be enabling the SteamUI - what am I doing wrong? ThanksPyTom wrote:Yes, the standard API should automatically enable steam if present. (You'll see the steam overlay pop up.)
alwaysthesamebluesky.com
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Help integrating the Steam API
Depending on the platform, you may need to have steam running, or even launch the game from the steam launcher. You'll also need to copy the appid file into the built distribution.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Hi Tom,PyTom wrote:Depending on the platform, you may need to have steam running, or even launch the game from the steam launcher. You'll also need to copy the appid file into the built distribution.
I've uploaded my novel to Steam (using the following guide: https://youtu.be/SoNH-v6aU9Q) but when trying to run it from my Steam library I get the following error: 'Failed to start game (invalid app config)'. Do you know what I could be doing wrong? I've attached a screengrab of the folder I'm uploading to Steam which just contains the standard Ren'Py project output with the extra 'steam_appid.txt' file. Thanks.
alwaysthesamebluesky.com
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Help integrating the Steam API
I don't know, offhand. Perhaps one of the other steam users can help.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Help integrating the Steam API
Seems a problem of setup on Steam panel to me. Did you configure the launch options there ?
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Under Installation -> Configuration? I have indeed, according to your guide (screengrab attached).jack_norton wrote:Seems a problem of setup on Steam panel to me. Did you configure the launch options there ?
I've grabbed the code from the build/upload process - there was an error, but as the whole project seems to have uploaded I'm guessing it's not the issue?
Code: Select all
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Logging in user 'grantwilde' to Steam Public...httpclient.cpp (3706) : Assertion
Failed: (uint32)m_pHTTPRequestCache->m_listCacheFileLRU.Count() == (uint32)m_pH
TTPRequestCache->m_mapCacheFiles.Count()
Logged in OK
Waiting for license info...OK
[2015-04-17 18:46:33]: Building depot 363411...
Building file mapping...httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTT
PRequestCache->m_listCacheFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapC
acheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
Scanning contenthttpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequest
Cache->m_listCacheFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFile
s.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
..httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listC
acheFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
httpclient.cpp (3706) : Assertion Failed: (uint32)m_pHTTPRequestCache->m_listCac
heFileLRU.Count() == (uint32)m_pHTTPRequestCache->m_mapCacheFiles.Count()
........................................................................
Uploading content.........................
[2015-04-17 19:07:37]: Successfully finished appID 363410 build (BuildID 593520)alwaysthesamebluesky.com
- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: Help integrating the Steam API
Did you enable the new build in the default branch ?
Who is online
Users browsing this forum: Bing [Bot]
