RedditPP Mascot

RedditPP

r/PiratedGames • … • u/Black_m1n

Achievements that are directly tied to stats, do not work in ANY Steam emulator

Hello everyone! Recently I have started to focus on making achievements work for pirated games on Playnite, with the help of a SuccessStory fork that actually allows doing so. After some trouble, I did get it working for 2 of my games, so I can definitely repeat the process! But after one session I noticed something. Some of the achievements that I was supposed to get... were still locked. So I investigated a bit.

The achievements that were still locked are the stats achievements, the sort like "Kill 100 enemies" or something, for which there exists an actual Steam stat, that tracks how many enemies you killed. So what I'm guessing, is that instead of the game looking for a specific action to grant an achievement, the game is listening to that specific stat, and upon it reaching a certain margin, it grants the achievement. So the question arose, how to tie achievements to specific stats?

This... actually lead to nowhere! Any and all sorts of steam emulators, or achievement generators, do not seem to work here. I looked back to some other times, where playing a pirated game that has achievements, I noticed that I wasn't getting achievements that I would otherwise. I think I encountered 4 different Steam emulators with this problem. GBE, Online-fix, SmartSteamEmu and one other. All of these emulators cannot seem to track achievements, which are directly tied to stats.

To skip some time, I have found that Goldberg's emulator, and it's script "stats\_schema\_achievement\_gen" is actually able to generate an achievements.json that has stats tied. But here's a caviat. It requires an authentic UserGameStatsSchema file taken directly from your Steam/appcache/stats folder to work. The issue is that you need to own the game to actually have this file (and in that case, why the hell are you pirating?). There is a Web API call named GetSchemaForGame which I'm pretty sure some achievement gens use, but unfortunately, it does not contain the information for which achievements have stats tied to them. The other solution would obviously be manually going through all the achievements, and seeing which achiements looks like it could be tied to an existing Steam stat and manually editing the achievements.json.

So this appears to be the problem! tl;dr Any existing Steam emulator will never correctly show achievements that are directly tied to an existing Steam stat, unless provided an authentic UserGameStatsSchema file taken directly from Steam/appcache/stats folder, or by manually editing the achievements.json file.

— 0