Jump to content



Photo
- - - - -

[Release] PinballY Expansion Pack – Profiles, Achievements, weekly Challenges, Table Mastery (JavaScript add-on)

pinbally addon javascript profiles achievements high scores challenges frontend vpx

  • Please log in to reply
14 replies to this topic

#1 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 17 October 2026 - 10:26 PM

Hi everyone,

I'd like to share a project I've been building for my own cabinet: the PinballY Expansion Pack, an unofficial add-on written entirely with PinballY's JavaScript scripting API. It doesn't modify PinballY at all. It's one folder in Scripts, plus one import line.

The idea: give everyone in the house a reason to come back to the cab. Each player gets their own Profile, their own progress and their own stats, and there's always something new to play.

hero.png

What's in it

  • Profiles & Avatars: a Change Player carousel, a Welcome Screen that greets you by name, and a Guest profile for visitors. Only games of at least one minute count, so an accidental launch never messes up your stats.
  • Table of the Day / Table of the Week: every day you get a table nobody in the house has played yet (or the one left alone the longest), and every week a random one. Play them several days or weeks in a row to build Streaks.
  • Weekly Challenges: a new household Challenge every Monday (five different Stern tables, three tables you've never played, half an hour on a single table...), with a progress card on the wheel and a "Challenge Tables" filter.
  • Table Mastery: ten Mastery Levels per table, from Rookie to Pinball Wizard, shown on a Mastery Bar. Collection Tiers unlock Avatar Frames.
  • Achievements: dozens of them from Bronze to Platinum, some of them secret. They're announced by a small non-blocking toast and feed a Player Level that has no cap.
  • High Scores per Profile: the pack reads the board before and after each game and credits new scores to whoever was playing, whatever initials were typed. It also tells you when someone takes one of your records. It works for ROM-less community originals too (reads VPReg.stg from VPX's User folder) and draws a podium-style High Score board.
  • Your Stats / Household Stats: your whole pinball life on one screen, and everyone side by side, with the best of each line in gold.
  • PinballY in 6 languages: English, French, German, Spanish, Italian and Portuguese.

profiles.png
challenges.png
achievements.png

For the cab owner

  • An Admin Profile that keeps the setup entries for you alone
  • A Child Profile that hides Adult tables from the wheel
  • Profile Reset, for one Profile or the whole household
  • Optional Menu Cleanup for leaner menus
  • Redrawn menus in a "Steamball" look, a Random Game spun on a wheel of fortune, launches without the black flash, the backglass hidden during play, custom sounds...

Every feature can be turned off on its own in a simple .env.local file.

Requirements & install

Requirements: Windows and PinballY 1.1.0 Beta 10 or later. vpxtool and PINemHi 3.6.8 are optional but recommended for ROMs and High Scores.

Install: copy the project into PinballY\Scripts\ExpansionPack, add this line to Scripts\main.js, then restart:

import "./ExpansionPack/main.js";

Your existing scripts keep running. All the details are in the README.

GitHub: PinballY-Expansion-Pack (MIT licence)

Coming next (ideas, nothing promised): a "Year in Pinball" recap, themes other than Steamball, per-Profile ratings and favourites, seasonal Avatar Frames, and an easier install and update.

Feedback, bug reports and ideas are very welcome, here or in GitHub Issues. If something misbehaves, PinballY.log names the add-on at fault, so please include it.

Thanks, and happy flipping!



#2 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 29 October 2026 - 03:55 PM

PinballY Expansion Pack 1.0 is out!

 

Hi everyone,

A follow-up to my first post: the Expansion Pack has reached 1.0.0, its first public release. Thanks to everyone who commented or tested it along the way.

 

What's new since my first post

  • Install from a zip, no git needed: one download, one folder, one line.
  • Update in one press: the pack checks for a new version each time PinballY starts and can update itself in one press. Your settings, Profiles and your own files are kept, and you get a short "what's new" screen after each update.
  • Expansion Pack Settings in the Operator Menu: turn each Add-on on or off, pick the startup screen and the language, then restart PinballY in one press. No more editing .env.local (it still works if you prefer it).
  • Error Log: errors are also written to Scripts\ExpansionPack\errors.log, so a bug report is easy to send.
  • Player guide in English and French, page by page: install, updates, every feature, settings and troubleshooting.

How to install

Requires Windows and PinballY 1.1.0 Beta 10 or later.

  1. Download ExpansionPack.zip from the latest release: github.com/F3L1X79/PinballY-Expansion-Pack/releases/latest (not "Source code (zip)", whose folder won't be found by the pack).
  2. Extract it into PinballY\Scripts. You should get PinballY\Scripts\ExpansionPack\main.js (not ExpansionPack\ExpansionPack\main.js).
  3. Create PinballY\Scripts\main.js with just this line, or add it to your existing file. Your own scripts keep running:
    import("./ExpansionPack/main.js").catch(e => logfile.log("ExpansionPack: " + e.message));
  4. Optional but recommended: put vpxtool.exe (github.com/francisdb/vpxtool/releases) in ExpansionPack\tools so each table's ROM is filled in automatically.
  5. Restart PinballY, then open Expansion Pack Settings in the Operator Menu to pick your Add-ons and language.

Already installed an earlier version? Replace the import "./ExpansionPack/main.js"; line with the new one above. If something goes wrong while loading, it now ends up in PinballY.log and doesn't break your other scripts.

Everything the pack keeps lives in Scripts\ExpansionPack. Copy that folder to back up. To uninstall, delete the folder and the import line.

 

Full changelog and guide: github.com/F3L1X79/PinballY-Expansion-Pack

 

As before, feedback, bug reports and ideas are very welcome, here or in GitHub Issues. Please attach errors.log (or PinballY.log) if something misbehaves.

 

Happy flipping!



#3 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 206 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 07 November 2026 - 04:48 PM

Nice work! Love to see anything involving PinballY. 



#4 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 07 November 2026 - 06:45 PM

Yeah, PinballY deserves more love! :)
I recently released v1.3.0 addding Discord Rich Presence: you can now show your friends which tables you're playing on your pincab.



#5 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 206 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 07 November 2026 - 07:38 PM

Do you ever put your tables into categories? I've spent a long time creating categories for year, designer and artist, and putting my ~1000 tables into them. 



#6 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 07 November 2026 - 08:52 PM

Actually yes, but only on a selection of tables, with no more than 10 categories :)
That's why I added achievements for playing tables from specific categories.
PinballY also has "Filter by Era" and "Filter by Manufacturer" built in, so year and manufacturer are already covered without any extra work tho ;)



#7 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 206 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 07 November 2026 - 11:53 PM

It does filter by Era, but that's a full decade. I'm detailed enough that I have categories for every year.

 

I'm trying to figure out how to get my categories to show up in the Info Box (or the "Information" option if Info Box can't show them) while I'm flipping through the tables.

 

The way it is now, I can open a category for a certain designer, and all of his tables will appear. But when I flip through All Tables and stop on a table, I'd like to see who designed that table, who was the artists, and any other categories I've already entered.

 

I know that the Info Box gets some of its data from the gamestats file, like the rating and the number of plays. Since Categories is a column within gamestats, why couldn't it be displayed as well? But I can't figure out how to make it happen.

 

If you're looking for another possible idea for your continuing Expansion Packs, would you please consider this one?



#8 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,556 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 08 November 2026 - 12:23 AM

I'm trying to figure out how to get my categories to show up in the Info Box (or the "Information" option if Info Box can't show them) while I'm flipping through the tables.

 

 

It doesn't have anything to do with this thread's PinballY Expansion Pack Addon, but if you just want that functionality, then my new PinballY Javascript Addon might do what you are looking for:

 

https://www.vpforums...=59235&p=557938



#9 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 08 November 2026 - 01:01 PM

Thanks for the pointer, Tesla! licwip, I'd give that add-on a try first, it sounds like the quickest way to get what you want.
 

Categories for every year, designer and artist across ~1000 tables, that's serious dedication!
As far as I can see, PinballY's Info Box options don't include categories, so I don't think you can simply switch them on. Scripts can read a table's categories though, so an add-on can display them.
If Tesla's doesn't do what you need, tell me what's missing or open an issue on GitHub, and I'll eventually look at it for a future version.
 

Your setup should get a lot out of the pack, by the way. It already reads your PinballY categories: every category with at least two visible tables gets its own Achievement for playing all of its tables at least once, so yours would create plenty of them automatically.

 

Also, v1.4.0 is out, with a lot added since my first post:
Your own Ratings and Favorites: each Profile now has its own star Ratings and Favorite Tables. What's already on your cabinet is copied to every Profile, so nobody loses a favorite.

  • High Score Boards in three views: ROM scores, Household scores and Your 5 best scores. With vpxtool, games too low for the table's board can count too, on ROMs that keep the last game's score.
  • No keyboard needed: create a Profile from the cabinet with the flippers, then pick one of 24 portraits as your Avatar.
  • Backglass Clock: a small clock on the backglass screen during a game. You can drag it wherever you want.
  • Random table straight from the main menu.
  • Discord Rich Presence: shows the table you're playing. Off by default, and it asks for your consent.
  • Offline Mode for cabinets without internet.
  • vpxtool installed and kept up to date from the Settings.


Bug reports and ideas are welcome. If a score is missing or wrong, please attach play_scores_anomalies.log.
 



#10 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 206 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 08 November 2026 - 11:24 PM

Tesla! I love it! Thank you so much.

 

F3L1X42, you're doing great stuff! I have another suggestion or two but I don't want to be too greedy. :)



#11 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 09 November 2026 - 06:47 PM

Hehe, please do not hesitate to ask at least ;)



#12 Flying Dutchman

Flying Dutchman

    Pinball Wizard

  • VIP
  • 3,262 posts

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

  • Favorite Pinball: Medieval Madness / Champion Pub



Posted 11 November 2026 - 07:46 AM

Nice addition to PinballY!   :dblthumb: .. only:

 

1. How do I kill the ´beep´ when scrolling through the frontend options?

2. It seems to consume more CPU/GPU than using PinballY! without the pack installed. For lower end cpu´s / graph cards this could be the overkill ..

 

3. When PinballY! is started .. the Backglass is never shown automatically (3 screen setup), and has to be made visible with a ´right click´ - ´Show Backglass´, in PinballY! without the package never had this issue.

 

4. When adding a ´Catagory´ to a certain game (f.i. Bally), save it, go on to the next table to add a ´Category´, it gives / keeps the previous choice ´Bally´, which you have to remove and add the current category (f.i. Williams) to the new table.

 

Cheers,

FD.


Edited by Flying Dutchman, 11 November 2026 - 08:37 AM.

'Flying Dutchman'

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

#13 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 11 November 2026 - 09:21 PM

Thanks a lot FD, very useful feedback! Version 1.5.1 is out and fixes three of your four points:

 

1. The beep – The pack's menus and screens now follow PinballY's own button sound settings. Mute Buttons in the Operator Menu silences them, they play at PinballY's button volume, and any sound you put in Media\Button Sounds replaces ours. For example, a copy of Assets\Silence.wav renamed Next.wav and Prev.wav silences just the moves.

 

3. Backglass hidden at startup – Found it. The pack hides the backglass during a game, and PinballY saved that hidden state if it was closed or switched off mid-game, so the next start opened it hidden. That can't happen anymore. If it still happens to you, please look in PinballY.log for a line starting with [ForceBackglass] … monitor seen at startup. It would mean Windows saw only one screen when PinballY started (TVs still waking up). In that case, setting Wait for monitors in PinballY's options to 3 monitors, 30 seconds should fix it.

 

4. Categories carried over to the next table – Confirmed and fixed. The pack's menus kept PinballY's category edit list alive between tables. As a bonus, Filter by Category works properly again after editing categories.

 

2. CPU/GPU – I'd like to look into this one. Could you tell me:

  • your CPU, graphics card and the resolution of your three screens;
  • whether the extra load shows while idle on the wheel, or only while moving through menus and screens?

You can also switch off Add-ons one by one in eXpansion Pack Settings to see if a particular one makes the difference.

Have fun playing!


Edited by F3L1X42, 11 November 2026 - 11:41 PM.


#14 F3L1X42

F3L1X42

    Neophyte

  • Members
  • Pip
  • 8 posts
  • Location:Rennes

  • Flag: France

  • Favorite Pinball: Arabian Tales

Posted 19 November 2026 - 12:04 PM

PinballY eXpansion Pack v1.7.0 is out!

A lot has changed since 1.5.1:

- Wheel Order (1.6): browse the wheel by year, oldest table first, on every filter. Next / Previous Page jump by decade.
- Attract Order (1.6): attract mode goes through the tables as PinballY does, in wheel order, or through the whole wheel once, shuffled.
- Wheel Guides (1.6): an A–Z (or decades) rail along the wheel, the table's position in the list, and a red heart on your Favorite Tables.
- Living with your other scripts (1.7): a new guide page lists the community scripts known to share a screen with the pack, and what to do with each. If another script takes the launch screen, the pack tells you which one and lets you keep yours in one press.
- Smoother on big collections 51.7): with vpxtool, the wheel images and the info box no longer flicker while the pack reads every table's ROM.

Update in one press from the cabinet, or download the zip: https://github.com/F...releases/latest


Happy flipping!

 


Edited by F3L1X42, 19 November 2026 - 11:22 PM.


#15 licwip

licwip

    Enthusiast

  • Platinum Supporter
  • 206 posts

  • Flag: United States of America

  • Favorite Pinball: Space Cadet

Posted 23 November 2026 - 12:53 AM

Felix, I just grabbed 1.8.0. Its awesome! Thank you for listening to my suggestions and being so fast with your work. Thanks to you, PinballY should be considered the top front-end in my opinion.





Also tagged with one or more of these keywords: pinbally, addon, javascript, profiles, achievements, high scores, challenges, frontend, vpx