Yep! It downloaded the full project, just get that error when trying to 'play' it.jack_norton wrote:Did you enable the new build in the default branch ?
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:
Re: Help integrating the Steam API
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
Uhm I have no clue then what might be wrong 
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Hi managed to get the novel running correctly on Steam, the problem was with Steamworks. The achievements don't seem to be registering though, what am I missing from my code to get the achievement to register 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.
Code: Select all
$ achievement.grant("Femme Fatale")
$ achievement.register("Femme Fatale")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
I don't even use the register option. As long as the string is the same on Steam, is enough to use the first command.
For example if the achievement ID is "Achievement01" I just do:
$achievement.grant("Achievement01")
and done. I think maybe you're using the achievement NAME and not the ID (is the leftmost column on Steam).
By the way, what was that Steamwork error? I have some users who had that "invalid app config" problem too, but on my end all works fine!
For example if the achievement ID is "Achievement01" I just do:
$achievement.grant("Achievement01")
and done. I think maybe you're using the achievement NAME and not the ID (is the leftmost column on Steam).
By the way, what was that Steamwork error? I have some users who had that "invalid app config" problem too, but on my end all works fine!
- 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
If you do use register, you should use it in init code. But for simple achievements, it's not necessary.
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
Cheers guys, apologies for the delay, I had an issue getting an updated test on the server. I've attached what I have on both ends and according to what everyone's saying it should be correct no? I've also tried "1/0" instead of "FemmeFatale" but neither seem to be working.jack_norton wrote:I don't even use the register option. As long as the string is the same on Steam, is enough to use the first command.
For example if the achievement ID is "Achievement01" I just do:
$achievement.grant("Achievement01")
and done. I think maybe you're using the achievement NAME and not the ID (is the leftmost column on Steam).
By the way, what was that Steamwork error? I have some users who had that "invalid app config" problem too, but on my end all works fine!
Sorry, I never found out what the error was, I just effectively started from scratch, erasing and re-entering all my settings, then after publishing the error disappeared luckily. Maybe it's because I'm not a natural coder, but I do find Steamworks incredibility unintuitive.
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
First of all there seems to not be images on the achievement setup, so I don't think it can work already for that 
Yes that other bug (invalid app config) was just a general Steam bug, other games have it too and nothing you can do about it (but usually goes away after a while).
Yes that other bug (invalid app config) was just a general Steam bug, other games have it too and nothing you can do about it (but usually goes away after a while).
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
Just tried adding images, still not having any luckjack_norton wrote:First of all there seems to not be images on the achievement setup, so I don't think it can work already for that
Yes that other bug (invalid app config) was just a general Steam bug, other games have it too and nothing you can do about it (but usually goes away after a while).
alwaysthesamebluesky.com
- DeXP
- Newbie
- Posts: 10
- Joined: Wed Nov 12, 2014 10:39 am
- Completed: One Manga Day
- Github: DeXP
- Skype: DeXPeriX
- Soundcloud: dexp-music
- Contact:
Re: Help integrating the Steam API
I have extracted steam SDK to my RenPy's folder. So it is in: c:\gnu\RenPy\renpy-6.17.6-sdk\sdk\
I have putted steam_appid.txt to c:\gnu\RenPy\renpy-6.17.6-sdk\
I have updated RenPy to 6.99.2.403
Then I have build distribution of my game (for All Desktop Platforms).
And there is no steam_api.dll or libsteam_api.so in my 'lib' subfolders. Should I copy them by hands? Simply copy from downloaded SDK? I have copied libsteam_api, achievements doesn't works...
I have putted steam_appid.txt to c:\gnu\RenPy\renpy-6.17.6-sdk\
I have updated RenPy to 6.99.2.403
Then I have build distribution of my game (for All Desktop Platforms).
And there is no steam_api.dll or libsteam_api.so in my 'lib' subfolders. Should I copy them by hands? Simply copy from downloaded SDK? I have copied libsteam_api, achievements doesn't works...
Last edited by DeXP on Mon Apr 27, 2015 3:09 am, edited 1 time in total.
- KairuKyun
- Veteran
- Posts: 286
- Joined: Thu Feb 12, 2015 4:10 pm
- Completed: No One But You, Catch Canvas, Sickness, Written in the Sky, Wander no more, Warped Reality
- Projects: Warped Reality
- Organization: Unwonted Studios
- IRC Nick: Kairu_kyun
- Tumblr: karamuchan
- Contact:
Re: Help integrating the Steam API
I would like to know how to start setting up my game for steam?
Kyle Tyner
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
This really confused me too. As far as I'm aware, the ren'py building process is completely separate to the Steam one - build via ren'py as normal then tackle the Steam stuff, here's what I did:DeXP wrote:I have extracted steam SDK to my RenPy's folder. So it is in: c:\gnu\RenPy\renpy-6.17.6-sdk\sdk\
I have putted steam_appid.txt to c:\gnu\RenPy\renpy-6.17.6-sdk\
I have updated RenPy to 6.99.2.403
Then I have build distribution of my game (for All Desktop Platforms).
And there is no steam_api.dll or libsteam_api.so in my 'lib' subfolders. Should I copy them by hands? Simply copy from downloaded SDK? I have copied libsteam_api, achievements doesn't works...
Build distributions via ren'py as normal
Unzip and move all content to 'sdk\tools\ContentBuilder\content'
Added 'steam_appid.txt' to the same directory
Then followed the YouTube guide from around here: https://youtu.be/SoNH-v6aU9Q?t=4m22s (although I'd recommend watching the whole thing)
I really muddled my way through though (as is probably evident by this thread) so sorry if I'm not much help!
Anybody got any idea why my Steam achievements aren't working?
alwaysthesamebluesky.com
- KairuKyun
- Veteran
- Posts: 286
- Joined: Thu Feb 12, 2015 4:10 pm
- Completed: No One But You, Catch Canvas, Sickness, Written in the Sky, Wander no more, Warped Reality
- Projects: Warped Reality
- Organization: Unwonted Studios
- IRC Nick: Kairu_kyun
- Tumblr: karamuchan
- Contact:
Re: Help integrating the Steam API
I have got my game on steam now, but i noticed the Shift+tab menu is a little laggy. I don't know if this is just my game. Anyone else having this problem?
Kyle Tyner
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
-
crimsonnight
- Veteran
- Posts: 298
- Joined: Fri Apr 20, 2012 4:44 am
- Contact:
Re: Help integrating the Steam API
No problems with that my end!KairuKyun wrote:I have got my game on steam now, but i noticed the Shift+tab menu is a little laggy. I don't know if this is just my game. Anyone else having this problem?
alwaysthesamebluesky.com
- KairuKyun
- Veteran
- Posts: 286
- Joined: Thu Feb 12, 2015 4:10 pm
- Completed: No One But You, Catch Canvas, Sickness, Written in the Sky, Wander no more, Warped Reality
- Projects: Warped Reality
- Organization: Unwonted Studios
- IRC Nick: Kairu_kyun
- Tumblr: karamuchan
- Contact:
Re: Help integrating the Steam API
I guess I just need to optimize my game some more!!! Thanks for the reply.
Kyle Tyner
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
- KairuKyun
- Veteran
- Posts: 286
- Joined: Thu Feb 12, 2015 4:10 pm
- Completed: No One But You, Catch Canvas, Sickness, Written in the Sky, Wander no more, Warped Reality
- Projects: Warped Reality
- Organization: Unwonted Studios
- IRC Nick: Kairu_kyun
- Tumblr: karamuchan
- Contact:
Re: Help integrating the Steam API
So when you say extract the steam sdk to your game do you need to literally copy everything in the sdk zip? And then make a steam_appid.txt? I am very new to publishing games on steam.
Kyle Tyner
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
Creator of Unwonted Studios
ktyner@unwontedstudios.co
Visit Our Website
Projects: No One But You, Sickness, Written in the Sky, Wander no more, Catch Canvas, Warped Reality
Who is online
Users browsing this forum: Bing [Bot]