Advertisement
JesterMgee

VPX Launch Code

Sep 22nd, 2024
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.90 KB | None | 0 0
  1. @echo off
  2. START "" "[STARTDIR]Launch\VPXSTARTER.exe" 30 10 60 "Visual Pinball Player" 2
  3. cd /d "[DIREMU]"
  4.  
  5. rem Change the following to EnableTrueFullScreen to default FullScreen Exclusive!
  6. SET FSMODE=EnableTrueFullScreen
  7. SET VPXEXE=VPinballX64.exe
  8. SET TEMPSUFFIX=[ALTMODE]
  9. SET TABLENAMESUFFIX=""
  10. SET SUFFIX=""
  11.  
  12. if "[RECMODE]"=="1" (SET FSMODE=DisableTrueFullScreen )
  13. if /I "[CUSTOM1]"=="NOFSX" (SET FSMODE=DisableTrueFullScreen )
  14. if NOT "[ALTEXE]"=="" (SET VPXEXE=[ALTEXE] )
  15. IF NOT "[ALTMODE]"=="" (SET SUFFIX=%TEMPSUFFIX:~0,2%)
  16. IF "%SUFFIX%"=="- " (SET TABLENAMESUFFIX=[ALTMODE])
  17. START /min "" %VPXEXE% "[DIREMU]" -%FSMODE% -minimized -play "[DIRGAME]\[GAMENAME]%TABLENAMESUFFIX%[GAMEEXT]"
  18.  
  19. if %FSMODE%==DisableTrueFullScreen (START "" "[STARTDIR]Launch\PopperKeepFocus.exe" "Visual Pinball Player" 10)
  20.  
  21. curl -X POST --data-urlencode "table=[GAMEFULLNAME]" http://localhost:8089/service/gameLaunch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement