Jump to content



Photo
- - - - -

Setting up DOFLinx.ini File


  • Please log in to reply
15 replies to this topic

#1 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 04 November 2020 - 07:11 PM

Hi all,

 

I'm setting up the DOFLinx.ini file to get the feedback devices working with FP.  They work well with VP so now it's onto FP!

 

For the specific section on setting up the devices, I configured them as such, noting that I set them according to the ports assigned in the Config Tool:

 

 

ledwiz2.jpg

 

# Device and Ports for the 10 solenoid setup for Flippers, Slingshots, Middle 3 solenoids, Back 3 Solenoids.
 
LINK_LF=101,50,10000,255
LINK_RF=110,50,10000,255
LINK_LS=102,50,1000,255
LINK_RS=109,50,1000,255
LINK_ML=103,50,1000,255
LINK_MC=104,50,1000,255
LINK_MR=105,50,1000,255
LINK_BL=106,50,1000,255
LINK_BC=107,50,1000,255
LINK_BR=108,50,1000,255
 
# Device and Ports for the shaker, gear motor, knocker, beacon and strobe
 
LINK_SH=113,1000,5000,255
# LINK_GR=113,750,10000,255
LINK_KN=112,120,500,255
LINK_BK=117,FLASH,200,255
LINK_SR=016,ON,0,255
 
QUESTION: Am I correct in assigning a "1" in front of each of the device ports, or should I assign a "2" given that it's "Ledwiz 2".  Thanks!


#2 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,720 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 04 November 2020 - 07:49 PM

Don't assume it will be the same as the regular DOF
That will depend on what order DOFLinx picks them up in it's possible you will have to assign them to device 2
To test add this to The DOFLinx.InI file and set it for 1 - DEBUG=0
Restart DOFLinx when the window opens right click for test menu



#3 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 04 November 2020 - 07:59 PM

When you say "Restart DOFLinx when the window opens right click for test menu", do you mean start up a table, or can I start DOFLinx independently by just clicking on the DOFLinx.exe.  Thanks.



#4 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,720 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 04 November 2020 - 10:00 PM

When you say "Restart DOFLinx when the window opens right click for test menu", do you mean start up a table, or can I start DOFLinx independently by just clicking on the DOFLinx.exe.  Thanks.

Yes use the task manager to kill it off
then double click DOFLinx.exe to restart



#5 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 04 November 2020 - 10:17 PM

Based on this log file, it looks like I should put a "1" in front of any devices attached with Ledwiz 1, and a "0" in front of any devices attached with Ledwiz 2.  Am I interpreting this correctly?

 

11-4-20202-12-05pm.jpg



#6 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,720 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 04 November 2020 - 10:46 PM

NO -- One will be  1xx and the other will be  2xx
If you do this you will know
To test add this to The DOFLinx.InI file and set it for 1 - DEBUG=0
Restart DOFLinx when the window opens right click for test menu



#7 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 04 November 2020 - 11:53 PM

That was a great tip!  I used the "Test Device" app and was able to map the device and ports correctly.

 

I started up a game and none of the devices are responding, but that's ok.  I just need to troubleshoot more to ensure I installed the software correctly.  At least for now I know I have the correct ports mapped!



#8 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,801 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 05 November 2020 - 12:48 AM

You probably already have, but just make sure the table is using DOF calls
otherwise i think they do mostly nothing? Unless there are some independent ROM driven events


If you feel the need to empty your wallet in my direction, i dont have any way to receive it anyways

If you really want to get rid of money you can donate to this

Athena's Wildlife Sanctuary


#9 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,720 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 05 November 2020 - 01:19 AM

DOFLinx  Games  -- https://www.vpforums...=38170&p=381730



#10 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 05 November 2020 - 01:25 AM

Dumb question, but do I need to download a b2s for FP games similar to VP games in order to get the feedback devices working?



#11 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,801 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 05 November 2020 - 01:47 AM

Dumb question, but do I need to download a b2s for FP games similar to VP games in order to get the feedback devices working?

 

No FP has no BS2 style backglass
It is more similar to VPX's FSS mode

It is all in one

You do need to put FP in cabinet mode (Arcade mode i think it calls it?)
and then SCROLL LOCK allows you to adjust position and size of backglass on the screen

 

In arcade mode, you also have to adjust size and position of table on the screen, or i did anyways.


Edited by wiesshund, 05 November 2020 - 02:01 AM.

If you feel the need to empty your wallet in my direction, i dont have any way to receive it anyways

If you really want to get rid of money you can donate to this

Athena's Wildlife Sanctuary


#12 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 05 November 2020 - 02:39 AM

Well, that's interesting.  It turns out that the FP Aliens table that I was using to test the feedback devices in FP wasn't working because the feedback isn't integrated into the table (only yet, I hope).  I downloaded a Deadpool table which was labeled as "DOF enabled" and sure enough, the devices work with it!



#13 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,801 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 05 November 2020 - 02:49 AM

Yea deadpoole works

 

You could probably add DOF to the other table yourself, if you really want it fast.
Hard to say if/when the author might update it.

 

I am not sure my tables have it specifically.
I have nothing to test it against, but i could add it easy enough if someone told me what values a given thing needed

 

I think you have to then add it yourself to the dof configuration?

I started to set it up once until i found out that it can not directly speak with a directinput or xinput device 
And also, pinball kind of has 0 use for proportional stepper motors.
And the vibration generators i have need a wav form input rather than simply voltage, they have to know if the are running a sawtooth or sine wav or triangle etc

(Yea i know directInput is dead but i still use it, Xinput never implemented multi axis linear force motors etc)


If you feel the need to empty your wallet in my direction, i dont have any way to receive it anyways

If you really want to get rid of money you can donate to this

Athena's Wildlife Sanctuary


#14 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 05 November 2020 - 03:08 AM

"I have nothing to test it against, but i could add it easy enough if someone told me what values a given thing needed

 
I think you have to then add it yourself to the dof configuration?"
 
What tables do you have to offer adding feedback to?  Yes, I could let you know what devices I have set up, and yes, then I'd have to add the table to the database in the DOF Config Tool.
 
But then again, I'm sure you have better things to do with your time than adding DOF to your tables!   :juggle:


#15 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,801 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 05 November 2020 - 03:48 AM

I have only made and uploaded 2 tables

 

I have modified a lot of other peoples tables, for my self, but not uploaded them, they are not mine to do so.

 

I only have heavymetal and close encounters that i made and uploaded

And i am not sure exactly if either will even do basic standard bumper kicker DOF feedback.
 

I know that neither is set up to do any kind of lighting

But i dont think it should be all that terribly hard to add if there is some kind of template or something that says
this is the normal LIGHT BEACON thing
this is the standard bumper goes BANG thing etc


If you feel the need to empty your wallet in my direction, i dont have any way to receive it anyways

If you really want to get rid of money you can donate to this

Athena's Wildlife Sanctuary


#16 Conehead

Conehead

    Enthusiast

  • Members
  • PipPipPip
  • 475 posts

  • Flag: Canada

  • Favorite Pinball: Not sure yet!

Posted 05 November 2020 - 04:32 AM

I'm going to start researching what it takes to add the feedback devices to the tables.  Sounds interesting.