Jump to content




Photo
- - - - -

PBFX2DOF


  • Please log in to reply
47 replies to this topic

#1 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 23 September 2016 - 09:35 PM

Ok guys it's time to get full DOF on Pinball FX2.... I mean real DOF bumpers, sling, etc etc etc.

 

You don't have to worry it's not modiying the game code or patching anything it's not even write anything to memory so this is totally legit.

 

You only need to have LedWiz as I only have this hardware and make sure that ledwizm05.ocx is registered

 

Currently only few table supported... Please start the tool and a .INI file will be created and the tool will close to let you edit only the port number associate to your DOF actions then after simply restart the tool, this last will wait for Pinball FX2 to be loaded and will automatically close when you quit game.

 

It's only a proof of concept and I'm sure someone will be able to create a better tool in the future and no you don't need anything else Exception of LedWiz (True LedWiz) installed.

 

Keep in mind that you need to be in Cabinet mode and you backglass must be set otherwise it should not work .... tested on 3 different computer so I hope to see someone with the same result as me. Tested on window 7 64

 

 

Now it's time to get some Direct Output feedback....Or at least feedback from you guys to see how it work for you and please if you don't have a true LedWiz...Sorry guys nothing I can do for you and this tool have been code in AHK script and use OCX so i'm sure that guru coder with better skill then me will find a way to make it more power full. ;)

 

Have fun  and sorry for my poor english writing or  spelling ;)

 

Update v1.4    Link removed  (Obsolete version)

 

Table supported: Aliens, Alien vs Predator, Alien Isolation, Family Guy, Bob's Burgers, Archer, American Dad, Portal, South Park 1

 

 

Update v1.5.1

https://www.sendspace.com/file/t10e8x

 

Added: RGB LED color selection and removed the need to address multiple ports for colors

NOTE: I'm using the same assignation colors find in DirectOutputConfig file (See new generated ini for example.)

 

Table added: South Park 2

 

Removed: Address and Offset pointer to make things lot more easy. Now it's no more possible to add new address manually.

You can always keep the v1.4 if you really need this possibility but keep in mind that v1.5 is not compatible with older INI file.

 

 

Update v1.6

https://www.sendspace.com/file/1ykmx1

 

Added: ID LedWiz support from ini file for those have have different ID or more then 1 (See ini file)  

Note: It's currently not possible to use multiple LedWiz... Cannot test it without hardware.

 

Table added: Sorcerer's Lair

 

 

Update v1.7

https://www.sendspace.com/file/2mub8g

 

Added: detection of old ini version and auto update. No need to regenerate and change your setting each time... Simply unpack exe in the same folder and keep your ini. Make sure to backup It's experimental just in case  ;)  (Only apply from 1.5.1 +)

 

Table added: The Walking Dead

 

 

 

 

Thanks guys for testing enjoy .... :)

Attached Files


Edited by gigalula, 03 October 2016 - 05:40 AM.


#2 DDH69

DDH69

    Pinball Fan

  • Platinum Supporter
  • 1,680 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 23 September 2016 - 11:00 PM

@gigalula, I have been working on a very similar concept for DOFLinx V4 - happy to compare notes off-line.

 

BTW - the link appears to be broken.



#3 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 24 September 2016 - 12:18 AM

Yeah sure I just sent a PM with my info any better way to communicate directly will be apreciate an will keep forum free  :)



#4 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 24 September 2016 - 12:32 AM

Re-uploaded to make sure so now link and download file added



#5 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 189 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 24 September 2016 - 03:36 AM

Super interested to see how this develops. I got out of bed to try it out!

 

It doesn't seem to be working for me. Windows 10, 64bit,

 

At table launch, my flipper buttons do become white and I can hear some contactors fire. But, that is it. Nothing else happens in game. After table exit, I hear the contactors release.

 

I don't have some of the toys in your ini. So, I commented those out.

 

Happy to help you guys test.



#6 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 24 September 2016 - 04:29 AM

No do not comment the line only put 00 as port number but keep the ini file original to make sure, please delete your ini and restart the tool to generate a new one and replace your port then after show me the ini file in PM. I will be out for the week end but soon as I get back I will verify with you...I'm curious to know if this is windows 10 issue but if you already hear contactor then your ini must have something wrong .... Don't forget to PM your ini ;)

 

 


Another thing to mention the flipper will only trigger during game play. I made it that way to avoid anoying sound will selecting options in the menu.

 

Regards


Edited by gigalula, 24 September 2016 - 04:31 AM.


#7 DDH69

DDH69

    Pinball Fan

  • Platinum Supporter
  • 1,680 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 24 September 2016 - 05:00 AM

What is ledwizm05.ocx ?  I can only find old references to this file and don't have it with my LedWiz or DOF installation.



#8 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 24 September 2016 - 06:43 AM

Ok guys requested file added to archive and minor bug fixed...  no more wierd activity while loading table Now DOF activity start when you are in game mode. only and stop when you reech menu.

 

I'm out for the weekend so be patient and if you need help... you can always ask to my friend DDH69  :P

 

 

Regards...



#9 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 189 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 24 September 2016 - 01:41 PM

gigalula, I tried to use 00 for items not used as suggested. With 1.3 (maybe 1.3.1 - the file before 1.3.2) I have the same behavior as before: Flipper buttons go white, contactors fire, then release on exit. With 1.3.2. I have no noticeable DOF feedback. Tested with Aliens. I'll PM my inis,

 

DDH69, you can get the ocx file from the LuminAudio package on GGG - bottom of the page:http://groovygamegea...products_id=239 Register it with regsvr32. Or, use the file gigalula uploads.



#10 DDH69

DDH69

    Pinball Fan

  • Platinum Supporter
  • 1,680 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 25 September 2016 - 01:07 AM

Thanks Vizzini, got and registered the ocx.

 

Win 10, 64 bit, unfortunately no joy.  I can see the process in Task Manager (ran it as an admin), it goes up to about 20% CPU when PinballX starts, I run up Bob's Burgers and it drops to 0%, eventually it just disappears from Task Manager with no messages, no crash.  I get no action via my LedWiz at all.

 

gigalula - we will "talk" further when you get back from being away ... still excited about the potential.



#11 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 25 September 2016 - 05:33 AM

Yep unfortunately I think Windows 10 causing issue I can't really know what could be the problem for the moment i will try to get info in making some king of debug screen to test but so far it's not working as expected so far... I will need few more days to figureout a better way to debug and trying to understand why it's not doing anything. Please guys only use tool + Pinball FX2 to prevent any cross software error keep it simple i'm rusted and I don't want to install win 10 on my pc :)



#12 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 25 September 2016 - 06:47 PM

Dammit I'm so retard by moment grrrrrr.... Sorry guys...Like a blue I never added new address pointers to my code that generate INI so from the start you are trying to use code adress from old version of Pinball FX2..... I'm so sorry this morning renamed my INI and generated a new one to see if a bug came from their and bang!!!! I realized that my generator was not updated I only made change manually inside my ini shit i'm so stupid it's my fault  sorry again for the endless testing v1.4 is out and will be update in few minutes.


Edited by gigalula, 26 September 2016 - 04:16 AM.


#13 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 189 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 26 September 2016 - 02:37 AM

v1.4 is working for me! Bumpers and singshots are firing my contactors. Some LED action too. I tested with Aliens and Archer.



#14 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 26 September 2016 - 04:13 AM

Yep now we have a real feeling of pinball with all toys ;) ... I added few more table to my ini check this out I will add to the next release. 

[AmericanDad]
Table_Bumper1=0x882FC0,0x2E4,0x00,0x20,0x08:BumperBackL
Table_Bumper2=0x882FC0,0x2E4,0x04,0x20,0x08:BumperBackC
Table_Bumper3=0x882FC0,0x2E4,0x08,0x20,0x08:BumperBackR
Table_SlingShotLeft=0x882FC0,0x2E4,0x0C,0x20,0x08:SlingShotLeft
Table_SlingShotRight=0x882FC0,0x2E4,0x10,0x20,0x08:SlingShotRight
SlingShot_Flasher_Left=0x882FC0,0x2B0,0x0C,0x10,0x04,0xA4:FlasherOutLeft2,FlasherOutLeft3
SlingShot_Flasher_Right=0x882FC0,0x2B0,0x0C,0x14,0x04,0xA4:FlasherOutRight2,FlasherOutRight3
FR_01=0x882FC0,0x2B0,0x0C,0x1B0,0x04,0xA4:00
FR_02=0x882FC0,0x2B0,0x0C,0x1B4,0x04,0xA4:00
FR_03=0x882FC0,0x2B0,0x0C,0x1B8,0x04,0xA4:00
FR_04=0x882FC0,0x2B0,0x0C,0x1BC,0x04,0xA4:00
FR_05=0x882FC0,0x2B0,0x0C,0x1C0,0x04,0xA4:00
FR_06=0x882FC0,0x2B0,0x0C,0x1C4,0x04,0xA4:00
FR_07=0x882FC0,0x2B0,0x0C,0x1C8,0x04,0xA4:00
Bumper_Flasher_1=0x882FC0,0x2B0,0x0C,0x04,0x04,0xA4:FlasherCenter2,FlasherCenter3
Bumper_Flasher_2=0x882FC0,0x2B0,0x0C,0x08,0x04,0xA4:FlasherRight2,FlasherRight3
Bumper_Flasher_3=0x882FC0,0x2B0,0x0C,0x0C,0x04,0xA4:FlasherOutRight2,FlasherOutRight3
LaunchballAction=0x883CF4,0x00:BumperMiddleR


;-----------------------------------------------------
[Portal]
Table_Bumper1=0x882FC0,0x2E4,0x00,0x20,0x08:BumperBackL
Table_Bumper2=0x882FC0,0x2E4,0x04,0x20,0x08:BumperBackC
Table_Bumper3=0x882FC0,0x2E4,0x08,0x20,0x08:BumperBackR
Table_SlingShotLeft=0x882FC0,0x2E4,0x0C,0x20,0x08:SlingShotLeft
Table_SlingShotRight=0x882FC0,0x2E4,0x10,0x20,0x08:SlingShotRight
MPF_SlingShotLeft=0x882FC0,0x2E4,0x14,0x20,0x08:SlingShotLeft
MPF_SlingShotRight=0x882FC0,0x2E4,0x18,0x20,0x08:SlingShotRight
Bumper_Flasher_1=0x882FC0,0x2B0,0x0C,0x00,0x04,0xA4:FlasherRight2,FlasherRight3
Bumper_Flasher_2=0x882FC0,0x2B0,0x0C,0x04,0x04,0xA4:FlasherCenter2,FlasherCenter3
Bumper_Flasher_3=0x882FC0,0x2B0,0x0C,0x08,0x04,0xA4:FlasherOutRight2,FlasherOutRight3
MPF_SlingShotLeft_Flasher=0x882FC0,0x2E4,0x0C,0x20,0x08:FlasherOutLeft1,FlasherOutLeft2,FlasherOutLeft3
MPF_SlingShotRight_Flasher=0x882FC0,0x2E4,0x10,0x20,0x08:FlasherOutRight1,FlasherOutRight2,FlasherOutRight3
FR_MPF_Left_Flasher=0x882FC0,0x2E4,0x14,0x20,0x08:00
FR_MPF_Right_Flasher=0x882FC0,0x2E4,0x18,0x20,0x08:00
FR_PORTAL_Right_Flasher=0x882FC0,0x2E4,0x24,0x20,0x08:00
LaunchballAction=0x883CF4,0x00:BumperMiddleR


;-----------------------------------------------------
[SouthPark1]
Table_Bumper1=0x882FC0,0x2E4,0x00,0x20,0x08:BumperMiddleC
Table_Bumper2=0x882FC0,0x2E4,0x04,0x20,0x08:BumperMiddleR
Table_Bumper3=0x882FC0,0x2E4,0x08,0x20,0x08:BumperBackR
Table_Bumper4=0x882FC0,0x2E4,0x0C,0x20,0x08:BumperBackC
Table_SlingShotLeft=0x882FC0,0x2E4,0x10,0x20,0x08:SlingShotLeft
Table_SlingShotRight=0x882FC0,0x2E4,0x14,0x20,0x08:SlingShotRight
Bumper_Flasher_1=0x882FC0,0x2B0,0x0C,0x28,0x04,0xA4:FlasherLeft3
Bumper_Flasher_2=0x882FC0,0x2B0,0x0C,0x2C,0x04,0xA4:FlasherRight2
Bumper_Flasher_3=0x882FC0,0x2B0,0x0C,0x30,0x04,0xA4:FlasherOutRight1
Bumper_Flasher_4=0x882FC0,0x2B0,0x0C,0x34,0x04,0xA4:FlasherOutLeft2,FlasherOutLeft3
SlingShot_Flasher_Left=0x882FC0,0x2B0,0x0C,0x38,0x04,0xA4:FlasherOutLeft1,FlasherOutLeft2,FlasherOutLeft3
SlingShot_Flasher_Right=0x882FC0,0x2B0,0x0C,0x3C,0x04,0xA4:FlasherOutRight1,FlasherOutRight2,FlasherOutRight3
LaunchballAction=0x883CF4,0x00:BumperMiddleR


;-----------------------------------------------------

Like always the setting of my toys for  each trigger are just their for example you may need to modify to your need.

 

Have fun... :)


Edited by gigalula, 26 September 2016 - 02:58 PM.


#15 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 2,033 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 26 September 2016 - 04:21 AM

Besides the ports do we need to change anything else

I can get my start button - launch button to light up, but I'm not getting anything to trigger in the game



#16 gigalula

gigalula

    Hummmm not sure yet :)

  • Platinum Supporter
  • 648 posts

  • Flag: Canada

  • Favorite Pinball: All of them from 70' to now. Even more with VP and FP :)

Posted 26 September 2016 - 05:49 AM

make sure to use the latest version of Pinball FX2 last update news 2016-09-20

 

leave all the list intact only change port number and make sure to use 2 digit  for example 01, 02 all unneeded port must be set to 00.   PM your INI I will take a look.


Edited by gigalula, 26 September 2016 - 05:52 AM.


#17 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 741 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Posted 26 September 2016 - 04:23 PM

How did I miss this? I've been to busy learning how to add feedback to FP tables.....

 

@DDH69....DOFLinx v4?....  someone's been working on a secret project... lol!  :)

 

 

 

Great work gigalula!  I'll have to give this a try! You and DDH69 MUST compare notes!  To be able to integrate this function into DOFLinx would be amazing, and may allow for use with more than just Led-Wiz!


Edited by TerryRed, 26 September 2016 - 04:25 PM.


#18 DDH69

DDH69

    Pinball Fan

  • Platinum Supporter
  • 1,680 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 26 September 2016 - 10:21 PM

How did I miss this? I've been to busy learning how to add feedback to FP tables.....

 

@DDH69....DOFLinx v4?....  someone's been working on a secret project... lol!  :)

 

 

 

Great work gigalula!  I'll have to give this a try! You and DDH69 MUST compare notes!  To be able to integrate this function into DOFLinx would be amazing, and may allow for use with more than just Led-Wiz!

 

Sorry my friend, I've got to get a head start sometimes!  You are first on my list once I get past the big fat errors.  I'm well into proof of concept for mapping screen layouts to have active points that trigger devices, so any of the camera angles on any of the FX2 screens (and the auto changing ones during a game) can create an event that you can then link to a series of DOFLinx commands.  Basically scripting an FX2 table based on trigger points.

 

Anyway ... not my thread, and interested in progress here too.



#19 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 741 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Posted 26 September 2016 - 10:35 PM

Thanks Vizzini, got and registered the ocx.

 

Win 10, 64 bit, unfortunately no joy.  I can see the process in Task Manager (ran it as an admin), it goes up to about 20% CPU when PinballX starts, I run up Bob's Burgers and it drops to 0%, eventually it just disappears from Task Manager with no messages, no crash.  I get no action via my LedWiz at all.

 

gigalula - we will "talk" further when you get back from being away ... still excited about the potential.

 

 

Besides the ports do we need to change anything else

I can get my start button - launch button to light up, but I'm not getting anything to trigger in the game

 

 

I can confirm, this is working excellent for me in Windows 10!  I'm getting feedback on flippers, bumpers, and slingshots! Also seeing the flashers working with various actions, and also see the Launch button flashing when a ball is ready to Launch! I tried the tables listed in the .ini file it created.  I only changed the ports to match my own, nothing else. Outstanding work gigalula!

 

Make sure guys, that you register the OCX file from a command prompt that is "Run as Admin". Also make sure that both PBFX2DOF.exe and Pinball Fx2.exe are also "run as admin".

 

It also seems that you only get things like start button, launch button working if you don't have "reposition backlgass" enabled. Make sure that is enabled...you don't have to use it. Just set the size to 0 and position it far away from your screens. After doing that you will get the flashers and the bumpers, flippers, slingshots working!

 

 

PLEEEEEEEASE try to work with DDH69 on getting this integrated with DOFLinx (unless of course, he already has similar work done for DOFLinx underway). I see you have done some great stuff here, and the combination of your work and the extensive features of DOFLinx would make for the complete cabinet experience for Pinball FX2 !

 

edit: DOH!, I just posted this before seeing DDH69's previous response. Understood DDH69!


Edited by TerryRed, 26 September 2016 - 11:17 PM.


#20 Vizzini

Vizzini

    Enthusiast

  • Members
  • PipPipPip
  • 189 posts

  • Flag: United States of America

  • Favorite Pinball: ???

Posted 27 September 2016 - 03:15 AM

TerryRed. Your discovery of setting the screen size to 0 is golden. That resolved my issue of using PinballX to launch Namsan's animated backglasses with PBFX2DOF.

 

I have to say, running PBFX2DOF with DOFLinx appears to work well and is a very satisfying experience. Best of both worlds. I can see keeping the projects separate.

 

Great work gigalula!  :good: You saved me from trying to wire up the xbox360 controller method to get the full force feedback experience.