Dolphin, the GameCube and Wii emulator - Forums

Full Version: Request - make mayflash dolphin bar fully usable on linux builds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
as the dolphin bar isn't fully supported on the Linux builds it makes it near impossible to play games requiring wiimotes (most wii games)

i don't know if anyone else wants this or how much work it would take but if its possible could this be implemented?



PS: i can help test any builds (as long as it doesn't require knowing programming )
Just check out flacs (Tilka on github) "libusb" or "hidapi" branch. If you want to get them merged, rewrite the wiimote scanner API to support multiple scanners (virtual interface, ...)
(09-01-2015, 01:05 AM)degasus Wrote: [ -> ]Just check out flacs (Tilka on github) "libusb" or "hidapi" branch. If you want to get them merged, rewrite the wiimote scanner API to support multiple scanners (virtual interface, ...)

Hi,
I am using the dolphin bar which is connected to the PC via usb.

I have compiled the dolphin from https://github.com/Tilka/dolphin/tree/dolphinbar_linux. It works with one wiimote but I don't know why when I try to play with 2 wiimotes, it behaves like detects the second wiimote but the buttons don't have any effect, neither it shows the pointer of the second wiimote in the screen.

Is there anyway to debug it and fix it?
(01-19-2016, 09:45 AM)pepelinux Wrote: [ -> ]Hi,
I am using the dolphin bar which is connected to the PC via usb.

I have compiled the dolphin from https://github.com/Tilka/dolphin/tree/dolphinbar_linux. It works with one wiimote but I don't know why when I try to play with 2 wiimotes, it behaves like detects the second wiimote but the buttons don't have any effect, neither it shows the pointer of the second wiimote in the screen.

Is there anyway to debug it and fix it?

can you please explain how you got it to work it what distro etc i just cant get it to work as a controller
(01-22-2016, 02:46 AM)rtt444 Wrote: [ -> ]can you please explain how you got it to work it what distro etc i just cant get it to work as a controller

Hello,
I am using ubuntu trusty.

I downloaded the source from githup in zip format.

Then I extracted it.

I installed a lot of packages to be able to compile it
sudo apt-get install cmake cmake-data cpp-4.9 g++-4.9 gcc-4.9 gir1.2-gtk-2.0 git git-man libao-dev libasan1 libasound2-dev libatk1.0-dev libavahi-client-dev libavahi-common-dev libavcodec-dev libavformat-dev libavutil-dev libbluetooth-dev libcairo-script-interpreter2 libcairo2-dev libcilkrts5 libdbus-1-dev libdrm-dev liberror-perl libevdev-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcc-4.9-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev liblsan0 liblzo2-dev libopenal-dev libpango1.0-dev libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libpthread-stubs0-dev libpulse-dev libreadline-dev libreadline6-dev libsfml-audio2 libsfml-dev libsfml-graphics2 libsfml-window2 libsm-dev libsoil-dev libstdc++-4.9-dev libswscale-dev libtinfo-dev libubsan0 libudev-dev libusb-1.0-0-dev libusb-1.0-doc libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev

also made a link from /usr/bin/c++ to /usr/bin/g++-4.9

then I got inside the extracted directory and run the following commands:
mkdir build && cd build
cmake ..
make -j7

once it finished successfully I run the binary:
dolphin-dolphinbar_linux/build$ ./Binaries/dolphin-emu


The first time it was running it was an error, I had to install fglrx-updates

Probably I have missed some step, let me know if you have problems, so probably I will be able to help you to compile it.


Regards.
(09-01-2015, 01:05 AM)degasus Wrote: [ -> ]Just check out flacs (Tilka on github) "libusb" or "hidapi" branch. If you want to get them merged, rewrite the wiimote scanner API to support multiple scanners (virtual interface, ...)

Hello Degasus,

I hope all go well with you.

I was taking a look to the source code but I don't understand why you said to rewrite the wiimote scanner API, it seems the scanner is made to detect a number of wiimotes, why does it need to be rewritten to allow multiple scanners?

Could you please give some light to follow?

Thanks.
(01-23-2016, 09:21 AM)pepelinux Wrote: [ -> ]Hello,
I am using ubuntu trusty.

I downloaded the source from githup in zip format.

Then I extracted it.

I installed a lot of packages to be able to compile it
sudo apt-get install cmake cmake-data cpp-4.9 g++-4.9 gcc-4.9 gir1.2-gtk-2.0 git git-man libao-dev libasan1 libasound2-dev libatk1.0-dev libavahi-client-dev libavahi-common-dev libavcodec-dev libavformat-dev libavutil-dev libbluetooth-dev libcairo-script-interpreter2 libcairo2-dev libcilkrts5 libdbus-1-dev libdrm-dev liberror-perl libevdev-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcc-4.9-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev liblsan0 liblzo2-dev libopenal-dev libpango1.0-dev libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libpthread-stubs0-dev libpulse-dev libreadline-dev libreadline6-dev libsfml-audio2 libsfml-dev libsfml-graphics2 libsfml-window2 libsm-dev libsoil-dev libstdc++-4.9-dev libswscale-dev libtinfo-dev libubsan0 libudev-dev libusb-1.0-0-dev libusb-1.0-doc libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev

also made a link from /usr/bin/c++ to /usr/bin/g++-4.9

then I got inside the extracted directory and run the following commands:
mkdir build && cd build
cmake ..
make -j7

once it finished successfully I run the binary:
dolphin-dolphinbar_linux/build$ ./Binaries/dolphin-emu


The first time it was running it was an error, I had to install fglrx-updates

Probably I have missed some step, let me know if you have problems, so probably I will be able to help you to compile it.


Regards.

got it running but i cant seem to get the wiimote to be recognized as a controller
(01-24-2016, 10:59 PM)rtt444 Wrote: [ -> ]got it running but i cant seem to get the wiimote to be recognized as a controller

I got it working as a real wiimote.

Try to run it as root. If it works as root, then the problem is about permissions...
(01-25-2016, 01:07 AM)pepelinux Wrote: [ -> ]I got it working as a real wiimote.

Try to run it as root. If it works as root, then the problem is about permissions...

works as root

would you have any idea what the permissions problem could be or any advice on finding out any files i should look at etc ?
(01-25-2016, 05:41 AM)rtt444 Wrote: [ -> ]works as root

would you have any idea what the permissions problem could be or any advice on finding out any files i should look at etc ?

sure, run as your user:

strace ./dolphin-emu 2>&1|grep denied

then you will see which files it can't open because permissions
Pages: 1 2