I set up Steam Achievements exactly as it is laid out in this thread: viewtopic.php?f=51&t=50060&sid=77f32fe2 ... 9ef6a6c00d
- steam_appid.txt is in the game's main folder (next to 'README' and all that)
- The appid is correct
- I merged the Steam library I got from Tom into the lib folder (I initially replaced the entire lib folder, when that didn't work I merged it, still didn't work)
- The achievement I want to test is published. It shows up in my Steam library as "unachieved"
- The achievement name in Steamworks matches the code
- I downloaded the Ren'Py sdk (twice), triple checked that it's the right version
- I re-downloaded the Steam library again, just to be sure
"Importing _renpysteam: ImportError('No module named _renpysteam',)"
However the only concrete advice I found about it was to re-download the Ren'Py sdk and make sure the version is the latest one — which it is.
There was also some advice I found that didn't seem relevant, about anti-virus software and video cards. I'm using a Mac and the only anti-virus software I have is "CleanMyMac X" which is opt-in, so it wouldn't have deleted anything after I downloaded Ren'Py again unless I told it to.
Just to be doubly sure, here is the code I'm currently using:
Code: Select all
$achievement.grant("ACH_CH1")
init:
$achievement.register("ACH_CH1")
$achievement.sync()
$achievement.sync()
Anyway, hoping to finally find an answer to this. There are a lot of abandoned threads about the "_renpysteam" module, so somebody's got to have found a solution by now.
Thanks!
— Odd.
Edit:
This has now been solved with Ren'py's new update. I installed the Steam sdk, put in the code and it worked this time! So thanks!