DannysBig1 Posted May 23, 2021 Share Posted May 23, 2021 Hi Everyone. I am looking for some help, I’m just finishing up a Pinball arcade hybrid build and have hit a small problem with Future pinball and the PinEvent tables. I’ve setup two platform categories for the two types of tables. In order to be able to run the PinEvent tables I need to turn off the following Registers 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 Then Enable them for the non PinEvent Tables. I’ve trolled google and looked through the forum with no luck, would anyone know if it is possible to do this through the Running/Exit AutoHotKey script to setup the registry on start and exit. Could anyone point me in the right direction or please give advice? Thanks D Quote Link to comment Share on other sites More sharing options...
sundogak Posted May 23, 2021 Share Posted May 23, 2021 (edited) See page 14 and 15 in the guide.... PinEvent: "DOF, MX, PUP, SSF, PUPDMD, PUP Stream" for Future Pinball - Updates | Pinball Nirvana Should get you started on the batch option. I will say I have a two screen FP setup and I leave the back glass on for all PE tables. The trick is you have to setup PuPWinPos.exe in your PinUp system folder (should be there by default if using recent version). Then you place the pupinit.bat file (example attached) in the video folder for that Pup Pack. That keeps the backglass pushed to the back on the second screen and keeps the Pup files moved above it. I have all them setup this way and work fine as long as going with the "Option 3" type PUP Pack options where they are on the 2nd screen. If you want to do it all on one screen or add layers to the main display then gets more complicated but there are links in the guide to for that. As to the Arcade setting, I don't have that on for any of my tables so no need to toggle. If you are working all in Desktop or all in Arcade mode then shouldn't be issue since can turn off from FP options. Contrary to the guides, I have never seen any issues (e.g., timing) with running these in Desktop mode on my two screen setup (PC main screen Desktop view, backglass on 2nd screen) Edit: also the pupinit.bat file can be used to trigger a batch command set at beginning and end of table launch. So in theory you could add registry batch commands in that file but haven't needed to do any of that and not so keen on batch files editing registry as a rule. More info here: PuP-Packs ON TOP! (Use PuP-Packs on a single Screen or Desktop view) | Pinball Nirvana but pupinit works great for 2 or more screens as well. pupinit.bat Edited May 23, 2021 by sundogak 1 Quote Link to comment Share on other sites More sharing options...
DannysBig1 Posted May 24, 2021 Author Share Posted May 24, 2021 On 5/23/2021 at 9:52 PM, sundogak said: See page 14 and 15 in the guide.... PinEvent: "DOF, MX, PUP, SSF, PUPDMD, PUP Stream" for Future Pinball - Updates | Pinball Nirvana Should get you started on the batch option. I will say I have a two screen FP setup and I leave the back glass on for all PE tables. The trick is you have to setup PuPWinPos.exe in your PinUp system folder (should be there by default if using recent version). Then you place the pupinit.bat file (example attached) in the video folder for that Pup Pack. That keeps the backglass pushed to the back on the second screen and keeps the Pup files moved above it. I have all them setup this way and work fine as long as going with the "Option 3" type PUP Pack options where they are on the 2nd screen. If you want to do it all on one screen or add layers to the main display then gets more complicated but there are links in the guide to for that. As to the Arcade setting, I don't have that on for any of my tables so no need to toggle. If you are working all in Desktop or all in Arcade mode then shouldn't be issue since can turn off from FP options. Contrary to the guides, I have never seen any issues (e.g., timing) with running these in Desktop mode on my two screen setup (PC main screen Desktop view, backglass on 2nd screen) Edit: also the pupinit.bat file can be used to trigger a batch command set at beginning and end of table launch. So in theory you could add registry batch commands in that file but haven't needed to do any of that and not so keen on batch files editing registry as a rule. More info here: PuP-Packs ON TOP! (Use PuP-Packs on a single Screen or Desktop view) | Pinball Nirvana but pupinit works great for 2 or more screens as well. pupinit.bat 2.46 kB · 1 download Thanks Sandogak. I tried your suggestion and it works on option 3. Unfortunately I'm using three screens on my Cab, I would normally be using option 2 but the fix is messing up the video size on the DMD screen ? for me. Would you know if there is any way to use the Autohotkey script on the emulator to change the values of the register in Terrys guide he suggests adding the below to your frontend to toggle them off? REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "ArcadeMode" /t REG_DWORD /d 0 /f REG ADD "HKCU\Software\Future Pinball\GamePlayer" /v "SecondMonitorEnable" /t REG_DWORD /d 0 / D Quote Link to comment Share on other sites More sharing options...
sundogak Posted May 27, 2021 Share Posted May 27, 2021 (edited) Well, the pupinit.bat just adjusts the layering of the windows and not any sizing of windows so you likely have something within Pinup Player screen setup process not set for your third screen DMD. At any rate, if you are wanting to add those reg entries you will have to do via a batch file call from LB or setup as a AHK command set in the Running AutoHotkey script tab for the emulator. For the batch file method you would setup LB with another emulator (Future Pinball Batch..or whatever name you want) and point to the batch file rather than FPLoader (if using BAM). In that case you would add the above registry entries in the batch file then launch FPLoader.exe with /open "%1%" /play /exit switches. You would also need to have a version that reverses those key toggles where you want the backglass turned back on for non-Pup Packs. TerryRed's guide for front ends is centric to Pinup Popper which has a command entry window that is easy to add commands which get launched at beginning or end of emulation process. So in that case, it is just a cut/paste into Pinup Popper window. With the AHK method you could do directly within LB since it has a tab for that. You would need to look here on how to setup those commands above in AHK syntax. This page provides info for AHK registry command. Also the AHK experts are in the thread below and should be able to help if you cannot get the AHK working with the link above. Edited May 27, 2021 by sundogak 1 Quote Link to comment Share on other sites More sharing options...
DannysBig1 Posted May 27, 2021 Author Share Posted May 27, 2021 (edited) 18 hours ago, sundogak said: Well, the pupinit.bat just adjusts the layering of the windows and not any sizing of windows so you likely have something within Pinup Player screen setup process not set for your third screen DMD. At any rate, if you are wanting to add those reg entries you will have to do via a batch file call from LB or setup as a AHK command set in the Running AutoHotkey script tab for the emulator. For the batch file method you would setup LB with another emulator (Future Pinball Batch..or whatever name you want) and point to the batch file rather than FPLoader (if using BAM). In that case you would add the above registry entries in the batch file then launch FPLoader.exe with /open "%1%" /play /exit switches. You would also need to have a version that reverses those key toggles where you want the backglass turned back on for non-Pup Packs. TerryRed's guide for front ends is centric to Pinup Popper which has a command entry window that is easy to add commands which get launched at beginning or end of emulation process. So in that case, it is just a cut/paste into Pinup Popper window. With the AHK method you could do directly within LB since it has a tab for that. You would need to look here on how to setup those commands above in AHK syntax. This page provides info for AHK registry command. Also the AHK experts are in the thread below and should be able to help if you cannot get the AHK working with the link above. Hi sundogak quick update. I got it working with a bit of a work around. I wasn’t having any luck trying to run script with the AHK, everything I’ve tried seemed to be executing after future pinball had started so I couldn’t set the registers the way I needed them before future pinball started and opened the tables. So I added in two dummy rom’s into each of the platforms in Launchbox. I pointed each one to a separate batch files to set the register. I also unticked the emulator option in each of the roms (note Lauchbox will try to point these back to the emulator if you make any changes later) . I named them · A_Setup_PinEvent · A_Normal_Table so that I see them first whenever I go into either of the future pinball platforms on BigBox. I just select the one I want and that now sets the registers before I select any of the tables. It’s Not Perfect but small price to pay. Doing it this way is allowing me to use any of the PinEvent option without effecting the videos and screen sizes. Thanks again for your help, maybe this could help you to be able to select a different option other than option 3. I will try the Experts in the Tab you have provided maybe that can recommend something else. Thanks again for you input. D Edited May 27, 2021 by DannysBig1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.