Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: Leed3 on September 04, 2015, 05:33:49 PM

Title: XBox360 plugin new info
Post by: Leed3 on September 04, 2015, 05:33:49 PM
Hi,

1. There will shortly appear a new version 2.4.1 on the plugin page.  It includes only one change.  I hard coded a MadCatz controller for a user so that the plugin would retain the ProductId and VendorId between sessions if the controller was unplugged and then plugged back in later.  Most folks won't need this verison.

2. If you are trying to run Mach 3 on Windows 7 64 bit or Windows 10 64 bit, the plugin will give you an error.  You can fix it by downloading

http://www.microsoft.com/hardware/en-us/d/xbox-360-controller-for-windows?refid=12

This is listed as XBox 360 Accessories Software 1.2. There is no choice for Windows 10. You have to pick the Windows 7 64 bit option.  It will let you download the file XBOX360_64ENG.Exe.

3. I will shortly be working on porting the plugin to Mach 4.  Please be patient.

Thanks
Lee

Title: Re: XBox360 plugin new info
Post by: manuzapp on November 13, 2015, 11:26:45 AM
Hi Lee,


Im having a problem with the Xbox 360. Trying to enable it in the Plugin Control and Activation window a error appear: "Error found, Art code 9991, attempt to recovery? Error Triggered   yes/no". Hopefully you can help me with this.

Thankyou
Title: Re: XBox360 plugin new info
Post by: Leed3 on November 13, 2015, 01:12:53 PM
Hi Lee,


Im having a problem with the Xbox 360. Trying to enable it in the Plugin Control and Activation window a error appear: "Error found, Art code 9991, attempt to recovery? Error Triggered   yes/no". Hopefully you can help me with this.

Thankyou

I do not know what is causing that.  What version of Windows are you running and is it 32 bit or 64 bit? I can try and recreate it here.

Lee
Title: Re: XBox360 plugin new info
Post by: manuzapp on November 13, 2015, 02:23:09 PM
Windows XP Professional 2002 service pack 3, i beleive is 32 sin 64 bit is not listed. Let me know.
Title: Re: XBox360 plugin new info
Post by: Leed3 on November 13, 2015, 04:48:30 PM
Hi
You probably need to use an older version of the plugin. I am including the previous version (2.3.9). You unzip the attachment and drop the DLL in C:\Mach3\Plugins. You can move the existing dll out of the folder or erase it. You cannot rename it and leave it in the same folder. Mach 3 will not like that.  Let me know if it works. If not, I'll send you the next older version.

Lee
Title: Re: XBox360 plugin new info
Post by: manuzapp on November 16, 2015, 08:47:33 AM
it worked.

Thank you Lee.
Title: Re: XBox360 plugin new info
Post by: knowlzy0891 on November 17, 2015, 02:58:36 PM
Hi Lee.

I downloaded the plug in, moved it to the Mach3/plug in folder, activated in the software and I can use the A button to Reset like I opted to.

Every time I try to move the machine with the Joy Sticks it says axis drive fault then won't let me use the controller anymore until I close out and re-open.

Then it will repeat this process.

I downloaded the Distributes package and everything.

Any idea where to go from here?
Title: Re: XBox360 plugin new info
Post by: Leed3 on November 17, 2015, 05:25:21 PM
Hi Lee.

I downloaded the plug in, moved it to the Mach3/plug in folder, activated in the software and I can use the A button to Reset like I opted to.

Every time I try to move the machine with the Joy Sticks it says axis drive fault then won't let me use the controller anymore until I close out and re-open.

Then it will repeat this process.

I downloaded the Distributes package and everything.

Any idea where to go from here?

What version of Windows are you using and what version of Mach3? If you are using an older version of Mach3, that could be the problem. Mach version 3.043 is a good version. Some versions before that had problems. You also need Microsoft Net Framework installed. Version 4 or higher is good. If those do not solve your problem then you can try using version 3.9 of the plugin. On this forum just below your comment, you will see my previous comments to manuzapp with a download zip of 3.9. You can try using that.

Let me know what you find.

Thanks
Lee
Title: Re: XBox360 plugin new info
Post by: knowlzy0891 on November 18, 2015, 08:21:48 AM
Installed older version of plug in. Installing Microsoft Framework now. I run Windows 7 and Mach3 Version R3.043.066.

I really appreciate the help, I was super bummed when it didn't work at first lol.
Title: Re: XBox360 plugin new info
Post by: knowlzy0891 on November 18, 2015, 08:58:26 AM
Now it says "Disabling Joy Sticks, Error Detected"
Title: Re: XBox360 plugin new info
Post by: Leed3 on November 18, 2015, 12:35:41 PM
Did you install the Nov 2007 DirectX files per instructions provided with DLL? It will install some older files that are needed (and works with the current version 2.4 of the plugin). You download the file, extract it to a folder and then go to that folder and run DXSetup.Exe.  It will not downgrade your current DirectX level (you are likely at DX 11). It just adds some files. Your version can be checked by running DXDIAG from search box.

Here is a link : http://www.microsoft.com/en-us/download/details.aspx?id=317

Let me know how that goes.

Title: Re: XBox360 plugin new info
Post by: knowlzy0891 on November 18, 2015, 12:59:22 PM
Did you install the Nov 2007 DirectX files per instructions provided with DLL? It will install some older files that are needed (and works with the current version 2.4 of the plugin). You download the file, extract it to a folder and then go to that folder and run DXSetup.Exe.  It will not downgrade your current DirectX level (you are likely at DX 11). It just adds some files. Your version can be checked by running DXDIAG from search box.

Here is a link : http://www.microsoft.com/en-us/download/details.aspx?id=317


Let me know how that goes.




Still nothing. I must be missing something!
Title: Re: XBox360 plugin new info
Post by: Leed3 on November 18, 2015, 07:15:30 PM
Your message says "disabling joysticks" . Try moving the Joystick.dll out of the folder. Are you using a Microsoft controller?

 Things to check

 1. Test controller. For Microsoft Go to Control Panel, Devices and Printers, right click and select "Game controller settings". select Properties and then select Test. Other manufacturers should include their own test programs.

2. Copy Mach3 (entire folder) off to a safe place. then uninstall Mach3 and reinstall it. Then copy the XBox360controller.DLL into the plugins folder. Then try that.

The 2 tests above will determine if the problem is with the controller or Mach3.  If it passes the 2 tests above then the problem is in software. Some files (DLLs) that are needed are not on your computer. As Microsoft has moved forward, they have replaced some DLLs with new DLLs of the same name and the new ones are missing some calls. They have also not included all the files needed. It can be tough to find the missing files.

One more thing you can try is to go here:

https://www.microsoft.com/hardware/en-us/d/xbox-360-controller-for-windows?refid=12

and install the appropriate version of the controller software (64 bit or 32 bit). That will add in any drivers for the controller that you are missing.

Another possibility is security. If you are not an administrator you may not be able to run some things. But, I assume that you are or you would not have been able to install the DirectX runtime.

If none of the above solve the problem then you may have to go and get an older copy of the Net Framework (such as 2.0) and install it. It will also copy in older missing files.  But, I don't feel that you should have to do that. 

Keep me posted.

Lee 
Title: Re: XBox360 plugin new info
Post by: knowlzy0891 on November 19, 2015, 08:30:30 AM
I looked and I don't even have a joystick.dll file. The error message says disabling thumbsticks, so it's quite specific that it's on the controller.

I ran the test and it tested just fine. All buttons work and the thumb sticks were able to test full motion.

I am not too comfortable deleting mach3 to re-install, I don't even know if I have access to the disc, or if we even have one if something were to go wrong.

I downloaded that version of the controller software (turned out to be the same one I had)

I am on an administrator account.

So all that could be left in an older version of Net Framework (like 2.0 as you said) but the IT guy has my computer today. Bum bum bum.
Title: Re: XBox360 plugin new info
Post by: Leed3 on November 19, 2015, 01:04:57 PM
Does your message say "Disabling ThumbSticks. Problem detected. Check them..". If so, the problem is that the thumbsticks are not in the centered (dead zone) on startup.

This occurs if:

1. the controller is defective,
2. the controller has not been calibrated. This is done through testing mentioned previously.  The screen should show the thumbsticks centered and no movement when they are the physically centered position
3. either of the thumbsticks is pushed during startup
4. the XML file has a problem.

The more I think about it, the more I think that you have all the files you need.  If replacing the controller or calibrating it does not fix the problem, then send me the XML file and I will look at it..

Lee
Title: Re: XBox360 plugin new info
Post by: knowlzy0891 on November 19, 2015, 04:14:03 PM
I calibrated the controller. My left joystick is rouge as heck. Will track down another controller (hopefully tonight) and let you know. It seemed weird that EVERYTHING worked as soon as I disabled the joy sticks.

I really appreciate your patience and help!