Jump to content
LaunchBox Community Forums

Recommended Posts

Ao.Bigbox Customs

View File

Ao.Bigbox Customs is a collection of LB/BB plugins. The Themer library contains custom controls useful for theme developers. The Dropins library contains true plugins you can just drop into the LB plugins folder. By default, the only drop-in enabled is WootLauncher; enabling the other drop-ins is easy (see the PDF doc download). Here are the included drop-ins:

GameManualViewer: Adds menu item "Game Manual 8D" (string is customizable) to the game details menu in BB, if the game has an associated PDF manual. When activated, the PDF will be read and converted to images on the fly for display within BigBox; it will not launch an external program. As occasionally some manuals take a few seconds to load, an animated GIF is displayed while you wait. The gif is currently a space invader, but I might add customization in the future. When viewing the PDF manual, use the standard keys (or gamepad buttons) used to navigate around BigBox.

PlatformAuditor: Adds another media audit tool for LB with support for OCD-type personalities. This can help you quickly find a platform's missing game media and rename media according to the game's title. It can also be used to delete superfluous media. It works for images, manuals, music, and videos. As with any tool that potentially modifies your library, consider backing up your media folders before using this.

PlatformExporter: Adds a simple way to export games including metadata and boxart to other applications. Currently, the only application to which it exports is EmulationStation. Support for other applications might be added in the future, if there is enough demand and I have enough time and interest in doing so.

PlaylistGenerator: Adds playlists to your library but does not otherwise alter your library. Playlists are regenerated each time LB/BB is started. You can add your own media (videos, banners, etc) for the playlist, in the same way you would for manually generated playlists in LaunchBox. This media will not be overwritten when the playlists are regenerated. You can customize the names of these playlists and number of games added to each.

WootLauncher: Adds game load/exit screens, pause screens including support for viewing PDF manuals and save/load states, and bezels/overlays (useful for emulators which do not themselves support overlays). There is a separate download page dedicated to WL:

Spoiler

 

Here are some of the themes that use Ao.Bigbox.Themer

  • FluxCRT - videos displayed within a mock CRT including curvature effect
  • MinimalX - simple but very flexible (skinnable) theme with some cool controls
  • Nostalgia - videos displayed within viking's clean and nostalgic platform images
  • Refaktor - clean view suited for 16:9 or 4:3 displays and videos/screenshots of all sizes

 

  • Like 3

Share this post


Link to post
Share on other sites

Updated dropins, including a new one called PlatformExporter -- created to export LB platform libraries for use by EmulationStation. I built a little retropie box and wanted a quick way to export the games including metadata I had curated within LB.

Share this post


Link to post
Share on other sites

695915759_GoodGood.gif.9252edd49eaa9970baa5aae0265ac9e6.gifDamn dude, while I don't have particular use for any of these myself they all look like very handy additions to LB for people.

  • Like 1

Share this post


Link to post
Share on other sites

i was advised 'that muting sound to videos doesn't work and it doesn't obey default bigbox sound priority rules'

Share this post


Link to post
Share on other sites
10 hours ago, wallmachine said:

i was advised 'that muting sound to videos doesn't work and it doesn't obey default bigbox sound priority rules'

You're referring to Ao.Bigbox.Themer?  Please point me to who reported this so I can get more details and perhaps an example where it does not work?

Share this post


Link to post
Share on other sites
8 hours ago, eatkinola said:

You're referring to Ao.Bigbox.Themer?  Please point me to who reported this so I can get more details and perhaps an example where it does not work?

'yes, referring to ao.bigbox.themer. Trying to mute video but vid music still plays along with default bigbox integrated game music. And music from video doesn't mute bigbox music if priority is changed. Both musics just play at the same time.'

Here is as an example: 

<aop:AutopathVideoLooper Name="GameVid" Shuffle="False" PlayerImplPooled="True" PlayerImplLazily="True" Autoplay="True" Grid.Row="4" Grid.RowSpan="2" Grid.Column="2" Grid.ColumnSpan="6" Height="{Binding ElementName=GameVidFrame, Path=ActualHeight}" Width="{Binding ElementName=GameVidFrame, Path=ActualWidth}" ClipToBounds="True" Visibility="Collapsed" Stretch="Fill" Repeat="True" Medium="Video" Fallback="StopAfterTry3" Autopath="Context" cal:Bind.AtDesignTime="True" Muted="True"/>

 

Share this post


Link to post
Share on other sites
9 hours ago, wallmachine said:

'yes, referring to ao.bigbox.themer. Trying to mute video but vid music still plays along with default bigbox integrated game music. And music from video doesn't mute bigbox music if priority is changed. Both musics just play at the same time.'

Thanks for the example. I tried to slice it every which way but did not detect a problem with muting videos. Perhaps I'm not fully understanding the reported problem. Appreciate your pm; I don't use discord, so if whoever reported this problem to you wants to post additional details here on the forums that might be helpful.

Share this post


Link to post
Share on other sites
On 4/14/2019 at 11:20 PM, eatkinola said:

Thanks for the example. I tried to slice it every which way but did not detect a problem with muting videos. Perhaps I'm not fully understanding the reported problem. Appreciate your pm; I don't use discord, so if whoever reported this problem to you wants to post additional details here on the forums that might be helpful.

They ended up updating BB as quite a few updates behind and it fixed the mute issue.

Also when using vids in BB on the marquee screen it causes a hard lock on pc. However, using vids with your plugin on the marquee screen and your video method does not cause a lock up like default BB, which is great! But it does slow down things a little bit in BB. Is there anyway you can put some magic on it, or more cache, or whatever you can do to try to prevent that bit of slowdown? Thanks in advance.

Share this post


Link to post
Share on other sites
2 hours ago, wallmachine said:

They ended up updating BB as quite a few updates behind and it fixed the mute issue.

Thanks for the update, was scratching my head over that one.

2 hours ago, wallmachine said:

Also when using vids in BB on the marquee screen it causes a hard lock on pc. However, using vids with your plugin on the marquee screen and your video method does not cause a lock up like default BB, which is great! But it does slow down things a little bit in BB. Is there anyway you can put some magic on it, or more cache, or whatever you can do to try to prevent that bit of slowdown? Thanks in advance.

Glad to hear it works! -- I didn't design or test it with marquees in mind. Unfortunately, I cannot think of any way to further optimize the video engine. Could it be related to your CPU or video card? Running videos can be pretty taxing, especially if another application is also running. Might it work better if you used smaller video files for the marquee?

Share this post


Link to post
Share on other sites

@eatkinola taking the textbox out of the viewbox makes the translate transform not work properly because the resolution is not in 4k which means distance is doubled and since it isn't in the viewbox anymore, the viewbox can't lock it's resolution.

if I wrap my whole theme in a viewbox, all the graphics scale properly on any resolution EXCEPT the text and translate transform values. If I lock the resolution to 1080p view the viewbox, in 4k, the theme stretches correctly and everything looks correct except the text gets bigger because the viewbox doesn't seem to lock it's resolution to text. So the text still grows with the higher resolution while everything else stays at 1080p. Can you make this converter (https://stackoverflow.com/questions/50805106/xaml-change-resolution-changes-the-views-size) into a plugin  so that it can tell the text to not grow with the resolution?

This would also work: https://stackoverflow.com/questions/2013854/how-do-i-keep-a-constant-fontsize-in-wpf-viewbox

Share this post


Link to post
Share on other sites
19 hours ago, wallmachine said:

@eatkinola taking the textbox out of the viewbox makes the translate transform not work properly because the resolution is not in 4k which means distance is doubled and since it isn't in the viewbox anymore, the viewbox can't lock it's resolution.

Viking and I discussed a very similar (the same?) issue in the XAML Tips & Tricks thread. To handle various resolutions and aspect ratios gracefully, I had made two plugins: (1) AutoscaleTextBlock, and (2) DimensionW3840Converter. There are examples for both of these on page 30 of that thread:

https://forums.launchbox-app.com/topic/28698-xaml-tips-and-tricks/page/30/

Check it out -- might solve your issue. I didn't look at the stackoverflow examples closely, but my approach with the converter seems similar.

  • Like 1

Share this post


Link to post
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
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...