Lightgun support added to PCSX-Rearmed
-
@MrLightgun ok so retroarch is 1.7.6, my Lr-FCEUM says at the bottom of the retroarch screen the following:
1.7.6 - FCEUmm (SVN) 02840d9
As for relevant retroarch settings in LR-FCEUM
-
Quick menu - controls - User 1 device type auto, user 2 device type auto
-
Quick menu - options - zapper mode: mouse; show crosshairs: enabled
-
main menu - settings - input - User 1 binds - user 1 shows:
-device type of “auto”
-analog to digital of “left analog”
-device index of “Xiaoji gamesir-G3w” (which is the additional controller I have plugged in)
-mouse index “0” -
main menu - settings - input - user 2 binds - user2 shows:
-device type of “auto”
-analog to digital of “left analog”
-user 2 device index of “disabled”
-user 2 mouse index of “0” -
main menu, drivers, shows input as “udev” and joypad as “udev”
-
main menu, user interface, shows “mouse support: ON” and shows “touch support: ON”
-
Also For what it’s worth, my dolphin bar is set up so the wiimote has lights 1 and 4 lit up. It is connected to the pi by the dolphin bar (not independently using the wiimote Bluetooth). I configured the wiimote as a controller in the EmulationStation controller config using the GUI menu in EmulationStation.
Hope this helps somewhat! My system is kind of like a Frankenstein at this point because it was a fresh install like almost 2 years ago now and I have done everything myself in terms of tweaking and updating and I don’t know very much.
-
-
I'm trying this tonight on my test pi. I'm currently testing some Fruitbox skins on this and it has been updated a week ago. I have the dolphin bar and will report back tonight! I'm very excited about this!
-
I tried Duck hunt, 2 and 1 duck hunt with Mario and Time Crisis with the PSX. All with the dolphin bar and original wii motes with no luck.
In Time Crisis, I changed to guncon and I tried changing the mouse indexes number, but with no luck. I also tried adjusting the ranges, with varying extremes for each one, but same result.
Duck hunt and 2 and 1, I changed the controller to lightgun and mouse, but no movement on the screen. If I hit any buttons on the wiimote, the system would freeze. Since I can only have the directional pad, 1, 2 and the home key work, I'm guessing this is what's freezing my retropie.
Am I missing something?
It's getting late and I can try this with advancemame tomorrow just to see if that works, but the wiimote was working on my computer last night.Retroarch 1.7.6
Retropie 4.5.1 -
@allahandro said in Lightgun support added to PCSX-Rearmed:
Duck hunt and 2 and 1, I changed the controller to lightgun and mouse, but no movement on the screen. If I hit any buttons on the wiimote, the system would freeze. Since I can only have the directional pad, 1, 2 and the home key work, I'm guessing this is what's freezing my retropie.
There's a known bug in RetroArch when using the mouse with bezels enabled - it freezes the emulator. It's fixed in 1.7.7, but not in 1.7.6.
-
Speaking of light guns, do you guys recommend any light gun shells for the Wiimote, or should I just wait for the sinden light gun?
-
@mitu Thanks. I'll turn off the bezels for these games tonight. I'm guessing I would also need to map the buttons as well?
-
@Brigane if you were already planning on the sinden or did the Kickstarter I would honestly save the money and wait for that in a few months because of the limited capacity right now in retropie (only NES and mame games) and because with the Wii mote the shooting games are kind of more of a gimmick since you have to move the cursor around the screen to shoot, it’s not really exactly what you are pointing at. But if you have like $25 - $30 you don’t care about spending and understand that I will edit this post later with the one I got. It has been worth it for me despite all of the above because my son really likes playing the old Jurassic Park game and is young enough (4) that he probably couldn’t play the game without the cursor anyhow and doesn’t know what the “real” games were like before . Also some nostalgia for myself at least being able to load up and play lethal enforcers, duck hunt and Area 51 at least in some capacity feeling like I am shooting somewhat.
-
@mitu said in Lightgun support added to PCSX-Rearmed:
@allahandro said in Lightgun support added to PCSX-Rearmed:
Duck hunt and 2 and 1, I changed the controller to lightgun and mouse, but no movement on the screen. If I hit any buttons on the wiimote, the system would freeze. Since I can only have the directional pad, 1, 2 and the home key work, I'm guessing this is what's freezing my retropie.
There's a known bug in RetroArch when using the mouse with bezels enabled - it freezes the emulator. It's fixed in 1.7.7, but not in 1.7.6.
Alright. I got this far where the wiimote is moving the cursor in the screen for duck hunt, but nothing in time crisis. In duck hunt though, when I press a button, it stalls the cursor but no action. No shot.
I had to use mouse index 2 and changed the controller to zapper and light gun with no change.
I feel like I've done this before and don't remember any of this.
-
Hi All
Thanks for the information, I didn't realise people were using their Wii Remotes using the "mouse" setting in lr-fceumm which is relative. I thought they would be using Pointer or Lightgun which is absolute. Does anyone do calibration for line of sight? Do you still use "mouse" in lr-fceumm?
I'll copy the lr-fceumm options of mouse, lightgun and pointer and do 3 libretro interfaces controlled by that option. At that point it should be if it works in lr-fceumm then it will work in lr-pcsx-rearmed.
If you are reliant on a cursor the whole time then you will struggle with this, I haven't added a crosshair although this could be done in future.
Do we have anyone with Aimtrak that can test? Can you confirm whether you can do line of sight in lr-fceumm and then what zapper option you have set of mouse, lightgun or pointer.
Thanks guys, we will get there.
Andy
-
@allahandro said in Lightgun support added to PCSX-Rearmed:
@mitu said in Lightgun support added to PCSX-Rearmed:
@allahandro said in Lightgun support added to PCSX-Rearmed:
Duck hunt and 2 and 1, I changed the controller to lightgun and mouse, but no movement on the screen. If I hit any buttons on the wiimote, the system would freeze. Since I can only have the directional pad, 1, 2 and the home key work, I'm guessing this is what's freezing my retropie.
There's a known bug in RetroArch when using the mouse with bezels enabled - it freezes the emulator. It's fixed in 1.7.7, but not in 1.7.6.
Alright. I got this far where the wiimote is moving the cursor in the screen for duck hunt, but nothing in time crisis. In duck hunt though, when I press a button, it stalls the cursor but no action. No shot.
I had to use mouse index 2 and changed the controller to zapper and light gun with no change.
I feel like I've done this before and don't remember any of this.
Hi @allahandro is this with a dolphin bar? what option did you have on the physical dolphin bar please?
-
@allahandro hi also did you configure the wiimote as a controller in emulation station? I can’t remmeber exactly but I think I configured the wiimote trigger as button a and the wiimote a button as button b or vice versa. If you didn’t that could be why the cursor is moving but not registering a button press.
The other thing I have found in general (not necessarily specific to this issue) with the pi and my dolphin bar/wiimote is that it seems to screw up way more when I have an additional controller in instead of just the “lightgun” setup. I think it has to do with how the pi seems to randomly assign controller ids at startup. So if you have any sort of static settings assigned to what mouse index the lightgun is at they can get all screwy when you have other controllers (or even a keyboard with a built in mouse/trackball) attached at the same time as the “lightgun” setup.
@MrLightgun yeah sorry about the confusion I don’t think you can configure the wiimote/dolphinbar to be line of sight. Aimtrak you can in theory but from vociferously reading this forum over time I see a lot of people saying it is hard or it loses calibration easily. That being said at least in time crisis you see your bullet hole so you can kind of calibrate yourself from that. Anyhow I am helping with testing not really so the wiimote works as much but so this can be all set when I get my sinden :)
-
@MrLightgun Option 1.
-
@BJRetro I tried assigning buttons in emulation station but the a and b buttons wouldn't register. The wilmote also showed up as a keyboard.
-
@allahandro do you also have lights 1 and 4 lit up on the wiimote? If not try that mode and see if it works.
-
No just 1 and 2. I'll try this tonight. Thanks guys.
-
@BJRetro I have mode 1 on the light bar and can only get 1 and 2 lights on the wiimote and 1 and 3. Can't get 1 and 4. Tried to set it up with both combination of lights and wouldn't register the A And B buttons on the wiimote. I tried changing the mode on the dolphin bar but only had emulation station crash when configuring the controller.
-
@allahandro try pressing the home button on the wiimote and the left directional and see if that lights up led 1 and 4 on the wiimote. https://drive.google.com/file/d/1whlKx0I716VFFrYCUJZX_7EHYg7cbJ54/view
-
@BJRetro thank you. I have led lights 1 and 4 on the wiimote. I tried configuring the wiimote in the GUI but A and B are still not recognized.
-
@allahandro ok did you try duck hunt again anyhow and see if that works? I have a controller in one usb and the wiimote /dolphin bar in another usb
EDIT- come to think of it, I think I could have had the same issue in emulation station because as I think harder, I have the plus key configured as start, minus key as select, button 1 as “a” and button 2 as “b” so it is possible I couldn’t configure the “a” button or “trigger” in emulation station either and yet I am able to use the gun to shoot. So maybe try that.
-
Hi Chaps
Quick update, I have good news and bad news. The recent retroarch/libretro touchscreen improvements have added snes, master system and genesis/megadrive lightgun functionality which is super awesome, however they have also introduced a few issues to the lightgun api. I need to separate what is a bug and what is a feature I don't understand. It seems like the emulators work but you can't use the functionality because the lightgun api is broken. This may of course be my setup.
I can't just fix it for the Sinden Lighgun but break it for every other lightgun device. I can complete my work for lr-PCSX-Rearmed first and make it support all 3 lightgun options of mouse, pointer and lightgun. So if it works in lr-fceumm it should work in pcsx-rearmed. Hopefully I can get that merged into main. I've also spotted one code issue I'm 99% certain is a bug in the retroarch lightgun api which I can raise which will hopefully get fixed quickly to improve things a little bit.
I then have a bigger change to the lightgun api if my analysis is correct but that's the one that will take a bit more testing to make sure I'm not breaking anything else. I'll have the version of lr-pcsx-rearmed on my git updated hopefully within the next week. I don't want to leave it too long in case the branch gets out of date. So I'll post here when I've done that.
Thanks for all your testing and support
Mr Lightgun
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.