Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

PinballX DOF Plugin [RESOLVED]


Jodannar

Recommended Posts

I finally got my RGB LEDs all working today through VP and B2S. I have done the setup for pinballX also, but its failing to initialize. I have created a GlobalConfig_PinballX.xml, and placed the DirectOutput PinballX Plugin.dll within the pinabllx plugins directory. Its enabled and it can detect DOF. WHen i fire it up, i just get the below generic failed to initalise plugin within the logs. Any ideas? TO me everything should be working correctly.

Init failed: Exception has been thrown by the target of an invocation.

 

17.10.02 05:54:29.678 Initializing plugin
17.10.02 05:54:29.680 Loading PBX config data
17.10.02 05:54:29.692 PBX config data loaded
17.10.02 05:54:29.693 Initializing DOF
17.10.02 05:54:31.473 Init failed: Exception has been thrown by the target of an invocation.

Link to comment
Share on other sites

  • 2 weeks later...
On 11/16/2017 at 5:57 AM, Draco1962 said:

Please attach a copy of your complete log.txt file in addition to your pinballx.ini and GlobalConfig_PinballX.xml files for someone running the dof plugin to lend assistance.

Thanks!

Link to comment
Share on other sites

That error is referring to a target file that doesn't exist.  Check your filenames and paths in all of your setups.

For one, i dont think there is such a file called directoutputconfig40.ini.  It's directoutputconfig30.ini.

Both of those xmls point to directoutputconfig40.ini, every file that i've downloaded from the DOF tool has been directoutputconfig30.ini.  So you may have a typo.

Also my files don't have alot of the direct paths that your using as well, update my files with your led specs but leave the paths alone and see if these work.

Also not sure if i did this for a reason as its been awhile, copy your Directoutput Pinball X plugin.dll into your C:\DirectOutput folder and make sure its unblocked.  I have a copy in the pbx plugins folder and in the C:\DirectOutput folder.

 

GlobalConfig_b2SServer.xml

GlobalConfig_PinballX.xml

Link to comment
Share on other sites

  • 2 weeks later...

Thanks rablack. I missed the file names being incorrect. I’ll check the setup tonight when I get a chance. Apologies between replies, lots of travel is leading to no time to correct this. Thanks 

 

I’m using a teensie for the leds. Work with other controllers in dof just not my pinballx. 

Link to comment
Share on other sites

  • 2 weeks later...

---------------------------------------------------------------------------------
2017.12.18 18:32:14.363    DirectOutput Logger initialized
2017.12.18 18:32:14.363    DirectOutput Version 0.9.5764.18938 as of 2015.10.13 10:31
2017.12.18 18:32:14.363    Global config loaded from: C:\DirectOutput\config\GlobalConfig_PinballX.xml
2017.12.18 18:32:14.363    Loading Pinball parts
2017.12.18 18:32:14.363    Loading cabinet
2017.12.18 18:32:14.378    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.12.18 18:32:15.030    2 output controller defnitions and 5 toy definitions loaded from cabinet config.
2017.12.18 18:32:15.046    Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2017.12.18 18:32:15.046    Cabinet auto configuration started
2017.12.18 18:32:15.061    Debug: Disposing LedWiz instance -01.
2017.12.18 18:32:15.061    Cabinet auto configuration finished
2017.12.18 18:32:15.061    Autoconfig complete.
2017.12.18 18:32:15.061    Cabinet config loaded successfully from C:\DirectOutput\config\cabinet.xml
2017.12.18 18:32:15.061    Cabinet loaded
2017.12.18 18:32:15.061    Loading table config
2017.12.18 18:32:15.061    No TableFilename specified, will use empty tableconfig
2017.12.18 18:32:15.061    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName PinballX
2017.12.18 18:32:15.061    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.12.18 18:32:16.154    Loading LedControl file C:\DirectOutput\config\directoutputconfig40.ini
2017.12.18 18:32:16.310    2 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.12.18 18:32:16.310    Config for RomName PinballX exists in LedControl data. Updating cabinet and config.
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 34, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 35, T: 0, W: 30, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 65, T: 0, W: 35, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    EXCEPTION: DirectOutput framework has encountered a exception during setup.
2017.12.18 18:32:16.325    EXCEPTION: Thread: 
2017.12.18 18:32:16.325    EXCEPTION: Message: NullReferenceException --> Object reference not set to an instance of an object.
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Setup.Configurator.SetupTable(Table Table, Dictionary`2 TableConfigDict, Dictionary`2 ToyAssignments, String IniFilePath)
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Setup.Configurator.Setup(LedControlConfigList LedControlConfigList, Table Table, Cabinet Cabinet, String RomName)
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.12.18 18:32:16.341    EXCEPTION: Targetsite: Void SetupTable(DirectOutput.Table.Table, System.Collections.Generic.Dictionary`2[System.Int32,DirectOutput.LedControl.Loader.TableConfig], System.Collections.Generic.Dictionary`2[System.Int32,System.Collections.Generic.Dictionary`2[System.Int32,DirectOutput.Cab.Toys.IToy]], System.String)
2017.12.18 18:32:16.341    Warning: DirectOutputComObject: A exception occured while initializing DOF: DirectOutput framework has encountered a exception during setup.
2017.12.18 18:32:16.341     Inner exception: Object reference not set to an instance of an object.
2017.12.18 18:32:16.341    EXCEPTION: Thread: 
2017.12.18 18:32:16.341    EXCEPTION: Message: Exception --> DirectOutput framework has encountered a exception during setup.
2017.12.18 18:32:16.341     Inner exception: Object reference not set to an instance of an object.
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutputCom.ComObject.Init(String HostingApplicationName, String TableFileName, String GameName)
2017.12.18 18:32:16.341    EXCEPTION: Targetsite: Void Setup(System.String, System.String, System.String)
2017.12.18 18:32:16.341    EXCEPTION: InnerException 1: NullReferenceException --> Object reference not set to an instance of an object.
 

Link to comment
Share on other sites

---------------------------------------------------------------------------------
2017.12.18 18:32:14.363    DirectOutput Logger initialized
2017.12.18 18:32:14.363    DirectOutput Version 0.9.5764.18938 as of 2015.10.13 10:31
2017.12.18 18:32:14.363    Global config loaded from: C:\DirectOutput\config\GlobalConfig_PinballX.xml
2017.12.18 18:32:14.363    Loading Pinball parts
2017.12.18 18:32:14.363    Loading cabinet
2017.12.18 18:32:14.378    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.12.18 18:32:15.030    2 output controller defnitions and 5 toy definitions loaded from cabinet config.
2017.12.18 18:32:15.046    Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2017.12.18 18:32:15.046    Cabinet auto configuration started
2017.12.18 18:32:15.061    Debug: Disposing LedWiz instance -01.
2017.12.18 18:32:15.061    Cabinet auto configuration finished
2017.12.18 18:32:15.061    Autoconfig complete.
2017.12.18 18:32:15.061    Cabinet config loaded successfully from C:\DirectOutput\config\cabinet.xml
2017.12.18 18:32:15.061    Cabinet loaded
2017.12.18 18:32:15.061    Loading table config
2017.12.18 18:32:15.061    No TableFilename specified, will use empty tableconfig
2017.12.18 18:32:15.061    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName PinballX
2017.12.18 18:32:15.061    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.12.18 18:32:16.154    Loading LedControl file C:\DirectOutput\config\directoutputconfig40.ini
2017.12.18 18:32:16.310    2 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.12.18 18:32:16.310    Config for RomName PinballX exists in LedControl data. Updating cabinet and config.
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 34, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 35, T: 0, W: 30, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 65, T: 0, W: 35, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.18 18:32:16.325    EXCEPTION: DirectOutput framework has encountered a exception during setup.
2017.12.18 18:32:16.325    EXCEPTION: Thread: 
2017.12.18 18:32:16.325    EXCEPTION: Message: NullReferenceException --> Object reference not set to an instance of an object.
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Setup.Configurator.SetupTable(Table Table, Dictionary`2 TableConfigDict, Dictionary`2 ToyAssignments, String IniFilePath)
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Setup.Configurator.Setup(LedControlConfigList LedControlConfigList, Table Table, Cabinet Cabinet, String RomName)
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.12.18 18:32:16.341    EXCEPTION: Targetsite: Void SetupTable(DirectOutput.Table.Table, System.Collections.Generic.Dictionary`2[system.Int32,DirectOutput.LedControl.Loader.TableConfig], System.Collections.Generic.Dictionary`2[system.Int32,System.Collections.Generic.Dictionary`2[system.Int32,DirectOutput.Cab.Toys.IToy]], System.String)
2017.12.18 18:32:16.341    Warning: DirectOutputComObject: A exception occured while initializing DOF: DirectOutput framework has encountered a exception during setup.
2017.12.18 18:32:16.341     Inner exception: Object reference not set to an instance of an object.
2017.12.18 18:32:16.341    EXCEPTION: Thread: 
2017.12.18 18:32:16.341    EXCEPTION: Message: Exception --> DirectOutput framework has encountered a exception during setup.
2017.12.18 18:32:16.341     Inner exception: Object reference not set to an instance of an object.
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.12.18 18:32:16.341    EXCEPTION: Stacktrace:    at DirectOutputCom.ComObject.Init(String HostingApplicationName, String TableFileName, String GameName)
2017.12.18 18:32:16.341    EXCEPTION: Targetsite: Void Setup(System.String, System.String, System.String)
2017.12.18 18:32:16.341    EXCEPTION: InnerException 1: NullReferenceException --> Object reference not set to an instance of an object.
 

Dof log posted. Same output basically. Dof can’t see something when initiating in pinballx


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

I'm thinking the plugin is looking for this
In your config folder you should have a file called DirectOutputShapes.xml..... In your GlobalConfig_b2SServer.xml
 and your GlobalConfig_PinballX.xml you are missing A-line

Add the line the one in red

<?xml version="1.0" encoding="utf-8"?>
<!--Global configuration for the DirectOutput framework.-->
<!--Saved by DirectOutput Version 0.9.5812.27024: 2016-08-14 01-58-55-->
<GlobalConfig>
  <LedWizDefaultMinCommandIntervalMs>1</LedWizDefaultMinCommandIntervalMs>
  <LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
  <LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
  <IniFilesPath />

  <ShapeDefintionFilePattern>C:\DirectOutput\config\DirectOutputShapes.xml</ShapeDefintionFilePattern>
  <CabinetConfigFilePattern>C:\DirectOutput\config\cabinet.xml</CabinetConfigFilePattern>
  <TableConfigFilePatterns />
  <EnableLogging>false</EnableLogging>
  <ClearLogOnSessionStart>false</ClearLogOnSessionStart>
  <LogFilePattern>.\DirectOutput.log</LogFilePattern>
</GlobalConfig>

  • Like 1
Link to comment
Share on other sites

Updated the XML file with the correct path for the shapes config XML. Same result. Path is correct, its the same as used for visual pinball/b2s server and that works correctly. 

 

2017.12.25 12:32:49.295    DirectOutput Logger initialized
2017.12.25 12:32:49.295    DirectOutput Version 0.9.5764.18938 as of 2015.10.13 10:31
2017.12.25 12:32:49.295    Global config loaded from: C:\DirectOutput\config\GlobalConfig_PinballX.xml
2017.12.25 12:32:49.295    Loading Pinball parts
2017.12.25 12:32:49.295    Loading cabinet
2017.12.25 12:32:49.295    Will load cabinet config file: C:\DirectOutput\config\cabinet.xml
2017.12.25 12:32:49.827    2 output controller defnitions and 5 toy definitions loaded from cabinet config.
2017.12.25 12:32:49.827    Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2017.12.25 12:32:49.827    Cabinet auto configuration started
2017.12.25 12:32:49.843    Debug: Disposing LedWiz instance -01.
2017.12.25 12:32:49.843    Cabinet auto configuration finished
2017.12.25 12:32:49.843    Autoconfig complete.
2017.12.25 12:32:49.843    Cabinet config loaded successfully from C:\DirectOutput\config\cabinet.xml
2017.12.25 12:32:49.843    Cabinet loaded
2017.12.25 12:32:49.843    Loading table config
2017.12.25 12:32:49.843    No TableFilename specified, will use empty tableconfig
2017.12.25 12:32:49.843    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName PinballX
2017.12.25 12:32:49.843    Loading LedControl file C:\DirectOutput\config\directoutputconfig30.ini
2017.12.25 12:32:50.970    Loading LedControl file C:\DirectOutput\config\directoutputconfig40.ini
2017.12.25 12:32:51.127    2 directoutputconfig.ini or ledcontrol.ini files loaded.
2017.12.25 12:32:51.127    Config for RomName PinballX exists in LedControl data. Updating cabinet and config.
2017.12.25 12:32:51.158    Debug: Setting up shape effect for area. L: 0, T: 0, W: 34, H: 100
2017.12.25 12:32:51.158    Debug: Setting up shape effect for area. L: 35, T: 0, W: 30, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 65, T: 0, W: 35, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.25 12:32:51.159    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 0, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 20, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 40, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 60, T: 0, W: 19, H: 100
2017.12.25 12:32:51.160    Debug: Setting up shape effect for area. L: 80, T: 0, W: 19, H: 100
2017.12.25 12:32:51.161    EXCEPTION: DirectOutput framework has encountered a exception during setup.
2017.12.25 12:32:51.161    EXCEPTION: Thread: 
2017.12.25 12:32:51.161    EXCEPTION: Message: NullReferenceException --> Object reference not set to an instance of an object.
2017.12.25 12:32:51.161    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Setup.Configurator.SetupTable(Table Table, Dictionary`2 TableConfigDict, Dictionary`2 ToyAssignments, String IniFilePath)
2017.12.25 12:32:51.161    EXCEPTION: Stacktrace:    at DirectOutput.LedControl.Setup.Configurator.Setup(LedControlConfigList LedControlConfigList, Table Table, Cabinet Cabinet, String RomName)
2017.12.25 12:32:51.161    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.12.25 12:32:51.161    EXCEPTION: Targetsite: Void SetupTable(DirectOutput.Table.Table, System.Collections.Generic.Dictionary`2[System.Int32,DirectOutput.LedControl.Loader.TableConfig], System.Collections.Generic.Dictionary`2[System.Int32,System.Collections.Generic.Dictionary`2[System.Int32,DirectOutput.Cab.Toys.IToy]], System.String)
2017.12.25 12:32:51.161    Warning: DirectOutputComObject: A exception occured while initializing DOF: DirectOutput framework has encountered a exception during setup.
2017.12.25 12:32:51.161     Inner exception: Object reference not set to an instance of an object.
2017.12.25 12:32:51.161    EXCEPTION: Thread: 
2017.12.25 12:32:51.161    EXCEPTION: Message: Exception --> DirectOutput framework has encountered a exception during setup.
2017.12.25 12:32:51.161     Inner exception: Object reference not set to an instance of an object.
2017.12.25 12:32:51.161    EXCEPTION: Stacktrace:    at DirectOutput.Pinball.Setup(String GlobalConfigFilename, String TableFilename, String RomName)
2017.12.25 12:32:51.161    EXCEPTION: Stacktrace:    at DirectOutputCom.ComObject.Init(String HostingApplicationName, String TableFileName, String GameName)
2017.12.25 12:32:51.161    EXCEPTION: Targetsite: Void Setup(System.String, System.String, System.String)
2017.12.25 12:32:51.161    EXCEPTION: InnerException 1: NullReferenceException --> Object reference not set to an instance of an object.
 

Link to comment
Share on other sites

  • 2 months later...

updated the dof files to contain references to 30 and 40 ini files. no change. DOF still functions correctly through visual pinball, not through pinballx. if launching vp through pinballx with the DOF plugin enabled, DOF does not launch correctly for vpp.

PinballX log below

19:47:04.5  26/03/2018:  PinballX - Version 2.50
19:47:04.6  26/03/2018:  Windows 10 Pro N 64-bit (7.9GB)
19:47:04.6  26/03/2018:  Loading Settings
19:47:04.6  26/03/2018:  Initialize Component
19:47:04.7  26/03/2018:  Initialize Display
19:47:05.9  26/03/2018:  Loading PlugIns
19:47:05.10  26/03/2018:  Loaded Plugin:"DirectOutput PinballX Plugin" Version 1 By Swisslizard
19:47:09.7  26/03/2018:  PlugIn Did not initialize. Disabling PlugIn
19:47:09.8  26/03/2018:  Created DirectX BackGlass Window
19:47:09.9  26/03/2018:  Hiding Cursor
19:47:09.10  26/03/2018:  Hiding Taskbar
19:47:09.10  26/03/2018:  Real DMD Intialized
19:47:10.0  26/03/2018:  CPU:  Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
19:47:10.0  26/03/2018:  GPU 1: NVIDIA GeForce GTX 750 Ti
19:47:10.0  26/03/2018:  Displays: 2
19:47:10.1  26/03/2018:  Load Game List
19:47:10.1  26/03/2018:  Loading Database: Pinball FX2
19:47:10.2  26/03/2018:  Loading Database: Future Pinball
19:47:10.2  26/03/2018:  Loading Database: Visual Pinball
19:47:10.2  26/03/2018:  Loading Database: Visual Pinball 10
19:47:10.2  26/03/2018:  Loading Database: Visual Pinball Physmod5
19:47:10.2  26/03/2018:  Loading Database: Visual Pinball PROC
19:47:10.2  26/03/2018:  Finding and matching artwork and videos
19:47:11.5  26/03/2018:  Loading Game Statistics and Scores
19:47:11.6  26/03/2018:  Loading Surfaces
19:47:11.8  26/03/2018:  Finished Loading Surfaces
19:47:11.8  26/03/2018:  Initialize Audio
19:47:11.9  26/03/2018:  Set Keyboard Controls
19:47:11.9  26/03/2018:  Initialize Joystick
19:47:11.9  26/03/2018:  1 Joystick Attached
19:47:11.9  26/03/2018:  Started
19:47:18.10  26/03/2018:  Launch System
19:47:18.10  26/03/2018:  Waiting for threads
19:47:19.0  26/03/2018:  Disposing display
19:47:20.0  26/03/2018:  C:\Program Files (x86)\Visual Pinball\VPinballX.exe /play -"C:\Program Files (x86)\Visual Pinball\Tables\VP10_TOTAN_1.6 Hanibal Mod.vpx"
19:47:22.7  26/03/2018:  C:\PinballX\vpauto.exe 
19:47:31.8  26/03/2018:  Hidden Visual Pinball Editor Window
19:48:15.9  26/03/2018:  Exit System Control Pressed
19:48:21.6  26/03/2018:  Created DirectX BackGlass Window
19:48:21.6  26/03/2018:  Real DMD Intialized
19:48:37.2  26/03/2018:  Launch System
19:48:37.2  26/03/2018:  Waiting for threads
19:48:37.2  26/03/2018:  Disposing display
19:48:38.2  26/03/2018:  C:\Program Files (x86)\Visual Pinball\VPinballX.exe /play -"C:\Program Files (x86)\Visual Pinball\Tables\TOTAN_1.2.0.vpx"
19:48:40.9  26/03/2018:  C:\PinballX\vpauto.exe 
19:48:47.3  26/03/2018:  Hidden Visual Pinball Editor Window
19:49:06.7  26/03/2018:  Exit System Control Pressed
19:49:12.4  26/03/2018:  Created DirectX BackGlass Window
19:49:12.4  26/03/2018:  Real DMD Intialized
19:49:33.6  26/03/2018:  Exiting
19:49:33.6  26/03/2018:  Showing Taskbar
19:49:33.6  26/03/2018:  Unhiding Mouse Cursor
19:49:33.6  26/03/2018:  Disposing Plugins
19:49:33.6  26/03/2018:  Saving Settings
19:49:33.6  26/03/2018:  Bye

 

GlobalConfig_PinballX.xml

cabinet.xml

GlobalConfig_b2SServer.xml

 

 

18.03.26 07:47:05.936 DirectOutput PinballX Plugin, version 3.1.6623.21194, built 2018.02.18 11:46
18.03.26 07:47:05.951 Loading plugin config
18.03.26 07:47:06.139 Plugin config loaded
18.03.26 07:47:06.139 Initializing plugin
18.03.26 07:47:06.154 Loading PBX config data
18.03.26 07:47:06.170 PBX config data loaded
18.03.26 07:47:06.186 Initializing DOF
18.03.26 07:47:09.619 Init failed: Exception has been thrown by the target of an invocation.
18.03.26 07:47:09.634 . Stack:    at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at PinballX.DOFManager.Init()
   at PinballX.Plugin.Initialize(IntPtr InfoPtr)
18.03.26 07:47:09.650 . Inner exception: DirectOutputComObject: A exception occured while initializing DOF: DirectOutput framework has encountered a exception during initialization.
 Inner exception: Object reference not set to an instance of an object.
18.03.26 07:47:09.650 .. Stack: 
18.03.26 08:02:50.219 DirectOutput PinballX Plugin, version 3.1.6623.21194, built 2018.02.18 11:46
18.03.26 08:02:50.235 Loading plugin config
18.03.26 08:02:50.409 Plugin config loaded
18.03.26 08:02:50.424 Initializing plugin
18.03.26 08:02:50.424 Loading PBX config data
18.03.26 08:02:50.456 PBX config data loaded
18.03.26 08:02:50.456 Initializing DOF
18.03.26 08:02:53.868 Init failed: Exception has been thrown by the target of an invocation.
18.03.26 08:02:53.884 . Stack:    at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at PinballX.DOFManager.Init()
   at PinballX.Plugin.Initialize(IntPtr InfoPtr)
18.03.26 08:02:53.900 . Inner exception: DirectOutputComObject: A exception occured while initializing DOF: DirectOutput framework has encountered a exception during initialization.
 Inner exception: Object reference not set to an instance of an object.
18.03.26 08:02:53.900 .. Stack: 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...