User Tools

Site Tools


pinup_optional

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pinup_optional [2021/07/22 15:30]
outhere [Option #3. Dual Boot Puppack by default custom parameters.]
pinup_optional [2021/10/28 14:02] (current)
outhere [Option #4. Using alternate Rom with Option #3]
Line 140: Line 140:
 Put the alternate Rom in the Rom's Folder Put the alternate Rom in the Rom's Folder
  
-If you would rather call this option something besides [ALTMODE]"=="NOPUP" then just change it.\\ +In Game Manager on the Left Pick the Game and on the Right In <font inherit/inherit;;#e74c3c;;inherit>**CUSTOM2**</font> Put <font inherit/inherit;;#2980b9;;inherit>**ALTROM**</font>\\ 
-Example:  if /I "[CUSTOM2]"=="ALTROM"+See Sample Launch and Close Scripts Below
  
 <code> <code>
 Rem :Add next Line To Launch Script -- See sample Launch and Close Script Below Rem :Add next Line To Launch Script -- See sample Launch and Close Script Below
  
-if /I "[ALTMODE]"=="NOPUP" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\altrom%" /f)+ if /I "[CUSTOM2]"=="ALTROM" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\altrom%" /f)
 </code> </code>
  
Line 152: Line 152:
 Rem :Add next Line To close Script -- See sample Launch and Close Script Below Rem :Add next Line To close Script -- See sample Launch and Close Script Below
  
-if /I "[ALTMODE]"=="NOPUP" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\roms%" /f)+ if /I "[CUSTOM2]"=="ALTROM" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\roms%" /f)
 </code> </code>
  
Line 174: Line 174:
 SET ALTPARAM= SET ALTPARAM=
 if /I "[ALTMODE]"=="NOPUP" (SET ALTPARAM=-c1 NOPUP ) if /I "[ALTMODE]"=="NOPUP" (SET ALTPARAM=-c1 NOPUP )
-if /I "[ALTMODE]"=="NOPUP" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\altrom%" /f)+if /I "[CUSTOM2]"=="ALTROM" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\altrom%" /f)
  
 START /min "" %VPXEXE% "[DIREMU]" -%FSMODE% -minimized -play "[GAMEFULLNAME]" %ALTPARAM% START /min "" %VPXEXE% "[DIREMU]" -%FSMODE% -minimized -play "[GAMEFULLNAME]" %ALTPARAM%
Line 186: Line 186:
 "[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Visual Pinball" 10 1 "[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Visual Pinball" 10 1
 Timeout /t 2 Timeout /t 2
-if /I "[ALTMODE]"=="NOPUP" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\roms%" /f)+if /I "[CUSTOM2]"=="ALTROM" (REG ADD "HKCU\SOFTWARE\Freeware\Visual PinMame\globals" /v "rompath" /t REG_SZ /d "%E:\Visual Pinball\VPinMame\roms%" /f)
 </code> </code>
pinup_optional.1626982218.txt.gz · Last modified: 2021/07/22 15:30 by outhere