Jump to content
LaunchBox Community Forums

Fry

Members
  • Posts

    284
  • Joined

  • Last visited

  • Days Won

    1

File Comments posted by Fry

    Eclipse

       2,784    154

    Yeah something we found is that there was a bug prior to the latest version (.014) where if you have multiple playlists with non-unique sort titles it would error when building the game lists. I’ve put in a temporary fix that just combines all playlists with identical names into a single list. I’ll be looking into an ability to support multiple playlists with the same sort title as their own distinct list. 

    • Like 1

    Eclipse

       2,784    154

    Hi there, I’m glad you’re enjoying the theme so far.

    So you would prefer the lists to not replicate items to fill the screen and instead just end with however many items are in the list. You mentioned some changes in previous versions of LaunchBox and that this is an issue in other themes as well. So I’ll point out a few things about this theme. It is not built using the native LaunchBox theme engine like pretty much any other theme. This theme functions pretty differently than others because the functionality is built completely in C# using the plugin API. So if you take a look at the theme itself, you’ll find there is just one view and that view just references the plugin user control that I built to operate this theme and there are no other elements on there. You can take a look at the code for the theme in the repo here: 

    https://github.com/AtomFry/Eclipse/blob/master/Eclipse/Eclipse/LaunchBox/Themes/Eclipse/Views/PlatformWheel1FiltersView.xaml

    I wanted to point that out since you mentioned you are new to LaunchBox and mentioned possibly editing theme files to affect this change on this and on other themes. So for other themes I’m not too sure how you’d go about making this change. If it is possible then in the view XAML, you would need to modify some properties on the wheel to specify not to repeat items but I have bo idea if such a property exists. For this theme, since the functionality is defined in a plugin, we need to change some C# code that describes the behavior of the eclipse game lists to affect this change and recompile the plugin and update the plugin in the LaunchBox\Plugins folder. Of course you are more than welcome to pull down the project and make any code changes. But you mentioned you may be a little limited on coding knowledge. If you are interested and want to get into it, I found LaunchBox plugin development to be a pretty fun hobby!  Anyways, because of my terrible implementation of game lists in this theme (I was very new to WPF at the time) the change you’re asking for is not that straightforward. It’s definitely possible but my design has made this more difficult on us than it needs to be. It may take some time since I am busy with some stuff at the moment but it’s possible I can add a toggle to the settings that lets you choose if the lists repeat endlessly or not. 
     

    ok so your second question, I’m a little confused about. Just to clarify, when using this theme you probably want the standard attract mode to be turned off. In BigBox, You can go into options - options - attract mode - and switch off enable attract mode. And then if you go out of big box and into Launch Box and select tools - manage eclipse - other (tab) - there is a check box to toggle the screen saver on or off. Also on the inputs tab there is a setting that lets you bypass game details. I wasn’t clear from your description of a play button being there in screen saver mode and games automatically starting what was going on. Those aren’t really features in this theme. It made me wonder if you have any other plugins installed?  
     

    So the way the screen saver in this theme should operate is after the screensaver delay elapsed and there has been no user input then background images are randomly selected to fade in and slowly slide across the screen. Are you asking for an attract mode option that plays game preview videos instead?  Or maybe you were looking for a different functionality and I didn’t quite understand. 

    Eclipse

       2,784    154

    FYI - I've uploaded version 13 with a fix for the background videos playing while you start up a game.  I've done a lot of testing today and haven't had that issue occur since so I think it's solved.  Please let me know if anyone updates to version 13 and still runs into that problem! 

    Also FYI - I'm working on a few other minor features since time has been short before I dig into a bigger feature of a metadata search that lets you do an on screen keyboard search that presents matching metadata options that should help you to quickly filter your game collection.  Not sure how long that one will take me.  

    • Thanks 2

    Eclipse

       2,784    154

    Awesome!  Glad you got it working. That’s weird though, I didn’t think this theme was available to install from the manage themes menu.  I have not submitted it for review/approval for the official themes because of the nature of this theme being 99% based on a plugin I don’t think it could pass the approval process for an official theme.  I wonder if you had installed it manually and then enabled it through the theme manager?  Anything installed will be visible there to be enabled so that could be it. Anyways, glad you got it working now. 

    Eclipse

       2,784    154
    4 hours ago, T-tot said:

    I would like to speed up the delay between the videos and the images when scrolling, 

    image.thumb.png.ce12c535a89c808ae7ab1724fe713fee.pngYou can see if the video delay setting gets you what you are going for?  In LaunchBox go to tools > manage eclipse > other and use the video delay slider to decrease the time that the theme stays on the fan art background image before it fades into the preview video. I’m not sure if this is exactly what you are looking for or are you looking for something else?

    • Thanks 1

    Eclipse

       2,784    154

    Uploaded Eclipse v0.0.012 

    • Added setting that lets you bypass the game details screen
    • Added page up and page down options that let you play a game, bypassing the game details screen
    • Added page up and page down options that let you view game details

    image.thumb.png.503cbb3aeba54e3402990139cec4a641.png

    So if you want to mostly bypass the game details you can toggle the bypass details settings on and pressing enter on a game will launch the game instead of opening the game details.

    If you want to mostly see the game details before launching a game then you can toggle the bypass details settings off and pressing enter on a game will open the game details like normal.

    Then if you want, you can use the DisplayDetails or PlayGame option on page up and page down to kind of override the behavior.  

    • Thanks 1

    Eclipse

       2,784    154

    Hot keys aren’t so easy. I haven’t figured out how to bind to more inputs. The plugin API only tells me if up, down, left, right, page up, page down, enter, or esc are pressed. 
     

    So a few things I can think of would be easily doable, to add a global option to the settings which lets you choose whether you always or never want to view game details. Another option could be to add an additional behavior selection on page up and/or page down so you can launch a game directly with one input and open the details with the other. Been super busy and haven’t touched the code base in some time but I don’t think these settings would be difficult to add. 

  1. @ARandomMastodon I think it'll work fine out of the box.  To use xdelta, you can download it and place it in the LaunchBox\LaunchBoxRomPatchManager\Patchers folder like this: 

    image.thumb.png.d7795828a3f999c61fa90dc6e6979b5a.png

    Then you need to add the patcher in LaunchBox under Tools > Manage ROM patchers with the command line -f -q -d -s {rom} {patch}

    like this: 

    image.thumb.png.1ec928491a5c23ecd297871a70e15d50.png

    I associated it with Nintendo DS to test the ROM hacks you mentioned.  

    Then you can import the rom hack by right clicking a game and Import ROM Hack.  It doesn't default the patch (I could add a small code change to have it look for xdelta files) but you can manually pick the xdelta file like shown here: 

    image.thumb.png.c9bd0a3de8aed91d4daf7595162e5d94.png

    It was able to successfully patch the game and add the hack.  

     

  2. 7 hours ago, ARandomMastodon said:

    Any chance we could get included xdelta support?

    Could you point me to an xdelta patch or two that I can use to test with?  It is possible we can get it to work without any code change by adding the xdelta patcher to the patchers list with the right command line arguments. It is also possible a code change would be needed to support the xdelta command line arguments. I’d like to test but all the rom hacks I ever tried use ips, bps, or PPF format. If you can link me some xdelta examples, I’ll test it out and report back. 

    Eclipse

       2,784    154

     

    16 minutes ago, Kinglifer said:

    Saw this happen today. Using Sunshine/Moonlight set up.

    Thanks for the heads up.  I have not been able to reproduce this in my development machine, but I am getting it a lot on my arcade cabinet where this is running.  I'll try to get it fixed asap.

    • Thanks 1

    Eclipse

       2,784    154

    I’ve also noticed a bug lately where occasionally, preview videos seem to keep playing when I start a game and when I exit the game the system has gone into the screen saver. It’s supposed to stop preview videos and the screensaver timer while in game so that’s a pretty big issue for me that I’ll make my main focus as soon as I can get back into working on this. I’m curious if other people have experienced that problem. 

  3. A plug-in could be created that would trigger the voice search from a system menu item.  There's currently no way to bind a hotkey to a plug-in system menu item so it would have to be manually selected from the tools menu.  Clicking the menu item could trigger a voice search but there's no plug-in API available to search or filter LaunchBox.  A change would be needed to ILaunchBoxMainViewModel.  So I could either create a custom UI to display the matching games and let you launch them from there or just straight away launch the highest confidence match returned.  It would be doable but not really the best user experience.  The code for the big box voice search is out there and could be adapted as described above but I don't have a ton of interest in that because I mostly just use LaunchBox to manage my games to support my arcade cabinet so I mostly just use BigBox when I'm playing games.  

    Eclipse

       2,784    154

    hehe no worries, should be whatever you have setup as the esc button,  Glad you got it figured out.  Don't hesitate to make any suggestions to improve the project.  I'm not working on it actively at the moment but I pick it back up from time to time and whatever suggestions people make here is what I tend to work on.  

    Eclipse

       2,784    154

    I've uploaded a new version with some minor updates/fixes: 

    • Added setting for default game preview video volume so you can mute game videos if you like
    • Added setting to disable game preview videos
    • Fixed a bug where saving or deleting a custom list would reload the settings and overwrite any changes that had been made
    • Fixed default list type setting so you can only pick from valid options

    Unified Lives!

       2,020    94

    @Rob_G very cool theme, thank you for sharing it with us!  I did find one issue when using the search function that I wanted to make you aware of. 

    (not sure if it's relevant but I'm on LaunchBox 13.0 - also, maybe there's some user error, not sure if I have something going on in my system so ignore this if you can't reproduce it)

    If you press escape to go to the settings screen and select the search function: 

    image.thumb.png.37e8c06ecaf2a4845e0a535a22b04e92.png

    Then search for something that doesn't exist: 

    image.thumb.png.2b5d099f971a79ff89eb2a6c0c39c3d4.png

    You get this error: 

    image.thumb.png.dc4cc6a24daa5ea7f01a5e3d728ee25e.png

    Big box closes once you close the error.  I wasn't sure if it was a LaunchBox/BigBox issue so I tested with some other themes and didn't get the same error so I think it's something in the theme.  Here's the full error text in case it helps: 

    (Inner Exception)

    Object reference not set to an instance of an object.

    App:     Big Box
    Version: 13.0
    Type:    System.NullReferenceException
    Site:    System.Object Convert(System.Object, System.Type, System.Object, System.Globalization.CultureInfo)
    Source:  COMMUNITYc159

       at COMMUNITYconverters.ReturnElementX.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
       at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
       at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
       at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
       at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
       at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
       at MS.Internal.Data.PropertyPathWorker.OnPropertyChanged(Object sender, PropertyChangedEventArgs e)
       at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
       at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
       at Caliburn.Micro.PropertyChangedBase.OnPropertyChanged(PropertyChangedEventArgs e)
       at Caliburn.Micro.PropertyChangedBase.<>c__DisplayClass9_0.<NotifyOfPropertyChange>b__0()
       at Caliburn.Micro.XamlPlatformProvider.<>c__DisplayClass8_1.<OnUIThread>b__0()


    (Outer Exception)

    An error occurred while dispatching a call to the UI Thread

    App:     Big Box
    Version: 13.0
    Type:    System.Reflection.TargetInvocationException
    Site:    Void OnUIThread(System.Action)
    Source:  Caliburn.Micro.Platform

       at Caliburn.Micro.XamlPlatformProvider.OnUIThread(Action action)
       at Caliburn.Micro.Execute.OnUIThread(Action action)
       at Caliburn.Micro.PropertyChangedBase.OnUIThread(Action action)
       at Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange(String propertyName)
       at Unbroken.LaunchBox.Windows.BigBox.ViewModels.GamesViewModelBase.set_ActiveGame(Game value)
       at InterpreterProcess.FlushGlobal(Object , Game game, InterpreterProcess )
       at Unbroken.LaunchBox.Windows.BigBox.ViewModels.WheelGamesViewModel.LoadDetails(Guid instance)
       at FieldProcess.FlushGlobal(Object , Guid i, FieldProcess )
       at Unbroken.LaunchBox.Windows.BigBox.ViewModels.GamesViewModelBase.<>c__DisplayClass203_0.CompareParam()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Threading.ThreadHelper.ThreadStart()

    Recent Log:

       7:55:02 PM Exception

    • Like 1

    Eclipse

       2,784    154
    On 4/5/2022 at 7:06 AM, joey4187 said:

    Found a glitch.   It seems after playing a good  amount of videos the  videos will  then just stop working until restart.

    It will fade from art like it is going to start the video but the video wont play for any game regardless if it was just played already.

    Sorry for the late reply.  Yes this bug seems to have been introduced whenever I reworked the startup process to improve performance.  I've been super swamped with family and work and no time to work on this project but one of these days I plan to address this and several other items. 

     

    Also in case anyone is interested, I have a little proof of concept that I've put together that reimplements my game wheel which improves the performance of loading and scrolling through games a ton.  It's going to require a full reimplementation as the original source code is a bit of a mess and it's all tangled to the wheel implementation.  If anyone has any interest in taking over the code, it's posted, feel free to fork it and do whatever you want with it.  Just throwing that out there as I'm too swamped to work on it at the moment but definitely plan to get back to it one of these days.

    Eclipse

       2,784    154
    19 hours ago, BouncyTheBoy said:

    I know Launchbox's DB links youtube videos but I'm not sure how to get them to play through this theme (or any theme really) or if that's even the correct way to play them here

    I'm not aware of any theme using those youtube links to play videos in themes.  I might be wrong and maybe there's an easy way to do that but if not, that could be a good idea for a plugin.  Normally when you see preview videos in themes, those are video files that are in your LaunchBox\Videos folder: 

    image.thumb.png.1e56e0d59fed187348b264a75578cc80.png

    The easiest way to get videos downloaded automatically and saved properly is via the EmuMovies integration.  It has a one-time cost.  If you have an EmuMovies account, you can set your credentials in LaunchBox under Tools > Options > Integrations > EmuMovies.  With an EmuMovies account linked, LaunchBox can download videos if they are available:

    image.thumb.png.c7f8aef262c86f57b7a894a33a36e81b.png

     

    Also when you edit a game and update metadata, LaunchBox can download the videos: 
    image.thumb.png.6490cee9e6fe1933f98eb1db067a4555.png   

     

    If you don't want to pay for EmuMovies, you can also download any video file and when you edit a game, you can add videos manually.  You can associate any number of videos with a game.  With this particular theme, it will play the first video.  I believe there are some options and other themes may be able to play a random video for each game and change which video is played or cycle through them.  

    Hope that helps!

    Eclipse

       2,784    154
    Quote

    I did find that on certain platforms where it shows the rating the platform logo is too big and only shows a portion of it. 

    Which platform are you having that problem with?  I'll see if I can reproduce the issue and get it fixed.

     

    Quote

    1. Not sure if this feature is there and I cant find it but it would be nice to be able to create playlists.

    I agree, this would be good.  I plan to add this feature some day.  

    Quote

    2.Would be nice to have a search bar for typing keywords like street fighter etc.

    I can add this to the backlog of features.  It would be pretty low for me because I use the voice search for that.

    Quote

    3.If there was a way to change the cursor to the center of the wheel instead of the far left so only a button can access the settings.

    I don't think I would center the selected item because my goal with this theme is to mimic the netflix UI.  But I've seen others suggesting the settings are too easy to accidentally open so I would look into making it configurable to activate the settings with the escape button only or with going left from the first item so you can choose how you'd like to activate them.

    Quote

    4. Would be nice to have a random game button for say 2 players etc.

    The biggest problem is the limited number of inputs that are available via the plugin API.  We only have up, down, left, right, page up, page down, enter, and escape to work with.  I could make it configurable to specify whether the random game button searches across all lists or just across the current list.  Then you could set it so the random button only selects a random game across the current list and go to games by play mode and hit the random button.

    Quote

    5. Would be nice when you click on a game for the game description to show on the screen with the play button.

    I had considered it but many of the descriptions are very long and I felt it takes away from the netflix style aesthetic to have either the description cut off or scrolling. Also, the more I looked at them, I didn't care to have them there.  I could look at adding them with a configuration to turn them off as I wouldn't really want to see them but I do understand the desire to put them there.  

    Quote

    6.Is there a way to remove the ratings and percentage (have no idea what this is) would like to have right under the logo only the system its on and the number of players.

    The ratings show the community rating in white and the user rating in red.  For most lists, the percentage is just the user or community rating as a percentage.  Those are mostly there for the voice search functionality.  When you do a voice search, each phrase that is recognized comes with a confidence rating.  I use that and some other logic to generate a percentage that indicates how likely I think it is that this is what you were searching for.  Not sure if that makes sense.  Anyways, I could look at making it configurable for you to hide those fields.  

     

    Thanks for the suggestions and I'm glad you're liking the theme so far.  I will add them to my backlog and bring them in as time permits.  Don't expect anything super quickly as I'm super limited on time to work on this at the moment but I'll see what I can do.  

    Eclipse

       2,784    154

    Ohhhh man I’m real dumb. I did not understand that you were saying to just open the index because that’s already a feature in big box.  Unfortunately this theme doesn’t support most functionality that you get from the standard theme engine because the entire UI for this theme is built from the ground up. That’s the only way I knew how to create a theme with this look that has multiple wheels on the screen at one time. So this theme won’t be able to take advantage of the index feature. 

    • Like 1

    Eclipse

       2,784    154

    I agree, I would like to add that functionality to jump to next/previous letter. I have been thinking about it and adding it either as a double tap left/right or by adding a configuration that would let you choose what you want under page up and page down so if you don’t care about the random game or the voice search function we could use page up/down to jump left/right. Ideally we could get more key bind options for plug-ins. I requested it here a while back. Go vote for it if you are so inclined: 


    https://bitbucket.org/jasondavidcarr/launchbox/issues/5624/expose-additional-button-events-bindings
     

    @faeran regarding open index, is that an API you’re suggesting to help with implementing a jump to next letter feature or are you saying there’s already a feature like that built into launchbox?  I’m not familiar with it.  

    • Like 1
×
×
  • Create New...