Posts made by delferius
-
RE: [7.3-Beta29][FORK] Controler issue in emulators
@davidb2111
First, thanks for your help.OpenJVS is a python module to emulate Joypad from RS485 JVS arcade protocol.
My module talk to the arcade IO-board throught Serial connection and trigger inputs over uinput virtual joypad device.You can find the source code over here:
https://gitlab.com/gaper-private/openjvs/-/tree/python3All work perfect on emulation station. But when I want to used OpenJVS controller on emulator, I must select "Game library driver" instead of "automatic" driver in the ES controller setting.
I use 4 different joypads on my system:
8bitdo SF30
8bitdo M30
openjvs_a1p1
openjvs_a1p28bitdo controllers seem to work only with "System driver" and OpenJVS with "Game library driver". So I can't use 8bitdo and OpenJVS controllers at the same times (to play ninja turtle with 4 player for example).
To reproduce the issue you can use a python script with uinput library. If you want I can write it for you.
-
RE: [7.3-Beta29][FORK] Controler issue in emulators
@davidb2111 Is there a way to solve my problem? In the 6.1.1 version all worked fine. What's exactly changed behind this driver setting?
-
RE: [7.3-Beta29][FORK] Controler issue in emulators
@davidb2111
When I select "Game library driver" instead of "automatic" driver in the ES controller settings my openJVS controller work as expected but not the 8bitdo SF30 controller. What exactly happen on usage of one or the other driver settings? -
RE: [7.3-Beta29][FORK] Controler issue in emulators
@davidb2111
Finally when I disable my openJVS driver, all work perfect, my emulate controller seem to enter in conflict with something.
For information, I had no issues with my driver on the 6.1.1 forked release :/. -
RE: [7.3-Beta29][FORK] Controler issue in emulators
Fresh and clean build test of this morning. Always the same issue.
I make my current build from the master, I will try from 7.3-Beta 30. -
RE: [7.3-Beta29][FORK] Controler issue in emulators
@davidb2111 No I skip joystick (analog) part and fill dpad for openjvs a1p1/openjvs a1p2 controllers.
For 8bitdo SF30 I assign all inputs and it's the same issue. -
RE: [7.3-Beta29][FORK] Controler issue in emulators
@davidb2111 I have only forward the interessant part of the file below. Tell me if you want the entire file.
<inputConfig type="joystick" deviceName="openjvs_a1p1" deviceGUID="000000006f70656e6a76735f61317000" deviceNbAxes="2" deviceNbHats="0" deviceNbButtons="8"> <input name="left" type="axis" id="0" value="1" code="0" /> <input name="down" type="axis" id="1" value="-1" code="1" /> <input name="right" type="axis" id="0" value="-1" code="0" /> <input name="up" type="axis" id="1" value="1" code="1" /> <input name="r1" type="button" id="5" value="1" code="261" /> <input name="l1" type="button" id="2" value="1" code="258" /> <input name="y" type="button" id="0" value="1" code="256" /> <input name="x" type="button" id="1" value="1" code="257" /> <input name="b" type="button" id="3" value="1" code="259" /> <input name="a" type="button" id="4" value="1" code="260" /> <input name="hotkey" type="button" id="7" value="1" code="263" /> <input name="select" type="button" id="7" value="1" code="263" /> <input name="start" type="button" id="6" value="1" code="262" /> </inputConfig> <inputConfig type="joystick" deviceName="openjvs_a1p2" deviceGUID="000000006f70656e6a76735f61317000" deviceNbAxes="2" deviceNbHats="0" deviceNbButtons="8"> <input name="left" type="axis" id="0" value="1" code="0" /> <input name="down" type="axis" id="1" value="-1" code="1" /> <input name="right" type="axis" id="0" value="-1" code="0" /> <input name="up" type="axis" id="1" value="1" code="1" /> <input name="r1" type="button" id="5" value="1" code="261" /> <input name="l1" type="button" id="2" value="1" code="258" /> <input name="y" type="button" id="0" value="1" code="256" /> <input name="x" type="button" id="1" value="1" code="257" /> <input name="b" type="button" id="3" value="1" code="259" /> <input name="a" type="button" id="4" value="1" code="260" /> <input name="hotkey" type="button" id="7" value="1" code="263" /> <input name="select" type="button" id="7" value="1" code="263" /> <input name="start" type="button" id="6" value="1" code="262" /> </inputConfig>
I also try a full build with a clean output folder, in case it get corrupted...
-
RE: [7.3-Beta29][FORK] Controler issue in emulators
Hi @davidb2111 and thanks for your help!
My controllers are correctly detected by jstest and the input events works for both (openjvs_a1p1/openjvs_a1p2):
# sdl2-jstest -l error: failed to read gamecontrollerdb.txt: Invalid RWops Found 3 joystick(s) Joystick Name: '8Bitdo SF30 Pro' Joystick Path: '/dev/input/event4' Joystick GUID: 05000000c82d00000061000000010000 Joystick Number: 0 Number of Axes: 4 Number of Buttons: 16 Number of Hats: 1 Number of B***s: 0 GameControllerConfig: Name: '8BitDo SF30 Pro' Mapping: '05000000c82d00000061000000010000,8BitDo SF30 Pro,a:b0,b:b1,back:b10, dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b2,leftshoulder:b6,leftstic k:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrig ger:a4,rightx:a2,righty:a3,start:b11,x:b3,y:b4,hint:SDL_GAMECONTROLLER_USE_BUTTO N_LABELS:=1,' Axis code 0: 0 Axis code 1: 1 Axis code 2: 2 Axis code 3: 5 Button code 0: 304 Button code 1: 305 Button code 2: 306 Button code 3: 307 Button code 4: 308 Button code 5: 309 Button code 6: 310 Button code 7: 311 Button code 8: 312 Button code 9: 313 Button code 10: 314 Button code 11: 315 Button code 12: 316 Button code 13: 317 Button code 14: 318 Button code 15: 319 Hat code 0: 16 Joystick Name: 'openjvs_a1p1' Joystick Path: '/dev/input/event2' Joystick GUID: 000000006f70656e6a76735f61317000 Joystick Number: 1 Number of Axes: 2 Number of Buttons: 8 Number of Hats: 0 Number of B***s: 0 GameControllerConfig: missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG) Axis code 0: 0 Axis code 1: 1 Button code 0: 256 Button code 1: 257 Button code 2: 258 Button code 3: 259 Button code 4: 260 Button code 5: 261 Button code 6: 262 Button code 7: 263 Joystick Name: 'openjvs_a1p2' Joystick Path: '/dev/input/event3' Joystick GUID: 000000006f70656e6a76735f61317000 Joystick Number: 2 Number of Axes: 2 Number of Buttons: 8 Number of Hats: 0 Number of B***s: 0 GameControllerConfig: missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG) Axis code 0: 0 Axis code 1: 1 Button code 0: 256 Button code 1: 257 Button code 2: 258 Button code 3: 259 Button code 4: 260 Button code 5: 261 Button code 6: 262 Button code 7: 263
#sdl2-jstest -t 1 Joystick Name: 'openjvs_a1p1' Joystick Number: 0 Axes 2: 0: 0 [ # ] 1: 0 [ # ] Buttons 8: 0: 0 [ ] 1: 0 [ ] 2: 1 [#] 3: 0 [ ] 4: 0 [ ] 5: 0 [ ] 6: 0 [ ] 7: 0 [ ] Hats 0: B***s 0: Press Ctrl-c to exit
Everything is ok on emulationstation, I can easily remap buttons and navigate with all my controllers but when I start any emulators nothing response.
-
[7.3-Beta29][FORK] Controler issue in emulators
Hi everyone!
I have build my own recalbox version for testing my developpement from the master branch.
I haven't any input in retroarch emulators, otherwise I haven't any problem on emulationstation.
It's the same problem with my openJVS and my 8bitdo SF30 controllers.
Someone have test the last beta on odroidxu4 and have the same issue?MR:
https://gitlab.com/recalbox/recalbox/-/merge_requests/2020 -
RE: 6.1.1 XU4 PS3 Bluetooth
@acris Bon je pense qu'il y a un soucis.
Impossible de connecter la manette en bluetooth en auto.
Lorsque j'essai la connexion en manuel via SSH j'ai cette erreur:# /recalbox/scripts/bluetooth/simple-agent hci0 "XX:XX:XX:XX:XX:XX" Agent registered Device paired Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 604, in msg_r eply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/recalbox/scripts/bluetooth/simple-agent", line 119, in pair_reply dev_connect(dev_path) File "/recalbox/scripts/bluetooth/simple-agent", line 38, in dev_connect dev.Connect() File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_ blocking message, timeout) dbus.exceptions.DBusException: org.bluez.Error.Failed: Input/output error ^[[A ^CTraceback (most recent call last): File "/recalbox/scripts/bluetooth/simple-agent", line 182, in <module> mainloop.run()
Lorsque j'utilise bluetoothctl pour connecter ma manette, je vois bien que l'adresse mac de ma manette est reconnu mai la connection retry en boucle sans aboutir:
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Je vais essayer de debug le script.
-
RE: 6.1.1 XU4 PS3 Bluetooth
@acris Merci mais j'ai déjà fais le tour des différents post à ce sujet.
J'avais même ouvert un post il y a 6 mois que je ne peux plus alimenter (fermé).
https://forum.recalbox.com/topic/18299/manette-ps3-officiel-xu4-recalbox-6-0/4?_=1587899535189Ma manette est une manette officiel que j'ai eu avec ma PS3 slim:
- J'ai essayé de laisser la manette branché en filaire plusieurs minutes avec et sans redémarrage, avec et sans reset.
- J'ai essayé de basculer en driver officiel, shanwan, bluez.
- J'ai essayé avec une autre manette.
Je vous avoue que je suis un peu perdu
-
6.1.1 XU4 PS3 Bluetooth
Bonjour,
J'aimerais savoir si quelqu'un à déjà réussi à utiliser une manette PS3 officiel en bluetooth avec recalbox 6.1.1 sur odroid XU4?
La manette fonctionne très bien en filaire mais impossible de l'associer en bluetooth.
J'ai essayé de reset la manette et de changer le driver utilisé mais rien n'y fait.Je n'ai pourtant pas de soucis avec mes manette 8bitdo M30 et SF30 pro en bluetooth .
Pour info j'utilise un dongle bluetooth CSR 4 générique:
https://www.amazon.fr/gp/product/B06XTN94X9/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 -
RE: Recalbox 6.1.1 WIFI R8188EU dongle
@OyyoDams -D is used to specify the driver type.
We can see in this documentation https://wiki.archlinux.org/index.php/wpa_supplicant#Manual,
"west" driver is deprecated even if it's the best solution for wide compatibility.I think, the best solution is to update the script to changed the driver argument when the connection fails with a wrong driver issue.
-
RE: Recalbox pc dans borne naomi CRT
@acris pas de soucis de mon coté, il faut juste que je fasse d'abord une MR sur le repo d'OPEN-JVS afin de pointer sur ce repo lors de l'ajout du package dans Recalbox.
N'hésitez pas à me MP pour m'expliquer comment contribuer en respectant votre workflow.
-
RE: Recalbox pc dans borne naomi CRT
Salut @daraff,
Ma recalbox est connecté à ma sega naomi mais avec un XU4:
- Pour l'image il faut que ta résolution d'affichage soit réglé en 640x480.
- Pour le panel tu as 2 solutions:
- JVS-PAC (adaptateur JVS usb pour pc) http://jvspac.kirurg.org/
- OPEN-JVS (logiciel python qui fait comme le JVS PAC avec un simple dongle usb RS485) https://github.com/TheOnlyJoey/openjvs
Pour info l'utilisation de l'OPEN-JVS nécessite de compiler sa propre version de recalbox afin d'y ajouter les lib nécessaires au fonctionnement d'OPEN-JVS (uinput principalement).
Il faudra aussi penser à passer le ratio des émulateurs en custom afin que l'image soit bien centré sur chaque émulateurs.
J'ai fait un fork d'OPEN-JVS et de RECALBOX de mon coté, si il y a assez de gens intéressé je pourrais faire un repo publique.
D'ailleurs @Bkg2k on pourrait si vous voulez l'intégrer dans une version?
-
Recalbox 6.1.1 WIFI R8188EU dongle
Hi everyone,
Since 6.1.1, my odroid XU4 board can't be attached the wifi gateway.
To fix it, just replace the /etc/init.d/S09wifi file line 99 bywpa_supplicant -B -i "$interface" -c "$wpa_file" -Dwext
My dongle is a TL-WN725N with a realtek r8188eu ship.
-
RE: Manette PS3 Officiel XU4 Recalbox 6.0
Il me semble que c'était la valeur par défaut au départ avant que j'essai "official".
Mon câble usb fonctionne bien car la manette est bien reconnu et fonctionne bien en filaire.
Le problème semble plus lié au bluetooth. -
Manette PS3 Officiel XU4 Recalbox 6.0
Bonjour à tous,
Je n'arrive pas à synchro ma manette PS3 en bluetooth sur recalbox 6.0 malgré avoir bien suivi le tuto du wiki:
https://github.com/recalbox/recalbox-os/wiki/Notice-(FR)#ps3controllersJ'ai essayé de changer le driver utilisé par l'officiel:
controllers.ps3.driver=officialPour info j'utilise un dongle bluetooth CSR 4 générique:
https://www.amazon.fr/gp/product/B06XTN94X9/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1Je n'ai aucun soucis avec mes manette 8bitdo M30 et SF30 pro en bluetooth.