Per folder configuration override for lightgun question
-
Re: Sinden Lightgun a couple of questions before I buy
@ecto You mentioned in the previous post you had sorted your Sinden games into Lightgun subfolders.
So would this be something like .../roms/psx/Lightgun/Time Crisis...
.../roms/psx/Lightgun/Point Blank...Or did you do some other way? Any pointers would be appreciated.
-
@hopwon Yes, exactly like that. This way I can load custom overrides for this folder (like the white borders) and I can automatically start the sinden driver with the
runcommand_onstart.sh
script.
Feel free to ask if you're stuck. -
@ecto , thanks for the clarification, I appreciate it.
Would you mind sharing your runcommand_onstart script with me so I can plagiarise :) ? -
@hopwon Sure, np. I just have to get back home and still remember it! ^_^;
Edit
Here you go, @hopwon :if [[ $3 = *"Lightgun"* ]] || [ $1 = "daphne" ] then echo "Lightgun 1 enabled">&2 cd ~/Lightgun/Player1 sudo mono-service LightgunMono.exe fi
The daphne part is for all the Laserdisc shooting games. In
runcommand_onend.sh
I putsudo killall "mono" sudo rm /tmp/LightgunMono* -f
to shut down the driver.
-
@ecto Thanks so much. This helps me a load to incorporate into my build.
Thanks a lot and I really appreciate the time.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.