Main > Software Forum
LED control from Mame--in over my head again?
1UP:
--- Quote ---Don't tell me you've bought a ledwiz just for your guns.
--- End quote ---
The guns may have been a contributing factor, but I mainly wanted to be able to light the controls for each game, and have attract modes on my cab.
--- Quote ---So disregard the other potential issues as I could get the ledw to flash a led fast enough for opwolf, which is quite impressive actually, both for the led and the device.
--- End quote ---
Yep, already tested that with a looped animation in LEDBlinky, and it was more than fast enough (with the solenoids even) to replicate the rapid fire in T2.
--- Quote ---I'll add the global pulse speed for the next release, but in the mean time, you can make a ledwiz script, not a regular script and set the loop number to a value high enough to where it lasts longer than the overheat time and you should be golden.
--- End quote ---
What do you mean by an LED-Wiz script? You mean something written for Andy's software? How about a LEDBLinky lwax animation file? Those are easy to make. :)
1UP:
Damn, I tried making an othunder.lwa file in the LED-Wiz software, that just flickers on and off. I put that in my othunder.ini file as led0=lwa othunder 01 %s% but it just crashes MH when I run the game. What am I missing? :(
Howard_Casto:
I don't have a clue.... poorly written script?? He changed the format?? I just pass the script along to the device, I don't have a clue in regards to it's format or anything. I do know that you have to manually add the %s% bits inside the script because his software doesn't support it. You also need to make sure the file loops.
I wouldn't sweat it man. Next version I'll have the loop implemented on mamehooker scripts and they are a lot easier to write and I can confirm they work.
1UP:
I agree that your scripts are a lot easier to deal with. I can tell at a glance what is going on now. I was totally lost with the lwa script syntax... I did try calling all of his demo scripts from MH and all of them crashed it. So it wasn't just my poor scripting skills. :)
Any ETA on the next version? I can hardly wait to start playing with this stuff. I'm looking forward to any new developments on the T2 front as well. Figures that the game I really wanted is the toughest to crack. I mean Revolution X? Just the intro makes me cringe...
Thanks!
Howard_Casto:
Well I'm currently buttoning up the display files and getting their webpage ready. Then I need to setup an examples page.
Right now I'm currently trying to implement proper 7-segment display support for the display files like mame does. Having issues with the renderer though.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version