Jump to content

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


Zarquon

Recommended Posts

  • Content Provider

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

Link to comment
Share on other sites

  • Content Provider
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.
 
 
Link to comment
Share on other sites

  • Content Provider
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.

Link to comment
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. 

Link to comment
Share on other sites

  • 2 months later...

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. 
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...