Hey DDH69,
thank you for your post over at gopinball, I gave DOFLinx another effort on my own, but, obviously for lack of skills, I cannot really get the programme to work in connection with FP. Before I start with my troubles, let me say that I think you are doing a great job here with this tool, for it really provides the opportunity of a significant "bling" factor for FP. So, big thanks for you time and effort in this.
I am running a Future Pinball designated cabinet with LEDWiz support and real DMD. Frontend is PinballX. I am running my I5rig on a Win 7 Ultimate 64bit system. Everything, PinX, FP, BAM runs absolutely stable with LEDWiz support and Real DMD. When I ventured on gopinball for the occasional visit, I came across Terry's mod for Star Trek - and now Aliens - then saw your mods, and was absolutely stunned by and fascinated with the possilities of this nice add-on. I immediately wanted to install DOFLinx and give it a spin. After some talking with and help from Terry, this is where I am at.
I run Future Pinball via BAM. So, my Future Pinball.exe is a renamed FPLoader.exe that is provided via BAM. BAM works nicely without DOFLinx.
All files are run as administrator.
After some initial troubles, this is what I did:
1) installed VPX all in one installer (Visual Pinball 10) and setup the obligatory B2S Server in c:\visual pinball
2) installed Direct Output Framework R3 (DOF R3) (from your link) in c:\DirectOutput and the respective .ini in the subfolder \config
3) checked whether the directoutputconfig.ini is setup correctly via the PinballX plugin (this works, so I think the above steps were done correctly); I now have flasher signals while browsing tables in PinX.
4) installed DOFLinx 3.0.5 in c:\directoutput and put all the necessary files wherey the should go. When I start a DOFed table in FP without DOFLinx active, everything works, but, of course, no bling support for my flashers.
5) created my own DOFLinx.ini as follows (I only have 5 RGB flashers in my cab; forcefeedback to be added soonish)
This is what my .ini looks like:
####
# The config file for DOFLinx
# A mad idea by DDH69 to have some flipper sounds, RGB display and turn buttons on when playing Pinball FX2 via Steam
# Its grown a lot since that silly start!
# Note - this works with LEDWiz, PacLed64, KL25Z and Sainsmart (FTDI devices)
# Edit this file as you see fit, lines that start with a hash (#) or are blank are not processed. This blurb and comments can be cut out if you want.
#
# Output devices outputs are entered in the format of
# device (D) and output number (#) in the format D##, so controller device 1 and output 3 is "103" without the quotes, controller board 2 output 23 is "223" without quotes
####
# location of your standard DOF outut configuration file. Keep this as the first item in the file
DIRECTOUTPUTCONFIG=c:\DirectOutput\config\directoutputconfig.ini
# If you want to list the processes that will wake up DOFFX2, comment it out if you just want Pinball FX2
PROCESSES=Future Pinball
# Which DOF Controller output for the flipper solenoids / contactors
# L_FLIPPER_OUTPUT=130
# R_FLIPPER_OUTPUT=125
# The keyboard hex code for the key that is used for each flipper from https://msdn.microso...1(v=vs.85).aspx
# Left Shift = A0, Right Shift = A1
# L_FLIPPER_KEY=A0
# R_FLIPPER_KEY=A1
# Just in case things go wrong (ie no keyup signal is detected, flipper held down for a long time), what is the maximum time a flipper solenoid / contactor can be in in milliseconds
# MAX_FLIPPER_ON=5000
# What LEDWiz output(s) are used for RGB devices. Just enter the Red output number. Multiples can be entered seperated by a comma
# RGB_OUTPUT=109
# Rainbow - cycle through the colours, Random - pick a random next colour, A colour name as it appears in the DirectOutputConfig.ini file
# RGB_STYLE=RANDOM
# What changes the colour? Time - set time period, Flipper = flipper press after the RGB_TRIGGER minimum time (to stop rapid colour changes)
# RGB_TRIGGER=FLIPPER
# Dependent on trigger selection the period between changes or the minimum time for change between flipper flips
# RGB_MIN_TIME=1000
# The button(s) to turn on when DOFLinx starts, ie the exit button LED
# BUTTONS_ON=102 104
# Make the "1" (31) key (Start in VP) pulse LEDWiz 120 and "4" (34) to pulse controller/output 121
# KEY_TO_OUTPUT=32 101 35 106 36 105
# Set a key to turn on a specific colour for your RGB. The line below makes the Left Control (A2) and the Right Control (A3) turn my undercab RGB strip red.
# In Pinball FX2 this means when I nudge it all goes red.
# KEY_TO_COLOUR=A2 109 Red A3 109 Red
# Setting FORCE_ACTIVE=1 will cause DOFFX2 to not listen for processes and just run until you kill the process. Handy for using it for things other than PinBall FX2
# FORCE_ACTIVE=0
# If you want the program to stop when your named process stops then set this to 1. If you want it to run in the background all the time leave it as 0
# QUIT_AFTER_PROCESS=0
# Set to 1 to output the game name to the log regardless of the DEBUG flag setting. Set to 0 to simply follow the DEBUG flag.
# Quite useful when you trying to get the FX2 window game name for setting game specific colours
# OUTPUT_GAME_NAME=1
####
# Sample setup to enable the Future Pinball Link. Edit the LINK_ items to be your ports and settings.
####
FP_ATTEMPT_LINK=1
LINK_FLOL=130,131,132
LINK_FLIL=124,125,126
LINK_FLCN=121,122,123
LINK_FLOR=127,128,129
LINK_FLIR=103,104,105
####
# 0 = OFF (normal operation), 1 = ON - When ON a window will appear and a log file will be created in the EXE directory.
DEBUG=0
#####
# Game specific colours in the formnat of a CSV of Game Name,Colour#1,Colour#2 - colours as they appear in your directoutputconfig
# Thanks to Vizzini here is a great starting list for Pinball FX2
#####
GAME_COLOUR=Alien:IsolationPinball,Medium_Blue,Lime,Dodger_Blue,Lime_Green
GAME_COLOUR=Alien vs. Predator Pinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=AliensPinball,Medium_Blue,Dark_Golden_Rod,Dodger_Blue
GAME_COLOUR=American Dad! Pinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=Marvel's Ant-Man,Medium_Blue,Dark_Red,Dodger_Blue
GAME_COLOUR=Archer Pinball,Medium_Blue,Yellow,Dodger_Blue,Blue_Violet
GAME_COLOUR=Marvel's The Avengers,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=Marvel's Avengers: Age of Ultron,Dark_Red,Dodger_Blue,Lime_Green,Light_Salmon,Cyan
GAME_COLOUR=Biolab,Dark_Red,Lime,Blue,Cyan,Blue_Violet,Yellow
GAME_COLOUR=Blade,Blue,Blue_Violet,Salmon
GAME_COLOUR=Boba Fett,Lime,Golden_Rod,Blue_Violet
GAME_COLOUR=Bob'sBurgers Pinball,Medium_Blue,Lime_Green,Dark_Red,Dodger_Blue,Yellow_Green
GAME_COLOUR=Captain America,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=CastleStorm,Blue,Gold,Lime,Dodger_Blue,Orange,Lime_Green
GAME_COLOUR=Civil War,Blue,Dark_Red,Dodger_Blue,Light_Salmon
GAME_COLOUR=STAR WARS: DARTH VADER,Light_sky_blue,Dark_Red,Cyan
GAME_COLOUR=Deadpool,Dark_Red,Blue,Medium_slate_blue,Dodger_Blue
GAME_COLOUR=Doctor Strange,Dark_Red,Blue,Gold,Lime_Green,Dark_Violet,Orange,Dodger_Blue,Lime,Medium_Slate_Blue
GAME_COLOUR=Star Wars Pinball: Droids,Medium_Blue,Yellow,Orange,Navy,Gold,Orange_Red
GAME_COLOUR=Earth Defense,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=El Dorado,Orange,Lime_Green,Yellow,Coral,Lime,Yellow_Green,Cyan
GAME_COLOUR=Epic Quest,Lime_Green,Dodger_Blue,Yellow_Green,Cyan
GAME_COLOUR=Star Wars Pinball: Episode IV A New Hope,Cyan,Golden_Rod,Dodger_Blue,Yellow
GAME_COLOUR=Star Wars: Episode V The Empire Strikes Back,Medium_Blue,Yellow,Dark_Red,Dodger_Blue
GAME_COLOUR=Star Wars: Episode VI Return of the Jedi,Slate_Blue,Golden_Rod,Medium_Blue,Lime_Green,Dodger_Blue,Yellow
GAME_COLOUR=Excalibur,Dark_Red,Blue,Lime,Dodger_Blue,Cyan
GAME_COLOUR=Family Guy Pinball,Dodger_Blue,Lime_Green,Salmon,Dark_Violet,Yellow_Green
GAME_COLOUR=Fantastic Four,Blue,Yellow,Dodger_Blue,Orange_Red
GAME_COLOUR=FearItself,Dark_Red,Blue,Yellow,Lime,Dark_Violet,Orange
GAME_COLOUR=Super League - Zen Studios F.C.,Lime_Green,Orange,Lime,Yellow,Red
GAME_COLOUR=Ghost Rider,Dodger_Blue,White,Yellow,Light_Salmon,Orange_Red
GAME_COLOUR=Guardians of the Galaxy,Dodger_Blue,Orange,Medium_Purple
GAME_COLOUR=Star Wars Pinball: Han Solo,Dodger_Blue,Royal_Blue,Antique_White
GAME_COLOUR=IRON MAN,Blue,Dark_Red,Dodger_Blue,Gold
GAME_COLOUR=Mars,Blue,Yellow,Deep_sky_blue,Gold
GAME_COLOUR=Star Wars Pinball: Masters of the Force,Medium_Blue,Salmon,Dodger_Blue,Purple,Cyan,Dark_Red
GAME_COLOUR=Star Wars Pinball: Might of the First Order,Light_sky_blue,Dodger_Blue,Dark_Red,Cyan
GAME_COLOUR=Moon Knight,Dodger_Blue,Blue,Cyan,Royal_Blue
GAME_COLOUR=Ms.SplosionMan,Dodger_Blue,Pink,Medium_Blue,Purple,Royal_Blue
GAME_COLOUR=Paranormal,Lime_Green,Dodger_Blue,Yellow_Green
GAME_COLOUR=Pasha,Dark_Violet,Golden_Rod,Dodger_Blue
GAME_COLOUR=Plants VS. Zombies,Lime_Green,Yellow_Green,Dodger_Blue
GAME_COLOUR=Portal,Dodger_Blue,Yellow_Green,Medium_Blue,Yellow
GAME_COLOUR=Star Wars Pinball: Star Wars Rebels,Medium_Blue,Yellow,Royal_Blue,Orange_Red,Purple,Lime_Green
GAME_COLOUR=Rome,Dark_Red,Gold,Dodger_Blue,Light_Salmon,Yellow_Green,Orange
GAME_COLOUR=Secrets of the Deep,Blue,Yellow,Dodger_Blue
GAME_COLOUR=Shaman,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=Sorcerer's Lair,Blue,Blue_Violet,Dodger_Blue,Slate_Blue
GAME_COLOUR=South Park: Butters' Very Own Pinball Game,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green
GAME_COLOUR=South Park: Super Sweet Pinball,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green,Yellow_Green
GAME_COLOUR=Spider-Man,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange
GAME_COLOUR=StarWars: StarfighterAssault,Medium_Blue,Dodger_Blue,Dark_Red
GAME_COLOUR=Tesla,Lime_Green,Yellow_Green,Dodger_Blue,Golden_Rod
GAME_COLOUR=Star Wars: The Clone Wars,Dark_Red,Pink,Medium_Blue,Medium_Turquoise,Lime,Lime_Green
GAME_COLOUR=Star Wars Pinball: The Force Awakens,Dark_Red,Medium_Blue,Blue_Violet
GAME_COLOUR=The Infinity Gauntlet,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=The Walking Dead,Lime_Green,Royal_Blue,Yellow_Green
GAME_COLOUR=Thor,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
GAME_COLOUR=V12,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue
GAME_COLOUR=Venom,Dark_Red,Blue,Dark_Violet,Dodger_Blue
GAME_COLOUR=Wild West Rampage,Yellow_Green,Dodger_Blue,Royal_Blue
GAME_COLOUR=Wolverine,Dark_Red,Medium_Blue,Yellow,Dark_Violet
GAME_COLOUR=World War Hulk,Lime_Green,Yellow_Green,Dodger_Blue,Lime,Yellow
GAME_COLOUR=X-Men,Blue,Blue_Violet,Gold,Dodger_Blue,Slate_Blue,Orange
6) When I start DOFLinx, it commences without troubles. As soon as I start Future Pinball, the following error appears and DOFLinx needs to be shut down:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.MissingMethodException: Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.
at DOFLinx.MainForm.Search_Memory(Process TheProcess)
at DOFLinx.MainForm.DoStartup()
at DOFLinx.MainForm.SteamTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.17929 built by: FX45RTMREL
----------------------------------------
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.17929 built by: FX45RTMREL
----------------------------------------
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.17929 built by: FX45RTMREL
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
----------------------------------------
DirectOutput
Assembly Version: 0.9.5818.37242
Win32 Version: 0.9.5818.37242
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
----------------------------------------
************** 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.
I am no very computer-savvy person. What I gathered from my rudimentary understanding is that the "handshake" between DOFLinx and FP doesn't work correctly for whatever reason. When I set FP_ATTEMPT_LINK=1 to FP_ATTEMPT_LINK=0, both programms work, but nothing happends RGB flasher-wise; because, obviously, there is no connection between FP and DOFLinx established - at least, this is what I guessed.
Also, when I set FP_ATTEMPT_LINK=0, I have my FROR LED lighting up in an eearie green - which is slightly odd and a little bit confusing. But maybe I did something wrong somewhere along the lines.
I have done several clean installs of the programms above, but I cannot get DOFLinx to work, unfortunately. Since I am at a total loss, though having the feeling that I missed some obvious step or did some stupid mistake; I thought I post my issue here and hope that you might help me out. I would be really happy if I could get this to work.
Thank you so much for your time and effort. I really appreciate it. If you need more info from me, please, let me know. I am happy to provide.
Best, Josh
Edited by jogster, 22 October 2016 - 08:26 PM.




Top


Contributor











are all trademarks of VPFORUMS.