So I wanted light output via PacDrive in SM 3.9 and added it...
Based on my earlier work I also improved the Win32Parallel light output to use the inpout32.dll (which works better and doesn't have the license issues of parallel_lights_io.dll) and I also set it up to use an external .ini file to set the port-addresses.
The source code and all necessary file to make that work can be downloaded here: http://web-nine.com/files/twistedsymphonys_sm_3.9_lights_package.zip
The pin assignment follows the same pattern as the parallel ports so
1-8 are cabinet lights, 9-16 are platform lights.
detailed pinouts can be found here: http://beta.stepmania.com/forums/general-questions/show/83#post543
------------
These are both setup for Win32, though making them work in Linux would be very easy to do (I'm just not setup for compiling or testing in Linux)
Similarly these could easily be made to work with SM 5.0 or whatever, I built this in 3.9 because I'm using Beware's DDR Extreme simulation and wanted light output in that.
Feel free to add this to the SM 5.x source if you'd like so long as you give me appropriate credit.
1 thing that could be improved is that the parallel lights get their port addresses from a separate .ini file, I would think ideally you'd want it to get it's values from the StepMania.ini file, however I don't know the best way to do this (and my request for some insight was ignored)... so I'll leave that improvement to someone else who is more familiar with inner workings of SM.
-------------------
If you have any questions or need any help let me know.
Based on my earlier work I also improved the Win32Parallel light output to use the inpout32.dll (which works better and doesn't have the license issues of parallel_lights_io.dll) and I also set it up to use an external .ini file to set the port-addresses.
The source code and all necessary file to make that work can be downloaded here: http://web-nine.com/files/twistedsymphonys_sm_3.9_lights_package.zip
The pin assignment follows the same pattern as the parallel ports so
1-8 are cabinet lights, 9-16 are platform lights.
detailed pinouts can be found here: http://beta.stepmania.com/forums/general-questions/show/83#post543
------------
These are both setup for Win32, though making them work in Linux would be very easy to do (I'm just not setup for compiling or testing in Linux)
Similarly these could easily be made to work with SM 5.0 or whatever, I built this in 3.9 because I'm using Beware's DDR Extreme simulation and wanted light output in that.
Feel free to add this to the SM 5.x source if you'd like so long as you give me appropriate credit.
1 thing that could be improved is that the parallel lights get their port addresses from a separate .ini file, I would think ideally you'd want it to get it's values from the StepMania.ini file, however I don't know the best way to do this (and my request for some insight was ignored)... so I'll leave that improvement to someone else who is more familiar with inner workings of SM.
-------------------
If you have any questions or need any help let me know.
Last edited: 26 February 2014 9:05am