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

[ RESOLVED ] earn some cash?


simbamame

Recommended Posts

and the config

 

 

002.jpg

Link to comment
Share on other sites

Try this for your folder structure

visual pinball\tables\plugins\directoutput\config

This looks like the set up you're doing for the DOF

----------------------------------------------------------------------------------------------------------------------------------------------

Installation within hosting application directory structure

To install DOF withing the directory structure of the application using the framework (e.g. B2S.Server), please do the following:

  • In the installation directory of the hosting application, create a directoy called plugins.
  • Inside the newly created plugins directory, create a subdirectory called DirectOutput (any other name will be ok as well).
  • Unzip the contents of the zip-file containg the framework to the newly created DirectOutput directory.
  • If using platforms like Vista or Win7, the installed files might be blocked by UAC. To unblock the files please read: Unblock the DLLs

If this has been done correctly, the hosting application will automatically detect, load and use the framework.

Example: A typical installation of the framework for the B2S.Server (provided that B2S.Server is installed in the VP tables directory) will have to following directory and file structure:

Installation_DirectoryStructure.png
Installation in hosting application directory structure

Note: Depending on the DirectOutput framework version, more files might exist in the installation.

Link to comment
Share on other sites

done that still no go...im at a loss. :( Although i think its slight progress looks like im missing table configuration file ???? 

003.jpg

Link to comment
Share on other sites

Make sure all these files are in the config folder... Move them there if need it.... Then we need  To fix your GlobalConfig_B2SServer.xml file file

cabinet.xml

DirectOutputShapes.xml

DirectOutputTesterSettings.xml

globalconfig.xml

globalconfig_b2SServer.xml

tablemappings.xml

directoutputconfig.ini

directoutputconfig60.ini

 

Need to fix this file

Try this GlobalConfig_B2SServer.xml file

I modified yours

 

<?xml version="1.0" encoding="utf-8"?>
<!--Global configuration for the DirectOutput framework.-->
<!--Saved by DirectOutput Version 0.9.5812.27024: 2018-01-31 11-26-35-->
<GlobalConfig>
  <LedWizDefaultMinCommandIntervalMs>1</LedWizDefaultMinCommandIntervalMs>
  <LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
  <LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
  <IniFilesPath>C:\visual pinball\tables\plugins\directoutput\config</IniFilesPath>
  <CabinetConfigFilePattern>C:\visual pinball\tables\plugins\directoutput\config\cabinet.xml</CabinetConfigFilePattern>
  <TableConfigFilePatterns />
  <EnableLogging>true</EnableLogging>
  <ClearLogOnSessionStart>true</ClearLogOnSessionStart>
  <LogFilePattern>C:\visual pinball\tables\plugins\directoutput\DirectOutput.log</LogFilePattern>
</GlobalConfig>

Link to comment
Share on other sites

nope that hasnt worked and if i now goto the backglass the plugin settings is greyed out..i cant select it.

Link to comment
Share on other sites

can we just arrange a suitable time tomorrow and you can remote log in and have a look be much easier as the system is getting messed about with keep swapping the file locations.

Ian

Link to comment
Share on other sites

17 minutes ago, Outhere said:

Do you now have a log file in your directoutput folder

no...dont know why it wont create 1.

Link to comment
Share on other sites

That I've never done before, I would need to practice before I did that with somebody's computer.....
What you could do is put things back the way they were so you can get the plugin to work and then adjust the paths in 
 your  GlobalConfig_B2SServer.xml file to match your system
Link to comment
Share on other sites

Hmmmm  ive moved stuff around so much and altered paths and configs im sure if i can remember may have to start from scratch again......but i ll have a try but will be later as im off to bed now.

Ian.

Link to comment
Share on other sites

21 hours ago, Outhere said:

  • That I've never done before, I would need to practice before I did that with somebody's computer..... What you could do is put things back the way they were so you can get the plugin to work and then adjust the paths in your GlobalConfig_B2SServer.xml file to match your system

 

OK done but still stuck with the problem that when the tables r running still no shaker ...  if i click back-glass then "s" and then direct output info it says no >table config file loaded for table<.....where do i put this?? currently i have it on c:plugins\config and is it the tablemappings.xml as i dont have any other table config  files???? or where or how do i obtain a table config file?? plus how can i make sure that the actual table im using is shakable.....i saw online that medieval madness when you hit the castle or trolls it shakes and that is what im basing mine on. 

many thanks in advance.

Link to comment
Share on other sites

23 minutes ago, Outhere said:

Is this working  ---> now goto the backglass the plugin settings is greyed out..i cant select it.  <<< backglass  YES

This file is not needed ---> tablemappings.xml

Repost your   --- GlobalConfig_B2SServer.xml file

<?xml version="1.0" encoding="UTF-8"?>
<!--Global configuration for the DirectOutput framework.-->
<!--Saved by DirectOutput Version 0.9.5812.27024: 2018-02-01 21-42-24-->
-<GlobalConfig>
<LedWizDefaultMinCommandIntervalMs>25</LedWizDefaultMinCommandIntervalMs>
<LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
<LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
<IniFilesPath>C:\directoutput</IniFilesPath>
<CabinetConfigFilePattern>C:\directoutput\config\cabinet.xml</CabinetConfigFilePattern>
<TableConfigFilePatterns/>
<EnableLogging>true</EnableLogging>
<ClearLogOnSessionStart>false</ClearLogOnSessionStart>
<LogFilePattern>c:\DirectOutput.log</LogFilePattern>
</GlobalConfig>

Link to comment
Share on other sites

progress but still not working...  anybody ?

 

2018.02.02 00:28:16.499    DirectOutput Logger initialized
2018.02.02 00:28:16.500    DirectOutput Version 0.9.5812.27024 as of 2015.11.30 15:00
2018.02.02 00:28:16.500    Global config loaded from: C:\DIRECTOUTPUT\GlobalConfig_B2SServer.xml
2018.02.02 00:28:16.500    Loading Pinball parts
2018.02.02 00:28:16.500    Loading cabinet
2018.02.02 00:28:16.502    Will load cabinet config file: C:\directoutput\config\cabinet.xml
2018.02.02 00:28:16.594    1 output controller defnitions and 1 toy definitions loaded from cabinet config.
2018.02.02 00:28:16.594    Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2018.02.02 00:28:16.595    Cabinet auto configuration started
2018.02.02 00:28:16.619    Debug: Ledwiz devicelist content. Handles: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Num devices: 0
2018.02.02 00:28:16.620    Debug: Disposing LedWiz instance -01.
2018.02.02 00:28:16.621    Cabinet auto configuration finished
2018.02.02 00:28:16.621    Autoconfig complete.
2018.02.02 00:28:16.621    Cabinet config loaded successfully from C:\directoutput\config\cabinet.xml
2018.02.02 00:28:16.621    Cabinet loaded
2018.02.02 00:28:16.621    Loading table config
2018.02.02 00:28:16.622    Warning: No table config file found. Will try to load config from LedControl file(s).
2018.02.02 00:28:16.622    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName cc_13
2018.02.02 00:28:16.635    No directoutputconfig.ini or ledcontrol.ini files found.
2018.02.02 00:28:16.636    No config for table found in LedControl data for RomName cc_13.
2018.02.02 00:28:16.637    Table config loading finished
2018.02.02 00:28:16.637    Pinball parts loaded
2018.02.02 00:28:16.637    Starting processes
2018.02.02 00:28:16.637    Initializing cabinet
2018.02.02 00:28:16.637    Debug: Initializing output controllers
2018.02.02 00:28:16.640    FT245RBitbangController Zebsboards 1 with serial number ZBPLUNGE01 has been initialized and the updater thread has been started.
2018.02.02 00:28:16.640    Debug: Output controllers initialized
2018.02.02 00:28:16.643    Cabinet initialized
2018.02.02 00:28:16.647    Loading shape definition file: C:\DIRECTOUTPUT\DirectOutputShapes.xml
2018.02.02 00:28:16.660    Connection to FTDI chip ZBPLUNGE01 established.
2018.02.02 00:28:16.702    Framework initialized.
2018.02.02 00:28:16.702    Have fun! :)
2018.02.02 00:28:49.260    Finishing framework
2018.02.02 00:28:49.262    Finishing cabinet
2018.02.02 00:28:49.263    Debug: Finishing output controllers
2018.02.02 00:28:49.368    Connection to FTDI chip ZBPLUNGE01 closed.
2018.02.02 00:28:49.368    FT245RBitbangController Zebsboards 1 with serial number ZBPLUNGE01 has been finished and the updater thread has been terminated.
2018.02.02 00:28:49.368    Debug: Output controllers finished
2018.02.02 00:28:49.368    Cabinet finished
2018.02.02 00:28:49.368    DirectOutput framework finished.
2018.02.02 00:28:49.368    Bye and thanks for using!

Link to comment
Share on other sites

I know...but why I have them in directoutput\config

Link to comment
Share on other sites

ok i have fixed this but still no tableconfig where do iget these and put them?

 

2018.02.02 09:29:26.465    DirectOutput Logger initialized
2018.02.02 09:29:26.466    DirectOutput Version 0.9.5812.27024 as of 2015.11.30 15:00
2018.02.02 09:29:26.467    Global config loaded from: C:\DIRECTOUTPUT\GlobalConfig_B2SServer.xml
2018.02.02 09:29:26.467    Loading Pinball parts
2018.02.02 09:29:26.467    Loading cabinet
2018.02.02 09:29:26.469    Will load cabinet config file: C:\directoutput\config\cabinet.xml
2018.02.02 09:29:26.602    1 output controller defnitions and 1 toy definitions loaded from cabinet config.
2018.02.02 09:29:26.602    Cabinet config file has AutoConfig feature enabled. Calling AutoConfig.
2018.02.02 09:29:26.602    Cabinet auto configuration started
2018.02.02 09:29:26.631    Debug: Ledwiz devicelist content. Handles: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Num devices: 0
2018.02.02 09:29:26.632    Debug: Disposing LedWiz instance -01.
2018.02.02 09:29:26.634    Cabinet auto configuration finished
2018.02.02 09:29:26.634    Autoconfig complete.
2018.02.02 09:29:26.634    Cabinet config loaded successfully from C:\directoutput\config\cabinet.xml
2018.02.02 09:29:26.634    Cabinet loaded
2018.02.02 09:29:26.634    Loading table config
2018.02.02 09:29:26.636    Warning: No table config file found. Will try to load config from LedControl file(s).                        <<<<< ???
2018.02.02 09:29:26.636    Will try to load configs from DirectOutput.ini or LedControl.ini file(s) for RomName afm_113b
2018.02.02 09:29:26.640    Loading LedControl file C:\directoutput\config\directoutputconfig40.ini                                <<<<< fixed
2018.02.02 09:29:26.733    1 directoutputconfig.ini or ledcontrol.ini files loaded.
2018.02.02 09:29:26.735    Config for RomName afm_113b exists in LedControl data. Updating cabinet and config.
2018.02.02 09:29:26.764    Table config loading finished
2018.02.02 09:29:26.764    Pinball parts loaded
2018.02.02 09:29:26.764    Starting processes
2018.02.02 09:29:26.765    Initializing cabinet
2018.02.02 09:29:26.765    Debug: Initializing output controllers
2018.02.02 09:29:26.767    FT245RBitbangController Zebsboards 1 with serial number ZBPLUNGE01 has been initialized and the updater thread has been started.
2018.02.02 09:29:26.767    Debug: Output controllers initialized
2018.02.02 09:29:26.772    Cabinet initialized
2018.02.02 09:29:26.781    Loading shape definition file: C:\directoutput\config\DirectOutputShapes.xml
2018.02.02 09:29:26.797    Connection to FTDI chip ZBPLUNGE01 established.
2018.02.02 09:29:26.843    Framework initialized.

 

 

Link to comment
Share on other sites

YAY sorted !!!!!! i found i needed to manually alter the globalconfig location and add \config and also alter the output port to 3 and its working all i can say is a massive THANKS!!!! To everyone that has helped me get through this and get my shaker working in Visual Pinball :-).

So onto to the next project getting it working in FP and FX2 and 3....any takers ??

Ian.

Link to comment
Share on other sites

  • simbamame changed the title to [ RESOLVED ] earn some cash?
Glad to see you have it working....
Any chance you could send me information on the type of shaker you bought and where you bought it?
The best Thing you can do with the DOFLinx (Needed for FP and FX2/3) is download the 6.11
http://www.vpforums.org/index.php?app=downloads&showfile=12318
 read the manual And go here and search the DOFLinx discussions at..
http://www.vpforums.org/index.php?showforum=106
 and if you make a post do it on VPForums that will be the fastest way for the author to respond and add your DOFLinx log and ini file

 

Link to comment
Share on other sites

9 minutes ago, Outhere said:

Glad to see you have it working....
Any chance you could send me information on the type of shaker you bought and where you bought it?

The best Thing you can do with the DOFLinx (Needed for FP and FX2/3) is download the 6.11
http://www.vpforums.org/index.php?app=downloads&showfile=12318
 read the manual And go here and search the DOFLinx discussions at..
http://www.vpforums.org/index.php?showforum=106
 and if you make a post do it on VPForums that will be the fastest way for the author to respond and add your DOFLinx log and ini file

 

 

@Outhere

Just look up Zeb's boards, i got my shaker and gear motor setup from him, works good.

@simbamame

+1 on Doflinx advice.

You gotta read the documentation and use the forums, DOFLINX is not a setup and done software, it will take tweaks and timing scripts in some cases to get it to work with certain tables, especially with FP, FX3 is fairly easy unless you get into PUP and DMDEXT.

For now as suggested just get it setup and understand what you did to set it up, you will need to know to maintain it as DOFLINX and other 3rd party softwares change often.

Link to comment
Share on other sites

8 hours ago, rablack97 said:

 

@Outhere

Just look up Zeb's boards, i got my shaker and gear motor setup from him, works good.

@simbamame

+1 on Doflinx advice.

You gotta read the documentation and use the forums, DOFLINX is not a setup and done software, it will take tweaks and timing scripts in some cases to get it to work with certain tables, especially with FP, FX3 is fairly easy unless you get into PUP and DMDEXT.

For now as suggested just get it setup and understand what you did to set it up, you will need to know to maintain it as DOFLINX and other 3rd party softwares change often.

nice 1 thanks and yes mine is a shaker from zeb boards, he is based in Canada but shipped to me ( UK ) via DHL which arrived in a few days. Very recommended.

http://www.zebsboards.com

Shaker/Gear Motor Driver

SGD

Shaker Motor
 
- Please Select: without speed contro..

SHKR

Link to comment
Share on other sites

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