Jump to content
LaunchBox Community Forums

Recommended Posts

  • 4 months later...

I'm getting these 2 errors when I apply the theme:

Could not load type 'Meta.Vlc.Wpf.VlcPlayer' from assembly 'Unbroken.LaunchBox.Windows, Version=11.8.0.0, Culture=neutral, PublicKeyToken=97d6238f04304129'.

App:     Big Box
Version: 11.8
Type:    System.TypeLoadException
Site:    Void .ctor(Boolean)
Source:  Ao.Bigbox.Themer.v3_9_7

   at Ao.Bigbox.Utils.Media.MediaPlayer_VLC..ctor(Boolean hwDecodingEnabled)
   at Ao.Bigbox.Utils.Media.MediaPlayerFactory.CreateMediaPlayer(MediaPlayerImpl impl)
   at Ao.Bigbox.Utils.Media.MediaPlayerFactory.CreateMediaPlayer(MediaPlayerImpl impl)
   at Ao.Bigbox.Controls.MediaTrack.ConfigMediaPlayer(Boolean loaded)
   at Ao.Bigbox.Controls.MediaTrack.<.ctor>b__6_0(Object o, RoutedEventArgs e)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   5:23:19 PM Exception

and

Could not load type 'Meta.Vlc.Wpf.VlcPlayer' from assembly 'Unbroken.LaunchBox.Windows, Version=11.8.0.0, Culture=neutral, PublicKeyToken=97d6238f04304129'.

App:     Big Box
Version: 11.8
Type:    System.TypeLoadException
Site:    Void Dispose(Boolean)
Source:  Ao.Bigbox.Themer.v3_9_7

   at Ao.Bigbox.Utils.Media.MediaPlayer_VLC.Dispose(Boolean disposing)
   at Ao.Bigbox.Utils.Media.MediaPlayer_VLC.Finalize()

Recent Log:

   5:23:50 PM Exception

It works fine on my old installation, but I just got a new computer to play on, and when I extracted the files to the Themes folder (and unblocked the files) of the fresh installation, I'm getting these errors.

I also reported the issue on the Luanchbox Bitbucket page: Issue 5818

This is my favorite theme for Launchbox/Big Box, I'm hoping there's a simple fix I'm mising here.

Edited by Pyrometheous
Link to comment
Share on other sites

27 minutes ago, Pyrometheous said:

This is my favorite theme for Launchbox/Big Box, I'm hoping there's a simple fix I'm mising here.

The fix is that the theme needs updating, it uses a video plugin that interacts with VLC, VLC was moved so the plugin can no longer find it and throws the error. The theme and plugin creator has not been on the forums in 6 months, so i dont expect the theme will get that update im afraid.

Link to comment
Share on other sites

1 hour ago, Pyrometheous said:

I'm getting these 2 errors when I apply the theme:


Could not load type 'Meta.Vlc.Wpf.VlcPlayer' from assembly 'Unbroken.LaunchBox.Windows, Version=11.8.0.0, Culture=neutral, PublicKeyToken=97d6238f04304129'.

App:     Big Box
Version: 11.8
Type:    System.TypeLoadException
Site:    Void .ctor(Boolean)
Source:  Ao.Bigbox.Themer.v3_9_7

   at Ao.Bigbox.Utils.Media.MediaPlayer_VLC..ctor(Boolean hwDecodingEnabled)
   at Ao.Bigbox.Utils.Media.MediaPlayerFactory.CreateMediaPlayer(MediaPlayerImpl impl)
   at Ao.Bigbox.Utils.Media.MediaPlayerFactory.CreateMediaPlayer(MediaPlayerImpl impl)
   at Ao.Bigbox.Controls.MediaTrack.ConfigMediaPlayer(Boolean loaded)
   at Ao.Bigbox.Controls.MediaTrack.<.ctor>b__6_0(Object o, RoutedEventArgs e)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   5:23:19 PM Exception

and


Could not load type 'Meta.Vlc.Wpf.VlcPlayer' from assembly 'Unbroken.LaunchBox.Windows, Version=11.8.0.0, Culture=neutral, PublicKeyToken=97d6238f04304129'.

App:     Big Box
Version: 11.8
Type:    System.TypeLoadException
Site:    Void Dispose(Boolean)
Source:  Ao.Bigbox.Themer.v3_9_7

   at Ao.Bigbox.Utils.Media.MediaPlayer_VLC.Dispose(Boolean disposing)
   at Ao.Bigbox.Utils.Media.MediaPlayer_VLC.Finalize()

Recent Log:

   5:23:50 PM Exception

It works fine on my old installation, but I just got a new computer to play on, and when I extracted the files to the Themes folder (and unblocked the files) of the fresh installation, I'm getting these errors.

I also reported the issue on the Luanchbox Bitbucket page: Issue 5818

This is my favorite theme for Launchbox/Big Box, I'm hoping there's a simple fix I'm mising here.

Just to chime in as a long time user of this theme and even a fork of this theme which I put together, I can tell you that it's been broken ever since version 10 (-ish?) of LaunchBox/BigBox. So, I'd advise you to keep your old installation if you want to keep using Nostalgia until the author of this theme applies a fix or update to get it working with the most recent version.

Link to comment
Share on other sites

2 hours ago, neil9000 said:

The fix is that the theme needs updating, it uses a video plugin that interacts with VLC, VLC was moved so the plugin can no longer find it and throws the error. The theme and plugin creator has not been on the forums in 6 months, so i dont expect the theme will get that update im afraid.

That's unfortunate. I hope the creator is okay, and is able to implement a fix, this has been an amazing theme.

1 hour ago, bundangdon said:

Just to chime in as a long time user of this theme and even a fork of this theme which I put together, I can tell you that it's been broken ever since version 10 (-ish?) of LaunchBox/BigBox. So, I'd advise you to keep your old installation if you want to keep using Nostalgia until the author of this theme applies a fix or update to get it working with the most recent version.

Do you know which file(s)/directories I can pull from the old installation that will make it work on the new computer? Part of me really doesn't want to copy the whole directory.

Link to comment
Share on other sites

27 minutes ago, Pyrometheous said:

That's unfortunate. I hope the creator is okay, and is able to implement a fix, this has been an amazing theme.

Do you know which file(s)/directories I can pull from the old installation that will make it work on the new computer? Part of me really doesn't want to copy the whole directory.

I'm not totally sure, but you'd have to keep most of the installation files and folders because it's built into the executable (LaunchBox.exe and BigBox.exe), but stuff like games, images, videos, sounds, themes and configuration files within the LaunchBox folder can be interchanged (kept) with either version.

Link to comment
Share on other sites

7 hours ago, Pyrometheous said:

The CoinOP theme is similar, I wonder if there would be a way to modify that one to look more like Nostalgia. I have some development experience, but haven't had time to learn how to do themes yet, maybe I can figure out a way to create a spiritual successor of some kind.

Or, what you could do is use the same artwork from Nostalgia and CoinOp to put something (similar) together with the Community Theme Creator, which will obviously take some time and effort but a lot easier than having to manually code another theme

Link to comment
Share on other sites

3 minutes ago, bundangdon said:

Or, what you could do is use the same artwork from Nostalgia and CoinOp to put something (similar) together with the Community Theme Creator, which will obviously take some time and effort but a lot easier than having to manually code another theme

Where is this Community Theme Creator? I'd love to give this a try.

Link to comment
Share on other sites

Okay, I've been playing around with the Community Theme Creator, and it's been a little difficult to work with, but I'm making progress. Currently, I'm running into an issue with the platform videos not lining up correctly for each platform. I don't know how to have the position be unique per platform so that they align with the screens correctly.

 

  • Game On 1
Link to comment
Share on other sites

1 hour ago, Pyrometheous said:

Okay, I've been playing around with the Community Theme Creator, and it's been a little difficult to work with, but I'm making progress. Currently, I'm running into an issue with the platform videos not lining up correctly for each platform. I don't know how to have the position be unique per platform so that they align with the screens correctly.

 

My 2 cents would be not to match the video to each graphic, but to match each graphic to the position of the video.

Link to comment
Share on other sites

2 hours ago, faeran said:

My 2 cents would be not to match the video to each graphic, but to match each graphic to the position of the video.

I might, but I'm trying to re-create it to match what it was before. I liked that the screen was able to move around depending on the display like that.

I've simultaneously been working on fixing the original theme to work with the new version of LB/BB, and I've made some good progress, but I'm getting this stupide blocked DLL error, and I'm pulling my hair out trying to figure out why it still thinks the file is blocked. The unblock checkbox doesn't appear in properties, I've written a powershell script to unblock everything in that directory, but still LB thinks they're blocked. Outside of that, the theme doesn't crash BigBox anymore, and everything appears to be in working order, except for video playback. So I think I'm getting closer to fixing this theme. I had to go back to an earlier version of the theme and start working up from there. May not finish this today, but I'm happy with the progress I'm making. 

If anyone has a suggestion for how to fix the DLL being blocked, let me know.

The PowerShell script I wrote for it is:

Read-Host -Prompt "Path of Blocked File" -OutVariable _BlockedFile; get-childitem $_BlockedFile | unblock-file -confirm

I was thinking that, if I get this theme patched, I could upload it with the .ps1 file to make it easier for people to unblock them.

Link to comment
Share on other sites

Just an FYI, but one possible fix is if you change your BB video engine to Windows Media the theme still works. WMP is actually the recommended setting for this theme, but VLC is the recommended setting for BB. So if you are dead set on using this theme, there is at least an option until a fix is done.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, Retro808 said:

Just an FYI, but one possible fix is if you change your BB video engine to Windows Media the theme still works. WMP is actually the recommended setting for this theme, but VLC is the recommended setting for BB. So if you are dead set on using this theme, there is at least an option until a fix is done.

You're amazing, thank you, I'll give that a try when I jump back on that computer. Hopefully it works. 

Link to comment
Share on other sites

5 minutes ago, Pyrometheous said:

You're amazing, thank you, I'll give that a try when I jump back on that computer. Hopefully it works. 

I just got done testing to confirm and it works fine on several set-ups. So hopefully no issues for you either. The theme’s issue is with its reference to VLC. Since it is not needing access to VLC you bypass the issue. 

  • Game On 1
Link to comment
Share on other sites

41 minutes ago, Retro808 said:

I just got done testing to confirm and it works fine on several set-ups. So hopefully no issues for you either. The theme’s issue is with its reference to VLC. Since it is not needing access to VLC you bypass the issue. 

Just tested it myself, and it works perfectly with that one thing changed. I can't believe it was such a simple fix. Now I'm curious if I can change the clock to a 12hr format lol. Thank you so much for figuring this out for me, that really made my day.

Link to comment
Share on other sites

Yes, this theme works with WMP but not VLC, as noted by Jason in the thread I mentioned. The problem for me was I don't have WMP installed and I'd rather avoid since I also use LB on Linux.

As it turns out, I forgot to move the VLC folder back for the previous beta. Beta 10 is out now with the moved VLC folder back to the original location (which should fix the issues with eatkinola's plugins).

Edited by Tony
Link to comment
Share on other sites

27 minutes ago, Pyrometheous said:

Just tested it myself, and it works perfectly with that one thing changed. I can't believe it was such a simple fix. Now I'm curious if I can change the clock to a 12hr format lol. Thank you so much for figuring this out for me, that really made my day.

Should be able to adjust that easily. In the theme's folder go to the \Views\Styles folder and right click+edit the Nostalgia.xaml. Go to line 123 and change the Setter Property for Hour12 from "False" to "True".

18 minutes ago, Tony said:

Yes, this theme works with WMP but not VLC, as noted by Jason in the thread I mentioned. The problem for me was I don't have WMP installed and I'd rather avoid since I also use LB on Linux.As it turns out, I forgot to move the VLC folder back for the previous beta. Beta 10 is out now with the moved VLC folder back to the original location (which should fix the issues with eatkinola's plugins).

Yes I am aware of that which is why I mentioned it was a possible option. Unfortunately for users such as you this theme requires either a fix from Eatkinola or hopefully something from Jason.

  • Like 1
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.

×
×
  • Create New...