The N64, and every N64 emulator I've seen, all support analog input, which Mario Kart 64 uses for steering. I don't get this.
Car hacked to play MarioKart 64
11–18 of 18 posts
Re: Car hacked to play MarioKart 64
#12> The hardest control to change from the phyiscal car to the emulator was the steering wheel. The emulator only supported two button presses, one to go right and the other to go left. The N64, and every N64 emulator I've seen, all support analog input, which Mario Kart 64 uses for steering. I don't get this.
Re: Car hacked to play MarioKart 64
#13> We ended up solving the problem by not continously pushing the button down when turning. The further the wheel is turned to the left or right, the greater amount of time the button stays down and the further the car turns. I'm a little confused at this statement. Does this mean they just had it tapping 'left' or 'right' instead of holding the button down initially?
I interpreted it to mean they used pulse-width modulation, varying the % of time the button was being pressed in relationship to how far the wheel was turned. It's the same trick used to control LED brightness, even though the light only has binary ON and OFF states. https://learn.sparkfun.com/tutorials/pulse-width-modulation
Re: Car hacked to play MarioKart 64
#14> The hardest control to change from the phyiscal car to the emulator was the steering wheel. The emulator only supported two button presses, one to go right and the other to go left. The N64, and every N64 emulator I've seen, all support analog input, which Mario Kart 64 uses for steering. I don't get this.
I'm one of the people who made this. This was actually a hackathon project so we didn't use the analog input and instead faked the keyboard presses to the emulator.
Re: Car hacked to play MarioKart 64
#15Re: Car hacked to play MarioKart 64
#16Really cool idea. Only, there's no way I could sensibly use my car's steering wheel to control a game without having the engine running for the power steering... I couldn't make it out in the video, but wouldn't this also wear out the tires in less than no time (due to friction with the ground)?
Re: Car hacked to play MarioKart 64
#17A bit of a warning - if you do this, and play for long - you could have muscle-memory leak into your real-world driving. Take breaks and drive safe!
Re: Car hacked to play MarioKart 64
#18This isn't different than using a USB steering wheel and pedals setup.
It also requires no "hacking" just access to the canbus which can be accessed in most cars through an interface under the steering wheel or in the glovebox.
As long as your car is fairly new all the driver inputs will be transmitted over the canbus.