Jump to content
LaunchBox Community Forums

Recommended Posts

@Shelibor I have attempted to get this to work with the latest launchbox but I cant resolve a system drawing mismatch error. Im not willing to spend anymore of my free time trying to fix it. Sorry mate. Next time I get some time off work I'll attempt it again but for the foreseeable I wont be updating this.

Link to comment
Share on other sites

Thanks for the update, but it is giving me the following message when I click compile. Do I have to install something else to make it work? I also tried running from another location but got the same error message.

 

'D:\Installed' is not recognized as an internal or external command,
operable program or batch file.

D:\Installed programs\LaunchBox Custom Badges>

Link to comment
Share on other sites

  • 2 weeks later...

I tried both versions to create custom badges. both work but version 1 gives me problems starting Launchbox. If I observe the resource management, launchbox.exe (there are two, ???) begins the opening phase but then disappears (always both * .exe), I have to try at least twice for the program to start normally. Version 2, with badges created identical to those created with the version 1 program, works not giving problems when starting Launchbox but the various badges are inserted in a list in random order at each start. Has this happened to anyone else? Are the listed problems known and if so, is there a solution? Thank you!

Link to comment
Share on other sites

8 minutes ago, Colorman3605 said:

the various badges are inserted in a list in random order at each start

Are you talking about when you click "Badges"?  That list? [Enable Favorites.  Enable Unplayed...]  If so, that's done that way on purpose to give you a 'fresh look' each time which also allows you to 'see' badges you may have missed before.  Just kidding.  That's a LaunchBox thing, not a plugin issue.

If that's not the "list" you're talking about, could you elaborate?

Link to comment
Share on other sites

The real problem is to understand why with version 1, all badges work but then I have problems starting Launchbox while with version 2 no.

In version 2 in the item "index" you have to insert particular values, I put numbers in sequence starting as if they coninuassero the items already inserted in the list "badges" in Launchbox.

Link to comment
Share on other sites

7 hours ago, PixelDragon said:

find a way to make a Steam badge, for games who have achievements

I don't think Steam Achievements are accessible through the LaunchBox API.  So someone would need to create a plugin for that, or you put in a BitBucket feature request and hope a lot of others would like to see that as well.

Link to comment
Share on other sites

18 hours ago, JoeViking245 said:

I don't think Steam Achievements are accessible through the LaunchBox API.  So someone would need to create a plugin for that, or you put in a BitBucket feature request and hope a lot of others would like to see that as well.

They are already accessible, they appear in the games details, same for RetroAchievements.
So the logic can be : if a steam game have achievements in game details, just show a badge.
Honestly, I don't see why RetroAchievments and Steam badges are not a part of the official release, it's just a boolean condition... the logic is already there.

I will try to see what I can do on BitBucket, or eventually code it myself as a plugin.
 

Link to comment
Share on other sites

19 minutes ago, PixelDragon said:

Honestly, I don't see why RetroAchievments and Steam badges are not a part of the official release, it's just a boolean condition... the logic is already there.

Probably because not enough people voted for it. (if it was even on BitBucket or in a poll, to begin with).

To a degree, the logic is there in LaunchBox.  However the datum is only retrieved OnSelected(IGame).  So when a game is selected, it's only then that LB looks to see if Achievements exist for that game. If it caches any of that, no idea.  But it wouldn't be enough to populate a complete 'list' of badges.

As you've already seen, there is the plugin for RetroAchievement Badges.  (Personally I don't even use it.)  But the Boolean doesn't take place until after data is gathered, sorted and stored and other logic is considered.  Actually getting the "list of games" and the respective Platforms that have achievements without spamming RetroAchievements API was kind of a P.I.T.A.   Regardless, it is 'just a plug' and is not supported by the LaunchBox Team.  Though I think the desired end result is the same.  ?

That all said, this is where BitBucket and "popular demand" come into play. :)  Or the other option of creating a plugin yourself.

Link to comment
Share on other sites

4 hours ago, PixelDragon said:

They are already accessible, they appear in the games details, same for RetroAchievements.
So the logic can be : if a steam game have achievements in game details, just show a badge.
Honestly, I don't see why RetroAchievments and Steam badges are not a part of the official release, it's just a boolean condition... the logic is already there.

I will try to see what I can do on BitBucket, or eventually code it myself as a plugin.
 

You misunderstand how we acquire the achievement information and are assuming that logic is cached when it is not. When changing the game inside of LaunchBox and opening Game Detail, we at that time send calls to the appropriate APIs to get real time achievement data for that game. With RetroAchievements we aren't even 100% it's the right ROM file, its a Platform/Title match. We NEVER do this en masse (none of the APIs we hit even support batch processing that I'm aware of), and we NEVER save the information because when they should or should not appear relies on several data points, and changing even one of them could potentially change the results given (depending on the information source). What achievements are available to a game isn't static information either and can change at the whim of the achievement source. It is because of those reasons that we don't save any achievement data to file, which also means we cannot create a badge for them. We COULD potentially do this scan every time you entered a platform but that would take quite a bit of time to process and you could quickly hit API limits and get any API keys you are using banned.

If you were ok with the badge potentially showing outdate or bad information, someone could create a plugin or app that queries your library much the same way we do for games that have achievements and then save what ever information you wanted to in a Custom Field, and then create a badge off that field. You could then just update the field with the plugin or app whenever you wanted.

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...