Skip to content

About

Forward LaunchBox and Big Box LEDBlinky events to LEDBlinky and RPEGBlinky for Pixelcade marquees and Brook RGB buttons.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

BlinkyRelay

Use one LaunchBox or Big Box LEDBlinky integration to drive two applications. LEDBlinky can update a Pixelcade marquee or its own LED controllers while RPEGBlinky applies a game palette to a compatible Brook button board.

Download the Windows release

Install

You need Windows with .NET Framework 4.8 or later in the 4.x family, LaunchBox or Big Box, and your own installations of LEDBlinky and RPEGBlinky. For a Pixelcade marquee, first confirm the Pixelcade listener can drive the display and enable Pixelcade in LEDBlinky. For Brook buttons, check that RPEGBlinky Live Viewer recognizes the board. LEDBlinky setup · Pixelcade setup for LEDBlinky

  1. Download the Windows ZIP from Releases and extract it to a permanent folder your Windows account can write to, such as C:\Arcade\BlinkyRelay. Keep both relay executables together.
  2. Copy targets.example.ini to targets.ini in that folder. Open the copy in a text editor and replace both example paths with your actual executable paths. For RPEGBlinky, choose its lighting engine, RPEGBlinky.exe.
  3. In LaunchBox, open Tools → Options → Integrations → LEDBlinky. Make a note of the current executable path, enable LEDBlinky, browse to BlinkyRelay.exe, and click OK. Big Box uses the same integration. If you want the extra Big Box filter-list events for your marquee, enable its advanced filter-list option.
  4. Restart the frontend, select a game with a known marquee and button palette, launch it, and return to the menu. To customize a game palette with the RPEGBlinky companion plugin installed, right-click the game and choose RPEGBlinky: Edit Game Colors.

Example targets.ini:

LEDBlinky=C:\Arcade\LEDBlinky\LEDBlinky.exe
RPEGBlinky=C:\Arcade\LaunchBox\ThirdParty\RPEGBlinky\RPEGBlinky.exe

Paths may be absolute or relative to the relay folder. Spaces are supported and paths should be written without quotation marks.

Updates and rollback

  • Updating a Blinky app — install its update in its usual folder. If its executable moves, edit the corresponding path in targets.ini. The relay reads this file for every event.
  • Updating BlinkyRelay — close LaunchBox and Big Box, let the host finish its queue and exit, then extract the new ZIP over the relay folder. The ZIP ships targets.example.ini, so your targets.ini survives extraction.
  • Updating LaunchBox — the relay lives outside the frontend and uses its existing command-line integration. If a setup wizard resets the LEDBlinky path, select BlinkyRelay.exe again.
  • Rolling back — point LaunchBox back to the original LEDBlinky.exe and restore your previous filter-list setting if you changed it.

How delivery works

LaunchBox sends a command for each event. The managed C# relay forwards the original Windows command-line arguments, including game and platform names, and starts each app in its own directory. A short-lived local host handles each target in a separate queue.

LEDBlinky can stay resident. RPEGBlinky processes one event at a time, so a game-start command that depends on the previous selection sees the correct game. A delayed or missing target allows the other target to continue receiving events. The host exits after about 15 idle seconds once both queues are empty.

Troubleshooting

Symptom What to check
Neither app responds Confirm LaunchBox points to BlinkyRelay.exe and that BlinkyRelay.Host.exe and your edited targets.ini are beside it.
One app responds Open relay-errors.log in the relay folder and check the named executable path or exit code.
Buttons stay dark In the RPEGBlinky folder, inspect BrookLights.log and open Live Viewer. An event can reach RPEGBlinky even when its Brook board is disconnected.
Marquee stays on the previous game Check LEDBlinky's log and the Pixelcade listener. Verify LEDBlinky's configured frontend and MAME paths.
RPEGBlinky events stop advancing A vendor process still running after 30 seconds is recorded in the relay log. Resolve or close that stuck RPEGBlinky process so its queue can resume.

Cabinet testing covered LaunchBox 14.1, LEDBlinky 8.3, RPEGBlinky 2.41 and Pixelcade 8.0.17. A real game selection reached both applications, and Pixelcade sent its animation and image to the marquee. RPEGBlinky resolved the game palette. Physical Brook button output still needs a hardware test.

Build and test

From a Windows PowerShell prompt in the source directory:

.\Build.ps1
.\Test-Relay.ps1
.\Package.ps1

The build uses the C# compiler supplied with .NET Framework. The test suite creates temporary stand-in executables and verifies command-line fidelity, working directories, concurrent selections, ordered game starts, missing targets, and a target-path update while the host is running. The ZIP and its SHA-256 checksum are written to dist\.

About

Forward LaunchBox and Big Box LEDBlinky events to LEDBlinky and RPEGBlinky for Pixelcade marquees and Brook RGB buttons.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages