Getting Started With LaunchBox Themes
Written By launchbox
Last updated About 1 month ago
LaunchBox Desktop themes let you customize the main LaunchBox interface with WPF XAML. These themes are different from Big Box themes, Startup themes, and Pause themes. A LaunchBox Desktop theme lives in the LBThemes folder and controls the normal LaunchBox window experience.
Where LaunchBox Themes Live
LaunchBox Desktop themes are stored here:
LaunchBox\LBThemesEach theme has its own folder:
LaunchBox\LBThemes\[Theme Name]The main XAML files for the theme live inside the theme's Views folder:
LaunchBox\LBThemes\[Theme Name]\ViewsThis is separate from Big Box themes, which use:
LaunchBox\ThemesIt is also separate from game startup and pause themes, which use:
LaunchBox\StartupThemes LaunchBox\PauseThemesStarting From the Default Theme
The easiest way to create a LaunchBox theme is to copy the built-in Default theme folder.
Open your LaunchBox folder.
Go to
LBThemes.Copy the
Defaultfolder.Rename the copy to your new theme name.
Edit the XAML files in the copied theme's
Viewsfolder.
For example:
LaunchBox\LBThemes\My Theme\Views\MainView.xamlFor most visual changes, you do not need to compile anything. LaunchBox loads the XAML files directly from the active theme folder.
Selecting the Theme in LaunchBox
After creating the theme folder, select it from the LaunchBox Themes and Media window.
Open LaunchBox.
Go to
Tools>Manage>LaunchBox Themes and Media.Set the type filter to
Themesif needed.Select your installed theme from the list.
Click
Apply Theme.Restart LaunchBox when prompted.
The LaunchBox Themes and Media window is the preferred place to apply LaunchBox Desktop themes. LaunchBox themes are loaded at startup, so changing the selected Desktop theme requires a restart before the full interface is rebuilt with the new XAML.
Theme Folder Basics
A LaunchBox theme keeps customized XAML in its Views folder and may also include Images, Fonts, and Plugins folders.
For the complete directory layout and guidance on what belongs in each folder, see LaunchBox Theme Files and Folder Structure. Most new themes should begin as XAML-only themes and add other folders only as needed.
What to Edit First
Most theme developers should begin with these files:
MainView.xamlcontrols the overall LaunchBox window layout.SideBarView.xamlcontrols the left navigation, filters, and search area.BoxesContentView.xamlcontrols the box/grid game view.ListContentView.xamlcontrols the list/table game view.GameDetailsView.xamlcontrols the selected game's details panel.
Start with small changes and restart LaunchBox to test. If a custom XAML file fails to load, LaunchBox can fall back to the matching file from the Default theme.
Important Notes
LaunchBox Desktop themes use
LBThemes, notThemes.Big Box themes, Startup themes, and Pause themes are separate systems.
Custom Desktop themes are WPF XAML themes.
LaunchBox must be restarted after selecting a different Desktop theme.
The active theme should preserve the required license UI in
MainView.xaml.
Related Articles
In Short
Create a LaunchBox Desktop theme by copying LaunchBox\LBThemes\Default, renaming the copy, editing the XAML files in Views, applying the new theme from Tools > Manage > LaunchBox Themes and Media, and restarting LaunchBox.