nefarius / ViGEmBus

Windows kernel-mode driver emulating well-known USB game controllers.
https://docs.nefarius.at/projects/ViGEm/
BSD 3-Clause "New" or "Revised" License
3.08k stars 285 forks source link

Attempt to create ARM64 builds #83

Closed nefarius closed 1 year ago

nefarius commented 3 years ago

Apparently ARM64 installations are on the rise, the solution/project needs this platform integrated and tested.

ynohtnalude commented 3 years ago

Any chance of this happening? Xbox cloud gaming is working pretty good on my arm device, would like my old logitech rumblepad 2 to work on it with the x360ce emulator! Good opportunity to do more on this arm device!

nefarius commented 2 years ago

Here's the first unsigned and untested ARM64 build for anybody who knows how to test-sign, manually install and put the machine in test mode.

nefarius commented 2 years ago

We successfully installed and tested a build on a MacBook Pro 14 (M1 Pro) and everything seems to work fine! Next step is making a setup for it.

nefarius commented 2 years ago

An ARM64 BETA release is vailable whoever has the hardware, please test and provide feedback here, thanks.

CodeMonkeyInit commented 2 years ago

Attempting to install on m1 mac air with windows 11 vm inside of parallels getting error: "The file 'nefconw.exe' is not marked for installation"

nefarius commented 2 years ago

Try this one please.

CodeMonkeyInit commented 2 years ago

Try this one please.

double checked, getting same error with this one

p.s managed to install by using /unpack command and manually installing driver with ARM64/ViGEmBus.inf

nefarius commented 2 years ago

Try this one please.

double checked, getting same error with this one

p.s managed to install by using /unpack command and manually installing driver with ARM64/ViGEmBus.inf

Well, partial progress is better than no progress πŸ˜‰ We'll figure it out.

ynohtnalude commented 2 years ago

not sure if it helps but I also get the "The file 'nefconw.exe' is not marked for installation"

Edition Windows 11 Pro Version 22H2 Installed on β€Ž2022-β€Ž05-β€Ž27 OS build 22621.160 Experience Windows Feature Experience Pack 1000.22632.1000.0

Processor Snapdragon(TM) 835 2.21 GHz Installed RAM 4.00 GB (3.69 GB usable) System type 64-bit operating system, ARM-based processor Pen and touch Pen and touch support with 10 touch points

It's a Lenovo Miix630

ImSaaam commented 2 years ago

Try this one please.

double checked, getting same error with this one

p.s managed to install by using /unpack command and manually installing driver with ARM64/ViGEmBus.inf

I am getting the same error as well, can I ask you how you installed it?

edit Works now with new installer.

nefarius commented 2 years ago

Replaced the setup on the release page with a fixed one, please try again.

Delstrom2 commented 2 years ago

An ARM64 BETA release is vailable whoever has the hardware, please test and provide feedback here, thanks.

I don't know why this doesn't seem to be working on Parallels, but this works perfectly on my original Windows Arm hardware. You guys are lifesavers!

nefarius commented 2 years ago

An ARM64 BETA release is vailable whoever has the hardware, please test and provide feedback here, thanks.

I don't know why this doesn't seem to be working on Parallels, but this works perfectly on my original Windows Arm hardware. You guys are lifesavers!

Isn't parallels emulating a different CPU architecture?

Delstrom2 commented 2 years ago

An ARM64 BETA release is vailable whoever has the hardware, please test and provide feedback here, thanks.

I don't know why this doesn't seem to be working on Parallels, but this works perfectly on my original Windows Arm hardware. You guys are lifesavers!

Isn't parallels emulating a different CPU architecture?

Not really, or at least it shouldn't be. The M1 is an ARM-based CPU, and Parallels can't translate CPU architecture and perform well, so it has to use a version of Windows designed to be installed for ARM64 hardware like mine (Galaxy Book2). It should be worth noting that I'm referring to full Windows ARM64, not Windows RT or Windows Mobile.

nefarius commented 2 years ago

An ARM64 BETA release is vailable whoever has the hardware, please test and provide feedback here, thanks.

I don't know why this doesn't seem to be working on Parallels, but this works perfectly on my original Windows Arm hardware. You guys are lifesavers!

Isn't parallels emulating a different CPU architecture?

Not really, or at least it shouldn't be. The M1 is an ARM-based CPU, and Parallels can't translate CPU architecture and perform well, so it has to use a version of Windows designed to be installed for ARM64 hardware like mine (Galaxy Book2). It should be worth noting that I'm referring to full Windows ARM64, not Windows RT or Windows Mobile.

I see. I have no experience with Apple stuff or Parallels etc. so I'll take your folk's words for it πŸ˜‡

CodeMonkeyInit commented 2 years ago

Replaced the setup on the release page with a fixed one, please try again.

Seems to be fixed now on Windows 11 inside of Parallels

ynohtnalude commented 2 years ago

I tried this version posted on the 9th, it installed fine and x360 picked up the controller thanks!!

I don't know if the new one, posted on the 10th, to fix installation for parallels machines affects my machine

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Benjamin HΓΆglinger-Stelzer @.> Sent: Tuesday, August 9, 2022 4:12:21 PM To: ViGEm/ViGEmBus @.> Cc: ynohtnalude @.>; Comment @.> Subject: Re: [ViGEm/ViGEmBus] Attempt to create ARM64 builds (#83)

Replaced the setup on the release page with a fixed one, please try again.

β€” Reply to this email directly, view it on GitHubhttps://github.com/ViGEm/ViGEmBus/issues/83#issuecomment-1209981865, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAVAJ74X3RR5C4MDOTN62O3VYLQVLANCNFSM4YIVTUVQ. You are receiving this because you commented.Message ID: @.***>

ynohtnalude commented 2 years ago

I just open up xbox cloud gaming on my sd835 pc with windows 11 in MS edge,

My Logitech Rumble pad worked great playing forza5 on this wimpy machine!!

Thanks!!

ilyanengen commented 2 years ago

Replaced the setup on the release page with a fixed one, please try again.

Seems to be fixed now on Windows 11 inside of Parallels

Hi! I try to use with Windows 11 in Parallels, but after successfull installation I can't see Xbox 360 controller in Device Manager. I installed VigemBus 1.20.432. What is the name of the device? How can I check it installed correctly?

nefarius commented 2 years ago

Replaced the setup on the release page with a fixed one, please try again.

Seems to be fixed now on Windows 11 inside of Parallels

Hi! I try to use with Windows 11 in Parallels, but after successfull installation I can't see Xbox 360 controller in Device Manager. I installed VigemBus 1.20.432. What is the name of the device? How can I check it installed correctly?

Well, what feeder software do you use? On its own there won't be any controller on the system.

ilyanengen commented 2 years ago

Replaced the setup on the release page with a fixed one, please try again.

Seems to be fixed now on Windows 11 inside of Parallels

Hi! I try to use with Windows 11 in Parallels, but after successfull installation I can't see Xbox 360 controller in Device Manager. I installed VigemBus 1.20.432. What is the name of the device? How can I check it installed correctly?

Well, what feeder software do you use? On its own there won't be any controller on the system.

What feeder software should I use? I will really appreciate if you could provide some examples. PS: I installed XOutput, but it says it can't find VigemBus.

nefarius commented 2 years ago

What feeder software should I use? I will really appreciate if you could provide some examples.

That entirely depends on your use-case, I can't tell you that πŸ˜… DS4Windows from Ryochan7 is the most prominent example.

jorbig commented 2 years ago

What feeder software should I use? I will really appreciate if you could provide some examples.

That entirely depends on your use-case, I can't tell you that πŸ˜… DS4Windows from Ryochan7 is the most prominent example.

But that one doesn't work with Windows on arm, right? Is there an alternative feeder software that does work?

driver1998 commented 2 years ago

Userspace feeder can just be x86/x64 and they will work fine. Also, DS4Windows is a .NET 6 app and shouldn't be too difficult to support ARM64. You might even be able to force the current x64 release to be run as ARM64 (see "Coercing already-built apps to Arm64" at https://github.com/dotnet/core/issues/7709).

ilyanengen commented 2 years ago

Replaced the setup on the release page with a fixed one, please try again.

Seems to be fixed now on Windows 11 inside of Parallels

Could you please share the name of feeder you used to make it work in Parallels? Thank you

nefarius commented 1 year ago

Considering this done.