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. Thank you for your support. Tom Speirs

Patreon

[PLUG-IN] ShineOn V1.0


dup3d

Recommended Posts

Introducing a little PinballX PlugIn which i created. Called it ShineOn

Here´s the "Background Story" for this PlugIn. It all begin at some evening when playing a bit with a friend and he asked "why is there no light action during the selection of a pinball table". I dig for infos about that but found nothing what makes me happy. So my decision was to try to created something for that.
I´m not really a coder, i know a very little bit of VB and a bit in VP script so i have to learn how to accomplish my project.
I started with the plugin template which was included in PinballX and found a solution that fit´s my requests. After a short time i got the things running and all was fine. But now there comes a new problem :) I´m so happy with my result and want to share it with others so they could use it if they want, but for this i have to let the user configure it to his personal setup. So i have to dig a bit more and learn some stuff and finally i got it all working and hope it´ll work for others too and the one or another one will use it.

As is said above i´m not really a coder and there might be things which could be achieved in other ways but it works all and that´s what i want. Hope that it´ll work for others as good as for me.
My plugin has 2 Parts. One is the plugin itself (ShineOn.dll) and the other is the Tool to do the configuration (ShineOn_Configuration_Tool.exe).
I did this as i want to keep the main plugin simple and small for best performance.
I have some ideas in my head which i will try to do in the future but i have to learn some more for that and for now i think it´s ready for the first public version.

Features (for now):
- LEDWiz livetesting (for testing ports and values)
- Initial LEDWiz Settings (which will be active when loading the plugin, after game exit and after attract mode exit)
- 8 Mini User adjustable Animation Sequences (5 steps each) and each Sequence can be addressed to a key
- Attract Mode Sequence also User adjustable with 8 Steps where every time a table is changed during attract mode it moves a step on
- Night Mode toggle (simply switch between "directoutputconfig.ini" & " directoutputconfig.nofeedback.ini" by pressing 2 settable keys at the same time)

With this little PlugIn you´re able to get some nice little LED Sequences eg. a swipe from left to right & right to left with the 5 Flasher´s when browsing left or right.
I put Tooltip´s on some button´s to describe the function a bit and it´s easier to understand.
Working on a kind of Manual at the moment which is more time intensive than i thought.
A short description is included in readme.txt so i hope it´s not to hard to get it working like you want.
As i have PinballX running on my Pincab with win7x64 but without GameEx or other PlugIn´s i can test it only with this and with no other OS. Hope it´ll work for GameEx + XP or other plugin user´s also.
If there anything you find what´s not working correct feel free to commit it and i´ll try to find a fix. And also if you have suggestions or wishes for this plugin feel free to submit and i´ll see what i can do :)

Big Thanks to the following people
Tom Speirs for the great PinballX App and PluginTemp
Adultery for his Version of PlugIn Template (helped me a lot fixing some errors i got on the orig template)
raphzahn for the INI File script (as this is all new to me and i can´t figure out how Adultery´s INIUtil works correct i used this simple one in my native language)
RandyT, MikeQ & HeadKaze for the LEDWiz stuff
and finally also THX to all the VP Coding Team, Table Builders & Modders, Graphic & 3D Artists, DOF Coder and config provider, B2S Maker and any other´s helping to keep Pinball alive ;) Without all of you this would not be possible.

If you don´t like it don´t use it :)


That´s it have fun…


EDIT: Updated to Version 1.1

After some troubles i managed it to get it working so now you have an alternative attract mode which will light up your led´s in the color matching the undercab RGB color of DOF. It´s not the best way to get it going but as the romname based version gives me alot errors and poorly in PinballX the IPDB numbers are not stored in the xlm´s i found no other way. As i do the lists manually there might be the one or another typo mistake but this can be corrected easy in the ShineOn_tables_colorlist.ini :). I will update this list also from time to time if you don´t want to do it yourself.

A Kind of manual is now also included as a PDF.

If you´re updating from a prev version you have to do the configuration again but you can manually go to the ShineOn.ini and copy over the parts you want to keep to the new ini and it should work.

greetz dup3d

PS: here´s a screenshot of the configurator tool
thumb.png
V1.0 initial release
V1.01 Changelog:
-Corrected a typo error in Tooltip
-Added Buttons in the Sequence info area to test the sequences directly while in the configuration tool.
-fixed the max intense Value from 48 to 49 (highest possible Value as found out) thx to the testers
V1.1 Changelog:
-fixed "Reset All" Button (Vscrollbar issue)
-Added individual Delay Time for each of the 8 Animation Sequences (Now the Delay Time is not global anymore for all 8 sequences for more flexibilaty)
-Added alternative Attract Mode - Now you can assign your LED´s to Ports and when PinballX is in Attract Mode it´ll change the color´s
depending on which table is shown (based on the PinballX Game Description)

As my plugin is larger now than the upload max i have uploaded it to another spot :) so here´s the link to dl

http://rghost.net/59061197

  • Like 3
Link to comment
Share on other sites

  • 8 months later...

This is a really cool plugin. I just installed my first LedWiz and am trying to see what the options are to integrate it with PinballX. The config tool seems pretty powerful, I've been testing all sorts of different values with it tonight and it's fun stuff! The tutorial pdf is really nice too...once I looked at the examples, it made a lot more sense.

Link to comment
Share on other sites

  • 3 months later...

Hi,

I'm looking too on how to take advantage of ShineOn, it seems really impressive and fun to use :)

First of all I have to run my cab under Windows 10 (and I wonder if it isn't because of Windows 10 that I have issues with ShineOn), because I can't run it with Windows 7.

I have too much issues with my PinDMD v2, my KL25Z and my PCI USB 2.0 boards under Win 7 that I don't have anymore under Win 10.

The thing I don't understand is how do sequences work.

I followed the tutorial, but I only have my Menu/Exit and Start button blinking in PinballX - that's OK, it was what I wanted most, the basic LEDPlugin of PinballX makes my cab totally crash when there's a loop in a sequence.

In sequence 2 and 3, I wanted to assign my left and right flipper buttons to have my RGB leds swipe to right/left, when I browse right or left.

But it doesn't work. I can't assign joystick buttons (= my KL25Z board configured as a Pinscape Controller).

When I click on "Set Key" then on a button, the Configtool doesn't react

So I assigned keyboard keys to test, and it doesn't work too : in PinballX, I only have Menu and Start buttons blinking.

In the tutorial, everything seems to be done in only one sequence (blinking buttons and swipe to right), but how do you add and assign a second key in the same sequence ?

Also I've noticed some issues on my cab :

- It seems there's no way to unassign a key, even by putting 0 in the [Assigned Keys] of the shineon.ini file.

Even deleting the shineon.ini file, to let Configtool create a new one, doesn't fix this issue, the last assigned key reappear again and again.

I had a look in the registry, to no avail.

By mistake I assigned the A key to sequence 1 (Menu and Start button blinking), and it always show in Configtool.

- The recorded PBA and SBA don't show anymore in the sequence info section of the Configtool, that always shows 0 values.

I'm trying again to reinstall Win 7 on another SSD on my cab, just in case I've missed something during the setup that led to issues I had.

Cheers.

Link to comment
Share on other sites

  • 6 months later...

Hello Community!

 

After I was playing around with the shineon plugin of PinballX and now I have a weird Problem with Ledwiz:

 

The first Ports of my LEDWiz are 

 

Port 1 : COIN

Port 2 : START

Port 3 : LAUNCH

Port 4 : EXTRA BALL

Port 5 : MENU

Port 6 : EXIT

 

Now only the Exit Button is glowing when starting a table (sometimes the Coin LED too)

When I start the Table the Start Button is blinking instead of the Launch LED ?!

ExtraBall and Menu stay dark all time

 

BUT:

 

When I test the LEDs with Ledblinkys Simpleledtest I found out, that Port 1 to 4 take some time (about 3 Seconds) before they start glowing (low intensity, like they get not enough power) Port 5 (Menu) works fine and Port 6 (Exit) has the same Problem as Ports 1 to 4 

 

Has shineon fried my LEDWiz?

If yes - why is Port 5 still working and 1,2,3,4,6 not? (well, only in low intensity) and why is start blinking when launch should blink?

 

Please help!

 

Edit:

Tried starting a table with and without PinballX

 

Edit 2:

In PinBot START is blinking instead of Launch

In AFM COIN is blinking instead of Launch

?!?omg...

 

Edit3:

 

OK, I downloaded the LedWiz Command-Line tool form groovygamegear and LEDWiz responds to the commands as it should, so Shineon definately screwed up my Cab - but how? And how can it be undone?

Link to comment
Share on other sites

Well, all OK now...

Lets give it a second try:
The sequences for left/right and starting a table are set and working fine, but how do I manage to tell the start button, that it should blink all the time in PinballX?
What does SBA and PBA Code mean?

I´m pretty sure I could find out how to do this by trying but......erm....I am a little bit careful now ;)

 

Edit:

Nevermind, tried, set SBA and PBA and everything works fine :)
BTW: What does SBA and PBA stand for?

Link to comment
Share on other sites

  • 4 months later...

Hello Dup3d,

 

is your file still available at any place? Following your link it follows to a location where it is stated that the file has been deleted.

The plugin sound very interesting to me...

 

Kind regards,

Jannek

Link to comment
Share on other sites

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...