Jump to content



Photo
- - - - -

[FREE TOOL] Fried's Retrogaming Kit (v0.1) — Lossless Baller/Popper Relocation, SQLite Path Rewrite & COM Auto-Repair


  • Please log in to reply
6 replies to this topic

#1 berndte

berndte

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Germany

  • Favorite Pinball: t2 judgment day

Posted 26 September 2026 - 12:24 AM

Hi everyone,

 
First off, a quick hello to the community — I’ve been reading and learning from VPForums for quite a while, and this is actually my first post here. 
 
Like many of you, I recently went through the process of moving my virtual pinball setup (Baller Installer, PinUP Popper, VPX tables, media) to a new drive / SSD on my cabinet. As anyone who has done this knows, changing drive letters or folder paths usually leads to a familiar puzzle: broken media paths in the Popper SQLite database (`PupDatabase.db`), unregistered or broken COM registrations (B2S, PinMAME), and multi-screen coordinate shifts.
 
To solve this cleanly and save myself (and hopefully others) hours of manual file editing and registry hunting, I wrote a set of automated PowerShell scripts and bundled them into a small, standalone utility called **Fried's Retrogaming Kit (Virtual Pinball Suite)**.
 
frieds-rgk-3pillars.png
 
I wanted to share it here in case it saves someone else the headache.
 
### What it does:
- **Lossless Baller / Popper Relocation:** Automatically detects your old Baller Installer path and your target path, migrating tables, configs, and media cleanly.
- **Atomic SQLite Path Rewriting:** Safely scans and updates all absolute directory paths inside `PupDatabase.db` without corrupting table records or playlists.
- **COM & Registry Auto-Repair:** Checks and re-registers VPX, `B2SBackglassServer.dll`, and `VPinMAME.dll` with proper elevation checks.
- **Multi-Display Alignment Check:** Detects connected displays, verifies Playfield, Backglass, and DMD layout coordinates, and reports potential offset mismatches.
- **Safety / Rollback Archive:** Before touching a single file or registry entry, it automatically generates a compressed timestamped backup so you can roll back at any time.
- **Interactive Wizard (Optional):** Includes an interactive 17-page WinForms GUI if you prefer clicking through the steps visually instead of running command-line scripts.
 
frieds-rgk-pinball.png
 
Besides the Virtual Pinball Suite, the kit also includes modules for lightguns and core diagnostic tools if you run a multi-purpose arcade cab:
 
frieds-rgk-wiimote.png
 
frieds-rgk-core.png
 
### Links & Info:
- **GitHub Repository (MIT Open Source):** https://github.com/k...retrogaming-kit
- **Release v0.1.0 Download (.zip):** https://github.com/k...ases/tag/v0.1.0
- **Documentation & Step-by-Step Guide:** https://kburna243.gi...etrogaming-kit/
 
Everything is 100% free, depersonalized, and open source under the MIT license.
 
If this helps even a couple of people move their tables without breaking their setup, I’m happy. And if anyone has constructive feedback, ideas, or edge cases from their own cabinet configurations, I’d love to hear it so I can continue refining and improving it.
 
Thanks for all the incredible work that everyone here puts into this hobby!
 
Cheers,  
Fried


#2 Thalamus

Thalamus

    VPF Veteran

  • Platinum Supporter
  • 5,013 posts

  • Flag: Norway

  • Favorite Pinball: GOT, Alien Star, LOTR, TOM

Posted 26 September 2026 - 06:23 AM

For a first post, this is pretty impressive compared to most. I don't really need any of this right now, but, looking at the description - I'm sure this will help more than a few.

 

Hi Fried ;)


Edited by Thalamus, 26 September 2026 - 09:28 AM.

From now on. I won't help anyone here at VPF. Please ask Noah why that is.


#3 Flying Dutchman

Flying Dutchman

    Pinball Wizard

  • VIP
  • 3,262 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness / Champion Pub



Posted 26 September 2026 - 07:24 AM

Thanks Bernetd .. looks very promising .. :dblthumb: 

 

As you mention ´Lossless Baller / Popper Relocation´ specific, is PinballY! also included / checked?

 

Thanks again.

 

Cheers,

FD.


'Flying Dutchman'

In need for a Backglass or 'Active Backglass / UVP' please 'click' on below and visit the complete revised website at:
Posted Image

#4 berndte

berndte

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Germany

  • Favorite Pinball: t2 judgment day

Posted 27 September 2026 - 12:59 AM

just a lil update on the current status pinbally just added 

 

   1. Fried's Retrogaming Kit (frieds-retrogaming-kit)
 
  The foundational PowerShell automation engine, hardware manager, safety gate, and API for Windows retrogaming &
  arcade cabinets.
 
  ### ️ Safety Architecture & Core Engine  (Current)
  • Gated Execution Policy: Every modifying operation is dry-run by default. Actual system mutations strictly require
  -Apply, and impactful operations require explicit human approval via -Approved.
  • Zero-Loss Atomic Backups: Automatic snapshot backups (New-KitBackup / Restore-KitBackup) created before any
  configuration or registry write. Includes checksum validation (backup.check) and backup lifecycle management
  (backups.list, backup.export, backup.remove).
  • Hardware & Suite Diagnostics: Comprehensive doctor inspection, health checking (status), and installed components
  inventory (components). Anonymized diagnostics bundles for remote troubleshooting (support.bundle).
  • Cabinet-to-Cabinet Migration: Full profile export (profile.export) and import (profile.import) to clone
  configurations between cabinets A and B with tokenized registry paths, security sanitization, and driver auto-
  install validation.
  • Dual UI Interfaces:
      • Standalone, zero-dependency WPF Dashboard (Start-Kit.cmd on native PowerShell 5.1).
      • Interactive console wizards for Pinball and Lightgun suites.
 
 
  ### ️ Supported Gaming Suites n(Current)
 
  • Pinball Suite: VPX (Visual Pinball X), Future Pinball, Pinball FX/FX3/M, PinUP Popper frontend, PinUP Player,
  automated screen and display layout management.
  • Lightgun Suite: Sinden Lightguns, Aimtrak, Gun4IR, Wiimote / DolphinBar integration, RetroBat and TeknoParrot
  emulator mappings, calibration validation.
  • Arcade & Systems: Windows optimization hooks, driver verifications (ViGEmBus, vJoy), and frontend launchers.
  ### API & MCP Integration (Current — Kit API 1.3)
  • Kit API over stdio: Hostless single-JSON request/response contract (api\Invoke-KitApi.ps1) with 36 operations,
  zero exposed network ports, and built-in -Anonymize masking.
  • Native MCP Server: Stdio JSON-RPC 2.0 Model Context Protocol server (api\Start-KitMcpServer.ps1) exposing catalog
  operations as AI agent tools with strict parameter-level policy enforcement.
  • PinballY Suite Integration:
      • pinbally.detect (API 1.2, Read): Scans PinballY setups, systems, table databases, foreign paths, and expansion
      tokens.
      • pinbally.retarget (API 1.3, Change): Gated path remapping (Old=New) for transferred PinballY builds, with
      line-by-line diff verification, backup, and approval requirements.
  ──────
  ### Upcoming in Next Kit Release (Under Construction)
 
  │ Note
  │ Arriving in the next version: These modules are currently in final builder review/testing and will land in the
  │ upcoming release:
 
  • Gamepad & Controller Adapter Pack (pads\):
      • Automated controller detection, multi-gamepad ID mapping, and stick/button calibration.
      • Native configuration presets for RetroBat and arcade encoders (Xin-Mo, IPAC, USB gamepads).
      • HidHide policy management to eliminate dual-input ghosting.
      • Hardware controller benchmark tool ([Controllers]).
  • ⚡ Pinball Output & Feedback Adapter (output\):
      • DOF (DirectOutput Framework) integration: Automated setup and profile validation for force feedback (solenoids,
      contactors, shaker motors, gear motors, flasher LEDs).
      • Hardware Controller Support: Native communication and testing for LED-Wiz, Pac-Drive, and Sainsmart relay
      boards.
      • dmdext Integration: DMD Extensions support for virtual alphanumeric/matrix DMD rendering and real physical
      pinball DMD panels (ZeDMD, PIN2DMD, etc.).
      • Ownership and safe syntax parsing for DmdDevice.ini.
 
  ──────
   2. Fried's Retrogaming Agent (frieds-retrogaming-agent)
 
  The autonomous, safety-gated AI cabinet operator CLI and agent runtime that pairs with the Kit.
 
  ### Core Agent Engine & Safety Gate (Current — v0.2.0)
 
  • Zero Runtime Dependencies: Built strictly on standard Node.js libraries and native node:sqlite.
  • Non-Bypassable Policy Gate: The agent cannot self-authorize mutations. The policy pipeline strictly enforces:
 
    Model Request ⟶ Dry Run ⟶ Plan Output ⟶ Human Confirmation (yes) ⟶ -Apply ⟶ Verification
 
  • Session Memory & Audit Trail: Local SQLite memory store with automatic schema migrations. Stores diagnostic
  history, executed operations, and refusals without granting future bypasses.
  • Strict Privacy Guard: Hard -Anonymize verification barrier preventing real Windows user paths, cabinet names, or
  serials from leaking to cloud LLMs.
  • Multi-Transport Client: Seamless operation over direct PowerShell stdio or native MCP (--transport mcp).
 
  ### CLI & Interactive Tools (Current)
 
  • Commands: fagent doctor, fagent tools, fagent status, fagent run <op>, fagent chat, fagent history, fagent report,
  fagent version.
  • Terminal Experience (M3): Real-time streaming output (SSE), visible round budgeting ([round/max]), and
  conversational continuity (fagent chat --continue / --session <id>).
  • Auditing Mode (M6): fagent report --since <period> generates timestamped operational and gate audit summaries.
  • Deterministic Offline Test Harness: Fake cabinet simulator (test/kit/fake-kit.mjs) and 155+ automated vitest tests
  (API contracts, transport layers, gate rules, and packaging).
  • Kit API 1.3 Support: Pinned contract with 36 kit operations, including native fixed tools for pinbally_detect and
  pinbally_retarget.
  ──────
  ### Upcoming in Next Agent Release (Planned)
 
  │ Note
  │ Arriving in the next version: These capabilities will roll out once the Kit's new packages land:
 
  • Gamepad & Controller Tools:
      • Fixed agent tools for controller diagnostics (gamepad_detect, gamepad_map).
      • Automated resolution of common controller issues (e.g., misassigned player 1/2 indices, HidHide conflicts).
  • ⚡ Pinball Output & DOF Tools:
     • Dedicated agent tools to inspect DOF configs and test physical feedback hardware without risking hardware
      lockups.
      • DMD routing diagnostics via dmdext tool definitions.
  •   Expanded Evaluation Scenarios (M5+):
      • Automated scenario tests covering gamepad disconnection recovery and missing DOF configuration repair.
 


#5 Flying Dutchman

Flying Dutchman

    Pinball Wizard

  • VIP
  • 3,262 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness / Champion Pub



Posted 27 September 2026 - 06:08 AM

Thanks!  :dblthumb: 

 

ps. The first link (Retro Cabinet Kit) is dead ..  ;) 

 

Cheers,

FD.


'Flying Dutchman'

In need for a Backglass or 'Active Backglass / UVP' please 'click' on below and visit the complete revised website at:
Posted Image

#6 akiles50000

akiles50000

    Pinball Fan

  • VIP
  • 1,105 posts

  • Flag: Spain

  • Favorite Pinball: Ali

Posted 29 September 2026 - 08:38 PM

This link doesn,t work:

 

 **Documentation & Step-by-Step Guide:** https://kburna243.gi...etrogaming-kit/



#7 berndte

berndte

    Neophyte

  • Members
  • Pip
  • 3 posts

  • Flag: Germany

  • Favorite Pinball: t2 judgment day

Posted 01 October 2026 - 03:28 AM

sorry was needing some rest and had some bugs in ci/cd pipline hier the github repos should work always and made some updates 

 

https://github.com/k...retrogaming-kit

https://github.com/k...trogaming-agent

 

# Virtual Pinball (VPin) Ecosystem Guide
### The Essential Apps, Engines, and Tools Every Pinball Fan Needs
 
Virtual Pinball is a rich ecosystem of specialized, interconnected software working together in real time to simulate authentic arcade pinball physics, sound, lighting, video, and physical haptics.
 
This guide outlines the **core applications**, their exact roles, and how they fit into a modern cabinet or desktop setup.
 
---
 
## ️ The 5 Pillars of the VPin Stack
 
```mermaid
flowchart TD
    Frontend["1. Frontends & Launchers<br/>(PinUP Popper / PinballY)"] --> Engines["2. Simulation & Physics Engines<br/>(Visual Pinball X / Future Pinball + BAM / Pinball FX)"]
    
    Engines --> Emulation["3. ROM & Audio Emulation<br/>(VPinMAME / Freezy DMD)"]
    Engines --> Backglass["4. Backglass & Displays<br/>(B2S.Server / FlexDMD / PinUP Player)"]
    Engines --> Feedback["5. Haptics & Lighting<br/>(DirectOutput Framework / DOFLinx)"]
    
    Feedback --> Hardware["Cabinet Hardware<br/>(Solenoids, Contactors, Shaker Motors, Addressable LEDs)"]
```
 
---
 
## 1. Simulation & Physics Engines
 
### ️ Visual Pinball X (VPX 10.8+ 64-bit)
* **What it is:** The undisputed gold standard of virtual pinball simulation.
* **Why you need it:** Completely open-source, highly accurate ball physics, cloth simulations, real-time ray-traced shadows, and support for thousands of historic and modern original tables.
* **Key Features:**
  - 64-bit modern engine with DirectX 11 / OpenGL support.
  - Cabinet POV (Point-of-View) editor tailored to exact cabinet dimensions.
  - VR support for Oculus/Meta and SteamVR headsets.
 
### ️ Future Pinball + BAM (Better Arcade Mode)
* **What it is:** 3D pinball engine famous for original, highly artistic community-created tables and retro conversions.
* **Why you need it:** BAM upgrades the legacy Future Pinball engine with realistic modern physics, dynamic camera tracking (head tracking via Kinect or webcam), and advanced lighting effects.
 
### ️ Pinball FX / FX3 (Zen Studios)
* **What it is:** Commercial, polished pinball games featuring licensed IP (Marvel, Star Wars, Indiana Jones, Williams classics).
* **Why you need it:** High arcade accessibility, family-friendly fun, and native Cabinet Mode with multi-monitor support (unlocked via free operator code from Zen).
 
---
 
## 2. ROM Emulation & Dot-Matrix Displays (DMD)
 
### VPinMAME
* **What it is:** The arcade ROM emulation backbone for Visual Pinball.
* **Why you need it:** Executes the original ROM code from Williams, Bally, Stern, Gottlieb, Sega, and Data East machines. It runs the genuine rulesets, switches, lamp matrixes, audio cues, and solenoid trigger signals.
 
### Freezy's DMD Extensions (`dmddevice.dll`)
* **What it is:** The universal display renderer for virtual and real pinball DMDs.
* **Why you need it:**
  - Replaces jagged, low-res dots with beautiful, glowing circular dots, scanlines, or authentic plasma textures.
  - Supports colorization (SERUM and PAC files) for 16-color and 64-color HD DMD graphics.
  - Directly drives real physical DMD hardware (ZeDMD, PIN2DMD, PinDMDv3).
 
### FlexDMD & UltraDMD
* **What it is:** Modern high-performance DMD engines for original tables (non-ROM games).
* **Why you need it:** Enables original and tribute tables (e.g., *Blood Machines*, *Harry Potter*, *Tron*) to display slick, fluid video, fonts, and sprite animations on the DMD screen without requiring a legacy VPinMAME ROM.
 
---
 
## 3. Backglass & Video Engines
 
### ️ B2S.Server (DirectB2S)
* **What it is:** The standard backglass server for Visual Pinball.
* **Why you need it:** Displays the animated, illuminated backglass artwork on your secondary monitor. Reads table states in real time to illuminate tilt lamps, game-over signs, animated mechanical backglass toys, and digital segment scoring reels.
 
### PinUP Player & PuP-Packs
* **What it is:** A multimedia video overlay engine developed for cabinet and desktop setups.
* **Why you need it:** Turns your backglass and topper into full-motion interactive video cinema. When you hit a jackpot, start multiball, or drain a ball, PuP-Packs trigger movie scenes, concert footage, and dynamic audio overlays that synchronize with table gameplay.
 
---
 
## 4. Frontends & Cabinet Launchers
 
### PinUP Popper
* **What it is:** The most feature-complete, media-rich frontend in the hobby.
* **Why you need it:** Designed specifically for multi-screen cabinets. Features fluid video wheel art, game audio previews, playlist organizers (by manufacturer, era, author), full PuP-Pack integration, and automatic table launching/closing.
 
### ⚡ PinballY
* **What it is:** A blazing-fast, lightweight, open-source alternative frontend written in C++ and DirectX.
* **Why you need it:**
  - Minimalist, lightning-fast boot times with zero overhead.
  - Automatic media scrapers and intuitive on-screen settings.
  - Highly robust, easy to configure, and extremely low resource usage.
 
---
 
## 5. Haptics, Lighting & Cabinet Feedback
 
### ⚡ DirectOutput Framework (DOF R3+)
* **What it is:** The hardware-control middleware for pinball tactile feedback.
* **Why you need it:** Bridges in-game software signals to physical cabinet components:
  - **Flipper & Slingshot Thumps:** Triggers real automotive/industrial solenoids or contactors.
  - **Explosions & Rumble:** Activates real shaker motors and gear motors.
  - **Lightshows:** Drives addressable RGB LED strips (side-rails, under-cab underglow, backbox matrices) and RGB flasher strobes.
 
### DOFLinx
* **What it is:** An extension that brings full DOF hardware feedback to non-VPX games.
* **Why you need it:** Allows commercial games like *Pinball FX*, *Pinball FX3*, and *Future Pinball* to activate your real solenoids, shakers, and RGB lights, giving them the same physical punch as VPX tables.
 
---
 
## 6. Essential Utilities & System Tools
 
| Tool | Purpose |
|---|---|
| **SERUM** | Ultra-vibrant 64-color alt-color palettes for classic monochrome DMD games. |
| **BAM Camera Tracker** | Enables dynamic perspective shifting based on your real head position. |
| **JoyToKey / AntiMicroX** | Maps cabinet buttons, plunger pots, and accelerometer nudge boards to keyboard/gamepad inputs. |
| **ColorControl** | Automates monitor resolutions, refresh rates (120Hz/144Hz/165Hz), and HDR toggling on game launch. |
| **Fried's Retrogaming Kit** | Automates COM registration, screen calibration (`ScreenRes.txt`), path migrations, and hardware safety limits. |
 
---
 
## Recommended Setup Order for Beginners
1. **Graphics First:** Install **VPX 10.8+ 64-bit** with modern DirectX runtimes.
2. **ROMs & Sound:** Set up **VPinMAME** and **Freezy's DMD Extensions**.
3. **Backglass:** Add **B2S.Server** and calibrate monitor resolutions in `ScreenRes.txt`.
4. **Cabinet Experience:** Choose your frontend (**PinUP Popper** for maximum spectacle, **PinballY** for speed and simplicity).
5. **Physical Immersion:** Connect **DOF** to bring real tactile rumble, contactors, and lighting to life.