-
Posts
11 -
Joined
-
Last visited
Recent Profile Visitors
347 profile views
ReenigneArcher's Achievements
8-Bit Processor (3/7)
1
Reputation
-
I have a couple of question about wheels. Is it possible to have a wheel that has a start and end, instead of automatically looping? Similar to how the default theme handles favorites and recent on the PlatformWheel1FiltersView. Imagine the default theme PlatformWheel1FiltersView... Is it possible to hide the wheel when you highlight a favorite or recent item? By hide, I mean the whole screen would slide left until the wheel is off the screen. Is it possible to have a wheel that combines text and an image? For example the xaml could generate the system name next to a custom clear logo? And about transition presenters... Do the following always return favorites, and recent? Are there other filters that can be used similarly? I noticed the recent list always starts with recently played, and then shows other games that have never been played (I assume recently added). <transitions:TransitionPresenter Grid.Row="3" TransitionSelector="{Binding TopBoxesTransitionSelector}" Content="{Binding TopBoxesView}" /> <transitions:TransitionPresenter Grid.Row="5" TransitionSelector="{Binding BottomBoxesTransitionSelector}" Content="{Binding BottomBoxesView}" /> It would be nice if you could show more filters like separated recently played and recently added. Maybe top rated (by community) games. Maybe recently released games.
-
I know this is not ideal and may be a lot of work, but you could include all the cartridge images with your theme and use a custom image. The BannerBox theme does something like this which was created using the community theme creator as well. I haven't messed around with the theme creator much but I believe it can create the images in a somewhat automated way.
-
Okay. I get the xaml part of it, the C# part of it, I sort of get... What I don't get is how to actually get started with the C# project (it's been 7 years since my intro to C# and definitely do not remember much of it), or how to make it a DLL that the theme can use. I'm making an assumption thinking it needs to be a DLL in the theme plugins folder. I'll keep googling, haha. Many xaml things I've looked up mention using a converter, so I suppose I should try to learn it.
-
Could you provide an example (preferably a simple example) of this?
-
Hoping someone has a solution to this. I finally found a way to read values from an XML file into XAML (as shown in first TextBlock, first 2 bindings). I want to use the text from the first TextBlock as the XPath in the second TextBlock, but I get an error (attached) when it tries to run. If I type out the values exactly as in the string format from the first TextBlock into the XPath of the second TextBlock it will work. ... ... ... <UserControl.Resources> <!--USER CONFIG XML FILE--> <XmlDataProvider x:Key="ConfigFile" Source="{}pack://siteoforigin:,,,/Themes/MyTheme/Configuration/config.xml" XPath="Config"/> <!--THEME CONFIG XML FILES--> <XmlDataProvider x:Key="ResourcesFile" Source="{}pack://siteoforigin:,,,/Themes/MyTheme/Resources/resources.xml" XPath="resources"/> </UserControl.Resources> <Canvas Name="Canvas"> <!--TESTING--> <TextBlock x:Name="Testing" Panel.ZIndex="10"> <TextBlock.Text> <MultiBinding StringFormat="themes/theme[@title='{0}']/colorset[@title='{1}']/view[@title='{2}']/{3}/{4}"> <Binding Source="{StaticResource ConfigFile}" XPath="theme"/> <Binding Source="{StaticResource ConfigFile}" XPath="colorset"/> <Binding Path="." Source="platform"/> <Binding Path="." Source="background"/> <Binding Path="." Source="color"/> </MultiBinding> </TextBlock.Text> </TextBlock> <TextBlock x:Name="Testing1" Panel.ZIndex="10"> <TextBlock.Text> <MultiBinding StringFormat="{}{0}"> <Binding Source="{StaticResource ResourcesFile}" XPath="{Binding ElementName=Testing, Path=Text}"/> </MultiBinding> </TextBlock.Text> </TextBlock> </Canvas> ... ... ... This method would be less ideal as it would require me to have many more XML files, but I also tried using a UserControl frame inside of the canvas (XmlDataProvider object has to be inside of a UserControl frame... I think). with the following code, which produced a similar error. It doesn't allow me to bind to the Source property. <Canvas Name="Canvas"> <!--TESTING XML--> <!--colorset xml path--> <TextBlock x:Name="ColorsetXmlFilePath" Visibility="Collapsed"> <TextBlock.Text> <MultiBinding StringFormat="{}pack://siteoforigin:,,,/Themes/RecalBigBox/Resources/{0}/{1}.xml"> <Binding Source="{StaticResource ConfigFile}" XPath="theme"/> <Binding Source="{StaticResource ConfigFile}" XPath="colorset"/> </MultiBinding> </TextBlock.Text> </TextBlock> <UserControl> <UserControl.Resources> <!--LOAD THE COLORSET XML FILE--> <XmlDataProvider x:Key="ColorsetXmlFile" Source="{Binding ElementName=ColorsetXmlFilePath, Path=Text}" XPath="colorset"/> </UserControl.Resources> </UserControl> <!--THEME NAME FROM USER CONFIG FILE--> <TextBlock x:Name="BackgroundColor" Panel.ZIndex="10"> <TextBlock.Text> <MultiBinding StringFormat="{}{0}"> <Binding Source="{StaticResource ColorsetXmlFile}" XPath="view[@title='platform']/background/color"/> </MultiBinding> </TextBlock.Text> </TextBlock> Open to any solutions for importing values from a config file, whether xml or any other type of config.
-
Thanks, I just checked that out. Not sure that's going to work for me. Adding 300 lines of code for one image isn't exactly ideal, and the main reason I'd like to use SVG is I already have hundreds of images in SVG format and don't want to convert them. Of course the real benefit is how the images scale. For now, I'll continue with PNG, although SVG image support was added to xaml by Microsoft in 2017 (https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.media.imaging.svgimagesource?view=winrt-18362). Hopefully this can be added to BigBox. As long as the application was compiled for the proper version of Windows 10 (1703) or newer. As Windows 7 is end of life, I wouldn't think it would be a problem to get this added.
-
I found that yesterday, but have not tried it yet. I'm pretty comfortable working with text based files. Might give it a try though. I saw the BannerBox theme was created using the theme creator.
-
ReenigneArcher changed their profile photo
-
I'm fairly new to BigBox, but creating my first theme for it (also new xaml but familiar with other languages). A few issues I'm running into. The PlatformWheel1FiltersView is used for Platforms, Playlists, and Platform Categories Is it possible to display different text depending on which type of filter you are using? For example I am showing Developer, CPU, etc. in text blocks, but if on Playlists or Platform Categories I would like to show something else. The SelectedPlatform.TotalGameCount only works on the Platforms filter. Is it possible to get total playlist count? Total item count in platform categories? (Edit: sort of found a solution. Found that Binding GamesCount will work for Platforms, Playlists and Platform Categories (except custom platform categories which contain only playlists)) Additionally for SelectedPlatform is there a way to get number of favorites for that platform? Is it possible to use .svg images? Or can the support for this be added? Is it possible to have theme settings and an interface where the user could change options? If so is there an example theme that uses something like this. For example a setting (Theme Mode for example) could equal Light, Dark, Bananas, etc., then that value could be used in bindings and such.
-
Found the answer for dynamic path in this post.
-
Did a little more digging and found that Svg images are supported only if the application was compiled for Windows 10 (1703 or newer). https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.Image?view=winrt-18362 Ctrl+F in that for SvgImageSource... Maybe support for this could be added. I think scalable images would be a great improvement and would really help make themes look nice no matter what resolution they are used at.
-
I am just getting started on creating my first theme for BigBox. Sorry if this is a noob question, xaml is completely new to me. I watched some tutorials up to this video so far. This video shows how to have different items depending on a property such as PlatformTitle. What if you want to use the PlatformTitle as part of your path no matter what platform is selected? Is this supported and how would you go about it? I don't want to have a trigger for each platform. <Image Source"pack://siteoforigin:,,,/Themes/MyTheme/Resources/[PlatformTitle]/image.png" ... /> And two other questions... Are .svg files supported by BigBox? Is it possible to have the pack://siteoforigin:,,, syntax point to the theme directory instead of the launchbox directory? Perhaps there is (or could be) a variable to use for the currently applied theme? This would be better if you copy a theme as you wouldn't need to modify all of these sources.