Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)
21 hours ago, JoeViking245 said:

As you also read above, storing the images was necessary with the advent of Media Packs.  The badge images weren't getting extracted from the dll.  I believe this has been resolved in LaunchBox.

Did it create a .dll file when it completed?

Yes I have ...\LB Custom Badge\Stuff\ClassLibrary4\ClassLibrary4\bin\Debug\netcoreapp3.1
Badge Nintendo.dll
Badge Nintendo.pdp
ClassLibrary4.deps.json
Unbroken.LaunchBox.Plugins.dll

-----------------------------------------------------------

1) Copying Badge Nintendo.dll ...\LaunchBox\Plugins
After a restart I can Enable the Nintendo badge but it gets deselected again (doesn't work)

2) Copying the source image dc1eqix-b399c73e-3aeb-49fa-8638-c0d94d518d75.png into ...\LaunchBox\Images\Media Packs\Badges\Nostalgic Platform Badges  and renaming it I have tried both the unique id  "Nintendo" used to generate the badge and the same name as the dll "Badge Nintendo" keeping the file extension in both cases.
I get the same result as before, no badge showing and it gets deselected.

 

Edited by lappen81
Posted
17 minutes ago, lappen81 said:

Attached

Seems to be working here.

image.thumb.png.6e1defe20d0853bcf3f1a2012551d2b4.png

  • I copied your dll file into /LaunchBox/Plugins/Badge Nintendo.dll
  • Started LaunchBox
  • it automatically extracted the image file into
    • \LaunchBox\Images\Media Packs\Overrides\Badges\Nintendo.png
  • Added to these 2 games the Custom Field Source with a value of Nintendo
    • Note: the Name and Value MUST be exactly as shown.
    • "source" is not the same as "Source"
    • same with nintendo and Nintendo
  • Went to the Badges menu
    • Enable Badges checked
    • Plugins Badges > Enable Nintendo checked
  • The badge for those 2 games appeared

 

Are you working with a premium LaunchBox License?  Or are you testing on a free version?

Posted (edited)
48 minutes ago, JoeViking245 said:

Seems to be working here.

image.thumb.png.6e1defe20d0853bcf3f1a2012551d2b4.png

  • I copied your dll file into /LaunchBox/Plugins/Badge Nintendo.dll
  • Started LaunchBox
  • it automatically extracted the image file into
    • \LaunchBox\Images\Media Packs\Overrides\Badges\Nintendo.png
  • Added to these 2 games the Custom Field Source with a value of Nintendo
    • Note: the Name and Value MUST be exactly as shown.
    • "source" is not the same as "Source"
    • same with nintendo and Nintendo
  • Went to the Badges menu
    • Enable Badges checked
    • Plugins Badges > Enable Nintendo checked
  • The badge for those 2 games appeared

 

Are you working with a premium LaunchBox License?  Or are you testing on a free version?

OMG I'm so stupid, premium license and it works I was just assuming that the "custom field" in the plugin named Source was supposed to refer the stock Metadata field named Source
Creating a new custom field solved it

So sorry but just a follow-up question, can I actually refer to the Metadata field called Source instead of a custom field?

 

image.thumb.png.16d2613e70d9156c4a65c01e7036f46d.png

Edited by lappen81
  • Like 1
Posted (edited)
15 minutes ago, JoeViking245 said:

@jayjay thought of it all (even 6 years ago).  ;) 

image.thumb.png.ef47d5c6c381199cdea34074536971ef.png

!!!!!! YES how could i miss that, worked perfectly now I just need to find or create something better then a red box with a really small N

image.thumb.png.26efc82bb5c0a2b8da68e63c92359da0.png

Edited by lappen81
  • Game On 1

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...