• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 31 32 33 34 35 ... 117 Next »

Request - make mayflash dolphin bar fully usable on linux builds
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Request - make mayflash dolphin bar fully usable on linux builds
08-31-2015, 03:49 AM
#1
rtt444 Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Aug 2015
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 )
Find
Reply
09-01-2015, 01:05 AM
#2
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,828
Threads: 10
Joined: May 2012
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, ...)
Find
Reply
01-19-2016, 09:45 AM
#3
pepelinux Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Jan 2016
(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?
Find
Reply
01-22-2016, 02:46 AM
#4
rtt444 Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Aug 2015
(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
Find
Reply
01-23-2016, 09:21 AM
#5
pepelinux Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Jan 2016
(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.
Find
Reply
01-23-2016, 09:54 AM
#6
pepelinux Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Jan 2016
(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.
Find
Reply
01-24-2016, 10:59 PM
#7
rtt444 Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Aug 2015
(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
Find
Reply
01-25-2016, 01:07 AM
#8
pepelinux Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Jan 2016
(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...
Find
Reply
01-25-2016, 05:41 AM
#9
rtt444 Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Aug 2015
(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 ?
Find
Reply
01-25-2016, 06:09 AM
#10
pepelinux Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Jan 2016
(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
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode