Playnite Forums
SuccessStory - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Extension Database (https://playnite.link/forum/forum-3.html)
+--- Forum: Generic Extensions (https://playnite.link/forum/forum-6.html)
+--- Thread: SuccessStory (/thread-275.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


RE: SuccessStory - Lacro59 - 06-10-2020

(06-10-2020, 03:51 AM)Kaede Monthmore Wrote: About extension: is possible to use the integration directly, without button presses? If not, is possible change the button appearance, like the others?
I've not directly integrate the achievement for two reasons:
  • For the shortage of space
  • All games haven't a achievements system.
For me, the button appearance is like the others.
How did you mean?


RE: SuccessStory - Lacro59 - 06-11-2020

A new version is published.


RE: SuccessStory - Rhaziel - 06-13-2020

Can you elaborate more on the "Interface integration"??
Where i am supposed to add those lines "<StackPanel etc..."?
EDIT: got it! If you want the Achievements and the play stats to be shown in the game description, you need to put this lines :
"<StackPanel x:Name="PART_Achievements_Graphics" Height="120" MaxHeight="120" Margin="0,5,0,5"></StackPanel>
<StackPanel x:Name="PART_Achievements_List" MaxHeight="300" Margin="0,5,0,5"></StackPanel>" under "</StackPanel.Resources>"
in : C:\Users\User_Name\AppData\Local\Playnite\Themes\Desktop\Default\Views\GridViewGameOverview.xaml or DetailsViewGameOverview.xaml


RE: SuccessStory - Lacro59 - 06-13-2020

(06-13-2020, 03:12 PM)Rhaziel Wrote: Can you elaborate more on the "Interface integration"??
Where i am supposed to add those lines "<StackPanel etc..."?
This element must be used for integrate the plugin in a custom theme.
You can put it where you want with the elements that display the information of a game.
In order to not manipulate theme code, I created a simple custom theme that integrate the plugin.

But the plugin works without a theme that integrate it.
It shows with the extensions menu.

If the plugin has no data, this is normal. 
The data is downloaded at the end game session or selecting a game or force download in settings menu.


RE: SuccessStory - Rhaziel - 06-13-2020

(06-13-2020, 04:49 PM)Lacro59 Wrote:
(06-13-2020, 03:12 PM)Rhaziel Wrote: Can you elaborate more on the "Interface integration"??
Where i am supposed to add those lines "<StackPanel etc..."?
This element must be used for integrate the plugin in a custom theme.
You can put it where you want with the elements that display the information of a game.
In order to not manipulate theme code, I created a simple custom theme that integrate the plugin.

But the plugin works without a theme that integrate it.
It shows with the extensions menu.

If the plugin has no data, this is normal. 
The data is downloaded at the end game session or selecting a game or force download in settings menu.
[quote pid='951' dateline='1592066953']
i had it figured out. Thank you.
But now i have another problem...it only displays the achievements from Origin and GOG games...from Steam, there are no achievements or stats
It says : "Error on SteamAchivements: no Steam configuration"


RE: SuccessStory - Lacro59 - 06-13-2020

(06-13-2020, 05:09 PM)Rhaziel Wrote: i had it figured out. Thank you.
But now i have another problem...it only displays the achievements from Origin and GOG games...from Steam, there are no achievements or stats
It says : "Error on SteamAchivements: no Steam configuration"
This message appears when no steam configuration present (or incomplete) in settings  (steam user id and api key):
[attachment=233]
This configurations is necessary for the steam api.


RE: SuccessStory - Wordsmith - 06-14-2020

(05-15-2020, 02:19 PM)Lacro59 Wrote: The ToggleButton is visible if the content is not null. The content is null if the plugin is not present.

I am trying to include your achievement data in a custom theme, and I have managed to make PART_Achievements_Graphics and PART_Achievements_List work, but I cannot get the button to show up. When I add the code you provided here, Blend tells me that "The resource 'LOCSuccessStoryAchievements' could not be resolved" and "The resource 'StringNullOrEmptyToVisibilityConverter' could not be resolved."

I have downloaded your theme and the button works properly with it, but I prefer the custom theme I'm currently using. Do you have any suggestions for fixing this problem?

Note: I know nothing about .xaml files. I am modifying the custom theme purely by trial and error.  Confused

Thank you!


RE: SuccessStory - Lacro59 - 06-14-2020

(06-14-2020, 03:15 AM)Wordsmith Wrote: I am trying to include your achievement data in a custom theme, and I have managed to make PART_Achievements_Graphics and PART_Achievements_List work, but I cannot get the button to show up. When I add the code you provided here, Blend tells me that "The resource 'LOCSuccessStoryAchievements' could not be resolved" and "The resource 'StringNullOrEmptyToVisibilityConverter' could not be resolved."

I have downloaded your theme and the button works properly with it, but I prefer the custom theme I'm currently using. Do you have any suggestions for fixing this problem?

The Toggle Button is used to switch on game's description or game's achievements.
For use it, I added a control around this two elements:
<!-- ToogleButton is not checked -->
<StackPanel Visibility="{Binding IsChecked, ElementName=SuccessStoryButton, Converter={StaticResource InvertableBooleanToVisibilityConverter}, ConverterParameter=1}">
     <!-- Here, default control to show game's description -->
</StackPanel>

<!-- ToogleButton is checked -->
<StackPanel Visibility="{Binding IsChecked, ElementName=SuccessStoryButton, Converter={StaticResource InvertableBooleanToVisibilityConverter}, ConverterParameter=0}">
     <StackPanel x:Name="PART_Achievements_Graphics" Height="120" MaxHeight="120" Margin="0,5,0,5">
     </StackPanel>
     <StackPanel x:Name="PART_Achievements_List" MaxHeight="300" Margin="0,5,0,5">
     </StackPanel>
</StackPanel>
It's possible to show achivements without Togglebutton.

It's normal that Blend not resolved some ressources.

I planned to improve the plugin integration in a custom theme and the notice for use it.


RE: SuccessStory - Wordsmith - 06-15-2020

(06-14-2020, 10:20 AM)Lacro59 Wrote: It's possible to show achivements without Togglebutton.

Without the ToggleButton code, I have been able to make the achievements show up at the bottom, below the description. I still can't get the button to show up, though. The blank button shows up in Blend, but it isn't there when I reload the theme in Playnite. Maybe it's because of the theme I'm trying to integrate it into? It's Tweaked Vanilla w/Details Bar, but I've done a few small additional tweaks to it.

Here's a screencap of my Blend screen where I've included the ToggleButton code.

It's okay if I can't get the button to work, since I can see the achievements below the game description, but if there is an obvious mistake I'm making, I would appreciate help fixing it.

Thank you!


RE: SuccessStory - Alowen - 06-17-2020

I came back here, and I still dont get how it works. I realy want to use these extensions, but whatever one (either this one, or game statistics for example), dont seem to work. I dropped the zip contents under the extension folders. I can see them in playnite, enabled, but still i cannot find ANY extension in the menu. Or I am overlooking the most basic thing, or something is very wrong here? Do i need to put another file in the folder?


RE: SuccessStory - Lacro59 - 06-17-2020

(06-15-2020, 01:07 AM)Wordsmith Wrote: Without the ToggleButton code, I have been able to make the achievements show up at the bottom, below the description. I still can't get the button to show up, though. The blank button shows up in Blend, but it isn't there when I reload the theme in Playnite. Maybe it's because of the theme I'm trying to integrate it into? It's Tweaked Vanilla w/Details Bar, but I've done a few small additional tweaks to it.

Here's a screencap of my Blend screen where I've included the ToggleButton code.

It's okay if I can't get the button to work, since I can see the achievements below the game description, but if there is an obvious mistake I'm making, I would appreciate help fixing it.

It's normal for visibility problem in Blend.

The minimum code for the ToggleButton is:
<ToggleButton IsChecked="False" x:Name="SuccessStoryButton" Content="{DynamicResource LOCSucessStoryAchievements}" Width="150" Height="40" HorizontalAlignment="Right" VerticalAlignment="Stretch" Margin="40,0,0,0">

The ToggleButton is empty only if the plugin is not loaded.

I work for try to auto integrate the plugin on default theme and theme based on.


(06-17-2020, 11:44 AM)Alowen Wrote: I came back here, and I still dont get how it works. I realy want to use these extensions, but whatever one (either this one, or game statistics for example), dont seem to work. I dropped the zip contents under the extension folders. I can see them in playnite, enabled, but still i cannot find ANY extension in the menu. Or I am overlooking the most basic thing, or something is very wrong here? Do i need to put another file in the folder?

It's possible to have extract on playnite.log after the Playnite start?


RE: SuccessStory - Alowen - 06-17-2020

Ive got everything working now. I am new to this so need to figure it out. Is there any chance we will get microsoft game and Ubi achievements at some point?


RE: SuccessStory - sheepbeep - 06-21-2020

Thank you for fixing the issues on GitHub, but can you provide a new installable build?

I have to add some things though: I discovered the offending game which is responsible for this exception: It is "One Way to Die", appid 388490.

{"Name":"One Way To Die","HaveAchivements":true,"Total":18,"Unlocked":0,"Locked":18,"Progression":0,"Achievements":[{"Name":"First Death","Description":"This is your first time dying... sorry!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/d2aebdc4e95c300d3d125359e6f08466b3048622.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Die Trying","Description":"You have perished 100 times already. Ouch!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/9f7b97534f462e523c0845741761bf9692b68243.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Dear Dog, Why?","Description":"You have played and died 1,000 times! Wow!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/00ada58d200925f989831828e3ab978da5d72c2d.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/12f89dd5b0843713304483d4864ba5940365fdfc.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"About Time","Description":"You made it home without dying! Good job!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/52a9c3de143ec5140ca273e20d6009bb865d8589.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Triple Non-Threat","Description":"You have all possible immunities! Good luck!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/28add0afac645f0a7023f5b59a14ddedccb3e77b.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Persistence","Description":"You have experienced every unique death!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/1f6171d871eb0f614a2ba513fb29b9849cf2d22d.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Even Worse","Description":"Experience all the Steam-only deaths!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/d2c127bca9f7b2ed3d2f629fb883eddd3fc209ce.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Death Fodder","Description":"Those saboteurs are just ruthless!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/c13aa6c61e48f1b9ec23be36348b2433cfbd3b5d.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Sweet Revenge","Description":"You failed to get an elephant as saboteur!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/8c57bbb1be6db03a272d15b9dce469186c6933b3.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Accursed Villain","Description":"You have been the saboteur enough!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/468ab8083052b8ea2d35529a43abe41c769b39dc.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"The Slaughter","Description":"The blood is on your hands. Tons of it.","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/12d84f3fef12c9a98f1fb5fe5b724a69944f096c.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/12f89dd5b0843713304483d4864ba5940365fdfc.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Red Elephant","Description":"You have won the elephant!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/2650610c5ff95a6629bb8ada4c821115b286b307.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Anti Trapper","Description":"You have disabled a lot of traps!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/fd47a80c84ca11c8e907d2d5f7d48f9197fb2f80.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Local Hero","Description":"You have stopped at least 10 saboteurs!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/2e11cd9b4d99c02112404c2998aaee5644029da4.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"The Hallowest","Description":"You experienced all 10 Halloween deaths!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/d19678d0ec55124c8d535bb2d1d483bd9e74449c.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Crimson X-Mas","Description":"You experienced all 10 X-Mas deaths!","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/f7f9c1b34f27e1b74d9d45957f2182d17493be47.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"The Returned","Description":"The bain of achievement hunters.","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/74d28ece6929bca7edeccafce3557fdc3c797de9.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/24fad61055fbd6f812f3d88ac9d0e598604d1645.jpg","DateUnlocked":"0001-01-01T00:00:00"},{"Name":"Clowning Around","Description":"Beat Story, Choose, and Random modes once each.","UrlUnlocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/92cf0d05bca09f0a33adc7c519b5d657e6d75fb5.jpg","UrlLocked":"https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/388490/312e9493501f02a6f5ee9c39e8cda1a7f3e3e801.jpg","DateUnlocked":"0001-01-01T00:00:00"}]}

Some other suggestions for this plugin:
- completion rate filter from xx% (default 0%) to xx% (default 100%) (don't forget the apply button)
- filter / group by platform (Steam, GOG, etc)
- display number of games in the dialog window (should count the filtered completion range and total)
- some basic statistics breakdown how many achievements by platform / completion rate
- display full "all achievements by month" and don't cut off if total period is longer than 12 months / 1 year (configurable?)
- export total statistics to CSV (by month and tabulated by platform)
- configure default sort order (+ ascending / descending)
- if there is an exception, display what game / appid has caused this exception (at least log file, but i think this is already done in the log file?)
- default to alphabetical sort order, if there are achievements with same success rate (eg all 100% games)


RE: SuccessStory - Lacro59 - 06-22-2020

(06-21-2020, 12:32 PM)sheepbeep Wrote: Thank you for fixing the issues on GitHub, but can you provide a new installable build?

I tasked yours suggestions in the Github.
Thanks for more works lol.

A new version must to be deploy this week  Wink
It's a few long beacause I'm update my others plugins also.


RE: SuccessStory - vecima - 06-24-2020

Hello, I got the error "Error on SteamAchievements: no Steam Configuration" when I clicked "Refresh data" for GOG achievements.

After I clicked "OK" the GOG achievements number updated to 221/21.

[Image: unknown.png]


RE: SuccessStory - Lacro59 - 06-24-2020

A new version is published.

(06-24-2020, 04:36 PM)vecima Wrote: Hello, I got the error "Error on SteamAchievements: no Steam Configuration" when I clicked "Refresh data" for GOG achievements.

After I clicked "OK" the GOG achievements number updated to 221/21.

This error is for Steam achievements (bug in title in the window).
This error come when there is no steam configuration (ApiKey and user connected) in settings for Steam client.


RE: SuccessStory - vecima - 06-24-2020

My steam account is connected and not private. Do I still need to check the "Private Account" box an put an API key?


RE: SuccessStory - Lacro59 - 06-24-2020

(06-24-2020, 06:14 PM)vecima Wrote: My steam account is connected and not private. Do I still need to check the "Private Account" box an put an API key?

Yes.
The plugin (and Steam Web API) need this API key.


RE: SuccessStory - vecima - 06-25-2020

OK, that made everything work. This extension is awesome! Thank you!

I'd love to see it integrated into the "Sort By" so that you could sort by achievement %, or integrated into other areas. Also it would be cool if you could get more information by double or right-clicking on achievements, maybe like a link to the achievement on truesteamachievements.com / truexboxachievments.com or elsewhere.


RE: SuccessStory - Cromi - 06-25-2020

When using the custom theme integration I noticed if I'm looking at a game with achievements and them click on a game without achievements then the achievements for the previous game is still displayed. This started with the latest update.