USB piping in Max?

Mar 22, 2008 at 1:47am

USB piping in Max?

Hello,

I am currently wanting to take in the USB data from my Xbox controller, decode it in Max, replicate the code 5 times, and send it back out into the XBox.

The idea is in reference to the older MadCatz controllers. Like:

http://cgi.ebay.com/eBayISAPI.dll?ViewItem&item=330220350365

The way the code is set to work is when the user hits punch. The control signal is interpreted in MAX and MAX therefore sends out 5 punches putting me at the advantage.

Any hints would be great. Thanks!

P.S. HID would read the signals… but are these true USB bits? And how can I send them out if they are?

#36458
Mar 22, 2008 at 7:17pm

That sounds awesomely funny and cool. I hope you get this running and finally kick some 14 yr old UT player butts! Now you have to name your online character after Max. :)

Quote: ut_control wrote on Fri, 21 March 2008 18:47
—————————————————-
> Hello,
>
> I am currently wanting to take in the USB data from my Xbox controller, decode it in Max, replicate the code 5 times, and send it back out into the XBox.
>
> The idea is in reference to the older MadCatz controllers. Like:
> http://cgi.ebay.com/eBayISAPI.dll?ViewItem&item=330220350365
>
> The way the code is set to work is when the user hits punch. The control signal is interpreted in MAX and MAX therefore sends out 5 punches putting me at the advantage.
>
> Any hints would be great. Thanks!
>
> P.S. HID would read the signals… but are these true USB bits? And how can I send them out if they are?
—————————————————-

#125156
Mar 22, 2008 at 11:22pm

Thanks! Now just to figure out HOW it’s going to work… there is the HI… but I don’t think that’s the answer.

#125157
Mar 24, 2008 at 10:46pm

I think the HI object is what you’re looking for. It will give you the codes for every button, so it wouldn’t be too difficult to manage this data. I think the output to xbox part will be the difficult here.

#125158
Mar 24, 2008 at 10:57pm

Hmm… the output would be simple, but my belief is that HI parses data. If this is true, then you are correct, output would be difficult.

That is why I’m wondering if there is another way to read RAW USB with no parsings. Does anyone know if this is even possible?

#125159
Mar 26, 2008 at 6:54am

I downloaded gnusb from: http://gnusb.sourceforge.net/

Would this work for what I am planning on doing? Does anyone know how to change the code to read from a device named “XBOX controller” instead its default device name?

#125160
Mar 29, 2008 at 7:07pm

UT Control schrieb:
> The way the code is set to work is when the user hits punch. The
> control signal is interpreted in MAX and MAX therefore sends out 5
> punches putting me at the advantage.

It depends how your game is interpreting the bits. You probably need to
write a driver, that your game will accept (I guess in C) and this
driver will reroute the punches from your controller. Hi doesn’t output
anything, and if it would talk to the controller, not to your game…

Can’t imagine that Max would be helpful for cheating…

I guess it would be even simpler to do it with circuit bending,
duplicate the punches with a little board in the controller, an extra
switch, which would give five punches instead of one to the same pin…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#125161

You must be logged in to reply to this topic.