Need Help getting DOFLinx working with PBFX2

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #43266
    Paulo Carvalho
    Participant
      @paulohotline

      Hey guys, I have followed the setup instructions for DOFLinx and still cannot cannot get any action from my toys other then the Center RGB when I boot up a PBFX2 game. Regular DOF is working with VPX, VP9.9 etc. I have not tried any FP tables yet as I want PBFX2 working first.

      I have attached my ini file and my log. Thanks in advance if you see anything that I need to modify.

       

      ####
      # 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
      DIRECTOUTPUTCONFIG=c:\Program Files (x86)\Visual Pinball\Tables\Plugins\DirectOutput\config\directoutputconfig.ini

      # If you want to list the processes that will wake up DOFLinx, comment it out if you just want Pinball FX2
      #PROCESSES=Pinball FX2,Future Pinball,VPinball_9_9_1,VPPhysMod5
      PROCESSES=Pinball FX2,Future Pinball

      # Which DOF Controller output for the flipper solenoids / contactors
      L_FLIPPER_OUTPUT=109
      R_FLIPPER_OUTPUT=110
      # The keyboard hex code for the key that is used for each flipper from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(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=123
      # 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=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 123 Red A3 123 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
      PATH_FX2=c:\Program Files (x86)\Visual Pinball\Tables\Plugins\DirectOutput\DOFLinxDownload\FX2
      ####
      # Sample setup to enable the Future Pinball Link. Edit the LINK_ items to be your ports and settings.
      ####
      FP_ATTEMPT_LINK=1
      # Use the line below if you need to extend the wait time for a FP table to load
      FP_LINK_WAIT_TIME=50000
      LINK_LF=109,50,10000
      LINK_RF=110,50,10000
      LINK_LS=105,50,500
      LINK_RS=106,50,500
      #LINK_ML=127,50,500
      LINK_MC=112,50,500
      #LINK_MR=129,50,500
      LINK_BL=107,50,500
      LINK_BC=112,50,500
      LINK_BR=108,50,500
      LINK_SH=132,1000,5000
      LINK_GR=115,750,10000
      LINK_KN=113,120,500
      LINK_SR=114,ON,0
      LINK_FLOL=117
      LINK_FLIL=120
      LINK_FLCN=123
      LINK_FLIR=126
      LINK_FLOR=129
      LINK_ST=101
      LINK_EB=103
      LINK_CN=103
      LINK_EX=104

      ####
      # 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

      Here is my DOFLinx.log excerpt:

       

      08-Dec-16 23:42:16.531 – Starting up – version 4.10
      08-Dec-16 23:42:16.554 – 1 LEDWiz device(s) found
      08-Dec-16 23:42:16.557 – DOFLinx device: 1 Initializing as LEDWiz #1 with ID=0
      08-Dec-16 23:42:16.564 – DOFLinx device:1 LEDWiz setup with 32 outputs
      08-Dec-16 23:42:16.567 – 0 FTDI (Sainsmart) device(s) found
      08-Dec-16 23:42:16.570 – Reading DOFLinx.INI startup config file details
      08-Dec-16 23:42:16.580 – Reading DOF config file
      08-Dec-16 23:44:07.564 – Game name = ‘AliensPinball’
      09-Dec-16 00:15:08.350 – DOF Linx for Pinball Emulators – DOFLinx by DDH69
      09-Dec-16 00:15:08.361 – Starting up – version 4.10
      09-Dec-16 00:15:08.386 – 1 LEDWiz device(s) found
      09-Dec-16 00:15:08.391 – DOFLinx device: 1 Initializing as LEDWiz #1 with ID=0
      09-Dec-16 00:15:08.399 – DOFLinx device:1 LEDWiz setup with 32 outputs
      09-Dec-16 00:15:08.403 – 0 FTDI (Sainsmart) device(s) found
      09-Dec-16 00:15:08.405 – Reading DOFLinx.INI startup config file details
      09-Dec-16 00:15:08.416 – Reading DOF config file
      09-Dec-16 00:15:58.045 – Game name = ‘DOOMPinball’
      09-Dec-16 00:17:59.490 – Game name = ‘AliensPinball’
      09-Dec-16 00:19:01.671 – Game name = ”
      09-Dec-16 00:21:06.645 – DOF Linx for Pinball Emulators – DOFLinx by DDH69
      09-Dec-16 00:21:06.656 – Starting up – version 4.10
      09-Dec-16 00:21:06.681 – 1 LEDWiz device(s) found
      09-Dec-16 00:21:06.684 – DOFLinx device: 1 Initializing as LEDWiz #1 with ID=0
      09-Dec-16 00:21:06.690 – DOFLinx device:1 LEDWiz setup with 32 outputs
      09-Dec-16 00:21:06.693 – 0 FTDI (Sainsmart) device(s) found
      09-Dec-16 00:21:06.695 – Reading DOFLinx.INI startup config file details
      09-Dec-16 00:21:06.706 – Reading DOF config file

       

      [Paulo Carvalho Mobile - 204-294-4389]
      http://www.pinballowners.com/paulohotline
      "Life is like pinball, your always trying to keep your balls in play, but in the end, they drop down the middle :)"

      #43314
      Paulo Carvalho
      Participant
        @paulohotline

        Hmmm, I know its something I am just missing….

        [Paulo Carvalho Mobile - 204-294-4389]
        http://www.pinballowners.com/paulohotline
        "Life is like pinball, your always trying to keep your balls in play, but in the end, they drop down the middle :)"

        #43319
        TerryRed
        Moderator
          @terryred
          MemberContributorModerator

          If you are trying to get the DOFLinx full cabient feedback (flippers, sling, bumpers, flashers,buttons,etc) for PinballFX2 working….

          DOFLinx needs to read areas of memory that PFX2 uses to “trigger” certain actions like flippers, bumpers, flashers, etc… The newest update to Pinball FX2 has changed what these values are.

          As a result, DOFLinx needs to be updated to match the recent update for Pinball FX2. You have 4.10, and DDH69 just released 4.20 today, which addresses these changes.

          Keep in mind that only tables that have an .FX2 file will have a more complete cabinet feedback experience. There is a “default” FX2 file that “may” partially work on some tables that haven’t been mapped yet. DDH69 needs to “map” each table himself, so it takes alot of time.

          Hence, the new Bethesda pack hasn’t been mapped yet, so they may not work yet. Try the tables that have an FX2 file.

           

          When you get around to it….try some of the Future Pinball tables…. i have heard that some of SLAMT1LT’s modded tables are pretty cool…   ;)

          #43372
          Paulo Carvalho
          Participant
            @paulohotline

            Hey Terry, thanks for the reponse. I have all the PBFX2 tables in steam. I have also updated to version 4.20 today and its still not activating any of my toys except the center RGB. DOF works fine on the other 500 VP tables and 20 or so FP tables that I setup with DOF previous to this new software.

            Here is my log:

            09-Dec-16 19:35:33.106 – DOF Linx for Pinball Emulators – DOFLinx by DDH69
            09-Dec-16 19:35:33.122 – Starting up – version 4.20
            09-Dec-16 19:35:33.137 – 1 LEDWiz device(s) found
            09-Dec-16 19:35:33.137 – DOFLinx device: 1 Initializing as LEDWiz #1 with ID=0
            09-Dec-16 19:35:33.153 – DOFLinx device:1 LEDWiz setup with 32 outputs
            09-Dec-16 19:35:33.153 – 0 FTDI (Sainsmart) device(s) found
            09-Dec-16 19:35:33.153 – Reading DOFLinx.INI startup config file details
            09-Dec-16 19:35:33.168 – Reading DOF config file
            09-Dec-16 19:37:17.457 – Game name = ”
            09-Dec-16 19:39:38.197 – Game name = ‘AlienIsolationPinball’

            Here is my new ini file:

            ####
            # 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:\Program Files (x86)\Visual Pinball\Tables\Plugins\DirectOutput\config\directoutputconfig.ini

            # If you want to list the processes that will wake up DOFLinx, comment it out if you just want Pinball FX2
            #PROCESSES=Pinball FX2,Future Pinball,VPinball_9_9_1,VPPhysMod5

            # Which DOF Controller output for the flipper solenoids / contactors
            L_FLIPPER_OUTPUT=109
            R_FLIPPER_OUTPUT=110
            # The keyboard hex code for the key that is used for each flipper from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(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=123
            # 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
            # Use the line below if you need to extend the wait time for a FP table to load
            FP_LINK_WAIT_TIME=50000
            LINK_LF=109,50,10000
            LINK_RF=110,50,10000
            LINK_LS=105,50,500
            LINK_RS=106,50,500
            #LINK_ML=127,50,500
            LINK_MC=112,50,500
            #LINK_MR=129,50,500
            LINK_BL=107,50,500
            LINK_BC=112,50,500
            LINK_BR=108,50,500
            LINK_SH=132,1000,5000
            LINK_GR=115,750,10000
            LINK_KN=113,120,500
            LINK_SR=114,ON,0
            LINK_FLOL=117
            LINK_FLIL=120
            LINK_FLCN=123
            LINK_FLIR=126
            LINK_FLOR=129
            LINK_ST=101
            LINK_EB=103
            LINK_CN=103
            LINK_EX=104

            ####
            # 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

            #####

            [Paulo Carvalho Mobile - 204-294-4389]
            http://www.pinballowners.com/paulohotline
            "Life is like pinball, your always trying to keep your balls in play, but in the end, they drop down the middle :)"

            #43377
            TerryRed
            Moderator
              @terryred
              MemberContributorModerator

              I think I see the problem….

              Your first DofLinx.ini that you posted included:

              PATH_FX2=c:\Program Files (x86)\Visual Pinball\Tables\Plugins\DirectOutput\DOFLinxDownload\FX2

              you need to have a  \  at the end of the path or it won’t work. so it should be like this:

              PATH_FX2=c:\Program Files (x86)\Visual Pinball\Tables\Plugins\DirectOutput\DOFLinxDownload\FX2\

              …also you new DOFLinx.ini doesn’t have any PATH_FX2 entry at all. Make sure you enter it into your new DOFLinx.ini with the \ at the end.

               

              Your Future Pinball outputs section, is what the Pinball FX 2 full cabinet feedback support also uses. So everything that you need to configure to work with Pinball FX2 is in there as well.

              When DOFLinx doesn’t see any .FX2 files, or doesn’t make a FP_Link…it resorts back to its default “Key_To_Output” type of function.

              The reason why you were seeing the center RGB flasher, was because you had one RGB Output (meant more for RGB undercab) configured the same as your center flasher in the FP outputs section (fine…nothing wrong with that, I do this too).  When running full cabinet support for FX2 or FP, the RGB Output function gets overridden by the flasher function on the same output.

              I just tried out the new DOFLinx update (4.20) and its working great. Some of the tables will give you limited feedback like I said (Bethesda) whereas others will give you full feedback if there is a FX2 file for that table.

              Good Luck!

              #43384
              Paulo Carvalho
              Participant
                @paulohotline

                Thanks that did it. I am up and working now. Even the default setting on the Bethesda tables is great with me! Cannot wait until someone creates the dedicated PX2 files as these tables are amazing. I will check out the new FP tables this weekend.

                [Paulo Carvalho Mobile - 204-294-4389]
                http://www.pinballowners.com/paulohotline
                "Life is like pinball, your always trying to keep your balls in play, but in the end, they drop down the middle :)"

                #43386
                TerryRed
                Moderator
                  @terryred
                  MemberContributorModerator

                  Glad to hear….  yah I hope DDH69 gets on the Bethesda pack first…as those tables are pretty cool, and I love those games.

                Viewing 7 posts - 1 through 7 (of 7 total)

                Forums are currently locked.

                ©2024 VPinBall.com

                Log in with your credentials

                Forgot your details?