Jump to: navigation, search

Pyprocgame vp

This page outlines how to set interface pyprocgame to Visual Pinball so you can run your custom software on virtual tables.

Install pyprocgame and dependencies

  • Install Python 2.6
  • Install the following python 2.6 modules:
    • PyWin32
    • PyGame
    • PIL
    • PyYAML
    • pypinproc (the self-installing executable resides in <libpinproc>\ext\python\)
  • Install pyprocgame
  • Install Visual Pinball (Available on vpforums.org in the Getting Started menu).
    • Download these VP scripts and put them in VP's 'Scripts' subdir. These are slightly modified from the original VP scripts so that VP will work with pyprocgame.
    • Download VP's sound samples from vpforums.org (in the Getting Started menu) and put them in VP's 'samples' subdir.
    • Find and download/unzip the VP tables you want from vpforums.org (in the Desktop Tables menu).

Set up pyprocgame/VP environment

  • Add the following to your pyprocgame config.yaml file (~\.pyprocgame\config.yaml): (Sample here)

pinproc_class: procgame.fakepinproc.FakePinPROC

log_destination: /P-ROC/pyprocgame/log.text # Change this to where you want the log to go.

vp_game_map_file: /P-ROC/pyprocgame/vp_game_map.yaml # Change this to where you create your map file

  • Create a vp_game_map.yaml file and put it where you said it would be in your config.yaml file. (Sample here)

Run pyprocgame games in VP

  • Register the pyprocgame/VP interface:

python.exe tools\register_vpcom.py

  • Run VP, open the desired table, click play.

Note - You only need to register the pyprocgame/VP interface once. (unless you are using VP with both pyprocgame and pinmame. Then you need to re-register the interface after using pinmame.)