Tips n Tricks - vpinball/b2s-backglass GitHub Wiki

If you want to find out which backglass files has a grill defined inside:

with the use of powershell:

@echo off
powershell.exe -noprofile -command "&Get-ChildItem -Filter *.directb2s -Recurse |Select-String -Pattern '^  <GrillHeight Value=\"[0-9]{3}\"'
pause

Delete all empty PUPVideos folders

powershell -command "dir -Directory  C:\vPinball\PinUPSystem\PUPVideos | where {($_ | dir).Count -eq 0} | rmdir"

Set volume for different apps using app_audio_config from nirsoft

AppAudioConfig.exe /SetVolume 100 "VPinball995.exe"
AppAudioConfig.exe /SetVolume 100 "VPinballX.exe"
AppAudioConfig.exe /SetVolume 100

Start VPX selecting the first activate screen as playfield:

VPX...  -primary

pinvol:

It is possible to use a Custom Program feature to join many forms into one

# PinVolSettings.ini add these lines

# This will make one entry for all active PinUp forms. This way it will stay at the same level for all of them.
Program = displayName:"PinUpMenu",appType:"PinUpMenu",exe:"pinupmenu.exe"
Program = displayName:"PinUpDisplay",appType:"PinUpMenu",exe:"pinupdisplay.exe"

# In case a window hangs, all these windows would be saved to one entry in pinvol
Program = displayName:"Not Responding",windowPattern:".*Not Responding.*"

EqAPO:

config.txt:
    Preamp: -6 dB
    Include: example.txt
    GraphicEQ: 25 0; 40 0; 63 0; 100 0; 160 0; 250 0; 400 0; 630 0; 1000 0; 1600 0; 2500 0; 4000 0; 6300 0; 10000 0; 16000 0
    Include: PinVolSSF.txt # to make pinvol changes active
    Copy: L=0.5*L+1.0*C R=0.5*R+1.0*C   # activate center channel in left and right speaker

CCC:

    ep_desktop_pygame.py
        pygame.display.set_caption('PROC:Cactus Canyon Continued')
    ep_new_service.py
        title.set_text("PROC:Cactus Canyon Continued")