Unfortunately the previous lightgun software would see the pedal as a lightgun which could cause problems, especially if you are using barebones which looks for the first and second lightgun
it can find.

This LightgunMono.exe is fixed so it ignores pedals and any other serial devices except Sinden lightguns.  You just need to overwrite the LightgunMono.exe file, and if using a 2player instance like in barebones, remember to copy it over LightgunMono2.exe.

In LightgunMono.exe.config currently you usually point at a serial address inside SerialPortWrite:

<add key="SerialPortWrite" value="/dev/ttyACM0" />

However this serial port number may be a pedal.

So now you need to switch it to

<add key="SerialPortWrite" value="0" />

The 0 just means find the first lightgun connected to the system.

In your 2 player folder, it needs to be:

<add key="SerialPortWrite" value="1" />

Which means find the second lightgun available.

Inside barebones there is several folders as you have recoil, non-recoil and also arcade, so remember to add 0 to any that are Player1 and 1 for any that are Player2, and of course replace LightgunMono.exe.


To get the pedal working in Time Crisis on the Raspberry Pi 4:
Update Sinden Linux software as described above
Update pcsx-rearmed to the latest binary version in the retropie setup.
Update pcsx-rearmed config with these values:
/opt/retropie/configs/psx/retroarch.cfg 

Player 1
input_libretro_device_p1 = "260"
input_player1_joypad_index = "0"
input_player1_gun_aux_a_mbtn = "2"
input_player1_gun_aux_b_mbtn = "3"
input_player1_gun_aux_b = "num1"
input_player1_gun_trigger_mbtn = "1"
input_player1_gun_aux_a = "c"

Player 2
input_libretro_device_p2 = "260"
input_player2_joypad_index = "1"
input_player2_gun_aux_a_mbtn = "2"
input_player2_gun_aux_b_mbtn = "3"
input_player2_gun_trigger_mbtn = "1"
input_player2_gun_aux_b = "num2"

There is a copy of this config in the Sinden Lightgun software download in the pedal folder.


