dbar4gun: new Wii remote userspace driver as lightgun
-
@RynoRoe At the moment, yes.
You can try this version ofdbar4gun.sh
which you can replace the$RetroPie-Setup/scriptmodules/supplementary/dbar4gun.sh
and re-try the installation. Make a backup of$HOME/RetroPie-Setup
first, before replacing the file, and restore it afterwards. -
Hi, im really curious about this and wanting to try it out. If i understand correctly this will enable you to use two lightguns simultaneously? I have retropie setup on a Pi400 which only has 3 USB ports, and all mine are currently in use (2 controllers+ mouse). Would this work with the Dolphinbar connected through a USB dongle?
@RynoRoe did you get this working with the older version ? -
@RynoRoe the installation should work now without futher modifications, just update RetroPie-Setup and re-try the installation.
-
-
@Chef-Otis said in dbar4gun: new Wii remote userspace driver as lightgun:
I get the same errors as @RynoRoe , just on a rpi4 4.8.9
Are you fully up-to-date ?
-
@mitu Yessir, always up to date and official
-
@Chef-Otis Please post the exact error message. The latest version shouldn't have that error anymore.
-
@mitu ah yes, I see it now
Log started at: Mon 17 Feb 15:37:11 EST 2025
RetroPie-Setup version: 4.8.9 (38102024)
System: rpi4 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'dbar4gun' : dbar4gun is a Linux userspace driver for the wiimote with DolphinBar support.
= = = = = = = = = = = = = = = = = = = = =/home/pi/RetroPie-Setup/tmp/build/dbar4gun /home/pi
= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'dbar4gun' : dbar4gun is a Linux userspace driver for the wiimote with DolphinBar support.
= = = = = = = = = = = = = = = = = = = = =git clone --recursive --depth 1 --shallow-submodules --branch master "https://github.com/lowlevel-1989/dbar4gun" "/home/pi/RetroPie-Setup/tmp/build/dbar4gun"
Cloning into '/home/pi/RetroPie-Setup/tmp/build/dbar4gun'...
HEAD is now in branch 'master' at commit '45860d93fcc1d2d55e915c9352710685c791ffd8'
/home/pi
/home/pi/RetroPie-Setup/tmp/build/dbar4gun /home/pi
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.Failing command: ['/opt/retropie/supplementary/dbar4gun/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
/home/pi/RetroPie-Setup/scriptmodules/supplementary/dbar4gun.sh: line 29: /opt/retropie/supplementary/dbar4gun/bin/activate: No such file or directory
/home/pi/RetroPie-Setup/scriptmodules/supplementary/dbar4gun.sh: line 30: pip3: command not found
/home/pi/RetroPie-Setup/scriptmodules/supplementary/dbar4gun.sh: line 31: deactivate: command not found
Could not successfully install dbar4gun - dbar4gun is a Linux userspace driver for the wiimote with DolphinBar support. (/opt/retropie/supplementary/dbar4gun/bin/dbar4gun not found).
/home/piLog ended at: Mon 17 Feb 15:37:13 EST 2025
Total running time: 0 hours, 0 mins, 2 secs -
@Chef-Otis you have the latest version indeed, bu the error is puzzling since the package's dependencies specifically install
python3-virtualenv
andpython3-dev
. I can't reproduce it here.What's the output of the
locale -a
command ? Did you change the system/user language ? -
pi@retropie:~ $ locale -a
C
C.UTF-8
en_GB.utf8
POSIXthis is what I get with that command. I don't think I've change any sort of system/user language..
After applying apt-get install python3-venv I was able to install dbar4gun successfully, but I still can't actually get the wiimote working.
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.