VPinballX (Standalone) Code (Draft)
VisualPinball Engine for MacOS / Android / linux - github / discord
Code
Use CMake
Dependancies
- SDL2 + OpenGL
- BASS audio library - commercial/free - up to 4 separate stereo outputs with a 7.1 soundcard
- Imgui - used by live editor
- Plog - Pretty powerful logging library in about 1000 lines of code. Cross-platform
- tinyxml2 - small, efficient, C++ XML parser - used for .pov files.
- harfbuzz - a text shaping engine.
Debug mode
Setup a custom .ini files, with proper setting ex: Fullsceen=false and display for picking screen.
You can copy & customize the one located in ~/.vpinball/VPinballX.ini
The entries of the .ini files are read with LoadValueWithDefault
call, and you can lookup where the value are used in the code (see below for eg).
a Webserver is created on 0.0.0.0:2112
Setup Display
res/exampleTable.vpx is nice and small table for testing.
Project
Make it work on linux to be able to build a pincab not requiring windows.
Next
- How to enable DMD inside B2S in standalone ? - see
- patch
- DMD in it’s own windows work fine (see Attack from Mars), but may depends on table implementation
- loading lucy? / anaglyph
Written on September 27, 2023, Last update on October 6, 2023
pincab
code-review
project
draft