Playnite Forums
GameActivity - 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: GameActivity (/thread-264.html)

Pages: 1 2 3 4 5 6 7 8


RE: GameActivity - sheepbeep - 08-17-2020

Quote:
  • Get sensors id and elements id with "HWiNFOSharedMemoryViewer".
  • The fps with HWiNFO is got with "rivatuner statistics server".


I understand that you also have all needed software installed on your system, but about 99,99999% other users don't or don't know how to fill in the correct information.

You should really document this at least this in the description and / or point to a documentation page where all the gory details are written.

I'll document here now my findings, at least for the HWiNFO stuff I found out by chasing trails all across the internet (I don't have Rainmeter installed and Rivatuner... and had not HWiNFO installed, so ...)

Software Requirements for the sensor stuff
  • HWiNFO; must be running with admin privileges and the sensor window must be active.
  • RivaTuner (optional) for the FPS?   -- did not install it.
How to get the sensor IDs Sensor ID values
You should scroll down the tree and look for the entry and then click on it to get the sensor details. First entry in this bullet point list is the term in this extension, second in parentheses is the entry in HWiNFOSharedMemoryViewer, third one is the ID, which may differ from the screenshot or this description, fourth is the entry ID ("Entry details", ID in bottom left corner)
- GPU usages / sensor id ("GPU D3D Usage"): 0xe0002000 0x7000009
- FPS: dunno, you seemingly have to have RivaTuner .. this should be explained by Lacro59 en détail, how to get the correct values.
- GPU temperature ("GPU temperature"): 0xe0002000 0x1000000
- CPU temperature ("CPU: <CPU> DTS" -> CPU package): 0xf0000400 0x10000fe

The values are also visible on the options screenshot, but may vary. My guess is that Lacro59 has an AMD card, not a nVidia, so the GPU usage entry differs from the screenshot.

Troubleshooting HWiNFOSharedMemoryViewer
  • Check, if the following things are configured:
  • HWiNFO is running (alongside with the sensors window)
  • in HWiNFO, open Programs -> Settings -> General / User Interface: activate the "Shared Memory Support" checkbox (and press OK)
  • press Reload in the HWiNFOSharedMemoryViewer

PS: Replace "last version" on all your extension with "latest version". "last version" means that this is the very last version published and there are no more updates from you. "Latest version" means that this is the most recent version published and there may be updates. Thank you.


RE: GameActivity - Lacro59 - 08-17-2020

Thanks for all this details.
I forgot to improve the description for using the optional application.
In waiting to do it, I will add your post in description.
Sorry for my bad english


RE: GameActivity - eminaguil - 08-19-2020

When displaying the activity in the description through the toggle button, the labels in the x axis of the session details appears at half. 
Can you increment the height of the graphs a little more?
And for the FPS to show, where do you get the ids??

[Image: IJsD5Va.png]


RE: GameActivity - Lacro59 - 08-19-2020

(08-19-2020, 01:57 AM)eminaguil Wrote: When displaying the activity in the description through the toggle button, the labels in the x axis of the session details appears at half. 
Can you increment the height of the graphs a little more?
I note for improve it.

(08-19-2020, 01:57 AM)eminaguil Wrote: And for the FPS to show, where do you get the ids??
By default, HWiNFO haven't fps sensor.
You must use a another program like MSI Afterburner for have fps in HWiNFO.
But I must investigate for don't use another program for logged this.


RE: GameActivity - eminaguil - 08-23-2020

(08-17-2020, 11:33 AM)sheepbeep Wrote:
Quote:
  • Get sensors id and elements id with "HWiNFOSharedMemoryViewer".
  • The fps with HWiNFO is got with "rivatuner statistics server".


I understand that you also have all needed software installed on your system, but about 99,99999% other users don't or don't know how to fill in the correct information.

You should really document this at least this in the description and / or point to a documentation page where all the gory details are written.

I'll document here now my findings, at least for the HWiNFO stuff I found out by chasing trails all across the internet (I don't have Rainmeter installed and Rivatuner... and had not HWiNFO installed, so ...)

Software Requirements for the sensor stuff
  • HWiNFO; must be running with admin privileges and the sensor window must be active.
  • RivaTuner (optional) for the FPS?   -- did not install it.
How to get the sensor IDs Sensor ID values
You should scroll down the tree and look for the entry and then click on it to get the sensor details. First entry in this bullet point list is the term in this extension, second in parentheses is the entry in HWiNFOSharedMemoryViewer, third one is the ID, which may differ from the screenshot or this description, fourth is the entry ID ("Entry details", ID in bottom left corner)
- GPU usages / sensor id ("GPU D3D Usage"): 0xe0002000 0x7000009
- FPS: dunno, you seemingly have to have RivaTuner .. this should be explained by Lacro59 en détail, how to get the correct values.
- GPU temperature ("GPU temperature"): 0xe0002000 0x1000000
- CPU temperature ("CPU: <CPU> DTS" -> CPU package): 0xf0000400 0x10000fe

The values are also visible on the options screenshot, but may vary. My guess is that Lacro59 has an AMD card, not a nVidia, so the GPU usage entry differs from the screenshot.

Troubleshooting HWiNFOSharedMemoryViewer
  • Check, if the following things are configured:
  • HWiNFO is running (alongside with the sensors window)
  • in HWiNFO, open Programs -> Settings -> General / User Interface: activate the "Shared Memory Support" checkbox (and press OK)
  • press Reload in the HWiNFOSharedMemoryViewer

PS: Replace "last version" on all your extension with "latest version". "last version" means that this is the very last version published and there are no more updates from you. "Latest version" means that this is the most recent version published and there may be updates. Thank you.

Thanks for the info.

And I have found the IDS for the FPS to work. Install AfetrBurner with RivaTurner Statistic Server (RTSS). Then go to HWiNFOSharedMemoryViewer and look for an item named RTSS expand and there you found FPS, there will be the sensor ID and the entry ID. Just copy to the plugin settings.


RE: GameActivity - Lacro59 - 09-02-2020

New release - v0.12:
  • Added wiki for custom theme integration
  • Added new features for custom theme integration
  • Added zh_CN (thanks to XiaofengdiZhu)
  • Added de_DE (thanks to MopsiMause)
  • Added Open Hardware Monitor
  • Show logs for multi session on a day
  • Many improvements



RE: GameActivity - heartwork - 09-16-2020

Hm...running the extension gives me the following error message:

[Image: edD40SB.png]


RE: GameActivity - Lacro59 - 09-16-2020

(09-16-2020, 11:03 AM)heartwork Wrote: Hm...running the extension gives me the following error message:

[Image: edD40SB.png]
Can you post your Playnite.log?


RE: GameActivity - heartwork - 09-16-2020

Sure, couple of errors actually:

2020-09-16 22:55:41.6196|INFO:Application started from 'C:\Users\dan\AppData\Roaming\Playnite', with '' arguments.
2020-09-16 22:55:41.7976|INFO:PluginCommon - Parse plugin localization file C:\Users\dan\AppData\Roaming\Playnite\Extensions\GameActivity_b969de3b0711c587c48960800bfd9bc0\localization\LocSource.xaml.
2020-09-16 22:55:41.7976|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-gameactivity-plugin/releases
2020-09-16 22:55:42.1646|INFO:PluginCommon - Find v0.12.1
2020-09-16 22:55:42.1646|INFO:Loaded plugin: Game Activity
2020-09-16 22:55:42.1716|INFO:Loaded plugin: GOG Library Importer
2020-09-16 22:55:42.1716|INFO:PluginCommon - Parse plugin localization file C:\Users\dan\AppData\Roaming\Playnite\Extensions\HowLongToBeat_1fd6219c19dc92baa633d69626152377\localization\LocSource.xaml.
2020-09-16 22:55:42.1891|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-howlongtobeat-plugin/releases
2020-09-16 22:55:42.6281|INFO:PluginCommon - Find 0.5.3
2020-09-16 22:55:42.6281|INFO:Loaded plugin: HowLongToBeat
2020-09-16 22:55:42.6281|INFO:Loaded plugin: Humble Library Importer
2020-09-16 22:55:42.6281|INFO:Loaded plugin: IGDB metadata provider
2020-09-16 22:55:42.6446|INFO:PluginCommon - Parse plugin localization file C:\Users\dan\AppData\Roaming\Playnite\Extensions\IsThereAnyDeal_198549b9543507d9f04bd2347295d9ec\localization\LocSource.xaml.
2020-09-16 22:55:42.6446|ERROR:PluginCommon - File C:\Users\dan\AppData\Roaming\Playnite\Extensions\IsThereAnyDeal_198549b9543507d9f04bd2347295d9ec\Resources\LiveChartsCommon\Common.xaml not found.
2020-09-16 22:55:42.6446|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-isthereanydeal-plugin/releases
2020-09-16 22:55:42.8891|INFO:PluginCommon - Find v0.2.3
2020-09-16 22:55:42.8891|INFO:Loaded plugin: IsThereAnyDeal
2020-09-16 22:55:42.8941|INFO:Loaded plugin: Origin Library Importer
2020-09-16 22:55:42.8941|ERROR:Failed to load plugin: Universal Steam MetadataSystem.IO.FileNotFoundException: Das System kann die angegebene Datei nicht finden. (Ausnahme von HRESULT: 0x80070002)
2020-09-16 22:55:42.8941|INFO:Loaded plugin: Rockstar Games Library Importer
2020-09-16 22:55:42.8941|INFO:PluginCommon - Parse plugin localization file C:\Users\dan\AppData\Roaming\Playnite\Extensions\Statistics_ca512b8608887b13804fca36507f5a46\localization\LocSource.xaml.
2020-09-16 22:55:42.8941|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-statistics-plugin/releases
2020-09-16 22:55:43.1306|INFO:PluginCommon - Find v0.7
2020-09-16 22:55:43.1306|INFO:Loaded plugin: Statistics
2020-09-16 22:55:43.1606|INFO:Loaded plugin: Steam Library Importer
2020-09-16 22:55:43.1741|INFO:PluginCommon - Parse plugin localization file C:\Users\dan\AppData\Roaming\Playnite\Extensions\SuccessStory_e19bcf3b4090d027d90f39ef7ff733f3\localization\LocSource.xaml.
2020-09-16 22:55:43.1741|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-successstory-plugin/releases
2020-09-16 22:55:43.4416|INFO:PluginCommon - Find v0.11
2020-09-16 22:55:43.4416|INFO:Loaded plugin: Success Story
2020-09-16 22:55:43.4416|INFO:PluginCommon - Parse plugin localization file C:\Users\dan\AppData\Roaming\Playnite\Extensions\ThemeModifier_1b082333a751229a728fa620bebb73cf\localization\LocSource.xaml.
2020-09-16 22:55:43.4416|INFO:PluginCommon - Download https://api.github.com/repos/Lacro59/playnite-thememodifier-plugin/releases
2020-09-16 22:55:43.5341|INFO:PluginCommon - Find v0.1
2020-09-16 22:55:43.5341|INFO:Loaded plugin: ThemeModifier
2020-09-16 22:55:43.5721|INFO:Loaded plugin: Uplay Library Importer
2020-09-16 22:55:43.5721|INFO:Loaded plugin: Xbox Library Importer
2020-09-16 22:55:43.7201|INFO:Loaded script extension: C:\Users\dan\AppData\Roaming\Playnite\Extensions\AddLink-master\AddLink.ps1
2020-09-16 22:55:43.7556|INFO:Loaded script extension: C:\Users\dan\AppData\Roaming\Playnite\Extensions\LibraryExporter\LibraryExporter.ps1
2020-09-16 22:55:44.7181|INFO:Loaded script extension: C:\Users\dan\AppData\Roaming\Playnite\Extensions\playnite-non-steam-shortcuts\nonsteam.py
2020-09-16 22:55:44.9441|INFO:Opening db C:\Users\dan\AppData\Roaming\Playnite\library
2020-09-16 22:55:45.0856|INFO:Completely recalculating database statistics...
2020-09-16 22:55:45.3301|INFO:GameActivity - Delete
2020-09-16 22:55:45.3301|ERROR:PluginCommon [ 0] - Error in RemoveButtonInGameSelectedActionBarButtonOrToggleButton(PART_GaButton) System.Exception: btGameSelectedActionBarChild [PART_ButtonEditGame] not find
   bei PluginCommon.IntegrationUI.RemoveButtonInGameSelectedActionBarButtonOrToggleButton(String btGameSelectedActionBarName)
2020-09-16 22:55:45.3301|ERROR:PluginCommon [ 0] - Error in RemoveButtonInGameSelectedActionBarButtonOrToggleButton(PART_GaToggleButton) System.Exception: btGameSelectedActionBarChild [PART_ButtonEditGame] not find
   bei PluginCommon.IntegrationUI.RemoveButtonInGameSelectedActionBarButtonOrToggleButton(String btGameSelectedActionBarName)
2020-09-16 22:55:45.3301|INFO:PluginCommon - elGameSelectedDescriptionName [PART_GameActivity] allready remove
2020-09-16 22:55:45.3301|INFO:GameActivity - No activity for Tom Clancy's Splinter Cell Chaos Theory
2020-09-16 22:55:45.3446|INFO:HowLongToBeat - Delete integeration
2020-09-16 22:55:45.3446|ERROR:PluginCommon [ 0] - Error in RemoveButtonInGameSelectedActionBarButtonOrToggleButton(PART_HltbButton) System.Exception: btGameSelectedActionBarChild [PART_ButtonEditGame] not find
   bei PluginCommon.IntegrationUI.RemoveButtonInGameSelectedActionBarButtonOrToggleButton(String btGameSelectedActionBarName)
2020-09-16 22:55:45.3446|INFO:PluginCommon - elGameSelectedDescriptionName [PART_HltbProgressBarIntegration] allready remove
2020-09-16 22:55:45.3636|INFO:HowLongToBeat - Load data for Tom Clancy's Splinter Cell Chaos Theory
2020-09-16 22:55:45.3636|INFO:SuccessStory - Delete
2020-09-16 22:55:45.3636|ERROR:PluginCommon [ 0] - Error in RemoveButtonInGameSelectedActionBarButtonOrToggleButton(PART_ScButton) System.Exception: btGameSelectedActionBarChild [PART_ButtonEditGame] not find
   bei PluginCommon.IntegrationUI.RemoveButtonInGameSelectedActionBarButtonOrToggleButton(String btGameSelectedActionBarName)
2020-09-16 22:55:45.3636|ERROR:PluginCommon [ 0] - Error in RemoveButtonInGameSelectedActionBarButtonOrToggleButton(PART_ScToggleButton) System.Exception: btGameSelectedActionBarChild [PART_ButtonEditGame] not find
   bei PluginCommon.IntegrationUI.RemoveButtonInGameSelectedActionBarButtonOrToggleButton(String btGameSelectedActionBarName)
2020-09-16 22:55:45.3636|INFO:PluginCommon - elGameSelectedDescriptionName [PART_Achievements] allready remove
2020-09-16 22:55:45.4506|INFO:SuccessStory - Download achievements for Tom Clancy's Splinter Cell Chaos Theory
2020-09-16 22:55:45.6751|INFO:PluginCommon - btHeader [] insert
2020-09-16 22:55:45.6751|INFO:Importing games from GOG plugin.
2020-09-16 22:55:45.6751|INFO:Application 7.9.0.18735 started
2020-09-16 22:55:45.6896|INFO:PluginCommon - (StackPanel)btGameSelectedActionBar [PART_HltbButton] insert
2020-09-16 22:55:45.7226|DEBUG:Found 75 installed GOG games.
2020-09-16 22:55:45.7351|INFO:PluginCommon - elGameSelectedDescriptionContener [PART_HltbProgressBarIntegration] insert
2020-09-16 22:55:45.7351|WARN:SuccessStory - No achievement for Tom Clancy's Splinter Cell Chaos Theory
2020-09-16 22:55:48.0881|DEBUG:Found 160 library GOG games.
2020-09-16 22:55:48.4951|INFO:Importing games from Humble plugin.
2020-09-16 22:55:55.0066|DEBUG:Invoking extension function Game Activity
2020-09-16 22:55:55.0761|ERROR:Failed to execute extension function.System.ArgumentException: Can not add property Steam to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.
   bei Newtonsoft.Json.Linq.JObject.ValidateToken(JToken o, JToken existing)
   bei Newtonsoft.Json.Linq.JContainer.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
   bei Newtonsoft.Json.Linq.JObject.InsertItem(Int32 index, JToken item, Boolean skipParentCheck)
   bei Newtonsoft.Json.Linq.JContainer.AddInternal(Int32 index, Object content, Boolean skipParentCheck)
   bei Newtonsoft.Json.Linq.JContainer.Add(Object content)
   bei Newtonsoft.Json.Linq.JObject.Add(String propertyName, JToken value)
   bei GameActivity.GameActivityView.getActivityByWeek(Int32 year, Int32 month) in E:\Github\Lacro59\playnite-gameactivity-plugin\Views\GameActivityView.xaml.cs:Zeile 346.
   bei GameActivity.GameActivityView..ctor(GameActivitySettings settings, IPlayniteAPI PlayniteApi, String pathExtData, Game GameSelected) in E:\Github\Lacro59\playnite-gameactivity-plugin\Views\GameActivityView.xaml.cs:Zeile 135.
   bei GameActivity.GameActivity.<GetFunctions>b__41_0() in E:\Github\Lacro59\playnite-gameactivity-plugin\GameActivity.cs:Zeile 114.
   bei Playnite.SDK.ExtensionFunction.Invoke()
   bei Playnite.Plugins.ExtensionFactory.InvokeExtension(ExtensionFunction function, Exception& error) in E:\Devel\Playnite\source\Playnite\Plugins\ExtensionFactory.cs:Zeile 415.



RE: GameActivity - Lacro59 - 10-02-2020

New version (v1.0):
  • Playnite 8 version
  • Added new options for theme integration & ui modifications
  • Many improvements



RE: GameActivity - Alowen - 10-03-2020

Still rocking this extension, I am a real statistics person.. One thing that bothered me in the latest releases is the fact that it nw shows every gaming session in the graphic, and not just a daily timer like in the past. Is there an option you could add the choice in next installments? if you login to a game multiple times a day, the graph gets realy crowded (just just one bar with the daily hours)

https://imgur.com/a/ItAsXNF


RE: GameActivity - Lacro59 - 10-03-2020

(10-03-2020, 06:46 AM)Alowen Wrote: Still rocking this extension, I am a real statistics person.. One thing that bothered me in the latest releases is the fact that it nw shows every gaming session in the graphic, and not just a daily timer like in the past. Is there an option you could add the choice in next installments? if you login to a game multiple times a day, the graph gets realy crowded (just just one bar with the daily hours)

https://imgur.com/a/ItAsXNF
I created a issue for it.
https://github.com/Lacro59/playnite-gameactivity-plugin/issues/20


RE: GameActivity - Alowen - 10-03-2020

That is great, and quick as always. If it could also include merging the sources in the weekly/monthly playtimes it would be perfect. Lets say i have played 50 hours this month, it always shows it divided among the various launchers. As i am using playnite to unify all these, it does not make sense TO ME and i would rather see one count.


RE: GameActivity - Lacro59 - 10-03-2020

(10-03-2020, 03:54 PM)Alowen Wrote: That is great, and quick as always. If it could also include merging the sources in the weekly/monthly playtimes it would be perfect. Lets say i have played 50 hours this month, it always shows it divided among the various launchers. As i am using playnite to unify all these, it does not make sense TO ME and i would rather see one count.
https://github.com/Lacro59/playnite-gameactivity-plugin/issues/21


RE: GameActivity - Lacro59 - 10-04-2020

It's possible to translate the extension on crowdin


RE: GameActivity - GetFR3AKY - 10-15-2020

(09-16-2020, 06:04 PM)Lacro59 Wrote:
(09-16-2020, 11:03 AM)heartwork Wrote: Hm...running the extension gives me the following error message:

[Image: edD40SB.png]
Can you post your Playnite.log?
I'm also getting this error, how can I fix it?


RE: GameActivity - dPandl - 11-04-2020

Hi I use your awesome plugin with the msi afterburner option, but the plugin shows 0 fps, what am I doing wrong? Do i have to use hwinfo for that?


RE: GameActivity - Lacro59 - 11-04-2020

(11-04-2020, 08:12 PM)dPandl Wrote: Hi I use your awesome plugin with the msi afterburner option, but the plugin shows 0 fps, what am I doing wrong? Do i have to use hwinfo for that?
Have you check this?
[attachment=951]

Is there any notification message on Playnite?

If all is ok, can you post your Playnite.log?


RE: GameActivity - Lacro59 - 11-06-2020

New release (v1.1):
  • Added an option to have a view with separate sources or not
  • Added new graphic time by day on month
  • Added an option for separate or no the game sessions on graphic
  • New elementr for custom theme integration (see wiki)
  • Used new menus system
  • Added new SDK window creation
  • Optimized integration ui
  • Many improvements



RE: GameActivity - dPandl - 11-07-2020

(11-04-2020, 10:00 PM)Lacro59 Wrote:
(11-04-2020, 08:12 PM)dPandl Wrote: Hi I use your awesome plugin with the msi afterburner option, but the plugin shows 0 fps, what am I doing wrong? Do i have to use hwinfo for that?
Have you check this?


Is there any notification message on Playnite?

If all is ok, can you post your Playnite.log?
Hi this is what my log said about Gameactivity, or is there something other i need to copy?

07-11 02:10:15.275|INFO|GameActivity:GameActivity - dataLogging_start
07-11 02:10:15.279|INFO|GamesEditor:Started Luigi's Mansion 3DS game.
07-11 02:15:32.346|WARN|PerfCounter:GameActivity - No Cpu temperature find
07-11 02:15:32.424|ERROR|Common:GameActivity [??? 486] - Fail get fpsValue
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
  bei GameActivity.GameActivity.<OnTimedEvent>d__66.MoveNext() in E:\Github\Lacro59\playnite-gameactivity-plugin\GameActivity.cs:Zeile 486.
07-11 02:16:04.367|INFO|PlayniteUiHelper:SuccessStory - Download achievements for Luigi's Mansion 3DS - RetroAchievements
07-11 02:16:04.367|INFO|GameActivity:GameActivity - dataLogging_stop