Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted (edited)

The Pinemhi Online Leaderboard created by @Dna Disturber lets you compete against other players online in weekly high score competitions on set tables.

This plugin allows you to create wheel entries in your Visual Pinball system to launch the Pinemhi tables of the week from set locations, for the weekly 5 minute challenge table it can also toggle the 5min mode used by Pinemhi on and off on game launch & exit.

The plugin will try to locate the table of the week in your collection and then launch it (this is done by matching on roms and then by fuzzy matching on table names against the challenge table). If no match is found then no table will be launched, and if you have more than one version of a challenge table then one will be picked randomly. Tables set to use the 'alternateexe' in database xml are ignored during the matching.

You must be connected to the internet and already have set up the Pinemhi leader board for this plugin to work!!

See https://www.vpforums.org/index.php?showtopic=44580&page=1 and https://forums.gameex.com/forums/topic/25229-guide-pinemhi-leaderboard-setup-and-use/ for info on how to setup and configure Pinemhi leader board.

 

Plugin Install and Configuration

  1. Create dummy table files for the Pinemhi Weekly and/or 5 Min Challenges & Golf Challenges and place them in your Visual Pinball\Tables folder (you can find dummy table files in the Support Files attachment)
  2. Using Game Manager or PinballX Database Manager add the dummy tables to your Visual Pinball system (make a note of the table descriptions / display names used)
  3. Table Media - add as required in Game Manager / PinballX Database Manager - there are some examples of media in the Support Files attachment, wheel images, videos etc (I use the Rocky theme as table audio for the challenge tables but that is not included due to copyright, the backglass video is adapted from here). Also included are a couple of company logos you can use if you set the Manufacturer field to DNA Disturber or Pinemhi (take your pick)
  4. Extract the PBXPinemhiLauncher.dll and place it in your PinballX\Plugins folder  (unblock the file if required - https://www.limilabs.com/blog/unblock-dll-file)
  5. Enable the plugin in Plugin Manager (in PinballX folder) 
  6. Configure the plugin via the Plugin Manager Configure button

          image.png.da4e991bad8dd22185ff26f928c802d6.png

  • Enter the EXACT game descriptions / display names from step 2
  • For the Golf challenge you can optionally select to have the plugin replace the PinballX backglass video with a standard one that shows the current closest to the pin target score, or to speak it on game launch. The score on the backglass video will always be in the same location but the background image can be changed by updating the PBXPinemhiLauncher_BackglassGolfScoreImage.png image in the \plugins\PBXPinemhiLauncher_Working folder (after enabling the backglass video option and running PinballX once).
  • If using a key to start and stop 5 minute challenges use the 'Input' to set the same key code as configured in Pimehi, the plugin will send this key for you when the 5 min mode table is launched and exited. Note this option is for key codes only, if you have a button assigned then i assume you can easily start stop 5 min mode manually, in which case this can be left blank.
  • 5 min key exit delay - this controls how long after the  5 min mode table has exited that the mode is turned off, this figure can be increased if the pinemhi mode is being turned off before the score has been submitted online.

Issues

Please attach the PinballX.ini & Log.txt files as well as the plugins PBXPinemhiLauncher.ini & PBXPinemhiLauncher_Log.txt files from the plugins folder along with a description of the problem, i may also request a copy of your database xml file and pinemhi.ini to help replicate the issue.


Thanks

@Mike_da_Spike i blatantly ripped off his code for rom name and fuzzy table name matching from the API Launcher app :D@Tom Speirs and @Adultery for PinballX and the awesome flexibility of plugins!


Changes

10/08/21    V1.0.0    Initial release

19/09/22    V1.0.1    Change to timing when launching 5min mode challenges (plugin could turn 5min mode off before pinemhi registered the score). Thanks @Mike_da_Spike

15/11/23    V2.0.0    Added Golf / Closest to the PIN challenge to the the launcher & support files.  Thanks again to @Mike_da_Spike who started the code for this after @Dna Disturber added the functionality to the Pinemhi Leaderboard, and then tested and found a load of issues with all the code i did.

16/11/23    V2.0.1    Small fix for five minute challenge mode if no table found

PBXPinemhiLauncher V2_0_1.zip

 

SupportFiles.zip

 

 

Edited by scutters
V2.0.1
  • Like 3
  • Thanks 1
Posted

The master of PinballX plugins !
Nice work mate !

Edit :
This is really cool @scutters
. I added your media and looks very good in PinballX.
It load the correct tables for the correct challenge (must be very difficult code ;) ) 

Here's a small demo on my cab :

 

  • Like 1
  • Thanks 1
  • 3 months later...
  • 5 months later...
Posted

I created some topper/dmd Videos. based on scutters his neon style company animation and his wheels (I changed the 5 min wheel a bit

For Real DMD :

2.gif.a04fc1905afbc6dc165053d41c75dd91.gif 

1.gif.bc3408dd5f1b9ad51320b10551396158.gif 

 

Topper/DMD (Medium overlay)

5.gif.a1ae0687117d6b44b886b8a284b39e8c.gif 

4.gif.7cfe060f4b045c3fc672779738651620.gif 

Topper/DMD (Large overlay)

6.gif.6bbe5a48cf23690867e51cdf58110b13.gif 

3.gif.299a8ccc7e33ba754482d0c33a3513e2.gif

And this is the zip file with all the videos in it

Thanks to @scutters who fixed my animated apng convertion (and for this plugin that I really use a lot !)

Pinemhi Weekly Challenge DMD_topper.zip

  • Thanks 1
  • 1 month later...
  • 7 months later...
Posted

V2.0.0 of the plugin released and attachments updated in first post.

This adds functionality for the Closest to the PIN Pinemhi Weekly Challenge

image.png.1bbadab27c050fd1bedf004ec29b4801.png

and some bug fixes from Mike;

  • check when PinballX closes if 5 min challenge is active, if so, stop it
  • When no data return from Pinemhi, Filter to check table was empty which result that random a table was taken from all the tables.
    Now it will stop and doesn't run anything (as we have when no rom is found)

Big thanks to @Dna Disturber & @Mike_da_Spike 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...