Hello.
I have been following this nailbuster's guide, In order to get VPX tables launched with or without pup-pack.
At early stages i make copies from the pup-pack tables, for example for the cactus canyon table, i have two copies from this table.
-Cactus Canyon (Bally 1998) VPW 1.1.vpx
-Cactus Canyon-PUP-PACK-VERSION-(Bally 1998) VPW 1.1.vpx
Then... it`s only to add a new alias-rom to the VPMalias.txt (this file it`s in vpinmame folder).
In this case i will add this line to the VPMalias.txt:
cc_13PUP, cc_13
This means the cc_13PUP will use the cc_13 rom.
Then it`s only add this new rom to the table script.
In the Cactus Canyon-PUP-PACK-VERSION-(Bally 1998) VPW 1.1.vpx table script i will look for the gamename rom in the script (gamename=cc_13)and i will change this gamename (change cc_13 to cc_13PUP).
The last thing to do its in PUPvideos folder, i will change the PUP-pack folder for cactus canyon and i will name it cc_13PUP.
This way i have two versions from the table...one with pup-pack and the other one without pup-pack.
-Cactus Canyon (Bally 1998) VPW 1.1.vpx: Will use cc_13 folder in PUPVideos folder and the cc_13 rom
-Cactus Canyon-PUP-PACK-VERSION-(Bally 1998) VPW 1.1.vpx: Willl use cc_13PUP folder in PUPVideos and the cc_13PUP rom alias
My problem:
I was wondering about a way to have only one table (no copies) and launching the table from pinup popper selecting with or without pup-pack.
I am able to select the table in pinup popper and the option with or without pup-pack.
And the table launches with or without pup perfectly, but i have one problem...
If i launch the table without pup-pack there are no screens at all (only the backglass and playfield screens).
I have the option from pinuppopper to keep displays on for a certain table (you can see this option in games manager in pinup popper) for example for cactus canyon table i was interested to keep displays on 0,1 and 5 which are topper,dmd and full dmd.
But with this option active i have several screens when the pup-pack it`s active (i don`t want to have the pup-pack upon several screens, not good for FPS)
I am stuck at this point..
how can i get to configure screens when the pup-pack it`s not launched??? i don`t want windows screens when the pup-pack it`s not active and i don`t want several screens when the pup-pack it`s active.
Instructions
To get it working you will need to add this option to your popper script:
USEALTWHEELS=1
In your table script you will need to add this two lines: (and save the table):
if GetCustomParam(1)= "NOPUP" Then .PuPHide=1 else .LaunchBackglass=1 end if .Games("altsimpprty").Settings.Value("sound") = 1
Here you have an example for the two lines pasted in a table script:
Sub Table1_Init With Controller .GameName = cGameName If Err Then MsgBox "Can't start Game " & cGameName & vbNewLine & Err.Description:Exit Sub .SplashInfoLine = "The Simpsons Pinball Party (Stern 2003)"&chr(13)&"VPW" .HandleKeyboard = 0 .ShowTitle = 0 .ShowDMDOnly = 1 .ShowFrame = 0 .Hidden = 0 if GetCustomParam(1)= "NOPUP" Then .PuPHide=1 else .LaunchBackglass=1 end if .Games("altsimpprty").Settings.Value("sound") = 1 On Error Resume Next .Run GetPlayerHWnd If Err Then MsgBox Err.Description On Error Goto 0 End With
And here you have the LAUNCH SCRIPT for VPX emulator in pinup popper: (IMPORTANT NOTE:In NAILBUSTER'S GUIDE you will see FSMODE=ExtMinimized. and i think this is an error you will need SET FSMODE=Extminimized or Disablefullscreen or enable fullscreen).
Here it`s working:
@echo off START "" "[STARTDIR]Launch\VPXSTARTER.exe" 30 10 60 "Visual Pinball Player" 2 cd /d "[DIREMU]" rem Change the following to EnableTrueFullScreen to default FullScreen Exclusive! DisableTrueFullScreen SET FSMODE=ExtMinimized SET VPXEXE=VPinballX_GL64.exe if "[RECMODE]"=="1" (SET FSMODE=ExtMinimized ) if /I "[CUSTOM1]"=="NOFSX" (SET FSMODE=ExtMinimized) if NOT "[ALTEXE]"=="" (SET VPXEXE=[ALTEXE] ) SET ALTPARAM= if /I "[ALTMODE]"=="NOPUP" (SET ALTPARAM=-c1 NOPUP ) if /I "[CUSTOM2]"=="ALTROM" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%C:\vPinball\VisualPinball\VPinMAME\altrom%" /f) START /min "" %VPXEXE% "[DIREMU]" -%FSMODE% -ExtMinimized -play "[GAMEFULLNAME]" %ALTPARAM% if %FSMODE%==ExtMinimized (START "" "[STARTDIR]Launch\PopperKeepFocus.exe" "Visual Pinball Player" 10)
And the close script
"[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Visual Pinball" 10 1 Timeout /t 2 if /I "[CUSTOM2]"=="ALTROM" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%C:\vPinball\VisualPinball\VPinMAME\roms%" /f)
In the games manager you will need to add NOPUP in the alternate run modes section for the table:
This way you can select the table in popper and then you can select launch the table normal with the pup-pack or the new launch mode icon (NOPUP).
I was trying also the altrom mode.. but no results as i need to have two different names for the rom (one for pup-pack and different name for the version without pup-pack).
Maybe i need an option like ALTPUP or i don`t know
This time i need help
Edited by Junkyerd, 13 May 2024 - 08:41 PM.