pinup_optional
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | pinup_optional [2025/02/06 16:47] (current) – [Option #4. Using alternate Rom with Option #3] outhere | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== V1.4 Running PinUP Table and have option to run without PinUP. ===== | ||
| + | |||
| + | With the new version of VPINMAME you can now use aliases. (VPMAlias.txt)\\ | ||
| + | In your VPinMame Folder – Visual Pinball\VPinMame\\ | ||
| + | If you want to add comments to the file, use (# or ;) in front of the line\\ | ||
| + | Watch this video for information: | ||
| + | |||
| + | Info on duplicate ROMs and using different NV-Files - [[https:// | ||
| + | |||
| + | Other methods: | ||
| + | |||
| + | So you have a table called Transformers.vpx that loads the puppack/rom " | ||
| + | |||
| + | If you create a copy of that to TransformersPUPHide.vpx, | ||
| + | |||
| + | **Solutions: | ||
| + | |||
| + | There' | ||
| + | |||
| + | Make sure you are using a compatible B2S server version so that no fuzzy name matching will get in the way. | ||
| + | |||
| + | **The ' | ||
| + | |||
| + | In #1 and #2 options you will need to make a copy of your Transformers.vpx to TransformersPUPHide.vpx and rename the directb2s to TransformersPUPHide.directb2s. (names must be exact). You will need to add the new vpx table as a separate table in Popper (this method doesn' | ||
| + | |||
| + | in #3 you have just one vpx table and directb2s file named exactly the same. But this should ONLY be used for advanced users…. | ||
| + | |||
| + | ==== Option #1. Modify table script of TransformerPUPHide.vpx. ==== | ||
| + | |||
| + | You need to open the script of the PUPHIDE vpx version and find something like this example in table_init script: | ||
| + | |||
| + | Then you need to add the line .PuPHide=1 | ||
| + | < | ||
| + | |||
| + | '' | ||
| + | vpmInit Me | ||
| + | With Controller | ||
| + | .GameName = cGameName | ||
| + | If Err Then MsgBox " | ||
| + | .SplashInfoLine = " | ||
| + | .HandleKeyboard = 0 | ||
| + | .ShowTitle = 0 | ||
| + | .ShowDMDOnly = 1 | ||
| + | .ShowFrame = 0 | ||
| + | .HandleMechanics = 0 | ||
| + | .Hidden = 0 | ||
| + | .PuPHide = 1 | ||
| + | .Games(cGameName).Settings.Value(" | ||
| + | On Error Resume Next | ||
| + | .Run GetPlayerHWnd | ||
| + | If Err Then MsgBox Err.Description | ||
| + | End With | ||
| + | On Error Goto 0 | ||
| + | '' | ||
| + | |||
| + | </ | ||
| + | |||
| + | Notice the .PuPHide = 1 (1=disable pupb2s plugin, 0 = enable..default if not set ) | ||
| + | |||
| + | ==== ==== | ||
| + | |||
| + | ==== Option #2: *** Note this requires PinUPMenu v1.4.1+ to work correcty ==== | ||
| + | |||
| + | You will need to make sure the **ROM **field in Games Manager on the PUPHIDE.VPX table is set correctly to the name of the **PuP-Pack.** Then put the word **HIDEPUP **in the **Custom Launch Param **as well. | ||
| + | |||
| + | Then add the following to the top of vpx launch script in emulator setup. | ||
| + | |||
| + | < | ||
| + | if " | ||
| + | echo 1>> " | ||
| + | ) | ||
| + | |||
| + | </ | ||
| + | |||
| + | This will launch the table, and if **HIDEPUP **is in **Custom Launch ****Param ** (for this game), Popper will create a text file called " | ||
| + | ===== Option #3. Dual Boot Puppack by default custom parameters. ===== | ||
| + | |||
| + | **To Add the Ability to use an Alternate Rom | ||
| + | < | ||
| + | |||
| + | THIS IS AN ADVANCED METHOD where you use one VPX Table to load Either the BackGlass or Puppack. | ||
| + | |||
| + | This will use the new option in 10.6 that allows custom parameters to be sent via command line (front end will need to pass them depending on variables). | ||
| + | |||
| + | How it works\\ | ||
| + | In Controller Setup you will select a Key For (MENU SELECT KEY)\\ | ||
| + | That will bring up the games menu with all other options\\ | ||
| + | So on the front-end you can start the table directly or you can press the Menu select key | ||
| + | < | ||
| + | if you'd like to use your own wheel for an altmode. Then do the following:</ | ||
| + | < | ||
| + | < | ||
| + | So if one of your altmodes is " | ||
| + | into the POPMEDIA/ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | In Game Manager on the Left Pick the Game and on the Right In | ||
| + | < | ||
| + | < | ||
| + | See Sample Launch and Close Scripts Below | ||
| + | |||
| + | < | ||
| + | Rem Put the next 2 lines above this line in your launch script and add this %ALTPARAM% | ||
| + | Rem START /min "" | ||
| + | |||
| + | SET ALTPARAM= | ||
| + | if /I " | ||
| + | |||
| + | </ | ||
| + | |||
| + | See the sample here: You will add the one line of code to the controller startup In Table Script like below.\\ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | Example “NOPUP” will decide how the table is started. | ||
| + | |||
| + | < | ||
| + | Sub Table1_Init | ||
| + | vpmInit Me | ||
| + | With Controller | ||
| + | | ||
| + | If Err Then MsgBox " | ||
| + | .SplashInfoLine = " | ||
| + | .HandleKeyboard = 0 | ||
| + | .ShowTitle = 0 | ||
| + | .ShowDMDOnly = 1 | ||
| + | .ShowFrame = 0 | ||
| + | .HandleMechanics = 0 | ||
| + | .Hidden = 0 | ||
| + | if GetCustomParam(1)= " | ||
| + | .Games(cGameName).Settings.Value(" | ||
| + | On Error Resume Next | ||
| + | .Run GetPlayerHWnd | ||
| + | If Err Then MsgBox Err.Description | ||
| + | End With | ||
| + | On Error Goto 0 | ||
| + | |||
| + | </ | ||
| + | |||
| + | Note: Next line is for Reference only\\ | ||
| + | To use command line in new vpx 10.6 you need to pass **-c1 NOPUP** depending on a parameter or alt-run-mode. | ||
| + | ===== Option #4. Using alternate Rom with Option #3 ===== | ||
| + | |||
| + | This option will change where VP (VPinMame) looks for the Rom By making a change in the Windows registry | ||
| + | |||
| + | Make a | ||
| + | < | ||
| + | Put the alternate Rom in the Rom's Folder | ||
| + | |||
| + | In Game Manager on the Left Pick the Game and on the Right In | ||
| + | < | ||
| + | < | ||
| + | See Sample Launch and Close Scripts Below | ||
| + | |||
| + | < | ||
| + | Rem :Add next Line To Launch Script -- See sample Launch and Close Script Below | ||
| + | |||
| + | if /I " | ||
| + | |||
| + | </ | ||
| + | |||
| + | < | ||
| + | Rem :Add next Line To close Script -- See sample Launch and Close Script Below | ||
| + | |||
| + | if /I " | ||
| + | |||
| + | </ | ||
| + | |||
| + | Launch Script | ||
| + | |||
| + | < | ||
| + | @echo off | ||
| + | |||
| + | START "" | ||
| + | cd /d " | ||
| + | |||
| + | rem Change the following to EnableTrueFullScreen to default FullScreen Exclusive! | ||
| + | |||
| + | SET FSMODE=EnableTrueFullScreen | ||
| + | |||
| + | SET VPXEXE=vpinballx.exe | ||
| + | |||
| + | if " | ||
| + | if /I " | ||
| + | if NOT " | ||
| + | |||
| + | SET ALTPARAM= | ||
| + | if /I " | ||
| + | if /I " | ||
| + | |||
| + | START /min "" | ||
| + | |||
| + | if %FSMODE%==DisableTrueFullScreen (START "" | ||
| + | |||
| + | </ | ||
| + | |||
| + | Close Script | ||
| + | |||
| + | < | ||
| + | " | ||
| + | Timeout /t 2 | ||
| + | if /I " | ||
| + | |||
| + | </ | ||
| + | |||
