Jump to content



Photo
- - - - -

DOF not working with PinEvent tables in Pinup Player

pinevent dof doflinx future pinball fp pinup player pinup popper pinup popper player

  • Please log in to reply
15 replies to this topic

#1 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 28 July 2022 - 08:23 PM

I have a strange problem,

 

When I load Sonic Pinball and Star Wars PinEvent tables directly through BAM then everything functions normally but once I load them through PinUp Player the Coils stop working .

 

Am I missing something?

 

Thanks in advance.



#2 digitalarts

digitalarts

    Pinball Fan

  • Members
  • PipPipPipPip
  • 834 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Judge Dredd (have the real one); all virtual EM's

Posted 28 July 2022 - 09:11 PM

Maybe you have a setting inside pinup player, which starts doflinx when starting a fp table? Because pinevent tables use NOT doflinx, even show such errors ... So you have to create a separate "system" for pinevent tables, without any doflinx.

#3 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 28 July 2022 - 09:28 PM

I have a strange problem,

 

When I load Sonic Pinball and Star Wars PinEvent tables directly through BAM then everything functions normally but once I load them through PinUp Player the Coils stop working .

 

Am I missing something?

 

Thanks in advance.

https://www.nailbust..._future_pinball



#4 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 29 July 2022 - 07:01 PM

I think I followed all the instructions, changed my loading and closing scripts as per the Emulator Setup post but the dof is still not working within Pinup. Im wondering if it is using Doflinx when I launch straight from BAM.

 

I must be missing something simple here.



#5 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 29 July 2022 - 07:03 PM

I think I followed all the instructions, changed my loading and closing scripts as per the Emulator Setup post but the dof is still not working within Pinup. Im wondering if it is using Doflinx when I launch straight from BAM.

 

I must be missing something simple here.

Make sure you are not running any Pinball Related Software As Administrator (Admin)

To be sure do not have Doflinx running at all


Edited by Outhere, 29 July 2022 - 07:04 PM.


#6 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 30 July 2022 - 06:00 AM

Made sure I was not running anything as admin, closed Doflinx but still same result.

 

I can confirm however that when I launch the game directly from BAM that the DOF is functioning properly and it is not DOFLINX because I closed it.

 

That leads me to believe my configuration may be wrong in the script somehow unless you guys can think of something else.

 

HERE'S MY CURRENT SCRIPT:

 

-Launch Script-

 
Rem :Enable FP Backglass and Arcade Mode
 
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 1 /f
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "SecondMonitorEnable" /t REG_DWORD /d 1 /f
 
Rem :Disable FP Backglass and Arcade Mode if "Custom Launch Param" = PinEvent
 
if "[custom1]"=="PinEvent" (REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 0 /f)
if "[custom1]"=="PinEvent" (REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "SecondMonitorEnable" /t REG_DWORD /d 0 /f)
 
Rem :If you use DOFLinx, Remove >rem< from the next 2 Lines) and Add **PinEvent** to **Custom Launch Param** in Game Manager
rem if "[custom1]"=="PinEvent" (cd /d "C:\directoutput")
rem if "[custom1]"=="PinEvent" (DOFLinxMsg "PROCESSES=")
 
Rem :Run DMDExt only if "Custom Var #2" DOES NOT = NO_DMDExt
 
if NOT "[custom2]"=="NO_DMDExt" (c:)
if NOT "[custom2]"=="NO_DMDExt" (cd "C:\VisualPinball\VPinMAME")
if NOT "[custom2]"=="NO_DMDExt" (start /min "" "dmdext.exe" mirror --source=futurepinball -q --virtual-stay-on-top --fps 60 -g "[GAMENAME]" --use-ini="C:\VisualPinball\VPinMAME\DmdDevice.ini")
if NOT "[custom2]"=="NO_DMDExt" (timeout /t 1)
 
Rem :Launch Future Pinball
 
START "" "[STARTDIR]Launch\VPXSTARTER.exe" 10 5 60 "BSP Software*"
START "" "[DIREMU]\BAM\FPLoader.exe" /open "[GAMEFULLNAME]" /play /exit /arcaderender /STAYINRAM
 
timeout /t 20
cd "C:\Visual Pinball\VPinMAME"
start /min "" "PUPDMDControl.exe" FP
 
 
-Close Script-
 
"[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Future Pinball" 2 1
 
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 1 /f
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "SecondMonitorEnable" /t REG_DWORD /d 1 /f
taskkill /f /im "dmdext.exe"

 

 

 

 

Thanks for all your help...



#7 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,805 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 30 July 2022 - 12:32 PM

Try removing this

timeout /t 20
cd "C:\Visual Pinball\VPinMAME"
start /min "" "PUPDMDControl.exe" FP

 



#8 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 30 July 2022 - 01:53 PM

No change, 

 

I'm stumped



#9 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,955 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 30 July 2022 - 06:57 PM

DOFLinx tends to crash when using the MSG command (for some people). This can cause it to interfere with with DOF on PinEvent tables. DOFLinx must not be running for PinEvent tables.

 

Use my newer launch script example on my Baller Installer Tips page which uses a taskkill to close DOFLinx when launching PinEvent tables (and you added PinEvent in Games Manager, etc).

 

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



#10 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 31 July 2022 - 05:55 AM

Followed all instructions and made modifications to game manager but the dof still not working through Pinup Popper.

 

I use a 2 screen setup. Is there anything else I may have overlooked?



#11 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 31 July 2022 - 07:02 AM

Followed all instructions and made modifications to game manager but the dof still not working through Pinup Popper.
 
I use a 2 screen setup. Is there anything else I may have overlooked?


The baffling part is that when I launch directly from BAM dof works perfectly!

#12 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,955 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 31 July 2022 - 02:37 PM

You have 3 different apps that can use DOF all possibly running at one time when lunching from Popper.

 

You need to confirm that DOFLinx is not still running when launching the table from Popper (no matter what you have in the launch script).

 

Completely close out DOFLinx before starting Popper (and be sure Popper isn't starting up DOFLinx).

 

If DOF works... then the problem comes from something not allowing Popper to close out DOFLinx.

 

Be sure you don't have anything running as Administrator. Not DOFLinx / Popper / FPLoader / Futurepinball.exe / DMDext / PuP etc.


Edited by TerryRed, 31 July 2022 - 02:38 PM.


#13 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 31 July 2022 - 07:09 PM

After many hours spent, I may have finally got it working correctly.
Will test rigorously tomorrow and share the results.

Thanks guys for all the help.

#14 mazzaneo

mazzaneo

    Hobbyist

  • Members
  • PipPip
  • 39 posts

  • Flag: United Kingdom

  • Favorite Pinball: Star Trek The Next Generation

Posted 01 August 2022 - 08:50 AM

This is the emulator setting which seem to work for me:-

 

**Launch Script**
 
rem Enable FP Backglass and Arcade Mode
 
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 1 /f
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "SecondMonitorEnable" /t REG_DWORD /d 1 /f
 
rem Close DOFLinx if "Custom Launch Param" = PinEvent
 
if "[custom1]"=="PinEvent" (taskkill /f /im "doflinx.exe")
if "[custom1]"=="PinEvent" (timeout /t 2)
 
rem Launch Future Pinball
 
START "" "[STARTDIR]Launch\VPXSTARTER.exe" 10 5 60 "BSP Software*"
START "" "[DIREMU]\FPLoader.exe" /open "[GAMEFULLNAME]" /play /exit /arcaderender /STAYINRAM
 
 
**Close Script**
 
"[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Future Pinball" 2 1
 
 
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 1 /f
REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "SecondMonitorEnable" /t REG_DWORD /d 1 /f
 
rem start DOFLinx if it was closed for a PinEvent table
 
cd /d c:\directoutput
DOFLinx.exe
 
rem force close DMDExt just in case it didn't close out on it's own
 
taskkill /f /im "dmdext.exe"4"

Edited by mazzaneo, 01 August 2022 - 08:51 AM.


#15 digitalarts

digitalarts

    Pinball Fan

  • Members
  • PipPipPipPip
  • 834 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Judge Dredd (have the real one); all virtual EM's

Posted 01 August 2022 - 11:57 AM

Hi mazzaneo,

your "original" script should work, also - IF you just read the Rem comment and do what is written...  remove "rem" from the next two lines

So they are "activated" and can do their job -> stop doflinx for looking on any processes (in your case "Future Pinball.exe"), if you start a pinevent table...

Rem :If you use DOFLinx, Remove >rem< from the next 2 Lines) and Add **PinEvent** to **Custom Launch Param** in Game Manager
rem if "[custom1]"=="PinEvent" (cd /d "C:\directoutput")
rem if "[custom1]"=="PinEvent" (DOFLinxMsg "PROCESSES=")

Edited by digitalarts, 01 August 2022 - 11:58 AM.


#16 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,955 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 01 August 2022 - 01:50 PM

 

Hi mazzaneo,

your "original" script should work, also - IF you just read the Rem comment and do what is written...  remove "rem" from the next two lines

So they are "activated" and can do their job -> stop doflinx for looking on any processes (in your case "Future Pinball.exe"), if you start a pinevent table...

Rem :If you use DOFLinx, Remove >rem< from the next 2 Lines) and Add **PinEvent** to **Custom Launch Param** in Game Manager
rem if "[custom1]"=="PinEvent" (cd /d "C:\directoutput")
rem if "[custom1]"=="PinEvent" (DOFLinxMsg "PROCESSES=")

 

 

As I said above though... for many people... the DOFLinxMSG command causes a .NET crash still, so it's better to use the taskkill example I show to completely close DOFLinx before launching a PinEvent table (and then starting DOFLinx again on table exit). This works for everyone, one way or another.


Edited by TerryRed, 01 August 2022 - 04:38 PM.






Also tagged with one or more of these keywords: pinevent, dof, doflinx, future pinball, fp, pinup player, pinup popper, pinup, popper, player