Jump to content
LaunchBox Community Forums

tikiTofu

Members
  • Posts

    9
  • Joined

  • Last visited

tikiTofu's Achievements

4-Bit Adder

4-Bit Adder (2/7)

0

Reputation

  1. I found this and will review. Thank you. 😀
  2. Interesting! This seems like the most accessible approach, C-Beats and likely what I've been looking for. Would you be able to point me to some resources? Thank you. Also, JoeViking245, I don't have pixelcade but a generic 1920x360, but that looks interesting, thanks for sharing.
  3. Ahh ok, my purpose was to build compile marquee images via python using existing game images. I can just use a different method based on the game/folder names. Thanks everyone.
  4. Hi, I'm trying to get the path for the game images used per game in LaunchBox. I assume I need to look through LaunchBox.Metadata.db to do this... My results seems be this guid-looking-filename which doesn't exist on disk. Is the approach correct or is there a better method to getting this data? import sqlite3 db_path = r"C:\Users\HP\LaunchBox\Metadata\LaunchBox.Metadata.db" conn = sqlite3.connect(db_path) def check_game_images(conn, platform_name): cursor = conn.cursor() query = """ SELECT g.Name, gi.FileName, gi.Type, gi.Region FROM GameImages gi JOIN Games g ON g.DatabaseID = gi.DatabaseId WHERE g.Platform = ? """ cursor.execute(query, (platform_name,)) results = cursor.fetchall() if results: for result in results: game_name = result[0] file_name = result[1] image_type = result[2] region = result[3] if result[3] else "Unknown" print(f"Game: {game_name}") print(f"Image FileName: {file_name}") print(f"Image Type: {image_type}") print(f"Region: {region}") print("-" * 40) else: print(f"No images found for platform '{platform_name}' in the GameImages table.") check_game_images(conn, "Nintendo Entertainment System") conn.close() My results look like Game: Zelda II: The Adventure of Link Image FileName: 340d97ea-ad0e-4801-9b53-479df72f9f11.png Image Type: Clear Logo Region: World Where the filename should be: Zelda II_ The Adventure of Link-01.png Thanks!!
  5. Since the marquee preview is a bit delayed from your selection, when you launch a game before it catches up the game will launch with the wrong marquee. Is there way to maybe force load the current game's marquee on launch (instead of using whatever is currently being cached)? Thanks!
  6. I cannot get automated imports to detect any new games within BigBox mode. I have 'Automated Imports' checked within desktop mode. Is this not supported? Thanks.
  7. Thanks so much! This worked for me.. <DataTrigger Binding="{Binding Path=IsActive}" Value="False">
  8. Hello, I'm trying to get the marquee to only be a single static png (marquee.png) except when a game is running. I'm modifying CriticalZoneV2 - Default to understand how it works since I'm very new to BigBox/Themes. Is there some type of binding to tell when a game is running? I just put in IsGameRunning as a placeholder binding. My thought was to use a DataTrigger to chose the scenario (playing a game vs not playing a game..) Any ideas of how to achieve this? Thank you! <UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 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" Style="{DynamicResource UserControlStyle}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://siteoforigin:,,,/Themes/CriticalZoneV2 - Default/Styles/UserControlStyle.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </UserControl.Resources> <Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> <Image Name="MarqueeImage" Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center" RenderOptions.BitmapScalingMode="HighQuality"> <Image.Style> <Style TargetType="Image"> <Setter Property="Source" Value="pack://siteoforigin:,,,/Themes/CriticalZoneV2 - Default/Images/marquee.png" /> <Style.Triggers> <DataTrigger Binding="{Binding Path=IsGameRunning}" Value="True"> <Setter Property="Source" Value="{Binding Path=SelectedGame.MarqueeImagePath}" /> </DataTrigger> </Style.Triggers> </Style> </Image.Style> </Image> </Grid> </UserControl>
×
×
  • Create New...