Jump to content



Photo
- - - - -

addressable led not work in DOFlinx

DOFlinx problem

  • Please log in to reply
1 reply to this topic

#1 phoskito

phoskito

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: Spain

  • Favorite Pinball: acdc

Posted Today, 09:26 PM

Hi, I've been trying to get Doflinx v 9.09 working on my pincab for a few days now.
 
I have four W2812B LED strips connected to a Wemos D1R2 and flashed with Arnoz's Tiny Tools.
I created the cabinet file, the DOF outputs, and the global B2S server configuration.
DOF works correctly on VPX and the FP tables with BAM.
 
However, I can't get Doflinx to work (I've tried Pinball FX, FX3, and MAME). On the FP tables with BAM, the LEDs don't work if Doflinx is enabled.
 
I think my doflinx.ini file is correct, so I don't understand what I'm missing for it to work.
 
I've attached my INI files.
 
Thank you very much!
 
DOFlinx. INI
 
######
# DOFLinx Configuration Tool generated DOFLinx.INI file at 23:38:02 mercredi 25 février 2026
######
 
DEBUG=1
 
COLOUR_FILE=C:\DOFLinx\config\Colours.ini
DIRECTOUTPUTGLOBAL=C:\vPinball\DirectOutput\Config\GlobalConfig_B2SServer.xml
PATH_B2S_SERVER=C:\vPinball\VisualPinball\Tables\
 
PATH_FX3=C:\DOFLinx\FX3\
PATH_FX3_B2S=C:\DOFLinx\B2S\
 
##FX3Profile=FX3_Custom.ini
 
PATH_FX=C:\DOFLinx\FX\
PATH_FX_B2S=C:\DOFLinx\B2S\
PATH_MAME=C:\DOFLinx\MAME\
PATH_LINX=C:\DOFLinx\Linx\
PATH_LINX_B2S=\
FP_ATTEMPT_LINK=1
MAME_FOLDER=C:\vPinball\mame HORIZ\
 
PROCESSES=Pinball FX3,PinballFX-Win64-Shipping,Mame,Future Pinball
MAME_PROCESS=Mame
PROCESSES_LINX=PinballM-Win64-Shipping,IMPinball,IMPinball-Win64-Shipping
 
L_FLIPPER_KEY=07
R_FLIPPER_KEY=08
 
LINK_BUT_LF=0000,MONO,07
LINK_BUT_RF=0000,MONO,08
LINK_BUT_B1=0000,MONO,02
LINK_BUT_B2=0000,MONO,03
LINK_BUT_B3=0000,MONO,01
LINK_BUT_B4=0000,MONO,04
LINK_BUT_B5=0000,MONO,06
LINK_BUT_B6=0000,MONO,05
 
#!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Manual Entries Section
 
#!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 
DOFLINX LOG
 
 
26-févr.-26 07:44:37.742 - *********************************************************
26-févr.-26 07:44:37.742 - DOFLinx for Pinball and MAME Emulators - DOFLinx by DDH69
26-févr.-26 07:44:37.742 - Starting up - version 9.09
26-févr.-26 07:44:37.742 - *********************************************************
26-févr.-26 07:44:37.758 - DOF (DirectOutput.dll) path used = C:\vPinball\DirectOutput\x64\
26-févr.-26 07:44:37.758 - DirectOutput.dll version = 3.2.9313.40083  dated 01/07/2025 23:16:08
26-févr.-26 07:44:37.789 - Windows OS on X64 processor with 64 bit operating system and 64 bit application
26-févr.-26 07:44:37.789 - If you like it, please make a donation here https://www.paypal.c...d=YEPCTUYFX5KDE
26-févr.-26 07:44:37.789 - The guide can be found here https://doflinx.github.io/docs/
26-févr.-26 07:44:37.789 - For support come and visit the community here https://www.vpforums...p?showforum=104
26-févr.-26 07:44:37.789 - Pre-Reading DOFLinx.ini startup config file details
26-févr.-26 07:44:37.868 - DEBUG enabled with showing of window True
26-févr.-26 07:44:42.291 - Found Wemos controller named 'ISMAAA'
26-févr.-26 07:44:42.323 - Joystick # 3 detected : 0 buttons  
26-févr.-26 07:44:42.339 - Joystick # 4 detected : 0 buttons  
26-févr.-26 07:44:42.339 - Joystick # 5 detected : 0 buttons  
26-févr.-26 07:44:42.339 - Joystick # 6 detected : 0 buttons  
26-févr.-26 07:44:42.354 - Joystick # 7 detected : 0 buttons  
26-févr.-26 07:44:42.354 - Joystick # 8 detected : 0 buttons  
26-févr.-26 07:44:42.354 - Joystick # 10 detected : 16 buttons   DPAD Z-Axis
26-févr.-26 07:44:42.637 - DOFLinx Device: 1 Initializing as FTDI (Sainsmart) #1 serial #     ---> ??? 
26-févr.-26 07:44:42.637 - DOFLinx device:1 FTDI (Sainsmart) setup with 0 outputs      ****> ???
26-févr.-26 07:44:42.652 - Reading DOFLinx.ini startup config file details
26-févr.-26 07:44:42.652 - DEBUG enabled with showing of window True
26-févr.-26 07:44:42.652 - Reading colour file named C:\DOFLinx\config\Colours.ini
26-févr.-26 07:44:42.668 - Skipping adding output device/port for button code #37
26-févr.-26 07:44:42.668 - Skipping adding output device/port for button code #38
26-févr.-26 07:44:42.668 - Skipping adding output device/port for button code #41
26-févr.-26 07:44:42.683 - Skipping adding output device/port for button code #42
26-févr.-26 07:44:42.683 - Skipping adding output device/port for button code #43
26-févr.-26 07:44:42.683 - Skipping adding output device/port for button code #44
26-févr.-26 07:44:42.683 - Skipping adding output device/port for button code #45
26-févr.-26 07:44:42.699 - Skipping adding output device/port for button code #46
26-févr.-26 07:44:42.699 - Set Debug Privilege = Set OK
26-févr.-26 07:44:42.715 - Loading MAME game names
26-févr.-26 07:44:43.389 - Loading menu.ini
26-févr.-26 07:44:43.405 - Processing parameter 'LOAD_SOUND' with data 'LFlipper,100,LEFT_REAR,Flipper_L01,Flipper_L02,Flipper_L03,Flipper_L04,Flipper_L05,Flipper_L06,Flipper_L07,Flipper_L08,Flipper_L09,Flipper_L10,Flipper_L11' in real-time
26-févr.-26 07:44:43.414 - Processing parameter 'LOAD_SOUND' with data 'RFlipper,100,RIGHT_REAR,Flipper_R01,Flipper_R02,Flipper_R03,Flipper_R04,Flipper_R05,Flipper_R06,Flipper_R07,Flipper_R08,Flipper_R09,Flipper_R10,Flipper_R11' in real-time
26-févr.-26 07:44:43.421 - Processing parameter 'LOAD_SOUND' with data 'BallColl,100,REAR,Ball_Collide_1,Ball_Collide_2,Ball_Collide_3,Ball_Collide_4,Ball_Collide_5,Ball_Collide_6,Ball_Collide_7' in real-time
26-févr.-26 07:44:43.421 - Processing parameter 'LOAD_SOUND' with data 'DropTarget,100,SIDE,Drop_Target_Down_1,Drop_Target_Down_2,Drop_Target_Down_3,Drop_Target_Down_4,Drop_Target_Down_5,Drop_Target_Down_6' in real-time
26-févr.-26 07:44:43.436 - Trigger thread starting
26-févr.-26 07:44:44.330 - Stopping ROM
26-févr.-26 07:45:06.511 - Found valid process name of 'PinballFX-Win64-Shipping'
26-févr.-26 07:45:06.511 - Setting FX process ID to :1032
26-févr.-26 07:45:08.535 - Named process detected and startup commenced
26-févr.-26 07:45:09.021 - DOFLinx Device: 1 Initializing as FTDI (Sainsmart) #1 serial # A5069RR4
26-févr.-26 07:45:09.021 - DOFLinx device:1 FTDI (Sainsmart) setup with 8 outputs
26-févr.-26 07:45:09.241 - B2S Backglass loaded - FXPLogo
26-févr.-26 07:45:09.272 - DOFLinxTrigger.dll version = 1.2.0.0
26-févr.-26 07:45:09.288 - Using full colour palette
26-févr.-26 07:45:09.288 - 122 colours added to the palette
26-févr.-26 07:47:00.766 - New FX game WorldWarHulk
26-févr.-26 07:47:00.828 - B2S Backglass loaded - WorldWarHulk
26-févr.-26 07:47:00.851 - Loading FX configuration file C:\DOFLinx\FX\ALL_PRE.FX
26-févr.-26 07:47:00.866 - Processing parameter 'BUTTON_LIGHT_ACTION' with data 'BUT_LF,LeftFlipper,ON,2,0,Black,BUT_LF,LeftFlipper,OFF,1,0,Black,BUT_RF,RightFlipper,ON,2,0,Black,BUT_RF,RightFlipper,OFF,1,0,Black,BUT_ML,NudgeLeft,ON,7,1000,Red,BUT_ML,NudgeForward,ON,7,1000,Red,BUT_MR,NudgeRight,ON,7,1000,Red,BUT_MR,NudgeForward,ON,7,1000,Red' in real-time
26-févr.-26 07:47:00.878 - Processing parameter 'FF_PC' with data 'U,D,ledstrip/clear' in real-time
26-févr.-26 07:47:00.889 - Processing parameter 'FF_PC' with data 'U,C,arcade/stream/default/pinballfx' in real-time
26-févr.-26 07:47:00.896 - Processing parameter 'LOAD_SOUND' with data 'LFlipper,100,LEFT_REAR,Flipper_L01,Flipper_L02,Flipper_L03,Flipper_L04,Flipper_L05,Flipper_L06,Flipper_L07,Flipper_L08,Flipper_L09,Flipper_L10,Flipper_L11' in real-time
26-févr.-26 07:47:00.904 - Processing parameter 'LOAD_SOUND' with data 'RFlipper,100,RIGHT_REAR,Flipper_R01,Flipper_R02,Flipper_R03,Flipper_R04,Flipper_R05,Flipper_R06,Flipper_R07,Flipper_R08,Flipper_R09,Flipper_R10,Flipper_R11' in real-time
26-févr.-26 07:47:00.917 - Processing parameter 'LOAD_SOUND' with data 'LSling,100,LEFT_REAR,Sling_L1,Sling_L2,Sling_L3,Sling_L4,Sling_L5,Sling_L6,Sling_L7,Sling_L8,Sling_L9,Sling_L10' in real-time
26-févr.-26 07:47:00.935 - Processing parameter 'LOAD_SOUND' with data 'RSling,100,RIGHT_REAR,Sling_R1,Sling_R2,Sling_R3,Sling_R4,Sling_R5,Sling_R6,Sling_R7,Sling_R8' in real-time
26-févr.-26 07:47:00.953 - Processing parameter 'LOAD_SOUND' with data 'Launch,100,REAR,BallRelease1,BallRelease2,BallRelease3,BallRelease4,BallRelease5,BallRelease6,BallRelease7' in real-time
26-févr.-26 07:47:01.013 - Processing parameter 'LOAD_SOUND' with data 'Bump1,100,LEFT_SIDE,Bumpers_Top_1,Bumpers_Top_2,Bumpers_Top_3,Bumpers_Top_4,Bumpers_Top_5' in real-time
26-févr.-26 07:47:01.135 - Processing parameter 'LOAD_SOUND' with data 'Bump2,100,SIDE,Bumpers_Middle_1,Bumpers_Middle_2,Bumpers_Middle_3,Bumpers_Middle_4,Bumpers_Middle_5' in real-time
26-févr.-26 07:47:01.157 - Processing parameter 'LOAD_SOUND' with data 'Bump3,100,RIGHT_SIDE,Bumpers_Bottom_1,Bumpers_Bottom_2,Bumpers_Bottom_3,Bumpers_Bottom_4,Bumpers_Bottom_5' in real-time
26-févr.-26 07:47:01.176 - Processing parameter 'LOAD_SOUND' with data 'Drain,100,REAR,Drain_1,Drain_2,Drain_3,Drain_4,Drain_5,Drain_6,Drain_7,Drain_8,Drain_9,Drain_10,Drain_11' in real-time
26-févr.-26 07:47:01.196 - Processing parameter 'LOAD_SOUND' with data 'LNudge,100,LEFT_REAR,Nudge_1,Nudge_2,Nudge_3' in real-time
26-févr.-26 07:47:01.215 - Processing parameter 'LOAD_SOUND' with data 'RNudge,100,RIGHT_REAR,Nudge_1,Nudge_2,Nudge_3' in real-time
26-févr.-26 07:47:01.234 - Processing parameter 'LOAD_SOUND' with data 'BallColl,100,REAR,Ball_Collide_1,Ball_Collide_2,Ball_Collide_3,Ball_Collide_4,Ball_Collide_5,Ball_Collide_6,Ball_Collide_7' in real-time
26-févr.-26 07:47:01.449 - Processing parameter 'LOAD_SOUND' with data 'DropTarget,100,SIDE,Drop_Target_Down_1,Drop_Target_Down_2,Drop_Target_Down_3,Drop_Target_Down_4,Drop_Target_Down_5,Drop_Target_Down_6' in real-time
26-févr.-26 07:47:01.471 - Processing parameter 'LOAD_SOUND' with data 'DropTargetReset,100,SIDE,Drop_Target_Reset_1,Drop_Target_Reset_2,Drop_Target_Reset_3,Drop_Target_Reset_4,Drop_Target_Reset_5,Drop_Target_Reset_6' in real-time
26-févr.-26 07:47:01.496 - Processing parameter 'LOAD_SOUND' with data 'TargetHit,100,Target_Hit_1,Target_Hit_2,Target_Hit_3,Target_Hit_4,Target_Hit_5,Target_Hit_6,Target_Hit_7,Target_Hit_8,Target_Hit_9' in real-time
26-févr.-26 07:47:01.525 - Processing parameter 'LOAD_SOUND' with data 'WallHit,100,Wall_Hit_1,Wall_Hit_2,Wall_Hit_3,Wall_Hit_4,Wall_Hit_5,Wall_Hit_6,Wall_Hit_7,Wall_Hit_8,Wall_Hit_9' in real-time
26-févr.-26 07:47:01.553 - Processing parameter 'LOAD_SOUND' with data 'WireRampStop,100,WireRamp_Stop' in real-time
26-févr.-26 07:47:01.592 - Loading FX configuration file C:\DOFLinx\FX\WorldWarHulk.FX
26-févr.-26 07:47:01.610 - Processing parameter 'FF_ROM' with data 'fx2_wwhulk' in real-time
26-févr.-26 07:47:01.628 - Loading DOF 'Pinball' with ROM='fx2_wwhulk'
26-févr.-26 07:47:05.925 - Processing parameter 'BACKGLASS_EXISTS' with data 'YES' in real-time
26-févr.-26 07:47:05.951 - Processing parameter 'COLOUR_PALETTE' with data 'Lime_Green,Yellow_Green,Dodger_Blue,Lime,Yellow' in real-time
26-févr.-26 07:47:05.967 - Processing parameter 'BUTTON_COLOUR_CHANGE' with data 'BUT_LF,Lime_Green,BUT_RF,Lime_Green,BUT_ML,Dodger_Blue,BUT_MR,Dodger_Blue' in real-time
26-févr.-26 07:47:05.997 - Loading FX configuration file C:\DOFLinx\FX\ALL_POST.FX
26-févr.-26 07:47:06.014 - Invalid action code for interpretation of FL_OTT
26-févr.-26 07:47:08.344 - Action 1 19 4 10000 500 0 0 ''-''-''-'
 
 
 
Global config B2Server  
 
<!-- Global configuration for the DirectOutput framework. -->
<!-- Saved by DirectOutput Version 3.2.9313.40083: 2026-02-25 23-43-49 -->
<GlobalConfig>
<LedWizDefaultMinCommandIntervalMs>10</LedWizDefaultMinCommandIntervalMs>
<LedControlMinimumEffectDurationMs>60</LedControlMinimumEffectDurationMs>
<LedControlMinimumRGBEffectDurationMs>120</LedControlMinimumRGBEffectDurationMs>
<PacLedDefaultMinCommandIntervalMs>10</PacLedDefaultMinCommandIntervalMs>
<IniFilesPath>C:\vPinball\DirectOutput\Config</IniFilesPath>
<CabinetConfigFilePattern>C:\vPinball\DirectOutput\Config\cabinet.xml</CabinetConfigFilePattern>
<TableConfigFilePatterns/>
<EnableLogging>true</EnableLogging>
<ClearLogOnSessionStart>true</ClearLogOnSessionStart>
<LogFilePattern>.\DirectOutput.log</LogFilePattern>
<Instrumentation/>
</GlobalConfig>
 
 
Cabinet.XML
 
<?xml version="1.0"?>
  <Name>Flipper d'ISMA</Name>
  
  <AutoConfigEnabled>false</AutoConfigEnabled>
 
  
  
  <OutputControllers>
    <WemosD1MPStripController>
  <DtrEnable>true</DtrEnable>
      <Name>ISMAAA</Name>
      <NumberOfLedsStrip1>0</NumberOfLedsStrip1>
      <NumberOfLedsStrip2>36</NumberOfLedsStrip2>
      <NumberOfLedsStrip3>26</NumberOfLedsStrip3>
      <NumberOfLedsStrip4>0</NumberOfLedsStrip4>
      <NumberOfLedsStrip5>0</NumberOfLedsStrip5>
      <NumberOfLedsStrip6>35</NumberOfLedsStrip6>
      <NumberOfLedsStrip7>35</NumberOfLedsStrip7>
      <NumberOfLedsStrip8>0</NumberOfLedsStrip8>
      <ComPortName>COM9</ComPortName>
      <ComPortTimeOutMs>2000</ComPortTimeOutMs>
      <ComPortBaudRate>2000000</ComPortBaudRate>
      <ComPortOpenWaitMs>300</ComPortOpenWaitMs>
      <ComPortHandshakeStartWaitMs>100</ComPortHandshakeStartWaitMs>
      <ComPortHandshakeEndWaitMs>100</ComPortHandshakeEndWaitMs>
      <SendPerLedstripLength>true</SendPerLedstripLength>
      <UseCompression>true</UseCompression>
      <TestOnConnect>false</TestOnConnect>
    </WemosD1MPStripController>
  </OutputControllers>
  <Toys>
    <LedStrip>
      <Name>FRONTAL </Name>
      <Width>18</Width>
      <Height>2</Height>
      <LedStripArrangement>LeftRightTopDown</LedStripArrangement>
      <ColorOrder>RGB</ColorOrder>
      <FirstLedNumber>1</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <Brightness>60</Brightness>
      <OutputControllerName>ISMAAA</OutputControllerName>
    </LedStrip>
    <LedStrip>
      <Name>Topper</Name>
      <Width>26</Width>
      <Height>1</Height>
      <LedStripArrangement>LeftRightTopDown</LedStripArrangement>
      <ColorOrder>RGB</ColorOrder>
      <FirstLedNumber>37</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <Brightness>100</Brightness>
      <OutputControllerName>ISMAAA</OutputControllerName>
    </LedStrip>
    <LedStrip>
      <Name>LADO DERECHO</Name>
      <Width>35</Width>
      <Height>1</Height>
      <LedStripArrangement>BottomUpLeftRight</LedStripArrangement>
      <ColorOrder>RGB</ColorOrder>
      <FirstLedNumber>63</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <Brightness>90</Brightness>
      <OutputControllerName>ISMAAA</OutputControllerName>
    </LedStrip>
    <LedStrip>
      <Name>LADO IZDO</Name>
      <Width>35</Width>
      <Height>1</Height>
      <LedStripArrangement>LeftRightTopDown</LedStripArrangement>
      <ColorOrder>RGB</ColorOrder>
      <FirstLedNumber>98</FirstLedNumber>
      <FadingCurveName>SwissLizardsLedCurve</FadingCurveName>
      <Brightness>90</Brightness>
      <OutputControllerName>ISMAAA</OutputControllerName>
    </LedStrip>
    <LedWizEquivalent>
      <Name>LedWizEquivalent 30</Name>
      <Outputs>
        <LedWizEquivalentOutput>
          <OutputName>FRONTAL </OutputName>
          <LedWizEquivalentOutputNumber>7</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>Topper</OutputName>
          <LedWizEquivalentOutputNumber>12</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>LADO DERECHO</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
        <LedWizEquivalentOutput>
          <OutputName>LADO IZDO</OutputName>
          <LedWizEquivalentOutputNumber>4</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>
      </Outputs>
      <LedWizNumber>30</LedWizNumber>
    </LedWizEquivalent>
  </Toys>
</Cabinet>

Edited by phoskito, Today, 10:22 PM.


#2 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted Today, 11:12 PM

For addressable LEDs DOFLinx uses Left, Right and Back Effects plus Back Flashers.  Do you have those setup on your configuration via the DOF config tool?

 

If yes to the above, can you share a bit more of the DOFLinx.LOG file once you get into some play so I can see if the commands are being sent to DOF for addressable LEDs?  I see you have logging turned on in DOF, can you also send the corresponding DOF log file with the DOFLinx.LOG?


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