Sinden Lightgun MiSTer Support Published
Hi Everyone
It's been a very popular ongoing request and I'm finally publishing the prototype MiSTer Sinden Lightgun support. I'm really happy with the integration, it works really well and is really good fun, the range of cores on the MiSTer give a fantastic lightgun catalogue.
This is a demonstration video:
https://www.youtube.com/watch?v=apJ_ClXhCMA
The Sinden Lightgun is a lightgun controller compatible with modern LCD displays. Unlike other modern lightguns, the Sinden Lightgun works by tracking an onscreen border and processing the data from an onboard video camera. This allows it to work without needing to attach any external IR emitters or other devices to your display, much more like an old style lightgun. However, processing the camera data into a gun tracking position requires specialized software and usually a good amount of processing power.
Sinden Lightgun performs its video crunching on the target computer device. This initially looked like it would not be possible to run on the MiSTer as the onboard ARM cpu (800Mhz) is quite underpowered and the Linux operating system is barebones. However I have spent a lot of time developing a low resource driver that can comfortably run on the MiSTer and also removed many required components so it can run on the streamlined Linux OS.
The driver has 3 modes, low resource, default and max resource. The low resource uses as little as 4% of the core as it only crunches the video when you pull the trigger. I would recommend starting with default as that uses less resource than normal but doesn't have any noticable affect on MiSTer performance and the lightgun performance is a bit better than low resource. Max resource gives the best performance you can get and doesn't seem to have a noticeable difference on MiSTer performance except for CD based games. So on something like Duck Hunt it works fine.
I haven't needed to use overclocking but that is an option to improve performance.
At the moment (and probably forever) you do need a custom kernel, so I would recommend for testing using a fresh SD card and following the guide. The MiSTer kernel doesn't change that often so hopefully I can always generate a modified kernel with support everytime the MiSTer kernel has a major release.
Please follow the instructions here:
https://github.com/MrLightgun/MiSTerSindenDriver
I have created a youtube video of the setup process here:
https://www.youtube.com/watch?v=1SfxPMCr5xk
This project to add Sinden Lightgun support owes a huge debt of gratitude to Nolan Nicholson who assisted with the development and setup and Wiggy from the Sinden Lightgun Discord who help push to make it happen and assisted with the scripts and testing.
Any feedback good or bad from testers is appreciated including documentation feedback. Any developers that are willing to expand MiSTer lightgun support and need some sample hardware please get in touch. Such as Lightgun support on the Saturn core which would be a huge win (Virtua Cop and House Of The Dead)!
At the moment the supported cores are NES, SNES, Genesis and PSX.
Please remember this is a first proper launch of the Sinden Lightgun MiSTer prototype driver and whilst I am pretty happy with it there is always room for improvement.
Big thanks to everyone that helped created the MiSTer project and also to any users here who have supported my Sinden Lightgun project. Your support is always appreciated and valued and never taken for granted.
Mr Lightgun
Andy Sinden