Jump to content
LaunchBox Community Forums

Platform marquee not showing


SpuRge
 Share

Recommended Posts

I have them stacked on top of each other,

when I enter a platform the game marquees are displayed like it should,

I know platforrms search their marquees in the banner folder and the images are there with the correct names.

I don't understand why this doesn't work anymore.

Link to comment
Share on other sites

I found that the problem is my PlatformMarqueeView.xaml

I use the same setup in my GameMarqueeView.xaml as in my PlatformMarqueeView.xaml

For the games it works. Don't know why not for platforms.

 

here is my setup :

 

<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:transitions="clr-namespace:Unbroken.LaunchBox.Wpf.Transitions;assembly=Unbroken.LaunchBox.Wpf"
             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
             xmlns:cal="http://www.caliburnproject.org"
             mc:Ignorable="d"
             d:DesignHeight="562" d:DesignWidth="1000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Style="{DynamicResource UserControlStyle}">
<!-- GRID DEFINITIONS -->
            
            
    <Grid Height="1080" Width="1920">
        <Grid.ColumnDefinitions>                       
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="0.5*" />
            
    </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
            <RowDefinition Height="0.5*" />
            
            
        </Grid.RowDefinitions>
               
               
        <!-- GAME MARQUEE -->
               
               
        <Image Source="{Binding Path=SelectedGame.MarqueeImagePath}" Stretch="fill" HorizontalAlignment="Center" VerticalAlignment="Top" RenderOptions.BitmapScalingMode="HighQuality" />
            <TextBlock x:Name="GameMarquee" Visibility="Visible">
                <TextBlock.Text>
                    <MultiBinding StringFormat="{}pack://siteoforigin:,,,/Arcade - Marquee/_Default.png">
                    <Binding Path="SelectedGame.Platform"/>
                    </MultiBinding>
                </TextBlock.Text>
            </TextBlock>
        <Image x:Name="MainMarquee" Grid.RowSpan="2" Grid.Row="0" Grid.ColumnSpan="5" Grid.Column="0" Source="{Binding Text, ElementName=GameMarquee, FallbackValue='pack://siteoforigin:,,,/Arcade - Marquee/_Default.png'}" Opacity="100" Stretch="fill" Panel.ZIndex="1" RenderOptions.BitmapScalingMode="HighQuality" />
    </Grid>
</UserControl>

Link to comment
Share on other sites

So, if I understand you correctly the code you posted above is that in both your PlatformMarqueeView.xml and you GameMarqueeView.xml, correct?

If correct, then yeah that is your issue. The platform level this code will not work as it is looking for a "SelectedGame" and on the platform level a game is not selected. A game can only be selected once you go into the platform and see the game list.

Link to comment
Share on other sites

@Retro808 is correct. At some point the image binding must have changed, as the SelectedGame.MarqueeImagePath binding has never worked on a platform view before.

By default, it should be: SelectedPlatform.BannerImagePath

But really, you can punch in any platform specific image binding there, and it will show, as long as you have an image for it.

Link to comment
Share on other sites

  • 2 months later...

@Darkseid001 path looks ok in both my marquee and game view:

 

***************** marquee view ***************

<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="562"
             d:DesignWidth="1000"
             HorizontalAlignment="Stretch"
             VerticalAlignment="Stretch"
             FocusVisualStyle="{x:Null}"
             BorderThickness="0"
             Margin="0"
             Padding="0"
             Background="#000">
    <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <Image Source="{Binding Path=SelectedPlatform.BannerImagePath}" Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="HighQuality" />
    </Grid>
</UserControl>

 

 

**************** game view ******************

<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="562"
             d:DesignWidth="1000"
             HorizontalAlignment="Stretch"
             VerticalAlignment="Stretch"
             FocusVisualStyle="{x:Null}"
             BorderThickness="0"
             Margin="0"
             Padding="0"
             Background="#000">
    <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <Image Source="{Binding Path=SelectedGame.MarqueeImagePath}" Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="HighQuality" />
    </Grid>
</UserControl>

Link to comment
Share on other sites

@Retro808 thanks for the help bud. I have one more question a bit off topic. Can you tell me what folder the game platform backgrounds are stored in windows. Here’s an example of the background I need to find. You’ll notice one of the backgrounds is gray. I want to change the backgrounds on it 

7081BEF3-FF37-4628-91FA-CA7C2A31CC28.jpeg

143D8AD3-0151-4B63-A727-A6560BF29A96.jpeg

Edited by Stew Pidaso
Link to comment
Share on other sites

6 hours ago, Stew Pidaso said:

@Retro808 thanks for the help bud. I have one more question a bit off topic. Can you tell me what folder the game platform backgrounds are stored in windows. Here’s an example of the background I need to find. You’ll notice one of the backgrounds is gray. I want to change the backgrounds on it 

 

 

Those backgrounds are specific to the theme. So look inside the theme's folder. There will be an \Images folder. Might be located in something like \[Theme Name]\Images\Theme\Background

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

 Share

×
×
  • Create New...