Currently, there are 0 users and 0 guests visiting this topic.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41432
    Marc
    Participant
    @marcdaddy

    Ok guys I only use Visual Pinball so messing with Future Pinball now that there is feedback, I have feedback working in VP now, DOF is installed and working for that. I downloaded DOFLinx, I unzipped it into the DOF folder, Placed the VBS file into the SCRIPT folder in Future Pinball, DOFLinx is set to startup in the Startup folder But then I get LOST.

    Whats the next step. Editing the .INI file? I’m getting lost here. Can someone post a smaple of theirs that are using this with FP and FX2?

    #41433
    Dr.Tom
    Participant
    @crile1
    MemberContributor

    Check out this link

    http://www.vpforums.org/index.php?showtopic=36184

     

    #41437
    Marc
    Participant
    @marcdaddy

    Man that even got me more confused. So right now from the point I’m on Do I need to create a INI file, Edit the INI file. Ive read way to much on this topic today and I think its messed me up worse then before lol.

    #41464
    TerryRed
    Moderator
    @terryred
    MemberContributorModerator

    Here is my DOFLinx.ini file. Understand it will be different than your setup, and it includes sections I used for non Future Pinball Stuff. You will need to change settings for your own setup. Also, consult the DOFLinx Guide for more information.  My setup is only 1 LED-Wiz. The FUTURE PINBALL SETUP area is where you want to make sure your outputs, etc are setup the same as yours.

    DOFLinx is intended to be running all the time, with FP tables launched from a front end like Pinball X. When the table is launched, DOFLinx detects FP and “wakes”, then your table will load. If the table has been modded to work with DOFLinx (FPAttemptLink), then the link will be established, and the table should now have feedback. After you exit the table, DOFLinx “Sleeps” and waits for your next table.  This method works fine with no issues.

     

    If you try running outside of a front end things can be tricky.

    Outside of a frontend… you need to load Future Pinball, then load your table. Then load Doflinx, then start your table right away. This should work fine. If you exit the table them close both FP and DOFLinx and repeat before trying again.

    DDH69 (creator of DOFLinx) is very helpful.

    My DOFLinx.ini:

     

     

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

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

    PROCESSES=Pinball FX2,PinballArcade11,Future Pinball,mamelayplus

    # The location of your standard DOF outut configuration file

    DIRECTOUTPUTCONFIG=c:\DirectOutput\config\directoutputconfig.ini

    # Setting FORCE_ACTIVE=1 will cause DOFLinx to not listen for processes and just run until you kill the process.

    FORCE_ACTIVE=0

    # If you want the program to stop when Pinball FX2 stops then set this to 1. If you want it to run in the background all the time leave it as 0

    QUIT_AFTER_FX2=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 window game name for setting game specific colours

    OUTPUT_GAME_NAME=1

    # 0 = OFF (normal operation), 1 = ON – When ON a window will appear and a log file will be created in the EXE directory.

    DEBUG=1

    PATH_FX2=c:\DirectOutput\DOFLinxConfigs\FX2\

    #### FUTURE PINBALL SETUP ##############

    FP_LINK_WAIT_TIME=50000

    FP_ATTEMPT_LINK=1

    LINK_LF=101,25,8000
    LINK_RF=102,25,8000
    LINK_LS=103,75,1000
    LINK_RS=104,75,1000
    LINK_ML=105,75,1000
    LINK_MC=106,75,1000
    LINK_MR=107,75,1000
    LINK_BL=108,75,1000
    LINK_BC=106,75,1000
    LINK_BR=110,75,1000

    LINK_FN=111,75,9999
    #LINK_SH=111,75,9999
    #LINK_GR=111,75,9999

    LINK_SR=116,ON,0
    LINK_BK=132,ON,0

    LINK_ST=114
    LINK_LB=115
    LINK_FR=113

    LINK_FLOL=129
    LINK_FLIL=126
    LINK_FLCN=123
    LINK_FLIR=120
    LINK_FLOR=117

    #### FLIPPER OUTPUTS ###################

    # Which DOF Controller output for the flipper solenoids / contactors

    #FLIPPER Key Codes:

    #Left Flipper = DB ([)
    #Right Flipper = DD (])

    L_FLIPPER_KEY=DB
    R_FLIPPER_KEY=DD

    L_FLIPPER_OUTPUT=101
    R_FLIPPER_OUTPUT=102
    #### MAX FLIPPER TIME ON ###############

    # 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=8000
    #### RGB_OUTPUTS #######################

    # What LEDWiz output(s) are used for RGB devices. Just enter the Red output number. Multiples can be entered seperated by a space

    #Outside Right=117
    #Right=120
    #Center=123
    #Left=126
    #Outside Left=129

    RGB_OUTPUT=117,120,123,126,129
    #### RGB_OUTPUT Colour Changing ########

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

    # What changes the colour? Time – set time period, Flipper = flipper press after the RGB_TRIGGER minimum time (to stop rapid colour changes)

    RGB_TRIGGER=TIME

    # Dependent on trigger selection the period between changes or the minimum time for change between flipper flips

    RGB_MIN_TIME=8000
    #### BUTTON LED OUTPUTS ################

    # The button(s) to turn on when your game starts, ie the Start button LED

    #Fire=113
    #Start=114
    #Launch=115

    BUTTONS_ON=113,114,115
    #### KEY_TO_OUTPUT #####################

    #Key Codes:

    #Beacon = BA (;)
    #Strobe = DE (“)
    #Fan = BC (,)

    KEY_TO_OUTPUT=BA,132,DE,116,BC,111
    #### KEY_TO_COLOUR ######################

    #RGB_OUTPUTS:

    #Outside Right=117
    #Right=120
    #Center=123
    #Left=126
    #Outside Left=129

    #Key Codes:

    #OutLeftLED = 54 (T)
    #LeftLED = 59 (Y)
    #CenterLED = 55 (U)
    #RightLED = 49 (I)
    #OuterRightLED = 4F (O)
    #Nudge = 4E (N)

    KEY_TO_COLOUR=54,129,Green,59,126,Green,55,123,Green,49,120,Green,4F,117,Green

    KEY_TO_COLOUR_TIMER=E,129,Red,3000,4E,126,Red,3000,4E,123,Red,3000,4E,120,Red,3000,4E,117,Red,3000
    #### KEY_TO_COLOUR TOGGLE################

    #RGB_OUTPUTS:

    #Outside Right=117
    #Right=120
    #Center=123
    #Left=126
    #Outside Left=129

    #Key Codes:

    #Left Flipper = DB ([)
    #Right Flipper = DD (])

    KEY_TO_COLOUR_TOGGLE=DB,129,Purple,DB,126,Purple,DD,120,Yellow,DD,117,Yellow

    #### GAME_COLOUR ##########################

    # Game specific colours in the formnat of a CSV of Game Name,Colour#1,Colour#2 – colours as they appear in your directoutputconfig
    ##Pinball FX 2 Colours##

    GAME_COLOUR=AlienIsolationPinball,Medium_Blue,Lime,Dodger_Blue,Lime_Green
    GAME_COLOUR=AlienvsPredatorPinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
    GAME_COLOUR=AliensPinball,Medium_Blue,Dark_Golden_Rod,Dodger_Blue
    GAME_COLOUR=AmericanDadPinball,Medium_Blue,Lime_Green,Dodger_Blue,Yellow_Green
    GAME_COLOUR=MarvelsAntMan,Medium_Blue,Dark_Red,Dodger_Blue
    GAME_COLOUR=ArcherPinball,Medium_Blue,Yellow,Dodger_Blue,Blue_Violet
    GAME_COLOUR=MarvelsTheAvengers,Blue,Dark_Red,Dodger_Blue,Gold
    GAME_COLOUR=MarvelsAvengersAgeofUltron,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=BobaFett,Lime,Golden_Rod,Blue_Violet
    GAME_COLOUR=BobsBurgersPinball,Medium_Blue,Lime_Green,Dark_Red,Dodger_Blue,Yellow_Green
    GAME_COLOUR=CaptainAmerica,Blue,Dark_Red,Dodger_Blue,Gold
    GAME_COLOUR=CastleStorm,Blue,Gold,Lime,Dodger_Blue,Orange,Lime_Green
    GAME_COLOUR=CivilWar,Blue,Dark_Red,Dodger_Blue,Light_Salmon
    GAME_COLOUR=STARWARSDARTHVADER,Light_sky_blue,Dark_Red,Cyan
    GAME_COLOUR=Deadpool,Dark_Red,Blue,Medium_slate_blue,Dodger_Blue
    GAME_COLOUR=DoctorStrange,Dark_Red,Blue,Gold,Lime_Green,Dark_Violet,Orange,Dodger_Blue,Lime,Medium_Slate_Blue
    GAME_COLOUR=StarWarsPinballDroids,Medium_Blue,Yellow,Orange,Navy,Gold,Orange_Red
    GAME_COLOUR=EarthDefense,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
    GAME_COLOUR=ElDorado,Orange,Lime_Green,Yellow,Coral,Lime,Yellow_Green,Cyan
    GAME_COLOUR=EpicQuest,Lime_Green,Dodger_Blue,Yellow_Green,Cyan
    GAME_COLOUR=StarWarsPinballEpisodeIVANewHope,Cyan,Golden_Rod,Dodger_Blue,Yellow
    GAME_COLOUR=StarWarsEpisodeVTheEmpireStrikesBack,Medium_Blue,Yellow,Dark_Red,Dodger_Blue
    GAME_COLOUR=StarWarsEpisodeVIReturnoftheJedi,Slate_Blue,Golden_Rod,Medium_Blue,Lime_Green,Dodger_Blue,Yellow
    GAME_COLOUR=Excalibur,Dark_Red,Blue,Lime,Dodger_Blue,Cyan
    GAME_COLOUR=FamilyGuyPinball,Dodger_Blue,Lime_Green,Salmon,Dark_Violet,Yellow_Green
    GAME_COLOUR=FantasticFour,Blue,Yellow,Dodger_Blue,Orange_Red
    GAME_COLOUR=FearItself,Dark_Red,Blue,Yellow,Lime,Dark_Violet,Orange
    GAME_COLOUR=SuperLeagueZenStudiosFC,Lime_Green,Orange,Lime,Yellow,Red
    GAME_COLOUR=GhostRider,Dodger_Blue,White,Yellow,Light_Salmon,Orange_Red
    GAME_COLOUR=GuardiansoftheGalaxy,Dodger_Blue,Orange,Medium_Purple
    GAME_COLOUR=StarWarsPinballHanSolo,Dodger_Blue,Royal_Blue,Antique_White
    GAME_COLOUR=IRONMAN,Blue,Dark_Red,Dodger_Blue,Gold
    GAME_COLOUR=Mars,Blue,Yellow,Deep_sky_blue,Gold
    GAME_COLOUR=StarWarsPinballMastersoftheForce,Medium_Blue,Salmon,Dodger_Blue,Purple,Cyan,Dark_Red
    GAME_COLOUR=StarWarsPinballMightoftheFirstOrder,Light_sky_blue,Dodger_Blue,Dark_Red,Cyan
    GAME_COLOUR=MoonKnight,Dodger_Blue,Blue,Cyan,Royal_Blue
    GAME_COLOUR=MsSplosionMan,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=PlantsVSZombies,Lime_Green,Yellow_Green,Dodger_Blue
    GAME_COLOUR=Portal,Dodger_Blue,Yellow_Green,Medium_Blue,Yellow
    GAME_COLOUR=StarWarsPinballStarWarsRebels,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=SecretsoftheDeep,Blue,Yellow,Dodger_Blue
    GAME_COLOUR=Shaman,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
    GAME_COLOUR=SorcerersLair,Blue,Blue_Violet,Dodger_Blue,Slate_Blue
    GAME_COLOUR=SouthParkButtersVeryOwnPinballGame,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green
    GAME_COLOUR=SouthParkSuperSweetPinball,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime_Green,Yellow_Green
    GAME_COLOUR=SpiderMan,Dark_Red,Lime,Blue,Gold,Dark_Violet,Orange
    GAME_COLOUR=StarWarsStarfighterAssault,Medium_Blue,Dodger_Blue,Dark_Red
    GAME_COLOUR=Tesla,Lime_Green,Yellow_Green,Dodger_Blue,Golden_Rod
    GAME_COLOUR=StarWarsTheCloneWars,Dark_Red,Pink,Medium_Blue,Medium_Turquoise,Lime,Lime_Green
    GAME_COLOUR=StarWarsPinballTheForceAwakens,Dark_Red,Medium_Blue,Blue_Violet
    GAME_COLOUR=TheInfinity Gauntlet,Dark_Red,Blue,Gold,Dark_Violet,Orange,Dodger_Blue,Lime
    GAME_COLOUR=TheWalkingDead,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=WildWestRampage,Yellow_Green,Dodger_Blue,Royal_Blue
    GAME_COLOUR=Wolverine,Dark_Red,Medium_Blue,Yellow,Dark_Violet
    GAME_COLOUR=WorldWarHulk,Lime_Green,Yellow_Green,Dodger_Blue,Lime,Yellow
    GAME_COLOUR=XMen,Blue,Blue_Violet,Gold,Dodger_Blue,Slate_Blue,Orange

    ##Future Pinball Colours##

    GAME_COLOUR=A Nightmare on Elm Street (Ultimate Edition).fpt,Red,Black,Red,Black
    GAME_COLOUR=Tron Legacy (Ultimate Edition).fpt,Yellow,Cyan,Orange,Dodger_blue
    ##Future Pinball NoDMD Colours##

    GAME_COLOUR=Blue Vs Pink.fpt,Blue,Pink,Blue,Pink
    GAME_COLOUR=Bad Cats (Ultimate Edition).fpt,Yellow,Orange,Yellow,Orange
    ##The Pinball Arcade Colours##

    GAME_COLOUR=Attack From Mars,Red,Blue,Red,Blue,Red,Blue,Red,Blue
    GAME_COLOUR=Black Hole,Blue,Black,Blue,Black

    ##MAME Colours##
    #### SUMMARY OF CODES,ETC #######
    #################################

    # The keyboard hex code for keys is from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
    #################################

    #KEY_TO_OUTPUT, Key Codes:

    #Beacon = BA (;)
    #Strobe = DE (“)
    #Fan = BC (,)

    #################################

    #FLIPPER Key Codes:

    #Left Flipper = DB ([)
    #Right Flipper = DD (])

    #################################

    #KEY_TO_COLOUR TOGGLE, Key Codes:
    #################################

    #KEY_TO_COLOUR, Key Codes:

    #OutLeftLED = 54 (T)
    #LeftLED = 59 (Y)
    #CenterLED = 55 (U)
    #RightLED = 49 (I)
    #OuterRightLED = 4F (O)
    #Nudge = 4E (N)

    #################################

    #RGB_OUTPUTS:

    #Outside Right=117
    #Right=120
    #Center=123
    #Left=126
    #Outside Left=129

    #################################

    #Button LED Outputs:

    #Fire=113
    #Start=114
    #Launch=115

    #################################

    #FUTURE PINBALL OUTPUTS

    #LF = Left flipper
    #RF = Right flipper
    #LS = Left slingshot
    #RS= Right slingshot
    #ML = Mid field left solenoid
    #MC = Mid field centre solenoid
    #MR = Mid field right solenoid
    #BL = Back left solenoid
    #BC = Back centre solenoid
    #BR = Back right solenoid
    #SH = Shaker motor
    #GR = Gear motor
    #KN = Knocker
    #FN=Fan
    #SR=Strobe
    #BK=Beacon

    #ST = Start button
    #EB = Extra Ball button
    #EX = Exit button
    #CN = Coin button
    #LB = Launch Ball button
    #FR = Fire Button

    1 user thanked author for this post.
    #41581
    Marc
    Participant
    @marcdaddy

    Thanks Terry! Ill mess around with it today. I set DofLinx to launch at startup and when windows starts I’m getting a Error saying it does not find the INI. file . I did not try to launch FP in Pinball X, I was trying to get this all sorted out and working before I put into my Cabinet. Great You Tube video BTW, I subscribed :)  Ill report back a little later on, Wife and kids need me this morning putting up Christmas Decorations :yahoo:

    #41618
    Marc
    Participant
    @marcdaddy

    Still got some issues, here is my accurate info that needs to be worked into the INITerry I’m still a bit confused with creating the INI. I have FP and FX2 in the proper folders and when I ran your INI I got FX2 to work albeit with weird things going on since the outputs were different, Is it possible you could generate me a working INI with my info? I have 1 LedWiz and here are my port assignments. I can pay you or Donate for your trouble. Thanks
    I also don’t have a DOFLinx_FX2 file.

    Device LedWiz
    Direct Output Framework folder C:\DirectOuput\
    Location of directoutputconfig.ini file C:\DirectOutput\config\directoutputconfig.ini
    DOFLinx download and unpack location C:\DirectOutput\DOFLinxDownoad\
    INI file location C:\DirectOutput\DOFLinx_INI\
    FX2 file location C:\DirectOutput\DOFLinx_FX2\
    Location and name of Future Pinball C:\Games\Future Pinball\BAM\Future Pinball.exe
    Location and name of Pinball FX2
    Left Flipper key Left Shift
    Right Flipper key Right Shift
    Left flipper solenoid Device #1, port 11
    Right flipper solenoid Device #1, port 15
    RGB under cabinet lighting Device #1, port 27 (red port)
    Left slingshot solenoid Device #1, port 12
    Right slingshot solenoid Device #1, port 16
    Mid field left solenoid Device #1, port 9
    Mid field centre solenoid Device #1, port 10
    Midfield right solenoid Device #1, port 13
    Back left solenoid Device #1, port 30
    Back centre solenoid Device #1, port 14
    Back right solenoid Device #1, port 32
    Shaker Device #1, port 4
    Gear motor Device #1, port 5
    Knocker Device #1, port 6
    Strobe light Device #2, port 17
    Beacon Device #2, port 7
    Flasher – Outer left Device #2, port 24
    Flasher – Inner left Device #2, port 24
    Flasher – Centre Device #2, port 21
    Flasher – Inner right Device #2, port 18
    Flasher – Outer right Device #2, port 18
    Start button LED Device #1, port 1
    Extra ball button LED Device #1, port 2
    Coin button LED Device #1, port 31
    Exit button LED Device #1, port 32

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

©2021 VPinBall.com

Log in with your credentials

or    

Forgot your details?

Create Account

The Vpinball app

FREE
VIEW