Forum Replies Created
-
AuthorPosts
-
dgtliqdParticipant
Hi vretro,
You’re correct to assume that the device ID needs to match your controller in order to be recognized by reicast. It “usually” does a good job of identifying, but if it doesn’t, and you’re not sure what your device ID is, you need to go to the console (command line) and type: evtest | grep BTN
you’ll get something like this returned:
Available devices:
/dev/input/event0: Xgaming X-Arcade
/dev/input/event1: Xgaming X-Arcade
/dev/input/event2: Logitech USB Receiver
/dev/input/event3: Logitech USB Receiver
/dev/input/event4: Xarcade-to-Gamepad Device 1
/dev/input/event5: Xarcade-to-Gamepad Device 2
/dev/input/event6: SNES-to-Keyboard DeviceThe ‘event#’ corresponds to the device ID mapped to each of your controllers. You can then type the number of the controller you want the button mapping for and press enter, and you’ll be shown the values that correspond to each button on your controller. Hopefully this helps you get your controller set up.
dgtliqdParticipantWell, I’m glad to know I’m not the only one in this boat. Two players used to work flawlessly on the older version of reicast. Hopefully, someone has an answer. In the meantime, I’ll keep doing more searching on my end.
dgtliqdParticipantAlright folks, I have a new issue I’m hoping someone can help me resolve. I’ve been searching, but haven’t found a solution, yet. I got my X-Arcade tankstick configured and it works, but ONLY with 1 player. I’ve tried multiple things, but haven’t had any success. Below are the details of my configuration. Thanks in advance!
evtest | grep BTN output
————————-
Available devices:
/dev/input/event0: Xgaming X-Arcade
/dev/input/event1: Xgaming X-Arcade
/dev/input/event2: Logitech USB Receiver
/dev/input/event3: Logitech USB Receiver
/dev/input/event4: Xarcade-to-Gamepad Device 1
/dev/input/event5: Xarcade-to-Gamepad Device 2
/dev/input/event6: SNES-to-Keyboard Deviceemu.cfg file
————-
[audio]
backend = oss
disable = 0[config]
Debug.SerialConsoleEnabled = 0
Dreamcast.Broadcast = 4
Dreamcast.Cable = 3
Dreamcast.RTC = 1543276800
Dreamcast.Region = 3
Dynarec.Enabled = 1
Dynarec.idleskip = 1
Dynarec.unstable-opt = 0
aica.LimitFPS = 1
aica.NoBatch = 0
aica.NoSound = 0
bios.UseReios = 0
pvr.MaxThreads = 3
pvr.Subdivide = 0
pvr.SynchronousRendering = 0
pvr.rend = 0
rend.UseMipmaps = 1
rend.WideScreen = 0
ta.skip = 0[input]
evdev_device_id_1 = 4
evdev_device_id_2 = 5
evdev_device_id_3 = -1
evdev_device_id_4 = -1
evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_Xarcade-to-GamepadDevice1.cfg
evdev_mapping_1 = /opt/retropie/configs/dreamcast/mappings/controller_Xarcade-to-GamepadDevice2.cfg
joystick_device_id = -1[reios]
ElfFile =[validate]
OpenGlChecks = 0controller_Xarcade-to-GamepadDevice1.cfg file
———————————————-
[emulator]
mapping_name = Xarcade-to-Gamepad Device 1
btn_escape = 314[dreamcast]
btn_a = 307
btn_b = 308
btn_c = 310
btn_d =
btn_x = 304
btn_y = 305
btn_z = 311
btn_start = 315
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 306
btn_trigger_right = 309
axis_dpad1_x =
axis_dpad1_y =
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =controller_Xarcade-to-GamepadDevice2.cfg file
———————————————-
[emulator]
mapping_name = Xarcade-to-Gamepad Device 2
btn_escape = 314[dreamcast]
btn_a = 307
btn_b = 308
btn_c = 310
btn_d =
btn_x = 304
btn_y = 305
btn_z = 311
btn_start = 315
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 306
btn_trigger_right = 309
axis_dpad1_x =
axis_dpad1_y =
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =dgtliqdParticipantYou’re welcome, Thak! I’m just glad it helped you and others out.
dgtliqdParticipantOk, so I finally found the solution by doing a little more web searching. This “should” help anyone experiencing issues setting up their controller(s). Disclaimer: so far I’ve only been able to set up 1 player with my X-Arcade tankstick, but it’s start. All credit goes to user, hoechst, on this thread (2nd post down):
Can’t manage to configure Dreamcast controls
byu/Stifu inRetroPieHis post will explain how to assign the correct key values to your controller and what ID is assigned to it. I will recommend that anyone who’s been altering the emu.cfg and controller mapping file, should delete all the reicast emulator files from RetroPie and reinstall from Source Binary. to start with a fresh install.
dgtliqdParticipantSince others are having the same issue with their controllers, maybe the question should be posed a little differently. Does anyone know HOW to get the hex values for the controller inputs in the newer version of reicast?
dgtliqdParticipantI too would like to know how to get my X-Arcade Tankstick controls working again. The controls worked fine in RetroPie 3.2, but after updating to 3.6, it appears the method to configure the controls has changed. Below are the contents of my 2 config files from RetroPie 3.6. I’ve also included the old, working emu.cfg file from RetroPie 3.2 at the bottom. Thanks in advance!
emu.cfg
—————————————–
[Xarcade-to-Gamepad Device]
button.0 = Btn_X
button.1 = Btn_Y
button.2 = Axis_LT
button.3 = Btn_A
button.4 = Btn_B
button.5 = Axis_RT
button.8 = Quit
button.9 = Btn_Start[audio]
backend = oss
disable = 0[config]
Debug.SerialConsoleEnabled = 0
Dreamcast.Broadcast = 4
Dreamcast.Cable = 3
Dreamcast.RTC = 2088437481
Dreamcast.Region = 3
Dynarec.Enabled = 1
Dynarec.idleskip = 1
Dynarec.unstable-opt = 0
aica.LimitFPS = 1
aica.NoBatch = 0
aica.NoSound = 0
bios.UseReios = 0
pvr.MaxThreads = 3
pvr.Subdivide = 0
pvr.SynchronousRendering = 0
pvr.rend = 0
rend.UseMipmaps = 1
rend.WideScreen = 0
ta.skip = 0[input]
evdev_device_id_1 = 0
evdev_device_id_2 = -1
evdev_device_id_3 = -1
evdev_device_id_4 = -1
joystick_device_id = -1[reios]
ElfFile =[validate]
OpenGlChecks = 0controller_Xarcade-to-GamepadDevice1.cfg
—————————————–
[emulator]
mapping_name = Xarcade-to-Gamepad Device 1
btn_escape = 296[dreamcast]
btn_a = 291
btn_b = 292
btn_c =
btn_d =
btn_x = 288
btn_y = 289
btn_z =
btn_start = 297
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =[compat]
btn_trigger_left = 294
btn_trigger_right = 295
axis_dpad1_x =
axis_dpad1_y =
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =OLD, Working emu.cfg from RetroPie 3.2
—————————————–
[config]
Dynarec.Enabled=1
Dynarec.idleskip=1
Dynarec.unstable-opt=0
Dreamcast.Cable=3
Dreamcast.RTC=1543276800
Dreamcast.Region=3
Dreamcast.Broadcast=4
aica.LimitFPS=1
aica.NoBatch=0
aica.NoSound=0
rend.UseMipmaps=1
rend.WideScreen=0
pvr.Subdivide=0
ta.skip=0
pvr.rend=0
Debug.SerialConsoleEnabled=0
bios.UseReios=0[validate]
OpenGlChecks=0[Xarcade-to-Gamepad Device]
button.0=Btn_X
button.1=Btn_Y
button.2=Axis_LT
button.3=Btn_A
button.4=Btn_B
button.5=Axis_RT
button.8=Quit
button.9=Btn_Start
axis.0=Axis_X
axis.1=Axis_Y
axis.2=
axis.3=
axis.4=
axis.5=
button.6=
axis.6=
button.7=
axis.7=
axis.8=
axis.9=
button.10=
axis.10=
button.11=
axis.11=
button.12=
axis.12=
button.13=
axis.13=
button.14=
axis.14=
button.15=
axis.15=
button.16=
axis.16=
button.17=
axis.17=
button.18=
axis.18=
button.19=
axis.19=
button.20=
axis.20=
button.21=
axis.21=
button.22=
axis.22=
button.23=
axis.23=
button.24=
axis.24=
button.25=
axis.25=
button.26=
axis.26=
button.27=
axis.27=
button.28=
axis.28=
button.29=
axis.29=
button.30=
axis.30=
button.31=
axis.31=[reios]
ElfFile=dgtliqdParticipantI figured as much. I’ve tried multiple sets, but haven’t found the correct one for lr-mame2003/10, yet.
dgtliqdParticipantDid some more testing with lr-mame2003 and lr-mame2010 as well and I get through the screens where mame asks you to move the joystick left/right and I get the message:
One or more ROMs/CHDs for this game are incorrect. The game may not run correctly.
When I move the joystick left/right again, the screen flashes and the game fails to load and generates the info in the screenshot.
dgtliqdParticipantFor anyone else trying to troubleshoot, here’s the error message from the console when you exit (select+start) the emulator after the setup menu (in my previous screenshot):
kinst: DrvInit
kinst: loading image at kinst2.img
kinst: harddisk image not found!kinst: DrvExitI’ve tried creating a ‘kinst2’ folder in the pifba roms folder and placing different image file variations (kinst2.chd, kinst2.img, etc) in the folder. I’ve also tried placing the image files directly in the pifba roms folder. I’ve even tried zipping the rom and image files together with no luck.
I should also note that when the setup menu comes up, moving the controller and pressing buttons does nothing. I assume it because this menu was navigated using actual, physical switches in the arcade cabinet.
dgtliqdParticipantI’ve gotten lr-fba-next to load the rom, but it doesn’t detect the image file (see my screenshot). Maybe I’m doing something wrong and someone with a little more knowledge knows what the issue is. I tried lr-fba-next because I came across a link online that had a compatibility list of games for the PC version of FBANext and KI/KI2 were listed.
dgtliqdParticipantThis is the one, I got:
Kanex Pro HDMI to Component Converter with Audio for PS4, Xbox One, Full HD 1080p (HDRGBRL) https://www.amazon.com/dp/B00BW0XXZ6/ref=cm_sw_r_awd_26W-vbQQ9SF9K
dgtliqdParticipantI’m having the exact same issue. My controller (X-Arcade Tankstick) worked perfectly on v2.6 with pisnes. I can use my controller with every other emulator, but when I load pisnes, none of the buttons on the Tankstick work even though I’m using the same config file that worked on v2.6.
dgtliqdParticipantSo I fixed my issue by adding the path for the reicast script AND explicitly adding the .sh extension so that the entry in my es_systems.cfg file looks like so:
/opt/retropie/emulators/reicast/reicast.sh
Now, however, I’m getting a new message/error when I try to run the emulator:
Reading the entire Reicast emulator into memory to execute from there…
LICENSE' ->
tmpfs/LICENSE’
nosym-reicast.elf' ->
tmpfs/nosym-reicast.elf’
README.md' ->
tmpfs/README.md’
reicast.elf' ->
tmpfs/reicast.elf’
reicast.sh' ->
tmpfs/reicast.sh’
cp: omitting directory ‘tmpfs’
Personality: 00C00000
Updated personality: 00800000
Error getting current terminal settings
Fatal error: failed to setup curses!in main -> ../../linux-dist/main.cpp : 995
/opt/retropie/emulators/reicast/reicast.sh: line 10: 2966 Trace/breakpoint trap aoss ./
reicast.elf -config config:homedir=”/home/pi” -config config:image=”$1″
Freeing up memory…Not sure if it’s helpful, but I installed the emulator from the experimental section of the setup script and copied over the 2 required BIOS files.
Thanks!
dgtliqdParticipantHi All,
Just trying to run the emulator, but I get an error that “_SYS_ can’t be found”. This is what my Dreamcast entry looks like in the es_systems.cfg file. I probably missed a simple step, but I can’t for the life of me, get this thing to run. Thanks in advance!
<system>
<fullname>Dreamcast</fullname>
<name>dreamcast</name>
<path>~/RetroPie/roms/dreamcast</path>
<extension>.cdi .CDI</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ dreamcast %ROM%</command>
<platform>dreamcast</platform>
<theme>dreamcast</theme>
</system>dgtliqdParticipantHi belangem,
I got it running using the FBA-libretro core (through RetroArch) and AdvMame can also run it. My personal recommendation would be to use the FBA-libretro core. Hope this helps!
dgtliqdParticipantGreat, thanks!
dgtliqdParticipantNo worries. If you got it, great, if not, I’ll continue my search for the perfect CRT shader. This one is as perfect as possible, but like you stated, it comes with a performance hit.
Have you found any other shaders that are a close second to this quality?
Thanks again!
dgtliqdParticipantHello billyt-pilgrim, any chance you can upload/post a copy of the crt-interlaced-halation.glsl shader you have working in RetroArch? I’ve spent a good amount of time, trying to find an already converted version and the one I did manage to find (multi-pass) doesn’t load. I get the error below when I try to load it:
RetroArch [ERROR] :: Failed to link program #3.
RetroArch [ERROR] :: Failed to create GL program #3.
RetroArch [ERROR] :: [GL]: Failed to init shader, falling back to stock.
RetroArch [ERROR] :: [GL]: Stock GLSL shaders will be used.The screenshot you posted is EXACTLY, the look I’m looking for.
Much appreciated!
-
AuthorPosts