Search the Community
Showing results for tags 'random table'.
-
This plugin allows random tables to be launched from PinballX by using a random table entry added to any system where you want it (one random table launch entry per system). When that table is selected in the wheel a random table for that system will be launched. Instructions For any system where you want a Random Table launch option; 1/ Create a dummy table file record in the tables folder for systems that use table folders (Future Pinball, Visual Pinball etc). The file can be an empty text file; Right click in the tables folder and add a new text document Rename the file to whatever you want, but make sure you change the file extension to match that of the table files for that system (.fpt, .vpx etc); 2/ Add a dummy table record in PinballX Game Manager or Database Manager; Use the dummy table file created above. In database manger; enter a suitable game description (this need to be the same for all random entries you are creating in each system i.e. use the same description in FP as VPX etc). Other fields can be left blank (Type, Year, IPDB data etc) 3/ Extract the PBXRandomTable.dll file (from the zip attachment at the bottom of this post) into your PinballX\Plugins folder (unblock the file if required - https://www.limilabs.com/blog/unblock-dll-file) 4/ Using PluginManager (in PinballX folder) Select the Random Table Selector plugin row and click Configure Change the Game Description box to match the (exactly) the game description / display name entered above. The filter at the bottom right of the screen can also be changed to limit the tables that will be launched randomly based on PinballX star ratings, by default any enabled table for that system could be launched. Save & Exit the configuration screen 5/ In Plugin Manager tick the box on the left of 'Random Table Selector' to enable it. The plugin should now be enabled and when you next launch PinballX and you should have a wheel entry to launch a random table. You can add media as required in Game Manager / PinballX Database Manager as you do for any other table entry (i use this video for backglass and rotated for playfield, you'll need to make your own wheel image(s)) Notes AlternateEXE flag - if you use this flag in PinballX then tables using it will be ignored by the plugin (from v1.1) Statistics & HiScores - As PinballX stores this information based on the table name selected on launch, when launching a random table the data will be updated against the random table name - the data that for the table that is actually launched will not be updated. Hi score data for the actual table will refresh when it is next launched directly but the statistics (total played time etc) will remain against the random table entry. Also, please note that as this plugin changes the launch command used by PinballX the information shown in the PinballX log for launches will be incorrect. Refer to the log file for this plugin instead. To avoid confusion please do not launch a random table and attach that log file if reporting a general issue with PinballX. Issues I only use Visual Pinball X as a system but I have no reason to think the plugin won't work with other systems in PinballX, please let me know if not (but i'll probably need your help to fix it!). Please attach the PinballX.ini & Log.txt files as well as the plugins PBXRandomTable.ini & PBXRandomTable_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 to help replicate the issue. Thanks Thanks to Tom Speirs and Adultery for PinballX and the plugin template, and Mike da Spike for some testing once again. Changes 27/06/21 V1.0.0 Initial release 17/07/21 V1.0.1 Small change for Application Menu events 10/08/21 V1.1.0 Tables using alternateexe flag are now ignored by the plugin (so won't be launched as the random table) 13/03/22 V1.1.1 Fixes xml read issue for .net core (PinballX V5.39 and later) PBXRandomTable V1_1_1.zip