Jump to content



Photo
- - - - -

Doflinx and XBOX 360 gamepad


  • Please log in to reply
75 replies to this topic

#21 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 17 March 2019 - 05:56 AM

The issue that I see at present for having DOFLinx drive the rumble for VPX is as follows;

 

VPX triggers ROM events (switches, lamps, etc) which are handled by PinMame, these events go from PinMame to DOF, DOF then uses the provided mapping per switch, bulb, etc to drive an output on a cabinet output device.

 

So the first point that a table event for VPX turns into a known output is after DOF takes that trigger and uses the mapping in the directoutputconfigxx file to drive one or more hardware output devices.

 

Now DOFLinx also uses trigger events to drive outputs through DOF.  The triggers for DOFLinx come from FP or FX2/3, and in its most basic mode the keyboard.  To drive a rumble motor output the question for VPX becomes what is the trigger for DOFLinx?  Given that the first time in the chain that a VPX trigger (such as a switch) becomes an output to a device is at the DOF point, this would imply that for DOFLinx to intercept that interpreted message and make the XBox controller rumble for a device (ie slingshot, bumper, etc) the same way as can be done for FP and Fx2/3, that you would need to have a full DOF setup and either,

a) use an output device (regardless of it actually having toys attached) so that DOFLinx could monitor the outputs (not sure you'd want to add an output device to a VR setup), or;

b) a software driver written for DOF to message DOFLinx.  DOFLinx has a Pipe based input already that could do the DOFLinx receive end of this.

 

So, in short, no easy answer at this point in time for VPX.  Still thinking, but just don't like what I've come up with so far.


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

#22 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 18 March 2019 - 03:51 PM

Oh ok, I dont think I didnt understand everything. So you think we should be patient and wait a bit longer?



#23 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 18 March 2019 - 11:14 PM

Summary statement ...... I have no solution at present, but have not given up.  I goes onto the longer term thought list.


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

#24 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 20 March 2019 - 07:42 AM

OK sir, thank you very much.



#25 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 15 April 2019 - 05:12 AM

Summary statement ...... I have no solution at present, but have not given up.  I goes onto the longer term thought list.

 

Summary statement ...... I have no solution at present, but have not given up.  I goes onto the longer term thought list.

Thanks for looking into this DDH69!!

 

I just want to make sure you know that the PinSim emulates an Xbox 360 gamepad.  Since Pinball FX2 and Pinball FX3 support force feedback on a real Xbox gamepad directly, the Pinsim rumble motors also work with these games without any additional software at all so we would not need for you to do anything for these games. 

 

For VPX, I believe what we are looking for is to somehow convert the Pinmame force feedback events to ximput vibration events.

 

Basically if you can get a real xbox gamepad to rumble in VPX then it would also work with the PinSim.  Ideally in a perfect world we would be able to adjust the speed and strength of the force feedback events for slings, bumpers, kickout/kicker, knocker etc individually.    

 

 

Not sure if it will be of help to you at all but there is an ximput programming guide here. 

 

https://docs.microso...ogramming-guide

 

 

 

From the Guide:

 

Setting Vibration Effects

In addition to getting the state of the controller, you may also send vibration data to the controller to alter the feedback provided to the user of the controller. The controller contains two rumble motors that can be independently controlled by passing values to the XInputSetState function.

The speed of each motor can be specified using a WORD value in the XINPUT_VIBRATION structure that is passed to the XInputSetState function as follows:

Copy
XINPUT_VIBRATION vibration;
ZeroMemory( &vibration, sizeof(XINPUT_VIBRATION) );
vibration.wLeftMotorSpeed = 32000; // use any value between 0-65535 here
vibration.wRightMotorSpeed = 16000; // use any value between 0-65535 here
XInputSetState( i, &vibration );

Note that the right motor is the high-frequency motor, the left motor is the low-frequency motor. They do not always need to be set to the same amount, as they provide different effects.


Edited by gear323, 15 April 2019 - 05:21 AM.


#26 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 15 April 2019 - 05:33 AM

@gear323, I'm trying yo send mp but I can't....

I'd like to share something with you.

 

My mailbox for PMs was full. I deleted some PMs so you can send me a message now if you like



#27 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 05 May 2019 - 02:02 PM

Hey DDH69: Was that something that could help you to find a solution? Does DoFlinx get the data from VP or VPMame btw?



#28 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 05 May 2019 - 10:51 PM

@blindpeser I'm still working on this one.  I've tried a couple of experiments but nothing worth while yet.  The information earlier was about how to run the vibration via XInput - I've got that wrapped.  Running the rumble is not the issue, its triggering it from an event that starts in VPX and gets interpreted by DOF and turned into a specific output.

 

DOFLinx has its own triggers from FP, FX, etc that it then drives through DOF, it does not get any triggers from DOF.


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

#29 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 09 May 2019 - 02:58 AM

Hi DDH69!

 

I just read your post above that you are still trying to get this to work!   Hopefully you are successful!  However, I just wanted to thank you for your efforts either way.   I really appreciate you trying for us!!    



#30 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 09 May 2019 - 03:07 AM

Thanks.  Good news is that we have a way ...... being tested now, should have some details ready in a couple of weeks.  There are some parts required to make this work, but all standard, cheap and consistent with a standard virtual pinball setup.  Stay tuned!


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

#31 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 10 May 2019 - 11:54 AM

So, here it is working in Alpha.  Have a look at the video.

 

Next is setting this up in the proper environment for a Beta.


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

#32 gear323

gear323

    VPXVR is awesome.

  • Members
  • PipPipPip
  • 324 posts
  • Location:New Jersey

  • Flag: United States of America

  • Favorite Pinball: All

Posted 12 May 2019 - 03:13 PM

So, here it is working in Alpha.  Have a look at the video.

 

Next is setting this up in the proper environment for a Beta.

 

This is great news! Awesome work!!    Looking forward to trying this with the PinSim.  Would this be something the Teensy in the Pinsim could handle with an adjustment to the PinSim Firmware and then not requiring another board?  Or like the other games that support Force Feedback like Pinball FX3 for example, could this be built into VPXVR so that now additional hardware is required?   Either way, I'll be setting this up.  Thanks again for working on this!!!


Edited by gear323, 13 May 2019 - 01:58 PM.


#33 blindpeser

blindpeser

    Enthusiast

  • Members
  • PipPipPip
  • 421 posts

  • Flag: ---------

  • Favorite Pinball: WCS94

Posted 14 May 2019 - 08:53 AM

Check this tutorial:

 

https://www.vpforums...showtopic=42253



#34 Rund8289

Rund8289

    Hobbyist

  • Members
  • PipPip
  • 25 posts

  • Flag: United States of America

  • Favorite Pinball: The Flinstones

Posted 08 July 2020 - 05:36 PM

Hi all, I'm interested in the topic as well.  My goal is to have my Xbox 360 gamepad rumble when a table's virtual "soleniods" flippers, slings, (LF, RF, RS, LS, etc., etc.) are hit on DOF'd Future Pinball tables.  My setup is pretty simple, single screen, but no physical solenoids/toys, or output controllers pinscape, ledwiz, or anything like that.  Doflinx links to my DOF'd Future Pinball tables just fine, but I'm not getting any feedback with the ini mods that I've tried. I'm not sure how to configure the ini file since I don't have any "physical" solenoids linked, since I don't have any of that hardware.  DOFinx registers button presses on my xbox controller (input), but not sure how I would (or if I could) set it up to receive output.   

 

I was wondering if there was a way to modify the ini so when a LF, RF, RS, LS toy is hit, then it generates a keystroke, and that keystroke is used as a key_to_xbox_rumble (similar to DDH69's guide for VPX, but without the hardware.)

 

Or, is there any other software only approach to this?  Am I missing something in DOF config (even though I don't have any ports/devices to point to)?  Your help would be greatly appreciated!!!! 

 

Here is my basic ini file. You can see what I've tried.  I commented out the xbox rumble commands for now.  I also have an encoder for the flipper buttons that doflinx registers as an input on joystick #2.  My button 5 is mapped to my left flipper, so i tried "KEY_TO_XBOX_RUMBLE=J0205,1,L,20000,1000" to see if the button press (flipper press) makes the xbox360 rumble, but it didn't.  

 

 

######    DOFLINX - MAIN CONFIG INI FILE     ######

######         MINIMAL DESCRIPTIONS          ######

######         UPDATED BY TERRYRED           ######

 

# IMPORTANT! Please go through and edit EVERY section for your particular setup! If you don't you may get errors!

 

DEBUG=1

 

SHOW_IN_TASKBAR=1

 

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

 

PATH_B2S_SERVER=c:\Visual Pinball\Tables\

 

DIRECTOUTPUTGLOBAL=C:\DirectOutput\config\GlobalConfig_b2sServer.xml

 

PATH_FX3=C:\DirectOutput\FX3\

 

PATH_FX3_B2S=C:\DirectOutput\FX3_B2S\

 

FP_ATTEMPT_LINK=1

 

FP_LINK_WAIT_TIME=95000

 

#XBOX_RUMBLE=LF,1,L,20000,500,RF,1,R,20000,500,LS,1,L,40000,1000,RS,1,R,60000,1000

#XBOX_RUMBLE=LS,1,L,60000,2000,RS,2,R,60000,2000

 

#KEY_TO_XBOX_RUMBLE=J0205,1,L,20000,1000

 

PROCESSES=Pinball FX3,Pinball FX2,Future Pinball

 



#35 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 09 July 2020 - 10:58 PM

The good news is what you are trying to do should work with no external hardware.  The XBOX_RUMBLE= is the parameter to setup to enable FP XBox rumble.  The bad news is you will be one of only one or two doing this and my memory is shockingly bad.

 

Testing using a key press is a great way to start your journey.  Get the feedback working first.  To get the key press working let's check a few things;

1) Are you running with DEBUG=1 or 2 so tht we get some logging?  If not, do this.

2) Do you see an XBox device recognised by DOFLinx at startup?  If so what device # is it, if not its not going to work.

3) When you press J0205 do you see anything in the log?  (remember you must be doing this while a game is running and DOFLinx is active)


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

#36 Rund8289

Rund8289

    Hobbyist

  • Members
  • PipPip
  • 25 posts

  • Flag: United States of America

  • Favorite Pinball: The Flinstones

Posted 11 July 2020 - 04:26 PM

DDH69, I really appreciate your help with this!!!

 

1.  I'm running DEBUG=1

2.  Yes, my Xbox device is recognized at DOFlinx startup as:  Xbox Controller 1.  DOFlinx recognizes my encoder button presses as Joystick Controller 2.

3.  Unfortunately, no.  I loaded a Dof'd version of 3 Angels.  When I press J0205, nothing shows in the log.  I've included a copy of the log below.

 

 

11-Jul-20 09:09:24.245 - DOF Linx for Pinball Emulators - DOFLinx by DDH69
11-Jul-20 09:09:24.250 - Starting up - version 7.15
11-Jul-20 09:09:24.251 - For support come and visit the community here http://www.vpforums....p?showforum=104
11-Jul-20 09:09:24.254 - Pre-Reading DOFLinx.INI startup config file details
11-Jul-20 09:09:24.329 - DEBUG enabled with showing of window True
11-Jul-20 09:09:24.479 - XBox controller 1 detected, capability = Wired
11-Jul-20 09:09:24.490 - Joystick # 1 detected : 10 buttons   DPAD Z-Axis
11-Jul-20 09:09:24.494 - Joystick # 2 detected : 12 buttons   DPAD Z-Axis
11-Jul-20 09:09:24.500 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 09:09:24.502 - Reading DOFLinx.INI startup config file details
11-Jul-20 09:09:24.505 - Turning DEBUG off
11-Jul-20 09:09:24.519 - DEBUG enabled with showing of window True
11-Jul-20 09:09:24.525 - Reading DirectOutputConfig file named c:\DirectOutput\config\directoutputconfig.ini
11-Jul-20 09:09:24.533 - Set Debug Privilege = Set OK
11-Jul-20 09:09:25.560 - Found valid process name of 'Future Pinball'
11-Jul-20 09:09:25.566 - Setting Future Pinball process ID to :10332
11-Jul-20 09:09:27.571 - Activated by process name : 'Future Pinball'
11-Jul-20 09:09:27.576 - Named process detected and startup commenced
11-Jul-20 09:09:27.578 - 64 bit OS detected
11-Jul-20 09:09:27.662 - FP full name=F:\Downloads\Pinball vs Arcade vs Consoles 2nd Build\PINBALLvsARCADE\emulators\Future PinballSLAMTILT\Future Pinball.exe Size=28547584 bytes, Dated 12/31/2010 5:23:32 AM
11-Jul-20 09:09:27.666 - Starting scan of FP process for DOFLinx code
11-Jul-20 09:09:27.673 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 09:09:30.000 - Starting scan of FP process for DOFLinx code
11-Jul-20 09:09:32.310 - FP table running DOFLinx code found and link established
11-Jul-20 09:09:32.314 - Using full colour palette
11-Jul-20 09:09:32.318 - 122 colours added to the palette
11-Jul-20 09:10:42.278 - Shutting down
11-Jul-20 09:10:42.283 - Program close


#37 Rund8289

Rund8289

    Hobbyist

  • Members
  • PipPip
  • 25 posts

  • Flag: United States of America

  • Favorite Pinball: The Flinstones

Posted 12 July 2020 - 05:50 AM

***UPDATE***

 

So it must be an issue between Doflinx and FP.  I tested on VPX and doflinx detected the J0205 button press and sent the rumble command to the Xbox controller. 

 

I'm using the "Key_To_Xbox_Rumble" command though, it did not recognize the "Xbox_Rumble" command. 

 

Here's the log. 

 

Again, I really appreciate the help! 

 

11-Jul-20 22:37:17.699 - DOF Linx for Pinball Emulators - DOFLinx by DDH69
11-Jul-20 22:37:17.699 - Starting up - version 7.15
11-Jul-20 22:37:17.699 - For support come and visit the community here http://www.vpforums....p?showforum=104
11-Jul-20 22:37:17.699 - Pre-Reading DOFLinx.INI startup config file details
11-Jul-20 22:37:17.777 - DEBUG enabled with showing of window True
11-Jul-20 22:37:17.918 - XBox controller 1 detected, capability = Wired
11-Jul-20 22:37:17.933 - Joystick # 1 detected : 10 buttons   DPAD Z-Axis
11-Jul-20 22:37:17.933 - Joystick # 2 detected : 12 buttons   DPAD Z-Axis
11-Jul-20 22:37:17.949 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 22:37:17.949 - Reading DOFLinx.INI startup config file details
11-Jul-20 22:37:17.949 - Turning DEBUG off
11-Jul-20 22:37:17.964 - DEBUG enabled with showing of window True
11-Jul-20 22:37:17.964 - Reading DirectOutputConfig file named c:\DirectOutput\config\directoutputconfig.ini
11-Jul-20 22:37:17.980 - Set Debug Privilege = Set OK
11-Jul-20 22:37:19.917 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 22:37:27.025 - Found valid process name of 'VPinballX'
11-Jul-20 22:37:29.040 - Activated by process name : 'VPinballX'
11-Jul-20 22:37:29.040 - Named process detected and startup commenced
11-Jul-20 22:37:29.040 - Using full colour palette
11-Jul-20 22:37:29.040 - 122 colours added to the palette
11-Jul-20 22:38:03.679 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:04.485 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:05.134 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:05.906 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:06.556 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:08.459 - Key number #6 DOWN event is activating rumble
11-Jul-20 22:38:09.368 - Key number #6 DOWN event is activating rumble
11-Jul-20 22:38:10.020 - Key number #6 DOWN event is activating rumble
11-Jul-20 22:38:10.680 - Key number #6 DOWN event is activating rumble
11-Jul-20 22:38:12.633 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:13.335 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:13.957 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:14.868 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:15.854 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:16.892 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:17.664 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:38:27.114 - Activating process disappeared so stopping things
11-Jul-20 22:38:27.114 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 22:38:35.153 - Found valid process name of 'Future Pinball'
11-Jul-20 22:38:35.168 - Setting Future Pinball process ID to :2912
11-Jul-20 22:38:37.179 - Activated by process name : 'Future Pinball'
11-Jul-20 22:38:37.190 - Named process detected and startup commenced
11-Jul-20 22:38:37.197 - 64 bit OS detected
11-Jul-20 22:38:37.227 - FP full name=F:\Downloads\Pinball vs Arcade vs Consoles 2nd Build\PINBALLvsARCADE\emulators\Future PinballSLAMTILT\Future Pinball.exe Size=28547584 bytes, Dated 12/31/2010 5:23:32 AM
11-Jul-20 22:38:37.235 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:38.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:39.000 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:40.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:41.000 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:42.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:43.000 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:44.000 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:45.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:46.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:47.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:49.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:51.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:53.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:56.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:38:59.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:02.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:06.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:10.114 - FP table running DOFLinx code found and link established
11-Jul-20 22:39:10.121 - Using full colour palette
11-Jul-20 22:39:10.136 - 122 colours added to the palette
11-Jul-20 22:39:32.663 - Activating process disappeared so stopping things
11-Jul-20 22:39:32.663 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 22:39:38.729 - Found valid process name of 'Future Pinball'
11-Jul-20 22:39:38.736 - Setting Future Pinball process ID to :9096
11-Jul-20 22:39:40.745 - Activated by process name : 'Future Pinball'
11-Jul-20 22:39:40.751 - Named process detected and startup commenced
11-Jul-20 22:39:40.758 - 64 bit OS detected
11-Jul-20 22:39:40.799 - FP full name=F:\Downloads\Pinball vs Arcade vs Consoles 2nd Build\PINBALLvsARCADE\emulators\Future PinballSLAMTILT\Future Pinball.exe Size=28547584 bytes, Dated 12/31/2010 5:23:32 AM
11-Jul-20 22:39:40.816 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:42.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:43.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:44.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:45.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:46.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:47.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:48.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:49.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:50.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:51.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:53.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:55.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:57.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:39:59.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:40:01.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:40:03.002 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:40:05.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:40:07.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:40:09.001 - Starting scan of FP process for DOFLinx code
11-Jul-20 22:40:11.671 - FP table running DOFLinx code found and link established
11-Jul-20 22:40:11.678 - Using full colour palette
11-Jul-20 22:40:11.685 - 122 colours added to the palette
11-Jul-20 22:41:18.228 - Activating process disappeared so stopping things
11-Jul-20 22:41:18.228 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
11-Jul-20 22:41:25.288 - Found valid process name of 'VPinballX'
11-Jul-20 22:41:27.319 - Activated by process name : 'VPinballX'
11-Jul-20 22:41:27.319 - Named process detected and startup commenced
11-Jul-20 22:41:27.319 - Using full colour palette
11-Jul-20 22:41:27.350 - 122 colours added to the palette
11-Jul-20 22:42:05.755 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:06.460 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:07.152 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:07.742 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:08.421 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:09.158 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:09.834 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:10.413 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:11.021 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:11.640 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:12.337 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:13.135 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:14.833 - Key number #5 DOWN event is activating rumble
11-Jul-20 22:42:16.823 - Key number #6 DOWN event is activating rumble
11-Jul-20 22:42:17.524 - Key number #6 DOWN event is activating rumble
11-Jul-20 22:42:32.889 - Activating process disappeared so stopping things
11-Jul-20 22:42:32.889 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!


#38 DDH69

DDH69

    Pinball Wizard

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

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 12 July 2020 - 08:19 AM

OK, yes, when running FP there is no keyboard key testing - oops I forgot!  So, anyway, the good news is that we know rumble is running and the devices are recognised, etc.  The KEY_TO_XBOX_RUMBLE= setup is in theory now not needed.  It doesn't matter if you leave it in or comment it out.

 

Now for FP, the other commands should now be able to be enabled in your DOFLinx.INI file ie, XBOX_RUMBLE=LF,1,L,20000,500,RF,1,R,20000,500,LS,1,L,40000,1000,RS,1,R,60000,100 using the rumble output settings that worked for you with the key to rumble.  There is nothing that we're likely to see in the log for this without some more effort, and of course, given that you don't have toys debugging will get a bit harder from here.  If you can try the full setup with FP that would be great, post any logs and what does / doesn't happen, we can then dissect and get this going.


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

#39 Rund8289

Rund8289

    Hobbyist

  • Members
  • PipPip
  • 25 posts

  • Flag: United States of America

  • Favorite Pinball: The Flinstones

Posted 12 July 2020 - 05:18 PM

Thanks DDH69!  But, what do you mean when you say "try the full setup with FP"?   Do you mean I should just enable "XBOX_RUMBLE=LF,1,L,20000,500,RF,1,R,20000,500,LS,1,L,40000,1000,RS,1,R,60000,100" and leave everything else the same, and see what happens? 



#40 Rund8289

Rund8289

    Hobbyist

  • Members
  • PipPip
  • 25 posts

  • Flag: United States of America

  • Favorite Pinball: The Flinstones

Posted 12 July 2020 - 09:20 PM

Here is the ini that i tried with FP.  Unfortunately, nothing happened (no Xbox Rumble) and nothing showing in the log:

 

 
######    DOFLINX - MAIN CONFIG INI FILE     ######
######         MINIMAL DESCRIPTIONS          ######
######         UPDATED BY TERRYRED           ######
 
# IMPORTANT! Please go through and edit EVERY section for your particular setup! If you don't you may get errors!
 
DEBUG=1
 
SHOW_IN_TASKBAR=1
 
DIRECTOUTPUTCONFIG=c:\DirectOutput\config\directoutputconfig.ini
 
PATH_B2S_SERVER=c:\Visual Pinball\Tables\
 
DIRECTOUTPUTGLOBAL=C:\DirectOutput\config\GlobalConfig_b2sServer.xml
 
PATH_FX3=C:\DirectOutput\FX3\
 
PATH_FX3_B2S=C:\DirectOutput\FX3_B2S\
 
FP_ATTEMPT_LINK=1
 
FP_LINK_WAIT_TIME=95000
 
XBOX_RUMBLE=LF,1,L,20000,500,RF,1,R,20000,500,LS,1,L,40000,1000,RS,1,R,60000,100
 
#XBOX_RUMBLE=J0205,L,65000,150,J0206,1,L,65000,150
 
#XBOX_RUMBLE=J0205,1,L,60000,1000
 
KEY_TO_XBOX_RUMBLE=J0205,1,L,65000,150,J0206,1,L,65000,150
 
PROCESSES=Pinball FX3,Pinball FX2,Future Pinball,FPLoader,VPinballX
 

--------------------------------------------------------------------------------------------------------------------

 

12-Jul-20 14:13:02.102 - DOF Linx for Pinball Emulators - DOFLinx by DDH69
12-Jul-20 14:13:02.108 - Starting up - version 7.15
12-Jul-20 14:13:02.109 - For support come and visit the community here http://www.vpforums....p?showforum=104
12-Jul-20 14:13:02.111 - Pre-Reading DOFLinx.INI startup config file details
12-Jul-20 14:13:02.183 - DEBUG enabled with showing of window True
12-Jul-20 14:13:02.342 - XBox controller 1 detected, capability = Wired
12-Jul-20 14:13:02.353 - Joystick # 1 detected : 10 buttons   DPAD Z-Axis
12-Jul-20 14:13:02.357 - Joystick # 2 detected : 12 buttons   DPAD Z-Axis
12-Jul-20 14:13:02.362 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
12-Jul-20 14:13:02.365 - Reading DOFLinx.INI startup config file details
12-Jul-20 14:13:02.368 - Turning DEBUG off
12-Jul-20 14:13:02.389 - DEBUG enabled with showing of window True
12-Jul-20 14:13:02.394 - Reading DirectOutputConfig file named c:\DirectOutput\config\directoutputconfig.ini
12-Jul-20 14:13:02.403 - Set Debug Privilege = Set OK
12-Jul-20 14:13:03.438 - Found valid process name of 'Future Pinball'
12-Jul-20 14:13:03.456 - Setting Future Pinball process ID to :5588
12-Jul-20 14:13:05.462 - Activated by process name : 'Future Pinball'
12-Jul-20 14:13:05.466 - Named process detected and startup commenced
12-Jul-20 14:13:05.469 - 64 bit OS detected
12-Jul-20 14:13:05.547 - FP full name=F:\Downloads\Pinball vs Arcade vs Consoles 2nd Build\PINBALLvsARCADE\emulators\Future PinballSLAMTILT\Future Pinball.exe Size=28547584 bytes, Dated 12/31/2010 5:23:32 AM
12-Jul-20 14:13:05.552 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:05.558 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
12-Jul-20 14:13:08.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:10.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:12.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:14.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:17.000 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:20.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:22.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:25.001 - Starting scan of FP process for DOFLinx code
12-Jul-20 14:13:27.872 - FP table running DOFLinx code found and link established
12-Jul-20 14:13:27.881 - Using full colour palette
12-Jul-20 14:13:27.888 - 122 colours added to the palette
12-Jul-20 14:14:39.677 - Activating process disappeared so stopping things
12-Jul-20 14:14:39.677 - !!! No valid output devices for DOFLinx were found ...... sorry about that !!!
12-Jul-20 14:14:43.598 - Shutting down
12-Jul-20 14:14:43.598 - Program close