Jump to content



Photo

DOF R3 for Pinball FX2

LEDWiz DOF DOF FX2 PinBall FX2 LEDWiz

  • Please log in to reply
236 replies to this topic

#221 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,627 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 07 September 2016 - 11:14 PM

Can i map gamepad buttons to this util with the ini file?  I know I can run joy2key but just wondering if I can bypass that for future programs)

 

No - sorry.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#222 BritXpatUSA

BritXpatUSA

    Hobbyist

  • Members
  • PipPip
  • 48 posts

  • Flag: United Kingdom

  • Favorite Pinball: wizard

  • 360 Gamer Tag: BritXpatUSA

Posted 08 September 2016 - 05:33 PM

Ok I've ordered a 16 port saismart to play with at weekend (USB) I'll flip the 10 relays (8 sainssmart 2octoboard) and look to use the 16 for all. Stanby for help this weekend


Sent from my iPhone using Tapatalk

#223 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 212 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 08 September 2016 - 10:25 PM

 

Took the comma out in the above post. Strange. I didn't notice any error.

 

I'll try your settings TerryRed.

 

I'm curious if the colors look right for you guys, Any issue with the Yellow_Green looking too green?

 

TerryRed is using V3 Beta so slightly different behaviour.

 

I've only had a really quick look, but they all came up for me.  I haven't examined the presentation of the colour as at present I only have undercab RGB strips.  Just ordered 40 x 3W RGB's and associated stuff .... fun to come in a few weeks time.

 

Thanks guys.

 

Should I hold for V3 then to integrate FP?

 

I think I am closer. Using Quicklaunch to execute DOFFX2Msg, the log does seem to show I'm loading the SUP ini file. Still no table name.

 

Here is my Quicklanch configuration.

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<quicklaunch_pbx>
  <settings>
    <xml_ver>1.1</xml_ver>
    <created>Thursday, September 8, 2016 5:03:12 PM</created>
    <debug>False</debug>
  </settings>
  <system name="Future Pinball">
    <switch name="DOFFX2Msg">
      <exepath>D:\DirectOutput\DOFFX2Msg.exe</exepath>
      <command>SUP_INI="DOFFX2Configs\DOFFX2-FP"#GAME_NAME="[TABLEFILE]"</command>
      <type>0</type>
    </switch>
  </system>
</quicklaunch_pbx>

Edited by Vizzini, 08 September 2016 - 10:26 PM.


#224 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,002 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 08 September 2016 - 11:02 PM

Do you have a "DOFFX2-FP.ini" file  in a    "DirectOutput\DOFFX2Configs"  folder?

 

 

Try changing:   <type>0</type>    

to     <type>2</type>

 

That's what mine is set to.


Edited by TerryRed, 08 September 2016 - 11:08 PM.


#225 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 212 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 08 September 2016 - 11:46 PM

Yes! Success!

 

The 2 was it.

 

Thank you TerryRed!

 

So the way I have it set up is using the SUP ini file for FP. I did not use the SUP_INI="DOFFX2Configs\DOFFX2-PFX2"#GAME_NAME= for FX2. It is working perfect. I wonder if you reverted your setup for FX2, if that would work for you to utilize the game colors.



#226 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,002 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 09 September 2016 - 12:11 AM

I'm good to go now for the GAME_COLOURS...forgot to mention that. The SUP does work for PFX2, I just had to have GAME_NAME= (with nothing at the end) for that specific one.


Edited by TerryRed, 23 September 2016 - 01:40 AM.


#227 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,627 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 09 September 2016 - 03:14 AM

......

 

Should I hold for V3 then to integrate FP?

 

......

 

V3 will give you a real-time bi-directional link with FP.  FP table scripts need to be coded to call on the various toys and lights.  I have pulled together two sample tables and hope others will follow.

 

From V3 there are two ways to use it with FP, the first is the full integration / live link.  The second remains as a 'listener' for flipper keystrokes the same as Pinball FX2, etc.  Your setup running it the second way will survive (with some minor changes).


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#228 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 212 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 09 September 2016 - 11:04 PM

Full integration with FP would be cool. I saw your post about that.

 

Got the GAME_FLAG_FILE= option working for VPX today. Awesome!



#229 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 212 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 10 September 2016 - 12:14 AM

I think I spoke too soon. It doesn't seem to be clearing the table name consistently on exit. I have tried both 1 and 0 for the type in the Quicklaunch settings. Here is how I have that configured. Thoughts?

 

</system>
  <system name="Visual Pinball">
    <switch name="DOFFX2.MSG">
      <exepath>D:\DirectOutput\DOFFX2Msg.exe</exepath>
      <command>DOFFX2Msg GAME_NAME=</command>
      <type>0</type>
    </switch>
  </system>


#230 TerryRed

TerryRed

    Pinball Wizard

  • Silver Supporter
  • 2,002 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 10 September 2016 - 12:31 AM

 

I think I spoke too soon. It doesn't seem to be clearing the table name consistently on exit. I have tried both 1 and 0 for the type in the Quicklaunch settings. Here is how I have that configured. Thoughts?

 

</system>
  <system name="Visual Pinball">
    <switch name="DOFFX2.MSG">
      <exepath>D:\DirectOutput\DOFFX2Msg.exe</exepath>
      <command>DOFFX2Msg GAME_NAME=</command>
      <type>0</type>
    </switch>
  </system>

 

 

Try changing type=2, just like with FP?

 

I haven't used the GAME_FLAG_FILE yet, so I don't know if that is part of this but:

 

Try changing <command>DOFFX2Msg GAME_NAME=</command>  

 

to   <command>GAME_NAME=</command>

 

You don't need the DOFFX2Msg in there because that is already in your exe path. It's a program, not a command.

 

I also assume you want GAME_NAME= to be blank so that the GAME_FLAG_FILE will work?



#231 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 212 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 10 September 2016 - 02:25 AM

Thanks. Those were good suggestions.

 

I think I'm figuring out that a type 2 means launch also. 1 means launch after. 0 means launch before.

 

After further review, I don't think I have the game flags configured right. It only appeared that I had it working because I added a few GAME_COLOUR= codes to the ini for VPX...same as how I have FP.

 

I need to read the guide and notes and mess around more.  :think: Stay tuned.



#232 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,627 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 10 September 2016 - 02:57 AM

Thanks. Those were good suggestions.

 

I think I'm figuring out that a type 2 means launch also. 1 means launch after. 0 means launch before.

 

After further review, I don't think I have the game flags configured right. It only appeared that I had it working because I added a few GAME_COLOUR= codes to the ini for VPX...same as how I have FP.

 

I need to read the guide and notes and mess around more.  :think: Stay tuned.

 

GAME_NAME= as a message is only from V3 .... today or tomorrow at this stage.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#233 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,627 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 13 September 2016 - 06:54 AM

So, It is time for me to be a presumptuous and try and close off this very large thread with some great news. 

 

Firstly, Version 3.0 is release with real-time bi-directional FP table scripting support.  It has a new more appropriate name, DOFLinx.  Thanks to TerryRed, GInsonic and doogie2301 for their help in getting V3.0 to this point.

 

Read about V3.0 here.

 

Secondly, a huge thanks to Noah for supporting pinball things that this community will enjoy.  DOFLinx now has its own support and discussion forum with some sub-categories, one specifically for FP table scripting.  Its download is now hosted here, and FP tables enhanced with DOFLinx force feedback will be loaded here.  Again, thank you Noah, the support and your effort to make this possible is appreciated.

 

Please come on over to the new forum and join the discussion.  Now you can start a new thread per issue / question making help, searching and use of DOFLinx so much easier.  Ultimately it all leads to more toys and more pinball based fun for all.

 

For those who have been using DOFFX2, when you upgrade everything named DOFFX2 will need to change to DOFLinx.  A quick reminder list;

  1. Download and unpack new programs
  2. Remove DOFFX2.exe and DOFFX2Msg.exe
  3. Rename your INI file to DOFLinx.ini
  4. Rename and repoint your start-up shortcut
  5. Change any front-end 'Launch Before' and 'Launch After" setup
  6. Rename any game table flag files

DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#234 BlackZero

BlackZero

    Hobbyist

  • Members
  • PipPip
  • 11 posts
  • Location:Munich, Germany

  • Flag: ---------

  • Favorite Pinball: Medieval Madness

Posted 20 September 2016 - 03:28 PM

Hi,

 

unfortunately I had to reinstall my computer due to a computer virus.

I copied all Files to my new system. Everything is working fine but DOFFX2 not. I tried the new DOFLinx but the same.

 

Following Error appears from Microsoft .NET Framework:

 

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Argument 'Length' must be grater or equal to zero.

 

See the end of this message for details on invoking 

just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.ArgumentException: Argument 'Length' must be greater or equal to zero.
   at Microsoft.VisualBasic.Strings.Left(String str, Int32 Length)
   at DOFLinx.MainForm.ProcessINIFile(String ParamFileName, Boolean RealTime)
   at DOFLinx.MainForm.ReadConfig()
   at DOFLinx.MainForm.MainForm_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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: 4.0.0.0
    Win32 Version: 4.0.30319.18063 built by: FX45RTMGDR
----------------------------------------
DOFLinx
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34294 built by: FX452RTMGDR
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34285 built by: FX452RTMGDR
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34245 built by: FX452RTMGDR
----------------------------------------
DirectOutput
    Assembly Version: 0.9.5812.27024
    Win32 Version: 0.9.5812.27024
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34283 built by: FX452RTMGDR
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
----------------------------------------
 
************** 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.

 

Log File:

 

20-Sep-16 17:22:36 - DOF Linx for Pinball Emulators - DOFLinx by DDH69

20-Sep-16 17:22:36 - Starting up - version 3.02
20-Sep-16 17:22:36 - 2 LEDWiz device(s) found
20-Sep-16 17:22:36 - DOFLinx device: 1 Initializing as LEDWiz #1 with ID=0
20-Sep-16 17:22:36 - DOFLinx device:1 LEDWiz setup with 32 outputs
20-Sep-16 17:22:36 - DOFLinx device: 2 Initializing as LEDWiz #2 with ID=1
20-Sep-16 17:22:36 - DOFLinx device:2 LEDWiz setup with 32 outputs
20-Sep-16 17:22:36 - 0 FTDI (Sainsmart) device(s) found
20-Sep-16 17:22:36 - Reading DOFLinx.INI startup config file details
20-Sep-16 17:22:36 - Reading DOF config file
 

 

Did I miss to install any required Framework or anything else?

Right now I've installed .Net Framework 4.5.

 

Thank you very much,

 

BlackZero



#235 xfactor

xfactor

    Neophyte

  • Members
  • Pip
  • 7 posts

  • Flag: Scotland

  • Favorite Pinball: Scared Stiff

Posted 20 September 2016 - 07:28 PM


 
************** Exception Text **************
System.ArgumentException: Argument 'Length' must be greater or equal to zero.
   at Microsoft.VisualBasic.Strings.Left(String str, Int32 Length)
   at DOFLinx.MainForm.ProcessINIFile(String ParamFileName, Boolean RealTime)
   at DOFLinx.MainForm.ReadConfig()
   at DOFLinx.MainForm.MainForm_Load(Object sender, EventArgs e)
 
20-Sep-16 17:22:36 - Reading DOF config file
 

 

Did I miss to install any required Framework or anything else?

Right now I've installed .Net Framework 4.5.

 

Thank you very much,

 

BlackZero

 

The error is because the code is either looking for the ini file or a setting within the ini file. So you probably just need to set this up again (i.e. it's a DOF error not .net framework).



#236 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,627 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 21 September 2016 - 03:44 AM

Happy to help :twiddling: , but ..... 

 

 

So, It is time for me to be a presumptuous and try and close off this very large thread with some great news. 

........

 

Please come on over to the new forum and join the discussion.  Now you can start a new thread per issue / question making help, searching and use of DOFLinx so much easier.  Ultimately it all leads to more toys and more pinball based fun for all.

 

.........

 

:tup:


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#237 nromo

nromo

    Enthusiast

  • Members
  • PipPipPip
  • 138 posts

  • Flag: United States of America

  • Favorite Pinball: I don't know. I love many of them!

Posted 23 October 2016 - 04:17 PM

Real DMD support!

What is it with you people?

I own two real pinball machines and like everyone else who owns real pinball machines, we either spend the money or wish to spend the money to upgrade the real DMD's to color LCD's to improve the experience. It make no sense at all to use real DMD for FX2 pinball when they purposely match the DMD screen color to the color theme of the table. Nor would it add anything to justify the extra expense and hassle. I suggest you go spend time playing real tables with real DMD to get over your hype about it. It's time we move on to better things in pinball. Go look at the Jersey Jack machines and the new Heighway Pinball Aliens table to see the possibilities with LCD and quit living in the past. The younger generation ain't going for it!







Also tagged with one or more of these keywords: LEDWiz DOF, DOF, FX2, PinBall FX2, LEDWiz