Main > Main Forum

World Series Baseball 99 - Arcade Build HELP!!

Pages: << < (3/9) > >>

Nitro0602:

Okay got it all sorted out! The only way I know how to swing the bat is if the joystick has an x/y axis point.. that being said used 2 mayflash joysticks.. 1st joystick was set to D-Pad and second to x/y. D-pad is used for aim and throwing direction and the second mayflash set to x/y is to swing.  Is there anyway to manipulate this with current encoders? To make matters worse I cannot use my current pedestal cabinet as it has PS4 encoders which of course is not recognized on Demul emulator lol! So I want to create a joystick panel just for that game. I’ve attached an image of the exact panel. Fee free to pm if someone can make it.. or let me know if there’s an easier way to make this happen. I know a lot of info.. thanks for reading!

PL1:

 :bump


--- Quote from: PL1 on July 09, 2021, 03:27:43 pm ---If anyone's interested, I've worked out about 70% of the rough design and materials for a 3d printable version of the bat controller.

--- End quote ---
Nitro0602 PM'd me a few weeks ago and expressed interest in a 3d printable version of the baseball bat controller.

Here's what I have so far for the below-the-panel portion of the design.
- Red dots are screw holes/spring attachment points.
- A potentiometer attaches to the bottom of the magenta shaft coupler.
- The black part is a rubber grommet. (shock absorber) 
- The purple parts are bronze flange bearings. 




Scott

Nitro0602:

Hey guys! Apologies for being mia.. had some personal things that I had to deal with. All is good or good as can be!
That being said I wanted to circle back to get this game working as true as possible. (I mentioned above regarding Mayflash working in x/y mode.. I have to test that out again along with an Xbox 360 controller just to see how the mechanics work again.

As of now my current setup (universal 4 player pedestal with a microswitch  plunger)
Joystick moves the cursor to hit the ball (but it’s not analog so it only moves 8 way in a stiff movement  not a smooth/fluent 8 way directional  (could be the emulator version)

Plunger is set to “up” on the encoder: when I pull it back and release, then the batter swings (plunger has a micro switch, not true to the game as well.

All in all the game plays ok as my current setup, but would like it to be more true to the arcade of course.

How it should play:
Joystick should move just like an analog PlayStation/Xbox controller
Bat: I believe this is where a potentiometer input is required as the baseball bat is setup in an up position (facing the screen) then you push down and release to swing.. also to note if you press halfway down and release.. the player bunts (not too worried about that lol)

I’ve posted a YouTube link of the exact game

Hope this helps understanding how the game plays.

Video link: (forward to 2:55)



PL1:

Found a spring that should work well for this controller.
- Model Number: 88061 Menards ® SKU: 2018702
- 3/16" x 2" extension spring
- 2.13 pound safe working load
https://www.menards.com/main/hardware/fasteners-connectors/specialty-fasteners/springs/midwest-fastener-reg-3-16-x-2-zinc-extension-spring-1-count/88061/p-1444440191733.htm

It's long enough to allow a reasonable range of motion and short enough so the controller should have a footprint that's close to normal joystick.

The end loops are a good size for either #4-40 or M3 hardware.   ;D

Encoder selection:
You'll need P1 and P2 A/B/Start/Coin buttons, analog stick, and bat controller for your control panel so that's 4 buttons and 3 analog axes per player ==> 8 buttons and 6 analog axes total.

The A-Pac only has 4 analog inputs so you'd need two of those if you choose to go that route.

Another option to consider is a full-size U-HID.

IMHO the best bang for your buck is an Arduino using either the 32u4 or 328P processor since they have six analog inputs.   ;D

An Arduino Pro Micro doesn't have enough analog input pins (pins 40 and 41 on the 32u4 are not connected on that board), but a Micro, a Leonardo, or an Uno do.





Another option is the the Adafruit ItsyBitsy 32u4 5v 16MHz board.
https://www.adafruit.com/product/3677
https://www.amazon.com/Adafruit-ItsyBitsy-32u4-5V-16MHz/dp/B079SMYDRQ/




Scott
EDIT: Don't use an Uno.

Looking into this further, it appears that some expert users have turned specific Uno boards with the 328P processor into a USB HID device, but the Uno has to have a 32u2 in the chipset and the program you use to do it is very unstable and hard to use.   :banghead:

It's much easier and way more reliable to stick with the Micro or Leonardo for this application.

Nitro0602:

Awesome man! Really appreciate the info.. I forgot to mention my 4 player pedestal has 4 PS4/PS5 encoders. So I’d guess I’d make the baseball bat a stand-alone (I could technically make 1 bat usable for both players) would this work as a pinball plunger as well? I don’t mind that route as well, not sure how adding a bat joystick would look like on my machine currently.

Nonetheless I’d love to have this anyways for nostalgia!  I’m away till next week, but would love to look into this further.

Pages: << < (3/9) > >>

Go to full version