Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing peripherals #389

Open
1 of 8 tasks
Triticum0 opened this issue Jun 30, 2021 · 14 comments
Open
1 of 8 tasks

Adding missing peripherals #389

Triticum0 opened this issue Jun 30, 2021 · 14 comments
Labels
enhancement New feature or request

Comments

@Triticum0
Copy link

Triticum0 commented Jun 30, 2021

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

@Triticum0 Triticum0 added the enhancement New feature or request label Jun 30, 2021
@GXTX
Copy link
Contributor

GXTX commented Jun 30, 2021

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
Copy link
Author

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 #90

@GXTX
Copy link
Contributor

GXTX commented Jul 1, 2021

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
Copy link
Member

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
Copy link
Author

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

@mborgerson
Copy link
Member

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

@Triticum0
Copy link
Author

Ok i will leave the pr as is

@HadetTheUndying
Copy link

HadetTheUndying commented May 21, 2022

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
Copy link
Contributor

  • Xbox Video Chat
    image

@Darknior
Copy link

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
Copy link
Contributor

GXTX commented Nov 12, 2022

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
Copy link

Darknior commented Nov 13, 2022

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
Copy link
Contributor

GXTX commented Nov 13, 2022

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants
@mborgerson @GXTX @Florin9doi @Darknior @HadetTheUndying @Tovarichtch @Triticum0 and others