Dreamcast (reicast) and 2 xbox360 controllers
-
Just to add that I've managed to modify the emu.cfg file by modifying the reicast.sh script, but I'm still stuck with just one xbox360 controller.
Here is my evtest comand result:
pi@retropie:/opt/retropie/emulators/reicast/bin $ evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
/dev/input/event0: Mini Keyboard
/dev/input/event1: Mini Keyboard
/dev/input/event6: Xbox Gamepad (userspace driver)
/dev/input/event7: Xbox Gamepad (userspace driver) #2
Select the device event number [0-3]: ^CAnd here is my emu.cfg file :
[input]
evdev_device_id_1 = 7
evdev_device_id_2 = 6
evdev_device_id_3 = -1
evdev_device_id_4 = -1
evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_XboxGamepad(userspacedriver)#2.cfg
evdev_mapping_2 = /opt/retropie/configs/dreamcast/mappings/controller_XboxGamepad(userspacedriver).cfg
joystick_device_id = -1 -
Hello,
You got an explanation here :
http://blog.petrockblock.com/forums/topic/dreamcast/page/2/Reicast emulator is compiled with one controler.
I make a modification on github, but it's not on retropie branch (I think I did something wrong)You can compile it on your raspberry, or I can upload this version if you want.
-
Hi Hyell,
I've read previous thread and it is exactly the issue I'm facing.
First in case someone else is reading this post, I would like to put again the python script which makes it very easy to configure my xbox360 controller.
Then I copy/paste your explanation here in order to help people who might be searching for the same answer :
Download source here : https://github.com/RetroPie/reicast-emulator
and change this file :
reicast-emulator-master\core\hw\maple\maple_cfg.cpp
At the end of file you got a function : mcfg_CreateDevices
just add one line to create a second controller
mcfg_Create(MDT_SegaController,1,5);Recompile all and replace your executable reicast file.(Save it first)
(/opt/retropie/emulators/reicast/bin/reicast by /usr/local/bin/reicast)I would love to download directly the reicast file already complied for Raspberry, but If I want to fully understand and improve my skills I should try as you said. However I must ask about the compile procedure, does it takes a very long time (I've a Pi3) ? Does it involve many new dependancies or my retropie should have it already.
And it says This branch is 24 commits behind reicast:master, should I get this version of source code (because the modification you've made is in hre), or should I get the latest.
Eventually thanks a lot you, you've liftet up my spirit today. I'm looking forward to test it with powerstone 2.
I will try it after tomorrow.
-
Compilation is not really hard. It's take few minutes on a PI3 (I got a PI3 too).
You can follow this :
Put all source code on a directory of your raspberry.
For example : /home/pi/reicast-compilAdd the line on /home/pi/reicast-compil/reicast-emulator-master/core/hw/maple/maple_cfg.cpp (end of file)
You got :
mcfg_Create(MDT_SegaController,0,5);
mcfg_Create(MDT_SegaController,1,5);On your raspberry, go to /home/pi/reicast-compil/reicast-emulator-master/shell/linux
there is a ”Makefile” file.Compilation have 2 steps :
Step 1 :
type : make (It will compilling the soft – it’s take few minutes)
if make failed, you may have to install some package (with commande sudo apt-get install package_name) like gcc.
you just have to replace package_name by the name of the missing librairy.Step 2 :
type : sudo make install ( it will installing the soft)New executable file is here :
/usr/local/bin/reicastSave your OLD file :
/opt/retropie/emulators/reicast/bin/reicastAnd replace the old file with the new one.
Restart your raspberry, and it's OK :)
I hope it will help you.
-
Hi Hyell,
Sorry for the late reply, I was away few days.
Good news and many thanks, it worked !!
I'm now able to play soul Cailbur and PowerStone 2 with my two xbox Controller, I'm so happy.
Explanations were so simple that we should wright a wiki to help others.
Many thanks
-
Is there any progress on getting a multiple controller fix for Dreamcast Ricast incorporated into RetroPie (not exclusive to xbox controllers)?
re: http://blog.petrockblock.com/forums/topic/dreamcast/page/2/#post-122182
-
@vretro :
No, I cannot commit on retropie branche, and I don't know why. It's always add a branch on my hithub account.
I will take some time to see "how work github" . -
This post is deleted! -
@Hyell I think this issue may have just recently been solved:
https://github.com/RetroPie/RetroPie-Setup/pull/1470 -
@vretro
Yes, it's a first modification on reicast launch script (auto count player). The reicast modification is in progress, but it will be OK soon -
@Hyell Thank you for your work on a fix :)
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.