xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.71k stars 270 forks source link

Adding missing peripherals #389

Open Triticum0 opened 3 years ago

Triticum0 commented 3 years ago

Feature Request

There are a couple of missing peripherals which need to be implemented into Xemu to make some games become playable and would improve the emulator as a whole. Here is a full list of all the ones I know that need to be added.

UI for above peripherals: #1128

Games which become playable

Real World Golf N.U.D.E.@: Natural Ultimate Digital Experiment Silent Scope Collection Steel Battalion Karaoke Revolution Karaoke Revolution Party Dance Dance Revolution Ultramix Series (Not required To play) Dance UK https://xemu.app/titles/53540001/#Zillernet (needs mic)

Additional Context

I'm not sure if there other games that have been omitted by mistake, which are not on the list, and If any peripherals are already implemented, feel free to comment below to correct me. Source:https://gamicus.fandom.com/wiki/List_of_Xbox_peripherals

GXTX commented 3 years ago

There's nothing stopping you from using these already. You plug them into your computer and tell xemu to use them via command line.

There's some extra steps you must go through to get it working on Windows (iirc) but Linux is straight forward.

Triticum0 commented 3 years ago

Is there a guide on how to do this on windows and does this include Gametrak and Steel Battalion Controller because pcsx2 hasn't even implemented Gametrak Also XMU hasn't been implemented https://github.com/mborgerson/xemu/issues/90

GXTX commented 3 years ago

Read the QEMU man pages on USB pass through, and XMU support is already there (it's just a generic storage device), just again not via the UI.

mborgerson commented 3 years ago

Pass-thru will work for some peripherals. For light guns it will probably not work, as they use they are expected to use the yellow wire, however these can be emulated.

xemu will eventually expose an interface for configuring XMUs+pass-thru+emulated peripherals. In the mean time, we consider the path "advanced" and don't really provide user support for it. That said, I'd accept a PR for the website which plainly describes how to do it for users who want to get their hands dirty.

Triticum0 commented 3 years ago

Should #90 and this pr be closed then if most peripherals works? should i tick all of them accept of the light gun?

mborgerson commented 3 years ago

No, we should not consider them complete until they are properly supported in the user interface.

Triticum0 commented 3 years ago

Ok i will leave the pr as is

HadetTheUndying commented 2 years ago

Pass-thru will work for some peripherals. For light guns it will probably not work, as they use they are expected to use the yellow wire, however these can be emulated.

xemu will eventually expose an interface for configuring XMUs+pass-thru+emulated peripherals. In the mean time, we consider the path "advanced" and don't really provide user support for it. That said, I'd accept a PR for the website which plainly describes how to do it for users who want to get their hands dirty.

How? I've poured over the qemu doc, and I am able to pass a device through via CLI arguments but xemu does not read any of of the devices as controllers.

I've tried ./dist/xemu -devusb-host,vendorido0x045e,productid=0x8289D for my controller S, I've tried this for my Steel Battalion Controller, DDR pad, lightgun, Madcatz Racing wheel, etc. I've tried using the port=x argument, the monitor output in info usb shows that it is creating a USB device but the device is never actually passed through. Using port=x.x provides -device usb-host,vendorid=0x045e,productid=0x8289,port=3.1: usb port 3.1 (bus usb-bus.1) not found (in use?) for any port numerical value

Doing any of these arguments in QEMU works fine for me for standard virtual machines, I have compiled with --enable-libusb --enable-usb-redir --enable-spice --enable-spice-protocol I'm at a loss and I'd like to figure this out so I can have a more controlled environment to debug whatever is bottlenecking performance in Steel Battalion.

I apologize for continually asking this question but I've been trying to get this working for 3 days now. Once again I've read the qemu doc and tried a ton of things like trying to assign a bus etc.

Screenshot for reference that xemu is claiming it sees the host device image

Florin9doi commented 2 years ago
Darknior commented 1 year ago

Hi, The USB pass through is a very god idea for users that have the original material. But for others, for exemple for gun games, it can help a lot pc gamers t make these games with mouse :) if it was possible like on other emulator to emulate gun with mouse, we will can play these games with recent material, like some guns that working fine on CLD screens :) Thanks

GXTX commented 1 year ago

Hi, The USB pass through is a very god idea for users that have the original material. But for others, for exemple for gun games, it can help a lot pc gamers t make these games with mouse :) if it was possible like on other emulator to emulate gun with mouse, we will can play these games with recent material, like some guns that working fine on CLD screens :) Thanks

On my fork I have a branch that does mouse support, but it's not "finished".

Darknior commented 1 year ago

On my fork I have a branch that does mouse support, but it's not "finished".

Excellent, so cool you have work on this feature. i have found it : https://github.com/GXTX/xemu It is for an Batocera integration, on our system all gun games are ready to use with all guns or a wiimote. You plug you play, nothing to do. But it is a hard and long work to release that .... What is not finished on your fork ? Can we try gun games with mouse or not ?

GXTX commented 1 year ago

https://github.com/GXTX/xemu/tree/mouse

It's badly designed, replaces keyboard functionality, doesn't handle the corners correctly, captures mouse for the entire screen instead of just over the window. Lots of little stuff, and I don't really have much interest in finishing it. Works pretty well though. Played a bit of VCOP with it.

Tovarichtch commented 7 months ago

https://github.com/GXTX/xemu/tree/mouse

It's badly designed, replaces keyboard functionality, doesn't handle the corners correctly, captures mouse for the entire screen instead of just over the window. Lots of little stuff, and I don't really have much interest in finishing it. Works pretty well though. Played a bit of VCOP with it.

Hi. Did you make any change in your fork since?