Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Zarquon

Tutorial: How To Setup Ledwizmod (Ledclear.bat And Ledset.bat)

Recommended Posts

Before I start I want to first acknowledge the work Darkfall did as this is just a modification of his concept/script.

 

***  This tutorial assumes you have already installed the latest (at least WIP10) FPLaunch.

 

This mod allows you to set your LEDs for Hyperpin as well as have a default configuration for Future Pinball and ooptionally DWJukebox.  It also has a mechanism for setting custom led configs for Future Pinball tables and Visual Pinball tables not included in ledcontrol.ini such as EM based tables.

  1. Download LEDWizMod zip attached and unzip into your HyperPin/FPLaunch directory.
     
  2. Edit the settings.ini file in hyperpin/settings folder

    Under [startup Program] set the path to the LEDSet.bat file
          i.e. Executable = C:\HyperPin\LEDSet.bat

    Under [Exit Program] set the path to the LEDOff.bat file
          i.e. Executable = C:\HyperPin\LEDOff.bat

    Under [FPLaunch] set ledwiz=true
     
  3. Edit the ledwiz.xml file

    Set up your ports to match your setup.  (Note you can also add additional ports for flashers and other items.)

    Configure the default settings for HyperPin, FuturePinball, and optionally DWJukeBox.

    Configure tables for Futurpinball or VisualPinball.  In the case of Visual Pinball you only will want to do this for Tables not supported by the LEDWiz Configuration tool.
     
  4. Optional: If you want to use this with DWJukebox overwrite the jukebox.bat file from WIP10 with the one in the attached jukebox.zip.

jukebox.zip

LEDWizMod.1.02.zip

  • Upvote 1

Share this post


Link to post
Share on other sites

Awesome man, thank you!

 

EDIT: Do we need to edit the HP Settings.ini to start and exit the .bat files. 

Share this post


Link to post
Share on other sites
Awesome man, thank you!

 

EDIT: Do we need to edit the HP Settings.ini to start and exit the .bat files. 

Yes sorry missed that step.

 

You need to edit the settings.ini under [startup Program] to have the following

 

Executable = C:\HyperPin\LEDSet.bat
 
And under [Exit Program]
Executable = C:\HyperPin\LEDOff.bat
 
I'll update the original post.
 
 

Share this post


Link to post
Share on other sites
Doesnt this do the samething as ledclear?

Yes but also lets you set defaults for Future Pinball and creates a mechanism for setting custom led configs for Future Pinball tables and Visual Pinball tables not included in ledcontrol.ini such as EM based tables.

Share this post


Link to post
Share on other sites

Under heading 2. you have them both listed as [startup Program] ;)

 

Thanks for this, all is working except when I exit HP all together the lights stay on. I fired up the LEDOff and LEDClear bat files outside of HP but the lights still stayed on. I tried the special Win64 LEDClear.bat that Darkfall used no success there either.  

 

Win7 64bit

 

EDIT: I see you used a way to detect whether it was 64 or not so no need for separate files, nice.  

 

EDIT2: I did check the log file and it is executing LedOff.bat but it's not turning the lights off. 

Share this post


Link to post
Share on other sites

OK I uploaded an old version of the ledwiz.vbs.  Use the newly uploaded zip.  LEDOff should now work correctly.

  • Upvote 1

Share this post


Link to post
Share on other sites

That fixed it! :)

 

Thank you so much for the tutorial, greatly appreciate the help. 

Share this post


Link to post
Share on other sites
That fixed it! :)

 

Thank you so much for the tutorial, greatly appreciate the help. 

Thanks for QA-ing my tutorial  :)

Share this post


Link to post
Share on other sites

Okay so we need to change this up a bit. 

 

Fuzzel the developer for PinSelect has brought it to our attention that we are doing this incorrectly. With PinSelect these settings need to look like the following but they also work in HyperPin and are a bit more proper: 

[startup Program]
Executable          = ledset.bat      ; Just the executable here. 
Parameters          =
Working_Directory   = C:\HyperPin\    ; Actual directory where your file is located.
WinState            = HIDDEN          ; HIDDEN to hide the console window on activation. 

[Exit Program]
Executable          = ledoff.bat      ; Just the executable here. 
Parameters          =                 ; Actual directory where your file is located.
Working_Directory   = C:\HyperPin\
WinState            = HIDDEN          ; HIDDEN to hide the console window on activation. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...