Simple bash launcher for vpinball standalone.
- Install
- Motivation
- Features
- Screenshots
- Alternatives
- Usage
- Additional Resources
- References & Ackowledgements
Just clone the project or download menu.sh
script and give it execution permission with chmod +x menu.sh
.
See Usage section for details on how to run it.
The goal of this project is providing a simple way of exploring and configuring my vpx collection.
The ideas behind it are:
- List all vpx files within a directory (and all its subdirectories) in order to quickly visualize my collection.
- List all ini files within a directory, so it is possible to launch any vpx file with different configurations. E.g. I have a setup with the table in one screen (portrait orientation) and the backglass + DMD in a separate screen, another one for a single secondary screen in portrait mode, and one more for a single screen in landscape mode).
- Logs are printed in the console to quickly test the different configurations.
- Launch tables avoiding to type once and again the same long and prone to errors command line.
- Show a list of all the vpx files found inside a customizable root path.
- Select the ini file you want to use for launching the table among those found in a customizable root path.
- Customize the number of items displayed at once on screen.
- Show information about specific
ini
,directb2s
, andvbs
files stored in the same directory as the vpx file. A letter is shown for each one, colorized or greyed out depending on whether the file was found or not.
The following screenshots shows the process of launching a table:
The Addams Family table being executed with a 3 screen setup: backglass, table and logs.
There are some good alternatives focused on different aspects and functionalities, I recommend you to try, at least, the following ones:
- vpxtool by francisdb. A cross-platform console based utility written in Rust that provides a fancier front-end and a good set of utilities to deal with vpx files.
- vpx. Bash script provided within the vpinball standalone and provides access to a wider set of
VPinballX_GL
command line parameters.
./menu.sh [ -t | --tables <TABLES_ROOT_DIR>] (default: $HOME/pinball/tables)
[ -i | --ini <INI_FILES_ROOT_DIR>] (default: $HOME/pinball/ini)
[ -e | --exe <VPINBALL_BINARY_PATH>] (default: $HOME/pinball/vpinball/build/VPinballX_GL)
[ -p | --page-size <NUMBER_OF_ITEMS_PER_PAGE>] (default: 20)
[ -h | --help ]
-t | --tables
: path to our collection of vpx files. It may contain sub-directories. Defaults to${HOME}/pinball/tables
.-i | --ini
: path to the directory containing our ini files. It may contain sub-directories. Defaults to${HOME}/pinball/ini
.-e | --exe
: path to the vpinball standalone binary file. Defaults to${HOME}/pinball/vpinball/build/VPinballX_GL
.-p | --page-size
: number of items per page. Defaults to20
.-h | --help
: display usage text.
To change default values, just edit the bash script variables defined at the beginning.
- vpx standalone scripts. A set of table patches for VPX standalone.