Search the Community
Showing results for tags 'id'.
-
Hi folks. Been working on a plugin for 2 years to do various things, but main feature being per game/platform controls layouts. However, just recently hit a major blocking point. It seems each IPlatform has no unique identifier? I had been working around it historically, but I now need to map data against each launchbox (lb) IPlatform and thus need a unique identifier on the lb platform to ensure these are mapped correctly. However, I can find no unique identifier on the data object. I have scoped this out in VS and via the api ref here: https://pluginapi.launchbox-app.com/html/092c865d-74b6-4a39-e6d9-cda1235d8355.htm I did try getting a hash via IPlatform.GetHashCode, but this produces different Hash on each lb run without any discernible changes to the IPlatform data object Also tried examining the GUID via Iplatform.GetType(), but this returns the guid of the data object type, not the instance. Frustratingly, I see IGame and IEmulator both have an Id field, but cannot leverage the latter to form a unique ID in my plugin as there appears to be no link to the ascribed emulator for a platform via `IPlatform[] platforms = PluginHelper.DataManager.GetAllPlatforms();` So onto trying to generate a unique ID: Sadly, there also seems to be no 'created date' (i.e. when the IPlatform data object was created) which I could have leveraged for a unique ID. I also considered using ScrapeAs, Name or other such variable, but these of course can change and contain duplicates. So, in short, is there any way to get or generate a unique ID for each IPlatform function?
-
Hey LB community! I hope someone out there can help me. I have found a group of clear logos that I really love, but they are named according to their Launchbox ID#. Is there any way to easily assign them to the appropriate games in my RetroArch theme (as opposed to dragging and dropping each one individually)? Help and Thanks!
- 1 reply
-
- id
- clear logo
-
(and 2 more)
Tagged with:
-
I've been trying to import my steam games in launchbox but I keep on getting this error message: " Your account could not be accessed " . I've done it many times on other pcs and never got this problem... I've tried it 10 minutes ago on my laptop and it worked fine i imported all my games. The problem occurs only on one of my pcs. I need help please.