Page 16 of 19

Re: XBox 360 plugin update

PostPosted: Sun Aug 02, 2020 8:17 am
by Robertspark
xnaron wrote:
Robertspark wrote:tried restarting W10?

W10 should be x64...



Yes with many different combos of copying the slimdx x64 bit into c:\uccnc with and without the slimdx sdk installed. I'm not sure what is special with my install that would prevent it from loading. Many many reboots :)


what flavor of w10 (home or pro?)

do you have a version number.... is it all up to date with updates etc?

sorry daft questions I know but more info likely to narrow problem down for Eric

can you provide a screenshot of your plugins folder and uccnc folder

Eric could it be because he is running an axbb-e?

Re: XBox 360 plugin update

PostPosted: Sun Aug 02, 2020 2:46 pm
by eabrust
Hi Rob, thanks for throwing ideas in. I don't think it has anything to do with AXBB, as the plugin can run fine even in demo mode. There is no tie between the controller type and the plugin loading.



I actually had some luck replicating the issue today by using (borrowing/stealing) my son's gaming PC (win10 x64, had no prior UCCNC or other installs on it) this morning. It came down to being it is a problem with how SlimDX is getting installed and or registered by windows, and although I got it working in the end, saying definitively why is still a question mark to me...


After installing UCCNC, installing the xbox plugin (by dropping the slimdx.dll into the base UCCNC folder), it was a no show in the plugins list.
So then I installed the slimdx SDK package, it was also a no show (the first time that hasn't worked for me after installing the SDK package)
I messed around, rebooted dozens of times, removed/reinstalled/repaired the SDK install, still did not work. (I was using windows process explorer to watch what all DLLs were loading with UCCNC opening as well, and noted that slimdx.dll was always absent)
The last thing I did was to remove the SDK installation, and then install just the slimdx 4.0 x64 runtime by itself (which is supposed to be installed as part of the SDK installation package). After that, it all worked as intended.... So, I don't understand why slimDX isn't registering properly for all win10 installs using the SDK, but is is not.

xnaron, please uninstall the slimDX sdk, install the slimdx runtime from here: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/slimdx/SlimDX%20Runtime%20.NET%204.0%20x64%20(January%202012).msi

Let me know if that fixes your installation for you. If it does, I'll have to go back and revise the installation package and instructions a bit for the plugin... If it doesn't work for you, well.... DOH! :roll:

regards
Eric

Re: XBox 360 plugin update

PostPosted: Sun Aug 02, 2020 3:33 pm
by xnaron
That worked! Thanks Eric!

Re: XBox 360 plugin update

PostPosted: Sun Aug 02, 2020 7:14 pm
by eabrust
xnaron wrote:That worked! Thanks Eric!



xnaron, Thank you for verifying that!




I've updated the installer zip file to contain both the 'SlimDX runtime installer' versions (x86 and x64), and updated the read me files and put the new installer package on my website here:
http://www.craftycnc.com/download/511/

There is no 'change' to the plugin itself, so I've left it as rev 2.020.

I hope this finally takes care of this seemingly random problem! Will be happy to hear if those that gave up trying to make it work before are able to get it going now.

regards
Eric

Re: XBox 360 plugin update

PostPosted: Mon Dec 21, 2020 1:57 am
by eabrust
Hi all, Happy holidays 2020 :)

An updated version of XBox plugin ver. 2.050 is available here: http://www.craftycnc.com/download/511/

This update adds following features and changes:
- Plugin can be started using user assignable button code (use config form to set), allows starting from a created button or Hotkey.
- Plugin can be stopped/restarted and the xbox controller will be found on restart of the plugin. Plugin no longer needs to be started w/ UCCNC, can now be loaded after the fact, using button or hotkey if desired.
- Plugin can load direct to minimized state, and with jogging auto enabled. Once setup, you never need to see the configuration form again...
- User can disable popup messages/warnings
- Added option to add 'safety' to the Jog Step selector. If checked, pulling either of the two triggers is required to allow you to select the Jog Step value using right stick when assigned)
- Upon step selection with right stick, plugin will show the newly set step value in the notification tray area, when option to show is selected(note, on Win10, you may have to go into options to allow the plugin to be allowed to be shown in the tray).
- The DPad and Shoulder buttons can now be assigned to any axis for step-jog function (ie, set L/R to Z and Up/Dn to rev_x for a lathe).
- Bug fixes and cleanup within plugin


As always, bug reports, suggestions, and comments welcome if you have any.

regards
Eric

Re: XBox 360 plugin update

PostPosted: Fri Apr 09, 2021 2:09 am
by spumco
Eric,

Trying to figure out your plugin again. Last year (last plasma build) the connection was so laggy as to be unuseable - but that was the PC/Windoze and not your plugin. Owner didn't want to fool with it so I gave up after trying 3 or 4 controllers.

Plugin connection is good and the joysticks are working fine. Wired X-box knock-off, and it's super-responsive - no lag at all.

Issue is that I've programmed the left/right D-pad for X+/X- step-jog and it's moving continuous. D-left is #148/#229, D-right is #147/#230.

Same-same for Y, but that one is working fine in step mode. step-step-step, no problem. But X immediately starts moving and doesn't stop when I release the D-pad (either direction).

I can see the button presses on the plugin config screen, no issues with connection.

Any thoughts?

-Ralph

Re: XBox 360 plugin update

PostPosted: Fri Apr 09, 2021 2:36 am
by eabrust
Hey Ralph,

Going by what you typed, you might have your numbers crossed, #147 is canceled by #229, and #148 is canceled by #230. Ie, you start a +x move, and try to cancel it with a '-x stop'

You can also just un-tick the 'customize' box to use DPad/Shoulders for step moves, and select which axis/direction you want assigned to the l/r, up/down buttons.

I run all my machines using the xbox controller, and keep the 'customize' unticked so the DPad is just defaulted to step jog.

xbox control.PNG



Hope this helps
Regards
Eric

Re: XBox 360 plugin update

PostPosted: Fri Apr 09, 2021 2:41 am
by eabrust
I also forgot to mention, #147 and #148 (and all the rest of the jog starts) don't define if the jog is step or continuous, it is just a 'start' button, so step or continuous has to be set and maintained for what you want. if 'step' gets changed to 'continuous' inadvertantly, the dpad won't give you step jogs even though that might be what you want.

But if you have the 'customize' box unchecked, the plugin forces 'step' mode on presses of the dpad and shoulders, so you will always get 'step' movements.

Eric

Re: XBox 360 plugin update

PostPosted: Fri Apr 09, 2021 2:43 am
by spumco
Well, now I feel dumb.

Didn't even see the drop-down for the non-custom Dpad setting. It defaults to a lathe-like X/Z arrangement so I just went straight for the custom option without seeing the pick list.

I'll have another go tomorrow. Thanks for all the work you've done for the UCCNC community over the years!

-Ralph

Re: XBox 360 plugin update

PostPosted: Fri Apr 09, 2021 3:02 am
by eabrust
Well,. I'll agree the user interface will win no awards for being clean and fully intuitive... :)

There's plenty of room for interface improvement, but that isn't my strength.

Eric