Does this stick mod look legit?

Includes but not limited to: SNES, Genesis, Sega CD, PlayStation 1, Nintendo 64, Dreamcast, Game Gear and I guess the Virtual Boy.

Moderator:Moderators

Diminuendo
Posts:338
Joined:Fri Jan 16, 2009 1:12 am
Does this stick mod look legit?

Post by Diminuendo » Mon Feb 15, 2010 7:41 pm

http://nfggames.com/forum2/index.php?topic=3574.0" onclick="window.open(this.href);return false;

User avatar
hailrazer
Portablizer Extraordinaire
Posts:2764
Joined:Mon Jul 10, 2006 8:57 pm
Location:Georgia Sweet Georgia

Re: Does this stick mod look legit?

Post by hailrazer » Mon Feb 15, 2010 8:26 pm

Yea that's basically what we do with Gamecube sticks in an N64 controller. Same thing except he used a first party N64 stick so he had to add circuitry to get it to work. Use a third party N64 stick and no added circuity needed :)
My Portable Systems:
Image
-----Genimini---------Darth64---------Dreamtrooper--------Ncube---------Kamikazi64---N64Boy Advance

Diminuendo
Posts:338
Joined:Fri Jan 16, 2009 1:12 am

Re: Does this stick mod look legit?

Post by Diminuendo » Mon Feb 15, 2010 9:34 pm

oh, think l could I get someone to make me one? I'd rather have an official controller

User avatar
ToastBucket
Posts:279
Joined:Wed Jan 27, 2010 11:27 pm

Re: Does this stick mod look legit?

Post by ToastBucket » Mon Feb 15, 2010 10:36 pm

Is this for in a portable or just a regular external controller?
This place is fun.

Image

ToastTech Forums: Built with love.

Diminuendo
Posts:338
Joined:Fri Jan 16, 2009 1:12 am

Re: Does this stick mod look legit?

Post by Diminuendo » Mon Feb 15, 2010 11:00 pm

regular external, I only mean the PCB Btw

User avatar
ToastBucket
Posts:279
Joined:Wed Jan 27, 2010 11:27 pm

Re: Does this stick mod look legit?

Post by ToastBucket » Tue Feb 16, 2010 12:40 am

You could just get a 3rd party and put it in a nintendo case. The SuperPad is pretty close I think.
This place is fun.

Image

ToastTech Forums: Built with love.

Diminuendo
Posts:338
Joined:Fri Jan 16, 2009 1:12 am

Re: Does this stick mod look legit?

Post by Diminuendo » Tue Feb 16, 2010 2:18 am

that was my original plan, but this sounds like it would be better

Diminuendo
Posts:338
Joined:Fri Jan 16, 2009 1:12 am

Re: Does this stick mod look legit?

Post by Diminuendo » Mon Mar 08, 2010 1:00 am

Just going to try and bump this topic a second time, anyone interested in making this for me? name a price

User avatar
kibble
Posts:439
Joined:Wed Jul 29, 2009 10:41 am

Re: Does this stick mod look legit?

Post by kibble » Mon Mar 08, 2010 9:23 am

I would totally do this for you, except I have no idea how to code for the PIC to do the A/D conversion, I'm still learning the stuff. However, if the guy posted the code somewhere, programming the PIC and making a small circuit board for it is easy.
Coming Soon: Kibble's L'Ectroshop (parts and stuff FS)

Diminuendo
Posts:338
Joined:Fri Jan 16, 2009 1:12 am

Re: Does this stick mod look legit?

Post by Diminuendo » Tue Mar 09, 2010 1:31 am

is this good enough?

Code: Select all

$regfile = "m8def.dat"

'8MHz = highest internal frequency of the ATMega8
$crystal = 8000000

'configuring the ADC, its resolution is 10bit per channel
Config Adc = Single , Prescaler = Auto , Reference = Avcc
Start Adc

'pins for the output of the X-axis
Config Portb.1 = Output
Config Portb.2 = Output

'pins for the output of the y-axis
Config Portb.3 = Output
Config Portb.4 = Output

'variables in which the 10bit value of the ADC will be stored
Dim X As Integer , Y As Integer

'init X axis. the value is divided by 2 because otherwise it's too big
X = Getadc(1)
Shift X , Right , 2 , Signed

'init Y-axis
Y = Getadc(2)
Shift Y , Right , 2 , Signed

'variables to store the old X and Y values for comparison in the next round
Dim Oldx As Integer , Oldy As Integer
Oldx = X
Oldy = Y

'rotating the xwheel and ywheel bytes 1 step to the left or the right is the
'same as turning the optical wheels in the N64 stick 1 step clockwise or
'counter-clockwise.
'by fixating on two bits of these bytes (let's say xwheel.0 and xwheel.1) and
'then rotating the byte 1 step to the left or the right, you'll get the new
'gray code on the these two bits (e.g. xwheel.0=A , xwheel.1=B)
Dim Xwheel As Byte , Ywheel As Byte
Xwheel = &B11001100
Ywheel = &B11001100

Dim I As Byte

'in these two variables we're storing the number of steps we have to process for each axis
Dim Xsteps As Integer , Ysteps As Integer



'main loop:
'-------------
Do

'get and store X-value; resolution/2
X = Getadc(1)
Shift X , Right , 2 , Signed

'get and store X-value; resolution/2
Y = Getadc(2)
Shift Y , Right , 2 , Signed

'calculate the number of steps we have to process
Xsteps = X
Xsteps = Xsteps - Oldx
Ysteps = Y
Ysteps = Ysteps - Oldy


'stay in while-loop until all steps of the X- and Y-axis are processed
While Xsteps <> 0 Or Ysteps <> 0

   'steps of the x-axis
   If Xsteps > 0 Then
      Rotate Xwheel , Left , 1
      Xsteps = Xsteps - 1
   Elseif Xsteps < 0 Then
      Rotate Xwheel , Right , 1
      Xsteps = Xsteps + 1
   End If

   'steps of the y-axis
   If Ysteps > 0 Then
      Rotate Ywheel , Right , 1
      Ysteps = Ysteps - 1
   Elseif Ysteps < 0 Then
      Rotate Ywheel , Left , 1
      Ysteps = Ysteps + 1
   End If

   'write the new gray codes for both axis in I
   I.1 = Xwheel.1
   I.2 = Xwheel.2
   I.3 = Ywheel.1
   I.4 = Ywheel.2
   '...and then write I to port B
   Portb = I

   'we have to wait a little bit for processing the next steps because otherwise
   'it would be too fast and the IC in the N64 controller would skip some steps
   Waitus 10

Wend

'store the values of both axis for comparison in the next round
Oldx = X
Oldy = Y

Loop
End

User avatar
kibble
Posts:439
Joined:Wed Jul 29, 2009 10:41 am

Re: Does this stick mod look legit?

Post by kibble » Tue Mar 09, 2010 2:06 am

That code is for an ATMEGA8 chip, which I have no access to. However, I can TRY to translate the code into PIC assembler language myself and see if I can get it to work with what I have on hand.

DISCLAIMER: I'm still learning to code for PIC's so I may not have anything right away, or ever, but I'm learning quite a bit just by trying. Just a few minutes ago, after breaking my head trying to figure it out, I coded a PIC to increment and decrement the value on some LED's just by pushing a few buttons; one to count up and the other to count down and one to reset them all back to 0. I know it doesn't sound like much, but I was really excited. :mrgreen:

Doing A/D conversion just like the one for the control stick is one of my goals. So I will give it a shot and try to get something to work.
Coming Soon: Kibble's L'Ectroshop (parts and stuff FS)

Mtrapp
Posts:29
Joined:Tue Jan 26, 2010 1:35 am

Re: Does this stick mod look legit?

Post by Mtrapp » Tue Mar 09, 2010 3:31 am

Sorry in advance, because I'm new with this stuff. I am looking to pretty much do this same mod, but WITH a 3rd party controller - my SuperPad 64. I play smash bros. 64 competitively online and the analog sticks on the N64 are just junky; they are uncomfortable and wear out fast.

Is a used 3rd party gamecube controller (for the stick), n64 super pad, and soldering tools all I would need for this (and screwdrivers, etc. of course)? I've already taken out the entire joystick part of the superpad, because it doesn't work anyway (it got jammed in and completely messed up... the rest of the controller works perfectly). With no "circuitry" does this mean that all we have to do is install the new joystick (from 3rd party gamecube controller) and solder the wires onto it? While I'm now aware with the type of joystick the superpad is, I've never seen the inside of a GC controller - either nintendo or 3rd party. But likely I'm going to buy a used 3rd party GC controller just because it's cheaper, and the sticks are probably the same. If all I have to do is remove the gamecube stick, solder that with the wires left in the superpad, and then figure out a way to make it all fit nicely, then I can probably handle this. I would prefer to keep the octagonal shape around the stick, to keep it more original and because to me it actually helps in gameplay. I realize that the stick won't fit with the small opening left for the stick, but I'd probably be able to cut it down or something.

Thanks

User avatar
ToastBucket
Posts:279
Joined:Wed Jan 27, 2010 11:27 pm

Re: Does this stick mod look legit?

Post by ToastBucket » Tue Mar 09, 2010 8:43 am

how do you play n64 games online?
This place is fun.

Image

ToastTech Forums: Built with love.

User avatar
bentendo64
Posts:163
Joined:Tue Nov 10, 2009 7:22 pm
Location:Tinysota

Re: Does this stick mod look legit?

Post by bentendo64 » Tue Mar 09, 2010 9:39 am

ToastBucket wrote:how do you play n64 games online?
i wanna hear about this
http://bentendo64.co.cc/" onclick="window.open(this.href);return false;
"Mmm, extra performance for free. The essence of overclocking."

Mtrapp
Posts:29
Joined:Tue Jan 26, 2010 1:35 am

Re: Does this stick mod look legit?

Post by Mtrapp » Tue Mar 09, 2010 11:39 am

ToastBucket wrote:how do you play n64 games online?
The best/most common N64 emulator for the pc is called Project 64. Somewhere along the line, they made a tweaked version of the emulator and named it Project 64k, the 'k' standing for kaillera, which is a server for connecting to other people playing games on emulators. There are different servers that will work depending on where you live. The one I play on is called Galaxy 64 because most people play N64 games on there, and that is where I find most competitive smash players to play against. It supports up to 4 players just like the console, which is pretty awesome. I've had some really good smash bros. matches on there, you should check it out. My favorite is when I find 3 really good players, and we do 2v2 team battles. I currently use an xbox 360 controller for it, but you can use the keyboard or any other controller you have that's usb compatible. Do a google search for Project64k and get whatever roms you want to play. When you connect to a game, you must have the same rom file as the owner and vice versa.

Oh and any answers to my question(s) above ^ would be appreciated still :D

Post Reply