Main > Driving & Racing Cabinets
Hacking Hydro Thunder..err Offroad Thunder (Updated)
Howard_Casto:
So I got the start lamp working and I now have a fairly accurate set of variables to tell me when you are in the attract, in the menus, or in a race. That means I can get the VR lamps in line as well. I still need to make a combined vr lamp for those with only one view button.
BadMouth:
Good lord, we have lamps now?! :lol
I would have been happy with just having actual steering.
--- Quote from: Howard_Casto on November 10, 2016, 03:13:26 pm ---I need to buy a flight stick, but I'm having trouble finding what I want. What are the pot values for a 360 gamepad? I might wire up a custom built one to a hack and that way I would have rumble. Force-feedback sticks have all but vanished and I really don't want to deal with 15 year old sticks. I can use the yoke for most stuff in a pinch though.
--- End quote ---
Modern gamepads including xbox360 pads use 10k pots, but they're limited deflection (they cover their resistance range over say 90-120 degrees of physical movement). Off the shelf pots are morel like 270-280 degrees.
You can calibrate it out in emulators, but it won't work for a lot of games. A lot of modern controllers don't offer calibration in windows anymore. 5k (or half voltage) is center.
I have a cyber sled control panel (dual analog trigger-sticks) that I swapped 10k pots into and wired to a gamepad.
It works OK in MAME. Since it's only using a small portion of the travel of the pots, sometimes it feels like it's taking big steps rather than being smooth analog.
In retrospect, I should have just used the stock 5k arcade pots with an Ultimarc APAC or similar interface.
Old joysticks are 100k and were wired directly to the gameport. No electronics inside the stick.
You can wire up 100k pots to a $7 USB gameport adapter and it will show up as a generic joystick (no rumble).
The PC version of the happ arcade stick used 100k limited deflection pots that cost like $25 each + Happ's high shipping.
I forked over $40 to buy one in hopes of using the numbers on it to find a generic supplier for them.
I found the manufacturer, but the part number was a generic "built to customer request" number.
So to summarize, joysticks use limited deflection pots that cover their total range over a much shorter distance...and you can't buy them anywhere for a reasonable price.
One of my 3D printer goals is to make parts to convert an arcade quality joystick to analog using either tiny thumbstick pots or gearing to get around the deflection issue.
It probably won't come anytime soon though.
Howard_Casto:
Eh... I don't want to drag this one out like 2k6 (which is admittedly much harder to work on than this game). I know when I put it on my rig I'll want blinky lights. I figure why do 30 incremental releases when I can do two big ones and a bug fix and that's it. I still think I'll have everything but FF ready by this weekend though and I'll release it Sunday most likely.
You would be surprised how much misc code is in there, including what looks like some leftover arcade stuff. It looks like this particular build was also for the gamecube and ps2 and they literally just recompiled and used some logic gates for any platform specific calls.
In terms of the flight stick it'll most likely get use for afterburner and some of the positional gun games (Jurassic park, rail chase, ect) and that's about it.
Howard_Casto:
Just tested the gearshift override.... it works as planned (I don't know why it wouldn't, I used the code from 2k6). I want to clean up the code a bit, but I might be able to release this earlier than I thought.
shaolindrunkard:
--- Quote from: BadMouth on November 11, 2016, 12:10:23 pm ---Good lord, we have lamps now?! :lol
I would have been happy with just having actual steering.
--- Quote from: Howard_Casto on November 10, 2016, 03:13:26 pm ---I need to buy a flight stick, but I'm having trouble finding what I want. What are the pot values for a 360 gamepad? I might wire up a custom built one to a hack and that way I would have rumble. Force-feedback sticks have all but vanished and I really don't want to deal with 15 year old sticks. I can use the yoke for most stuff in a pinch though.
--- End quote ---
Modern gamepads including xbox360 pads use 10k pots, but they're limited deflection (they cover their resistance range over say 90-120 degrees of physical movement). Off the shelf pots are morel like 270-280 degrees.
You can calibrate it out in emulators, but it won't work for a lot of games. A lot of modern controllers don't offer calibration in windows anymore. 5k (or half voltage) is center.
I have a cyber sled control panel (dual analog trigger-sticks) that I swapped 10k pots into and wired to a gamepad.
It works OK in MAME. Since it's only using a small portion of the travel of the pots, sometimes it feels like it's taking big steps rather than being smooth analog.
In retrospect, I should have just used the stock 5k arcade pots with an Ultimarc APAC or similar interface.
Old joysticks are 100k and were wired directly to the gameport. No electronics inside the stick.
You can wire up 100k pots to a $7 USB gameport adapter and it will show up as a generic joystick (no rumble).
The PC version of the happ arcade stick used 100k limited deflection pots that cost like $25 each + Happ's high shipping.
I forked over $40 to buy one in hopes of using the numbers on it to find a generic supplier for them.
I found the manufacturer, but the part number was a generic "built to customer request" number.
So to summarize, joysticks use limited deflection pots that cover their total range over a much shorter distance...and you can't buy them anywhere for a reasonable price.
One of my 3D printer goals is to make parts to convert an arcade quality joystick to analog using either tiny thumbstick pots or gearing to get around the deflection issue.
It probably won't come anytime soon though.
--- End quote ---
My planned driving cabs are going to use 360 controllers. I too found that the pot values for the sticks is 10k, but when I tested a 10k pot with a Happ wheel from an Offroad Challenge machine the wheel was waaay too sensitive. Just on a hunch I decided to try it with the 5k pot that was already on the machine and low and behold it works SHOCKINGLY WELL... At least in pc games and also Daytona USA on the Model 2 emu... The steering is super smooth and seems to be just the right sensitivity... Really surprised me...
My plan is to have a simple digital flight stick wired to the D-pad for various uses.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version