See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'myEmulators.Options' threw an exception. ---> System.TypeLoadException: Could not load type 'Dir' from assembly 'Utils, Version=1.0.2546.32604, Culture=neutral, PublicKeyToken=null'.
at myEmulators.Options..cctor()
--- End of inner exception stack trace ---
at myEmulators.Options.getStringOption(String name)
at myEmulators.Class1.GetHome(String& strButtonText, String& strButtonImage, String& strButtonImageFocus, String& strPictureImage)
at MediaPortal.Configuration.Sections.PluginsNew.listViewPlugins_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Configuration
Assembly Version: 1.0.2548.23843
Win32 Version: 1.0.2548.23843
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Configuration.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Core
Assembly Version: 1.0.2546.32606
Win32 Version: 1.0.2546.32606
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Databases
Assembly Version: 1.0.2546.32610
Win32 Version: 1.0.2546.32610
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
DirectShowLib
Assembly Version: 1.4.0.32931
Win32 Version: 1.4.0.32931
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DirectShowLib.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Bass.Net
Assembly Version: 2.3.0.9
Win32 Version: 2.3.0.9
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Bass.Net.DLL
----------------------------------------
RemotePlugins
Assembly Version: 1.0.2546.32615
Win32 Version: 1.0.2546.32615
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
BassRegistration
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/BassRegistration.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
sevcrldi
Assembly Version: 1.0.2546.32606
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
TVCapture
Assembly Version: 1.0.2546.32612
Win32 Version: 1.0.2546.32612
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
----------------------------------------
TaskScheduler
Assembly Version: 1.1.1007.26951
Win32 Version: 1.1.1007.26951
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TaskScheduler.DLL
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Dialogs
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
----------------------------------------
myEmulators
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/myEmulators.dll
----------------------------------------
Utils
Assembly Version: 1.0.2546.32604
Win32 Version: 1.0.2546.32604
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
WindowPlugins
Assembly Version: 1.0.2548.23861
Win32 Version: 1.0.2548.23861
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.dll
----------------------------------------
XihSolutions.DotMSN
Assembly Version: 2.0.1.15051
Win32 Version: 2.0.1.15051
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/XihSolutions.DotMSN.DLL
----------------------------------------
SubtitlePlugins
Assembly Version: 1.0.2546.32624
Win32 Version: 1.0.2546.32624
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/subtitle/SubtitlePlugins.dll
----------------------------------------
TagReaderPlugins
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/tagreaders/TagReaderPlugins.dll
----------------------------------------
ExternalPlayers
Assembly Version: 1.0.2546.32617
Win32 Version: 1.0.2546.32617
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/externalplayers/ExternalPlayers.dll
----------------------------------------
Interop.iTunesLib
Assembly Version: 1.7.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Interop.iTunesLib.DLL
----------------------------------------
ProcessPlugins
Assembly Version: 1.0.2548.23824
Win32 Version: 1.0.2548.23824
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.DLL
----------------------------------------
WinLIRC3
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/WinLIRC3.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'myEmulators.Options' threw an exception. ---> System.TypeLoadException: Could not load type 'Dir' from assembly 'Utils, Version=1.0.2546.32604, Culture=neutral, PublicKeyToken=null'.
at myEmulators.Options..cctor()
--- End of inner exception stack trace ---
at myEmulators.Options.getStringOption(String name)
at myEmulators.Class1.GetHome(String& strButtonText, String& strButtonImage, String& strButtonImageFocus, String& strPictureImage)
at MediaPortal.Configuration.Sections.PluginsNew.listViewPlugins_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Configuration
Assembly Version: 1.0.2548.23843
Win32 Version: 1.0.2548.23843
CodeBase: file:///C:/Program%20Files/Media%20Portal/Configuration.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Core
Assembly Version: 1.0.2546.32606
Win32 Version: 1.0.2546.32606
CodeBase: file:///C:/Program%20Files/Media%20Portal/Core.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Databases
Assembly Version: 1.0.2546.32610
Win32 Version: 1.0.2546.32610
CodeBase: file:///C:/Program%20Files/Media%20Portal/Databases.DLL
----------------------------------------
DirectShowLib
Assembly Version: 1.4.0.32931
Win32 Version: 1.4.0.32931
CodeBase: file:///C:/Program%20Files/Media%20Portal/DirectShowLib.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/WINNT/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Bass.Net
Assembly Version: 2.3.0.9
Win32 Version: 2.3.0.9
CodeBase: file:///C:/Program%20Files/Media%20Portal/Bass.Net.DLL
----------------------------------------
RemotePlugins
Assembly Version: 1.0.2546.32615
Win32 Version: 1.0.2546.32615
CodeBase: file:///C:/Program%20Files/Media%20Portal/RemotePlugins.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINNT/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINNT/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
BassRegistration
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Portal/BassRegistration.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
fncodryt
Assembly Version: 1.0.2546.32606
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
TVCapture
Assembly Version: 1.0.2546.32612
Win32 Version: 1.0.2546.32612
CodeBase: file:///C:/Program%20Files/Media%20Portal/TVCapture.DLL
----------------------------------------
TaskScheduler
Assembly Version: 1.1.1007.26951
Win32 Version: 1.1.1007.26951
CodeBase: file:///C:/Program%20Files/Media%20Portal/TaskScheduler.DLL
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Dialogs
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/windows/Dialogs.DLL
----------------------------------------
myEmulators
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/windows/myEmulators.dll
----------------------------------------
Utils
Assembly Version: 1.0.2546.32604
Win32 Version: 1.0.2546.32604
CodeBase: file:///C:/Program%20Files/Media%20Portal/Utils.DLL
----------------------------------------
WindowPlugins
Assembly Version: 1.0.2548.23861
Win32 Version: 1.0.2548.23861
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/windows/WindowPlugins.dll
----------------------------------------
XihSolutions.DotMSN
Assembly Version: 2.0.1.15051
Win32 Version: 2.0.1.15051
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/windows/XihSolutions.DotMSN.DLL
----------------------------------------
SubtitlePlugins
Assembly Version: 1.0.2546.32624
Win32 Version: 1.0.2546.32624
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/subtitle/SubtitlePlugins.dll
----------------------------------------
TagReaderPlugins
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/tagreaders/TagReaderPlugins.dll
----------------------------------------
ExternalPlayers
Assembly Version: 1.0.2546.32617
Win32 Version: 1.0.2546.32617
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/externalplayers/ExternalPlayers.dll
----------------------------------------
Interop.iTunesLib
Assembly Version: 1.7.0.0
Win32 Version: 1.7.0.0
CodeBase: file:///C:/Program%20Files/Media%20Portal/Interop.iTunesLib.DLL
----------------------------------------
ProcessPlugins
Assembly Version: 1.0.2548.23824
Win32 Version: 1.0.2548.23824
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/process/ProcessPlugins.DLL
----------------------------------------
Zap2itPlugin
Assembly Version: 1.5.2381.20737
Win32 Version: 1.5.2381.20737
CodeBase: file:///C:/Program%20Files/Media%20Portal/plugins/process/Zap2itPlugin.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Sorry for that. I used MediaPortal's built-in method of finding out where the database directory is located, but it seems that this method doesn't exist in most versions. I tested it for version 0.2.2.0 of MP and it worked though. I'll upload a fix where I'll just hardcode it to install dir/database instead as soon as I can.
EDIT: I have now made the changes and tested it for MP version 0.2.2.0 and 0.2.1.0. As long as the animation tags in the skin are removed, it should work with the older versions. Let me know if I solved the problem!
What is now the best way to close emulator programs (without keyboard). Is it possible somehow to choose that some remote control button will be Alt+F4?