The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: nipsmg on January 12, 2018, 01:50:43 pm

Title: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on January 12, 2018, 01:50:43 pm
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364791)
After purchasing a SkeeBall Model H and following the Skee-Ball threads on BYOAC, I've started creating a suite of SkeeBall games to run in my cabinet.  This thread will chronicle progress on the software.  I plan on eventually releasing it publicly.

Most of the games ideas were taken from other software that's been developed by other members including ThatPurpleStuff and a posting by SJAAK.  Others come from dart games.
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364789)

Want to be a tester??
Info here : http://forum.arcadecontrols.com/index.php/topic,156300.msg1646011.html#msg1646011 (http://forum.arcadecontrols.com/index.php/topic,156300.msg1646011.html#msg1646011)

Want to try out the Alpha SDK and E-Book for Creating Add-On Games?
Info here :
http://forum.arcadecontrols.com/index.php/topic,156300.msg1655066.html#msg1655066 (http://forum.arcadecontrols.com/index.php/topic,156300.msg1655066.html#msg1655066)

Download the software with optical support -- alpha release
http://forum.arcadecontrols.com/index.php/topic,156300.msg1690637.html#msg1690637 (http://forum.arcadecontrols.com/index.php/topic,156300.msg1690637.html#msg1690637)

Features:

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364768)

Video

Is youtube embedding broken?!

Alpha Gameplay Demo (https://www.youtube.com/watch?v=97h6z8fQizI&feature=youtu.be)
Graphical Menu Implementation (https://www.youtube.com/watch?v=ZJaGjzYSnkk&feature=youtu.be)
Attract Mode Demo (https://www.youtube.com/watch?v=dAaO1qqhs9g&feature=youtu.be)
Games:
Bowling
Number of Players
1-4 players (selectable)
Game Description:
Bowling plays and scores just like normal bowling.  The 10 - 50 hole award 1-5 pins respectively with the 100 pockets being an automatic strike or spare.  There is a constantly rotating number of extra pins that can be added to a throw, indicated by a Extra Pins indicator on the game screen (idea taken from ThatPurpleStuff's bowling implementation)
Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364762)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364764)

Classic
Number of Players
1
Game Description:
Classic SkeeBall.
Get the highest possible score in 9 balls
Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365009)

Skeeball Bonus
Number of Players
1
Game Description:
A riff off of FreeSkee by ThatPurpleStuff.
Classic Skeeball Gameplay with a bonus multiplier! Hit the same pocket repeatedly for up to 5x bonus!

Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365782)

Skeemax
Number of Players
1
Game Description:
A riff off of FlashPoint by ThatPurpleStuff.
Classic Skeeball Gameplay with a bonus multiplier! Time your shots for maximum bonus!

Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365802)

Stanger in the Alps
Number of Players
1
Game Description:
This is essentially the Cliffhanger game from ThatPurpleStuff's skeeball software with a name change (an ode to Lebowski fans).
Progress from 10 through 100 in a few balls as possible before time runs out.

Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364772)

Whack-A-Hole
Number of Players
1
Game Description:
Whack-A-Mole. 
Score the most points in 9 balls by trying to hit the mole.  Only balls that hit the mole score.
Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364774)



Skricket
Number of Players
2 (not selectable)
Game Description:
A riff on the classic dart game, cricket.
Each players gets 3 tries to attempt to hit the numbers listed on the left.  After hitting a number 3 times, the player "closes" that number.  If other players have not yet closed that number, the player can hit it again and gets the value of the hole added to their score.  The object of the game is to close all numbers first with the highest score.
Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364770)



X10
Number of Players
1-4 (selectable)
Game Description:
A riff on the classic dart game (3/5/7/901).

All players start with 310 (or 510,710,910 depending on the game variant).  The goal is to get to 0 first, hitting zero exactly.  Each player takes turns throwing 3 balls each round.  If a player goes under zero, their score gets reset to the score they had at the beginning of the round.  The winner gets to 0 (exactly) first.

Game Features:

Screenshots:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364756)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364758)

X20 ZAP
Number of Players
1-4 (selectable)
Game Description:
A riff on 321 ZAP from Merit Games (a popular game on the Scorpion 9000 Arcade Dart Board).

All players start with zero, and the goal is to get to the game score (320/520/720/920 depending on the variant) by hitting holes and adding the value of the hole to your score.  Each player throws 3 balls each round.  If the player goes over the game score, the overage gets subtracted from their round starting score, and they lose their turn.  The winner gets to the game score first.

The Twist:  If at any time while playing your score exactly matches another player's score, that player is "zapped" back down to zero and has to start from zero.
Game Features:

Screenshots:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364760)

Riskee
Number of Players
1
Game Description:
This is a riff off "Skeel of 40s" from FreeSkee.

There is a "Bonus Chooser" to the right of the scoring area that starts off with the following bonuses:

Scoring works as standard scoring with the following additions:

If you hit any hole other than 40, your score increases by that amount, and one of the open bonuses is replaced with a bomb.
If you hit 40, the bonus chooser spins.  You are either awarded a bonus, or hit "Clear Bombs" or hit a bomb.

Clear Bombs will remove any of the bombs in the bonus chooser.
A bomb will force the bomb defuser to pop up.  It will count down from 5. 
If you hit a 100 pocket before time is up, the bomb will defuse.  If you hit any other pocket or time runs out, the bomb goes off and you lose all your points.

Game Features:

Gameplay Video:
https://www.youtube.com/watch?v=ssnRh9_296I&feature=youtu.be (https://www.youtube.com/watch?v=ssnRh9_296I&feature=youtu.be)

Screenshots:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365359)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365361)



ToDo
Title: Re: Major League SkeeBall -- Cross-Platform SkeeBall Controller Software
Post by: Nephasth on January 12, 2018, 08:55:28 pm
LOVE to see the dart inspired games!!! :applaud:
Title: Re: Major League SkeeBall -- Cross-Platform SkeeBall Controller Software
Post by: nipsmg on January 15, 2018, 11:31:46 am
Added sound effects to x10 / zap games.  Updated first post.
Title: Re: Major League SkeeBall -- Cross-Platform SkeeBall Controller Software
Post by: nipsmg on January 16, 2018, 10:35:41 am
Started work on the graphical menu.  This is the concept art and what the final menu system should look like:

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365000)
Title: Re: Major League SkeeBall -- Cross-Platform SkeeBall Controller Software
Post by: nipsmg on January 16, 2018, 01:27:55 pm
Title: **Video ** Major League SkeeBall -- Cross-Platform SkeeBall Controller Software
Post by: nipsmg on January 16, 2018, 02:14:21 pm
I've uploaded a video of the current alpha version.  Happy to get feedback.
There's still a bunch here that's not 100%.

Is youtube embedding broken?!


https://www.youtube.com/watch?v=97h6z8fQizI&feature=youtu.be (https://www.youtube.com/watch?v=97h6z8fQizI&feature=youtu.be)
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 18, 2018, 02:10:03 pm

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365032)
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 18, 2018, 04:27:23 pm

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365040)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365036)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365038)
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Le Chuck on January 23, 2018, 08:33:04 am
Loving this!
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 23, 2018, 10:54:52 am
Thanks LeChuck.

I've made some more incremental progress on this.

I started adding in the menu screen pictured above.  I've set up the code to dynamically load a logo and screenshot based on the game name to populate the menu. (This will allow users to add games in later via the SDK).  The code is still far from perfect but getting there.

My goals are to try to get the main menu screen implemented and have an inactivity timeout on the menu go back to the main "launch" screen by months end.
Title: Re: **MENU DEMO VIDEO**
Post by: nipsmg on January 24, 2018, 11:42:22 am
New video demonstrating completed menu system.
Menu system dynamically loads game type information from config file -- Allows for games developed via SDK to be added.
Dynamically loads logo and screenshot from content directory.

https://www.youtube.com/watch?v=ZJaGjzYSnkk&feature=youtu.be (https://www.youtube.com/watch?v=ZJaGjzYSnkk&feature=youtu.be)
Title: ** Attract Mode Demo Video **
Post by: nipsmg on January 25, 2018, 10:49:53 am
Attract Mode has been implemented.

There are configurable timeouts for :


When at the title screen, and the timeout occurs, a game is randomly picked and launched.  AFter 10 seconds, the game will launch its instructions screen.  5 seconds later it clears.  If a user hits any key while the game is showing in "Attract mode", it will dump right back to the title screen.

When in the menu screen, the game will dump itself back into the "Title screen /attract mode" loop after the timeout occurs.  Any keypress resets the timeout.

When in a game screen, if the timeout expires without any user interaction, the game will dump back into the menu screen.

The video below shows the Title screen / attract mode loop.

https://www.youtube.com/watch?v=dAaO1qqhs9g&feature=youtu.be (https://www.youtube.com/watch?v=dAaO1qqhs9g&feature=youtu.be)
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Mike A on January 25, 2018, 10:52:27 am
This is a cool project. I need to pick up a skeeball machine one of these days.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Howard_Casto on January 25, 2018, 12:41:41 pm
Yeah that's probably why this thread isn't getting a lot of feedback.  You have to have the space to house a skeeball machine, actually buy one, and then convert it to run via  a pc.  Probably 8 or 9 guys that have done that so far.  Not that I don't want to mind you. 
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 25, 2018, 02:18:22 pm
Yeah, either that or build one like thatpurplestuff. 

The good news is converting it to run a PC is stupid simple. All of the electronics come out with a couple of wingnuts and maybe 12 screws.
The switches wire right up to an ipac (note: .250 fastons not .187, made that mistake).

A 27.5 inch tv fits pretty perfectly in the top box and almost fills all of it.

And... this software is cross platform.  Supposedly there's a version of monogame that will run accelerated on OpenGL ES.  It takes all kinds of hacks and I haven't found a good step-by-step on how to do it.. but if I can I would eventually LOVE to just run this off a rPI and call it a day.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Nephasth on January 25, 2018, 02:32:44 pm
Should add the 4-player Model S version with sounds.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 25, 2018, 04:32:24 pm
Would love to get the sound samples from someone, Iíd totally be for it.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Howard_Casto on January 25, 2018, 10:16:12 pm
Yeah, either that or build one like thatpurplestuff. 

The good news is converting it to run a PC is stupid simple. All of the electronics come out with a couple of wingnuts and maybe 12 screws.
The switches wire right up to an ipac (note: .250 fastons not .187, made that mistake).

A 27.5 inch tv fits pretty perfectly in the top box and almost fills all of it.

And... this software is cross platform.  Supposedly there's a version of monogame that will run accelerated on OpenGL ES.  It takes all kinds of hacks and I haven't found a good step-by-step on how to do it.. but if I can I would eventually LOVE to just run this off a rPI and call it a day.

You could probably get away with an old netbook as well, it'd still be small and low power but you wouldn't have to mess with all of those hacks.  I still want to build an outdoor skeeball, but it's just finding the time to design it and actually build it. 
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Nephasth on January 25, 2018, 11:49:04 pm
Would love to get the sound samples from someone, Iíd totally be for it.

I have a 4 player Model S CPU in storage...
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 26, 2018, 04:57:30 am
Awesome!  If you feel like pulling that bad boy out at any point in the near future and getting samples Iíll commit to adding the 4p game.  Iíll actually probably start working on it soon anyways, just minus the audio samples.

How does the 4P game work?  Alternating turns? Anything special I should know about?
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 26, 2018, 05:07:36 am
So I looked it up.  Looks like itís 3 balls per player for 3 rounds.  According to someone on one of the forums, there is Ďdifferent music in the 3rd round..

Iíll have to do more research into how the game indicates  the winner, and see if there are any other interface things I need to know about.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Nephasth on January 26, 2018, 05:33:44 pm
https://www.youtube.com/watch?v=2Q82wF8giT0 (https://www.youtube.com/watch?v=2Q82wF8giT0)

Old video of mine...
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 27, 2018, 12:28:40 pm
Is that buzzing the ball reease solenoid?!?
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Nephasth on January 29, 2018, 11:11:46 am
Is that buzzing the ball reease solenoid?!?

Indeed it was. The guy I bought the 4 player kit from also sent me a spare solenoid. I swapped it out not long after I took that video, and the machine has had no buzzing issues since.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: mflis on January 31, 2018, 01:25:52 pm
I have a model H and there is always the concern about it crapping out which has made me think about a project just like this - and even more glad that someone has undertaken it.  Any thought about output as well - IE like "Ring of Fire" (like the whack a mole) where the actual hole  lights up (via a led strip or some such)?
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 01, 2018, 02:46:02 pm
I have a model H and there is always the concern about it crapping out which has made me think about a project just like this - and even more glad that someone has undertaken it.  Any thought about output as well - IE like "Ring of Fire" (like the whack a mole) where the actual hole  lights up (via a led strip or some such)?

Yes, that's definitely on the horizon.

My goals are basically:
- Get machine refurbished and initial software done.
- Play test/get feedback on software.
- Add LED and LED controller.
- Update software / SDK to support LED output.
Title: NEW GAME - RISKEE
Post by: nipsmg on February 01, 2018, 02:56:25 pm
New game added: RISKEE

Gameplay Video:
https://www.youtube.com/watch?v=ssnRh9_296I&feature=youtu.be (https://www.youtube.com/watch?v=ssnRh9_296I&feature=youtu.be)

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365359)
This is a riff off "Skeel of 40s" from FreeSkee.

There is a "Bonus Chooser" to the right of the scoring area that starts off with the following bonuses:

Scoring works as standard scoring with the following additions:

If you hit any hole other than 40, your score increases by that amount, and one of the open bonuses is replaced with a bomb.
If you hit 40, the bonus chooser spins.  You are either awarded a bonus, or hit "Clear Bombs" or hit a bomb.

Clear Bombs will remove any of the bombs in the bonus chooser.
A bomb will force the bomb defuser to pop up.  It will count down from 5. 
If you hit a 100 pocket before time is up, the bomb will defuse.  If you hit any other pocket or time runs out, the bomb goes off and you lose all your points.

----

Updated top post to reflect new games.

Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 01, 2018, 03:10:47 pm
I REALLY need to break through my procrastination and implement the high-score system... I just am wavering on exactly how to do it.

The software relies on the there being the following buttons on the machine:

Up, Down, Left, Right, Select, Back, Info

I'm thinking after a game if you have an eligible high score it'll pop up an instructions-styled window that says "enter high score" and will just have the 3 available letters, classic arcade style.

I was toying with allowing up to 8 characters, but having to scroll up and down through them with button pressed for that many letters could be a pain in the ass. 

Opinions?

Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: mflis on February 02, 2018, 01:59:04 pm
I vote for 3 letters
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: jimdeprado on February 09, 2018, 08:08:10 pm
Very cool project!  Looking forward to following this.

I also vote for 3 letters.

Jim
Title: Re: ** NEW VIDEO ** High Score System
Post by: nipsmg on February 12, 2018, 08:41:04 am
FINALLY implemented a globally available high-score system. 

High Score support can be (and is) enabled on a per-game basis. 
The following games have high score support:

The following games do not have high score support

Screenshots Below:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365776)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365778)

Video below:
https://www.youtube.com/watch?v=_EmrnjiWh10&feature=youtu.be (https://www.youtube.com/watch?v=_EmrnjiWh10&feature=youtu.be)

Title: Re: ** NEW VIDEO ** High Score System
Post by: PL1 on February 12, 2018, 11:20:45 am
Stranger in the alps - You "win" by getting to the top of the mountain.  I first need to come up with a scoring algorithm for time left and number of balls used.  Ideas?
How about 2 lists?
-- Fewest rolls
-- Fastest time

If someone manages to set a new best score on both lists in a single try, name them the "Peak Climber" until someone beats one of the scores and knocks them off the peak or beats/ties both scores and replaces them as the new "Peak Climber".


Scott
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 12, 2018, 12:42:04 pm
That's actually not a bad idea, but based on the way I implemented high score recording globally, adding the ability for 1 game to score 2 lists would require too much rework.

I've defined a game state "CalculatingScore" where gameplay will freeze and allow for a score calculation animation to happen (much like how megatouch games "count up" the score based on various properties after a round. ) I'll probably have to add that in.

Title: NEW GAME - SKEEBALL BONUS
Post by: nipsmg on February 12, 2018, 12:45:56 pm
Finally implemented a freeskee variant to the software:

Skeeball Bonus
Number of Players
1
Game Description:
A riff off of FreeSkee by ThatPurpleStuff.
Classic Skeeball Gameplay with a bonus multiplier! Hit the same pocket repeatedly for up to 5x bonus!

Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365782)


I'm getting pretty close to checking off everything I wanted to do before a first release (see list in first post).   I'll be looking for beta testers soon.  If you're interested, please let me know.

Note:  You don't need a SkeeBall machine to beta test, there are keyboard keys mapped for each pocket and all machine functions.
Title: New SkeeBall Sound Effects
Post by: nipsmg on February 13, 2018, 10:11:24 am
I have been using skeeball sounds captured from youtube videos because I haven't been able to find any high-fidelity recordings of the sounds.
I found a sound effect generator and a freeware music tracker program and I attempted to recreate them from scratch.

They're not perfect, but I think they're better than the crappy mp3s with background noise I was using before.

This is the "skeeball song" audio I've been using:
https://www.youtube.com/watch?v=iZQFN35NObY (https://www.youtube.com/watch?v=iZQFN35NObY) 
The recreated version is in the attached zip.


I also got the skeeball start jingle from a youtube video with a ton of background noise.

I attached a zip with the following files:


I'd love any feedback.
Title: Re: New SkeeBall Sound Effects
Post by: Nephasth on February 13, 2018, 10:19:46 am
I'd love any feedback.

Personal opinion... Model H sounds all the way. The model S sounds are not the ones from my childhood.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 13, 2018, 11:56:19 am
I'd love to get an index and examples of all the model H sounds. if you know of any source let me know, I'll see what i can do to recreate them.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Howard_Casto on February 13, 2018, 03:35:38 pm
I'd love to get an index and examples of all the model H sounds. if you know of any source let me know, I'll see what i can do to recreate them.

You might want to try one of those websites that has stock sounds you can buy....  I've had decent luck finding various arcade electro-mechanical sounds on those sort of sites.
Title: NEW GAME ADDED - SKEEMAX
Post by: nipsmg on February 14, 2018, 08:48:34 am
I think I'm done with games for now. 

Should be ready for beta testing this week.

Added a FlashPoint variant:


Skeemax
Number of Players
1
Game Description:
A riff off of FlashPoint by ThatPurpleStuff.
Classic Skeeball Gameplay with a bonus multiplier! Time your shots for maximum bonus!

Game Features:

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365802)


Should be ready for beta testing this week.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 21, 2018, 02:40:39 pm
Valentines Day + long weekend with the kids = a bit of a delay in the initial alpha release.

Played quite a bit with my son and found some nasty bugs:


Will fix these in the next day or so, then get a version out for testing.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 22, 2018, 12:55:03 pm
Fixed a bunch of bugs in Stranger in the Alps and Riskee related to the issue in the post above..

The issue I was having was something like this:
In Riskee, lets say the player is on their last ball, and they hit 40 to spin the wheel.  What was happening was:

I had to create a game event queue that would allow me to register game actions with a priority.  High priority items always process before low priority items.
In the case above, this happens now:



There's plenty of other occasions where this is an issue that I will eventually fix with the pipeline:

In Zap:

Plenty of others.  These really are the last major nagging bugs keeping me from releasing an alpha for testing.  I am hopeful for a weekend release.
Title: Re: **VIDEO ADDED** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: big420atx on February 22, 2018, 09:03:27 pm
I would love to get involved in the beta test and what not. This is something I have been interested in for awhile now. Good luck and maybe we can talk a little more about the actual hardware side soon.
Title: OPEN CALL FOR TESTERS!!!
Post by: nipsmg on February 23, 2018, 11:02:12 am
If you want to be a tester...
I've got a PRE-Alpha release built that I'm happy to share with anyone who wants to test.  I'm not quite comfortable making it globally available currently however.

If you're interested in doing some testing for me, please respond inline in the thread and I'm happy to send you a copy for testing.  Please post any bug reports, etc in this thread as well.

Important things to know:

The current build assumes a Model H/Model S with physical switches.  The way these machines score, is the ball drops through a hole, then rolls down a chute hitting every switch below it, THEN hits a switch in the ball return chute that i call "Ball Drain" on the way out.  The 100 pocket switches are worth 50, the others worth 10 in classic skeeball.

Note: I WILL me making this an option in a future release.  I know plenty of custom built solutions (and even newer real skeeball machines) use optical sensors that don't require a ball drain input.  This will be configurable in the config file in the next alpha release.

For example:

If you hit 100, the score is calculated like this:

score + 50 for 100 switch
Score + 10 for 50 switch
Score + 10 for 40 switch
Score + 10 for 30 switch
Score +10 for 20 switch
Score +10 for 10 switch
BallCount -1 for ball drain switch

Because of this mechanic, all games OTHER than Classic SkeeBall register the first switch it hits, then NO OTHER SWITCHES until the ball drain switch is hit.
So while testing, you have to manually advance the ball count.

Default Keys:

So to test a 100 in Classic Skeeball, you have to hit H,G,F,D,S,A,N in order.  (N advances the ball count)
In any other game, you hit the pocket ball then you HAVE to hit N before you can register another pocket.  So to hit 40, you hit F then N.

SETTINGS:
The game is resolution independent, so you can set 4:3 resolutions and it *SHOULD* letterbox. There is a settings.json file you can inspect for settings.
You can also adjust the timeouts for attract mode, set fullscreen mode, etc.

I'm very open to comments, suggestions, etc. 

Please remember this is considered PRE-ALPHA..  it's by no means complete, but is definitely playable.

I really appreciate any help anyone is willing to give to help squash bugs.
I'm also VERY, VERY interested in feedback on current sound effects, suggestions for in-game sound effects, music, mechanics, graphics, improvements, etc. 
I'm also open for suggestions for new games/game modes.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: jimdeprado on February 24, 2018, 02:27:18 pm
Thanks!  I would very much like to help test your software.  Let me know and I can PM you my email.

Jim
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on February 24, 2018, 02:34:25 pm
Jim, sounds good, PM me your specs (processor/RAM/OS/version) and I'll send you a link to an alpha copy.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: big420atx on February 25, 2018, 09:34:32 pm
For anyone on the fence about this build. Let me tell everyone that this is amazing. Please help out with the beta test.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on March 01, 2018, 10:13:33 am
So, sorry for the lack of updates.  Haven't gotten any feedback yet, but will be doing some work to shore up some bugs this weekend.   

I spent a bit too much time on this int he beginning (at the detriment of some other home projects) so updates will be slow for the time being.  Sometime in march I'll be ordering the cork and starting the restore, which will likely spark more updates here.

Still would love beta testers of the software (you don't need a skeeball machine, just a keyboard!).  IF anyone else is interested, let me know!

Thanks!
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on April 17, 2018, 10:07:43 am
For anyone who had been following this at all... it's been a month and a half since my last update and I've accomplished....

NOTHING :(

Work hit a crazy stride and I've had some difficult clients taking up 100% of my time.  I've made no physical progress on my machine and no progress on the software.  I'm planning on changing that this weekend, so hopefully I'll have some kind of update.  I'm taking Friday off work and my goal is to get the garage cleaned out, get the machine cleaned up, and hopefully look at getting it moved up into the garage so I can really start putting the finishing work into it.

This project is not dead.  Stay tuned.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on April 20, 2018, 10:18:47 am
And... here I am at work.  Didnt' take today off  :(  Difficult clients win again.

Maybe this weekend.  *sigh*
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on May 16, 2018, 09:04:59 am
This project is amazing.. I picked up a non working skee ball lightning and have been sitting on the fence to either replace CPU or going other routes. I have arduino, Raspberry pi and and a spare laptop. Also have an IPAC 2 left over from my Visual pinball Cab build. I love how you have several different games incorporated and will be waiting for your next release as my machine has optical sensors or I would have gladly helped test your first release. Anyways you have done an awesome job and look forward to your next release. :applaud: :applaud: :cheers:
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 16, 2018, 09:51:22 am
Stangx,

    Thanks.  I'm actually pulling the Skeeball out of the basement this weekend, and am working on the new scoring board.  I'll be routing the slots for the optical sensors, so I should be able to start adding support in the next few weeks.

    The optical sensors will allow me to add support for a lot more game modes.  Ideally I want to get LEDs installed as well, which really opens up possibilities.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: RW on May 16, 2018, 01:36:57 pm
Like stangx above, I just purchased a non-working skee-ball machine and I've been trying to decide on how to proceed.  I would LOVE to have the setup you're working on, but would need some help getting it started.  I have a raspberry pi and arduino I could salvage from another project, but would definitely need some guidance on setup.  Count me in!
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on May 16, 2018, 02:27:36 pm
That is great news nipsmg. I have all ready swapped out lane lighting to led. blue tooth controlled and sound activated. I ordered a led wiz, so all other lighting will be controlled by it. Looking forward to seeing more on your project. :cheers:
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 17, 2018, 09:17:18 am
Like stangx above, I just purchased a non-working skee-ball machine and I've been trying to decide on how to proceed.  I would LOVE to have the setup you're working on, but would need some help getting it started.  I have a raspberry pi and arduino I could salvage from another project, but would definitely need some guidance on setup.  Count me in!

RW, I haven't gotten MonoGame to run on a RaspberryPi hardware accelerated.. yet.  Apparently it can be done, but I've had a lot of trouble getting it working.   Apparently OpenAL doesn't work, so you have to either use ALSA or compile an OpenAL library directly.  There's a thread about it on reddit and on the monogame community forums.

If someone can figure out how to get it set up on RPI for me and give me an image, I'd be happy to be sure it runs properly on that platform.

Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: RW on May 20, 2018, 07:53:26 pm
I've got a spare laptop, as well as an older desktop, I could use to test for you.  I spent the day today troubleshooting since I've only had this thing for less than a week.  Even if I can get it working, I'd swap out the insides to this project in a minute.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 21, 2018, 05:16:56 pm
Recent Updates
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 22, 2018, 09:10:42 pm
Started working on an integrated particle system for effects such as:


Still trying to figure out some weird quirks.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 23, 2018, 03:43:39 pm
Updates

Implemented new ParticleEffectBase class that wraps a MonoGame.Extended ParticleEffect in a DrawableGameComponent for easy adding to the component collection for drawing.  ParticleEffectBase can be AutoTriggered or the entire effect can be given a lifetime.  For example, if you want to set off a spark shower for .5 seconds every time something happens, you can set the lifetime to .5s and when you call .Trigger(location), it'll track lifetime and keep it emitting for 5 seconds, while the particles decay at their own defined lifetimes.

Added an "OuchParticleEffect" that appears over the mole when you hit it in WackAMole.

I should have a video demoing some of the particle stuff once I implement the "Explosion" particle effect in Riskee either tomorrow or Friday..

Progress is coming again.....

Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: williams00 on May 25, 2018, 09:51:57 am
THIS IS AWESOME!!!
I've got 5 Skeeball Model S's with 3 available for testing and would love to be involved in this.
I just started looking into this today and found that you have already done what I wanted to happen, and more!
Will this plug into the existing harnesses or do you need to rewire?

I look forward to following the thread!
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on May 25, 2018, 10:47:45 am
I have had the pleasure to test Major league SkeeBall and must say it updates and old skeeball machine into an up to date arcade machine. Games everyone can enjoy. Sounds and animation just add to the gameplay. I have stopped looking for a CPU to bring my machine back to original as the games you are able to play using this software gives an old machine new life with many new features. Well done thus far nipsmg
Help test this software you will not be disappointed.  :cheers:
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 26, 2018, 08:41:49 am
THIS IS AWESOME!!!
I've got 5 Skeeball Model S's with 3 available for testing and would love to be involved in this.
I just started looking into this today and found that you have already done what I wanted to happen, and more!
Will this plug into the existing harnesses or do you need to rewire?

I look forward to following the thread!
\


All you'll need is:



You could likely build a harness that connects to current wiring, but I just ripped that out and ran my own wiring to the switches.  My cabinet project thread will get some more images/detail around that sometime in the next week or so.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: redcardkid7 on May 26, 2018, 11:22:02 am
This is awesome!  I would love to be involved in the beta testing.  I have a custom built Skeeball machine that uses optical sensors for scoring, so I'm not sure if the beta software would work with it.  If not I'm still willing to test it out on the computer.  Let me know and I can PM you my email. 
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 26, 2018, 05:11:39 pm
Redcardkid7: send me your email via PM.

It does not currently support optical sensors, but I plan o implementing preliminary support very soon.  Should be relatively easy to implement.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: PL1 on May 27, 2018, 07:07:50 am
It does not currently support optical sensors, but I plan o implementing preliminary support very soon.  Should be relatively easy to implement.
I recommend using the Adafruit 2167 3mm beam break sensors (https://www.adafruit.com/product/2167).

- Extremely fast response time.
- Active low device -- when you break the beam, the white wire drops to logic low.
- They work with 5v (PC) or 3.3v. (RasPi GPIO)

3D printable mount available here (https://www.thingiverse.com/thing:2932740) on Thingiverse.

You can protect the sensors and wires using 1/2" x 1/2" C-channel aluminum (https://www.homedepot.com/p/Everbilt-1-2-in-W-x-1-2-in-H-x-96-in-L-Aluminum-C-Channel-with-1-16-in-Thick-802657/204273938).
- Open side toward back of playfield.
- Cut a notch so the LED and sensor can see each other.

Warning: The prices on Amazon are really high -- $9.99 each or $20.23 for a set of 5.   :(

If you order directly from Adafruit, they are only $1.95 each  ;D  . . . when they are in stock.   ::)


Scott
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 27, 2018, 08:45:17 am
Pl1:  NICE.  I am planning on putting in the break beam sensors sometime in June.   This is a bit easier than notching out the underside of the wood.

I will definitely look into these and the mount.
Title: Re: **TESTERS WTD** - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 29, 2018, 02:17:42 pm
Updates: (no new build yet)

Project / Build Environment:
   - Added required DLLs directly into project to allow for automated builds in Visual Studio Online.
   - Updated project to use MonoGame nuGet packages to allow automated build in Visual Studio Online.
   - Implemented dev and main branch CI builds to prevent regressions.
   - All code now released from VSTS code drops.

Title Screen Updates:
   - Added new exitdialog graphics.
   - Added Exit Dialog functionality for title screen to force confirmation of software exit.
   - Fixed AttractMode keypress behavior to prevent accidental exits from the software.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368224)
Title: *Alpha SDK Ready!!* Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 06, 2018, 03:49:14 pm
 Alpha SDK and guide ready for testers who want to try their hand at writing add-on games!!

I've made quite a few updates, including the ability to load plugins.  As such, I started writing an E-Book for the SDK that's a walkthrough on making a SkeeBall game. 
I'd love for someone to test drive the SDK and the E-Book thus far and give me some thoughts and feedback.  It goes from setting up a dev environment through creating the add-on, registering it, and getting the game to a fully working state with full game logic and text -only output.  I plan on finishing up the book and the new game over the next 2 weeks.

Note, the game is written in MonoGame, and will require knowledge of C# and a windows environment.

If anyone is interested, please PM me!
Title: Re: *Aplha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 07, 2018, 11:44:02 am
The first pass at the SDK Programming Guide is split into the following chapters:

The ebook is split into the following chapters:
Chapter 1: Getting Started
This chapter goes through installing monogame and setting up your dev environment to make plugin development easy.

Chapter 2: Hello, World!  Creating a Basic Add-On Game
Chapter 2 takes you from no code, to creating a plugin with an Add-On game, defining the game metadata, and getting it to load in the menu, and launch displaying Hello, World!.
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368382)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368384)

Chapter 3: Adding State Switching and Scoring Logic
Chapter 3 has the developer adding in game logic and text-based display, fully implementing the game logic into a playable, functional game with user switching and win detection.
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368386)

Title: Re: *Aplha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 07, 2018, 11:49:05 am
Finished a new chapter in the programming e-book and advanced the Tug-Of-War sample game!
Chapter 4: Adding Background Graphics and Scoring Displays
In this chapter, we add background graphics and digital displays for player score and balls left.  We also walk through using color intensity to indicate the current player.
At the end of this chapter, our game is starting to shape up!

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368388)

The coming chapters will deal with
Title: Re: *Aplha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 08, 2018, 11:28:57 am
I've come up with the final design of what the SDK sample game will look like:

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368406)

The game will feature the following:

It'll probably be my most "complete" game so far,  and the SDK programming guide will walk you through building it step by step.  Even if you've never coded before, you should be able to follow the guide exactly and end up with a final game, and an understanding about how it works.

I also made the following updates to the sdk:
Title: Re: *Aplha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 11, 2018, 04:40:24 pm
Finished a new chapter in the programming guide:
Chapter 5: Adding Sound Effects and Ambient Background Sounds

In this chapter, we walk through adding sound effects and background sounds.  WE add an ambient background crowd sound, and add crowd reaction noises for things like:
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 18, 2018, 04:53:29 pm
Finished a new chapter in the programming guide:
Chapter 6 - Adding Background and Player Sprites


(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368604)


-----

I'm getting towards the end of the Programming Guide for the SDK.  Once that's done, I will be releasing a public beta of the game and programming guide.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 19, 2018, 11:13:49 am
Stock Game Updates:

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368608)

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Amusinggestures on July 09, 2018, 08:53:16 pm
I'm definitely interested in testing. Do you have any plans to support relay controls for ticket dispensers? And ball dispenser?
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on July 11, 2018, 06:23:09 pm
I hadn't thought about ticket dispensing, but no ball dispensing, no.  Many of the games are time-based not ball-based.  That's an issue with legacy rocker-arm style ball dispensers that only allow 6 or 9 at a time.

I'll work on getting a test build to you, but am going on vacation tomorrow so it might have to wait until I get back in a week :-/
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Amusinggestures on July 24, 2018, 11:30:30 am
Awesome looking forward to your message containing the build. I guess I could wire it up so that when a coin is inserted it releases the relay to dispense balls and that after a certain time period it locks the balls in again. But definitely interested in ticket dispensing. My kids love tickets and I can have them redeem them for prizes
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on August 02, 2018, 01:00:05 pm
Awesome looking forward to your message containing the build. I guess I could wire it up so that when a coin is inserted it releases the relay to dispense balls and that after a certain time period it locks the balls in again. But definitely interested in ticket dispensing. My kids love tickets and I can have them redeem them for prizes

@amusinggestures - check your PM

@everyone - sorry for the lack of updates.  Between work and vacations I have been nowhere near able to dedicate time to this, but will pick it back up soon.

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: ScotyMac on August 13, 2018, 10:54:19 am
Been working on plans to retrofit a pinball size/type skeeball.  this would be awesome to use with that.  I would love to get a version to try it out.  Let me know if that is still possible.  Thanks Scot
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Howard_Casto on August 14, 2018, 11:43:41 pm
So how hard do you think it'd be to make a decent skeeball machine?  I'd like to make something that could be kept outdoors (could be on the porch if necessary) as I don't have the room.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Mike A on August 15, 2018, 08:31:49 am
An all weather Skee Ball machine would be cool.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Sharkdoc on September 15, 2018, 11:47:49 pm
Watching, just picked up a project machine and very curious how this will play out. Missing the marquee on mine so liking the lcd replacement. I've used ipac on a mame cabinet before. So basically imagining ripping the guts out of mine and adding a Pi with Ipac. Curious which switches you are using. Would love to test the software out too!
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: zimmer62 on November 02, 2018, 01:37:21 pm
I would love to test this out.  I've just picked up a beer ball unit that has a build in LCD and PC...  I'm sure I'll have to hack something up to make it work, but that shouldn't be a problem.

My background is software development.  Mostly in C# if you need an hand with anything I'd love to help!

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on November 06, 2018, 07:21:03 am
Shark and zimmer:  check PMs.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on November 07, 2018, 12:31:38 pm
Finally got back to this project.  One side of new optical sensors are installed. Other side should be done Friday. Will post video of nipsmg games in action. Amazing work nipsmg :notworthy: :notworthy: :applaud: :applaud:
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: newmanfamilyvlogs on November 09, 2018, 09:42:05 am
As was mentioned in an earlier post, so few people have room for a SkeeBall machine, but I've always loved physical interaction games like this.

I could see the software being applied to a custom build in the footprint of a traditional arcade cabinet that plays similarly to those handheld 'pinball' games, or a pachinko machine. An inclined pegboard with cutouts/catches, flippers at the bottom, and standard pinballs. That would allow for an arbitrary number of holes as well. The play field could be constructed by a series of interlocking 3d printed plates.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: zimmer62 on November 16, 2018, 10:10:05 am
I've been working with my Beer Ball machine, to try and see if I can interface this software with the minigen board that's already in it.

Beer Ball has a PC in the scoreboard that connects to the a minigen controller board under the lane via RS232 Serial.

I was able to capture some packets and make sense of reading some of the packets.  When putting the machine into diagnostics mode, it sends out a diagnostics status request packet which returns a machine state with all of the sensors, and switches encoded into two bytes.  I've got that down a working quite well I should be able to have a program that simulates keystrokes or whatever is needed to run this game. 

I do have to figure out if I can force a ball release.  The strange thing about this game, is that the PC is hooked to the board, but it appears the board does it's own thing and just reports the score back to the PC when polled.  Pretty much like it could run without the PC's beer ball software. (Which I haven't tested)  I'd like to keep physical modifications to the machine to a minimum, and reversible.

A couple problems I see for me right now are:
1) The machine might not let the me trigger a ball release (I don't know this for sure, but I don't see a serial packet that's job is to trigger the ball release)
2) The mingen board seems to be responsible for the audio.  Some other games from BayTek have an audio input on the minigen board, but beerball does not, so I might have to bypass the speaker or see what happens adding the audio input jack to the board.  If that doesn't work having a separate audio system when running something other than beer ball mode.

If I can't get the machine to let me trigger a ball release I might be forced to make a machine modification... Another option is to double up on the sensors so that each system runs independently of each other.

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: geoffb on January 22, 2019, 02:51:41 pm
Great looking front end - what do I need to build one?  I have wanted a Skee Ball for a while, but no luck finding one - If I build one what HW do I need?  Pi, PC or ??

thanks
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 23, 2019, 09:26:34 am
Geoffb, where are you located?
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on January 23, 2019, 09:28:49 am
Finally got back to this project.  One side of new optical sensors are installed. Other side should be done Friday. Will post video of nipsmg games in action. Amazing work nipsmg :notworthy: :notworthy: :applaud: :applaud:

Don't know how I missed this.  Looks great.  Why is the game so offset on  the monitor?

Sorry there hasn't been much progress on this.. work has been hell.   I'm also working on a MAME project simultaneously.  I have my optical sensors and mounts, I'll probably end up doing something with them in the spring, which means updating the system to allow for optical switches and not require the ball drain switch.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on March 11, 2019, 01:06:51 pm
The offset was due to windows update. Looks perfect now. I too have built a full Mame system and a visual pinball cab. Full VR setup with Sim Racing at the other end. Seems though after a few beers everyone ends up on the skeeball. I put wire switches in as I needed up and going quickly for a child's birthday party. One side of the optical sensors are done. Will now wait till you update to optical to do mine. Thanks again for all the time you have put into this.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on March 18, 2019, 06:52:18 am
All optical sensors are now installed and working great. The only game that does not score correctly is classic skeeball as the key mapping is different from the other games. 100 holes score 50, 50 to 10 holes all score 10. Any way to change that would be awesome. Other than that the games are all scoring and working great. Put a speaker system behind the TV, so now the games with sound are even better. Gotta love games with sounds it adds to the whole experience.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on March 18, 2019, 10:57:45 am
NICE.  It seems like within the next week or so the average temperature in my garage should rise up above negative 4 Billion degrees Fahrenheit, and I'll get back to work on the skeeball, so I should be motivated to make some updates and to able to implement support for optical sensors.

Stangx:  how did you handle "gutterballs"? 



Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on March 18, 2019, 09:55:10 pm
The sensor is right where the ball starts to go down the return lane. That is why you can't throw your shots too quickly. Has to register ball count before next ball can score. Here is a pic where the gutter sensor (ball counter) is. Also I used existing wires in the machine. 5.5V power supply with sensors hooked up to an I-pac2 from Ultramarc. For the key mapping.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on May 14, 2019, 01:25:58 pm
No new updates on the software (yet), however, I wanted everyone to know this runs PERFECTLY on an Atomic Pi.  $35, windows 10, hooks up via HDMI, works full speed.   Just pulled out he old PC and mounted this in the cabinet with standoffs. 

Perfect, cheap ($35 ish) solution.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Gumpyme2 on June 10, 2019, 10:13:58 pm
Is there somewhere I can buy a Pi with this SkeeBall loaded on there and how to connect the scoring sensors and buttons?  Iíve built a Mame, so I think I could get it working if there were directions how to wire it all up.  This looks so awesome!
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 11, 2019, 06:34:24 pm
nope.. and I'm having some issues with the Atomic Pi.  Turns out--- it works fine in windowed mode, but not so much in fullscreen (no audio in fullscreen)..  which is infuriating.

I may switch to linux, which will be *my* first test of the cross/platform capability of the code.  It *should* in theory just run on monogame 3.6 on linux, but i've never actually tried it.




Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Gumpyme2 on June 11, 2019, 09:16:04 pm
I bought a project machine and would be happy to help test. ( Also a Beerball ironically.)  I have built a Mame Cab, but it was a challenge!
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 12, 2019, 11:07:23 am
Watching, just picked up a project machine and very curious how this will play out. Missing the marquee on mine so liking the lcd replacement. I've used ipac on a mame cabinet before. So basically imagining ripping the guts out of mine and adding a Pi with Ipac. Curious which switches you are using. Would love to test the software out too!

I'm using the stock switches, I just hooked them up to an iPAC-2.   Make sure when you say a Pi, you mean AtomicPi, NOT a raspberry pi.  I have not successfully gotten this to run on a Raspberry Pi yet.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Howard_Casto on June 12, 2019, 09:11:20 pm
nope.. and I'm having some issues with the Atomic Pi.  Turns out--- it works fine in windowed mode, but not so much in fullscreen (no audio in fullscreen)..  which is infuriating.

I may switch to linux, which will be *my* first test of the cross/platform capability of the code.  It *should* in theory just run on monogame 3.6 on linux, but i've never actually tried it.

I don't know if this helps, but I tend to make most of my apps run in "fake" fullscreen mode.  By fake I mean you just take the window, remove the borders and auto size it to the desktop upon startup.  Fullscreen tends to cause problems with arcade software, so I try to avoid it. 
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 13, 2019, 03:02:10 pm
Howard:

    I can do that. -- I'm just annoyed by it.  It worked fine on the old PC, but there are some notorious issues w/ the Atomic Pi and audio drivers.  I'm build on MonoGame 3.6, and I think 3.7.1 is out, so I'm going to try to update to the latest version and recompile and see if it was just a monogame issue.

    I specifically built auto-scaling into the engine to support variable resolutions.  I don't know if that will work right with the window, but it might.



Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Howard_Casto on June 13, 2019, 04:05:03 pm
Welcome to my world.  People don't realize that the majority of software development time is fixing fiddly bugs or compatibility issues.  It's the main reason I dramatically scaled back what I make for the hobby... getting it to work on my machine is easy, it's getting the damn thing to work on everyone's machine that gets you. 
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 14, 2019, 09:35:02 am
Yeah.. I've got a little more work to do re: supporting optical sensors, then I'm going to open source it.  I'd love people to contribute to it and extend it.
I'm not going to sell it, so I don't really care.

And that way... got a problem on your machine?  Here's the code and some instructions, happy debugging! :)
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Gumpyme2 on June 18, 2019, 11:36:26 pm
I am trying to figure out what to buy and wire up in advance of the software coming out.  Any suggestions?  Is there a thread somewhere on the physical build?

ē   a display of some kind to put in the top of the cabinet.. (this one fit nearly perfectly per this thread: https://www.amazon.com/gp/product/B073JYHTV6/ref=oh_aui_detailpage_o05_s01?ie=UTF8&psc=1),-  Iíll size this to my beerball machine and see if it will work.
ē   HDMI Cable
ē   AtomicPi
ē   A keyboard encoder.  Do I need something like a KeyWiz or IPAC-2?
ē   7 Optical sensors- suggested Adafruit 2167 3mm beam break sensors
ē   Amp and speaker
ē   7 Buttons- (maybe joystick encoder if the buttons will be on the other side of the machine)
I would also like to see LED support.  It may already have this, but it would be cool when starting another game (or just having a button for it) if it would make the sounds like when it releases all the balls.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 19, 2019, 10:03:43 am
Just a heads up, I do not have support for optical sensors yet.  You can buy them, but I won't have that support implemented any time in the next month or so as I just started a new job.  I have them too, but haven't implemented them.

The scoring for the classic skeeball game relies on the ball hitting every switch on the way down, which won't work with optical sensors.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 25, 2019, 08:59:39 pm
I took howardís Suggestion and I compiled a windows version of the app with a borderless full screen window... and it works perfectly with sound.  Itís a pity the atomicPi is a limited run because this is an amazing solution for <$50.

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 25, 2019, 09:05:03 pm
Iím hopeful that the RPI4 has a non-experimental OpenGL driver that works with monogamies.  If it does, Iíll probably end up just imaging them with Linux and selling a conversion package.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 26, 2019, 07:43:37 am
I'm curious to any of you guys using this, how have you wired up your controls?

I just somehow miraculously won some legit skeeball rail covers.  I now want to finalize my control setup, but I'm not exactly sure how I want to do it/ where i want to put the buttons.

Also, I am (as we speak), working on optical support.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 26, 2019, 11:39:39 am
So-- to talk this out a little bit before i move forward.

Optical Support is going to be tricky, because there are different ways to implement, the two primary ways being:

Ball drain optical switch in the Rail
In this setup, the optical switch is put where the ball drain switch is in a normal skeeball machine.  In this setup, every ball will hit the ball drain.  So when you score a pocket we'll have to add a "score increment" to a variable, and every time a ball hits the drain if the score increment is >0, we'll have to decrement it.   If "scoreincrement" is 0, it means we count it as a gutterball, no score, or whatever that means.

This is NOT the ideal setup becuase we will be unable to tell the timing of when the zero score happened (this may matter for some games). 

Scenario:

Why is this bad?

If we were playing bowling, the "gutterball" was recorded as the 3rd ball when it was actually the 2nd,  so you end up with a strike in this frame instead of what you should have gotten, a 5 in this frame (5 -) , and a 5 as the first ball of the next frame.
 

The timing is off here.  This might matter in a game like bowling, where the order of the gutterball matters.

Optical Switch spanning the scoring box on the bottom for "gutters".

This woudl be ideal, because we can disregard a ball once it's recorded, and we'll know when a ball misses the scoring holes entirely.  I'm worried this might be susceptible to "bounce" if the ball bounces or something causing it to record multiple gutters.

------------------------------
Current physical switch implementation
As it stands right now for physical swiches, we're always "Waiting for ball" once a ball hits a scoring pocket, because when it ball hits one of the higher pockets (say 50), it hits ths switches for 50,40,30,20,10 and ball drain.  so we have to "turn off" the lower switches until the ball drains out.  This is annoying as it prevents fast-throw and speed type games, because you very often don't end up getting scored the 2nd time, or you might even end up with a lower score depending on the timing of the ball drain switch
Scenario:
     
You just got screwed out of scoring the 100 pocket.

Even in the worst optical case is 100x better than the physical switch case.
---------------------
So I'm definitely implementing optical and migrating my machine over to optical switches.. for sure.

So for optical options I have to implement 2 modes:

I'm worried about the 2nd optical option and the potential for recording multiple gutters due to a bounce, so I might just live with the ball drain option and tell people to not expect great results if you play these games like an ---uvula--- and throw 3 balls rapidfire in a game where that matters....  it won't in most games to be honest.

make sense?  Comments?  Insight?
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: PL1 on June 26, 2019, 01:40:37 pm
Optical Switch spanning the scoring box on the bottom for "gutters".

This woudl be ideal, because we can disregard a ball once it's recorded, and we'll know when a ball misses the scoring holes entirely.  I'm worried this might be susceptible to "bounce" if the ball bounces or something causing it to record multiple gutters.
Not sure exactly where you're talking about mounting the gutter IR LED/sensor.   :dunno

Maybe pictures or a diagram would clarify the path that a gutterball follows and reveal options for where to position them.

For example, the scoring ring LEDs and sensors mount on the back of the playfield like thatpurplestuff did with the mechanical switches in this pic -- LED on the left (or right) side of the hole, sensor on the other side.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=90051.0;attach=137599;image)

The 3d printed mounts (https://www.thingiverse.com/thing:2932740) fit inside protective 1/2" x 1/2" C-channel aluminum.   ;D

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=156300.0;attach=368095;image)

When the ball passes through the scoring hole, it breaks the beam.

With the right impact-absorbing padding and/or deflection wedges, you can greatly reduce the odds of accidently scoring on the bounce-back.

Hopefully you can create a smilar fall-through-the-hole-break-the-beam-and-absorb-or-redirect-the-bounce-back path for gutterballs.   :lol

If you can't avoid bounce-back, maybe you can add some debounce code so there's a limit on how often gutterballs can register.


Scott
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 26, 2019, 02:46:07 pm
Pl1:

(https://i.imgur.com/eogXxiD.png)

I'm taking about a break beam across the width of the cabinet at #1, or in the drain at #2.

If you have it at #2, EVERY ball will cross that sensor, even after it's hit a scoring sensor.  So you have to have a count of all balls that scored, and decrement when they pass #2.  If the count is 0, then we count it as a gutterball because it hit #2 without hitting a scoring hole.  However, we don't know the exact ORDER as per my scenarios above.


If we can find a way to direct a beam across #1, then we no longer have to worry about keeping a count, becuase each ball can really only hit each sensor once.  My concern was with a bounce in the gutter area at #1.

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 26, 2019, 03:10:50 pm
Need Help Testing Optical Support

If anyone is willing to help me test optical support, even just with their keyboard simulating the pocket hits, please let me know.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: Gumpyme2 on June 26, 2019, 10:43:28 pm
I can help test.
I bought these whisker switches to mount for each hole.
Electrical Buddy Cat Whisker... https://www.amazon.com/dp/B07L8JR3W7?ref=ppx_pop_mob_ap_share

They seem very durable, low profile, and will mount easily.  (About $5 each).  Personally I have little kids so I am not worried about counting gutter balls, Iím fine with getting to roll it again.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: PL1 on June 27, 2019, 01:21:26 am
Found some pics in Entropy42's thread here (http://forum.arcadecontrols.com/index.php/topic,116309.msg1232320.html#msg1232320) that might help clarify the path that gutterballs travel from the face of the playfield to the ball drain (rectangular cutout on left of the near face), assuming that your cab is similarly constructed.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=116309.0;attach=176425;image)

Looks like gutterballs would fall off the face of the playfield onto a flat, open, sloped surface that guides all balls to the drain.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=116309.0;attach=176429;image)

Unclet posted a downward-looking pic here (http://forum.arcadecontrols.com/index.php/topic,29727.msg252124.html#msg252124) in Ixliam's thread.

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=29727.0;attach=8636;image)

Based on that info, maybe you could install a "gutterball playfield" in the gap between the playfield and ramp.

- Make it parallel to and above the "flat, open, sloped surface" so there's room for the scoring balls to pass under it on their way to the ball drain.

- Gutterballs would roll down the slope of the gutterball playfield to a hole near the ball drain.

- Mount the LED and sensor on the underside of the gutterball playfield.

-  The gutterball falls through that hole and into the ball drain path.


Scott
EDIT: This diagram might make it easier to visualize.   ;D
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 27, 2019, 08:13:56 am
Thank you for drawing it in crayon (seriously).  I was obsessed with trying to do a breakbeam across the whole damn cabinet, when this is a MUCH better solution.
We're essentially creating a "0" pocket, which is EXACTLY what I wanted to do.

So now that I'm using an atomic pi and don't have a PC power supply to tap off of, any suggestions about a compact economical way to power the break beam sensors?



Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 27, 2019, 08:26:34 am
So I just went out to my garage and looked, and the biggest problem is going to clearance.
 
When the balls come down the chute and hit the black plastic chute on the bottom , they stick up above the surface at the start of the curve, so I can't put something flat across it.   I might be able to mount something raised just enough, but that's taking away height on the "wall" in the front on the lane side that keeps gutter balls from jumping up and back onto the lane. 

I'll have to play with it a bit to see what might work.  whatever I do, it'll probably have to be metal, as wood thin enough to actually work here would probably break/crack from the impacts.

(https://i.imgur.com/9bHkBmr.png)

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 27, 2019, 08:46:03 am
The more I look, the more I'm convinced it's going to be difficult.. if not impossible to pull this off-- and maybe even worse than the alternative timing wise.
See below

(https://i.imgur.com/YUEPiIe.png)


There's no clearance to put the sensors front and back, it woudl have to be on either side.  There's just little/no clearance here if I want to have enough of a slant on the metal ramp to acutally make the ball go down there in any reasonable amout of time.  IF the slant is so slight that it takes forever to drain, then it's not any better (and actually might be worse timing wise) than putting the sensors in the rail and tracking them as in my scenarios above, becuase a ball will hit the gutter, but not actually go through the hole that detects the gutter hit in any reasonable amount of time.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: PL1 on June 27, 2019, 10:19:31 am
So now that I'm using an atomic pi and don't have a PC power supply to tap off of, any suggestions about a compact economical way to power the break beam sensors?
If you were using a RasPi, I'd say a 4A 2-plug phone charger similar to this one (https://www.amazon.com/Listed-Rapid-Charger-Samsung-Galaxy-Motorola-Charge/dp/B003FO8NMU).
- One plug to power the RasPi, the other to power the IR LEDs (and maybe the sensors) with 5v.
- Each IR LED will draw about 15mA @ 5v, 120 mA total.  Too much current draw for GPIO.
- Each sensor draws less than 0.25mA @ 5v whether or not the beam is broken.  :o  Current draw is low enough to use GPIO 3.3v and GPIO inputs if desired.

(https://images-na.ssl-images-amazon.com/images/I/71bvd%2BJYFoL._SL1500_.jpg)

If you don't want to cut off the micro USB connector, there are adapter boards like this one (https://www.amazon.com/gp/product/B06XZ1JC5D).
- Not sure if the traces on this board would handle the current draw to power the atomic pi -- you might need a "baby breakout" or "large breakout" board instead.   :dunno

(https://images-na.ssl-images-amazon.com/images/I/51ouCno05lL._SL1024_.jpg)

Inputs via GPIO:
Assuming that the GPIO pins are similar to the RasPi, inputs are limited to 3.3v.
- Use 3.3v and ground from GPIO to power the 3-wire sensors via the red and black wires.
- White wire goes to the GPIO input pin.

Inputs via USB encoder: (IPac, Arduino, etc.)
- Use the same 5v and ground that you used for the IR LEDs.


Scott
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 27, 2019, 10:54:16 am
Scott,

I'm going to be using the iPac-2 I'm currently using for the physical switches for input.

I've got a baby breakout board :

(https://i.imgur.com/HzvxDFY.png)

I think you were questioning if it could handle the current draw.  I believe the API requires 2.4, my power supply is 3A, and you said we're looking at 120mA -- in theory I should be able to tap 5v from there.

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: PL1 on June 27, 2019, 12:08:07 pm
I believe the API requires 2.4, my power supply is 3A, and you said we're looking at 120mA -- in theory I should be able to tap 5v from there.
Sounds good.   :cheers:

(https://i.imgur.com/YUEPiIe.png)
How hard would it be to remove the plastic chute and build different paths for scoring balls and gutterballs?

Maybe some walls (black) to guide the scoring balls to the right and straight out the ball drain.

Then add a steep gutterball ramp (blue) with recessed wall-mounted sensors, a cover (yellow) that guides right-edge gutterballs onto the ramp, and angled wall blocks at the bottom of the ramp that reduce the chance of scoring balls accidently reaching the gutterball sensor.


Scott
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 27, 2019, 03:37:18 pm
It's doable, but i'm looking for a repeatable process for Model H and model S that doesn't require large amounts of construction (if possible).
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: jimdeprado on June 27, 2019, 09:42:27 pm
Need Help Testing Optical Support

If anyone is willing to help me test optical support, even just with their keyboard simulating the pocket hits, please let me know.
I can definitely help.

Sent from my SM-N960U using Tapatalk

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: PL1 on June 29, 2019, 09:14:58 am
How about adding a gutterball playfield with enough clearance on the underside and a backstop-wedge across the top-back of the ramp and rails?

The backstop-wedge would have to be short enough to not block a 10-ring shot and the playfield side would have to be tall enough to stop gutterballs from coming back down the lane.

You could also make the gutterball playfield slightly V-shaped with the hole near the middle to almost double the angle, compared to a flat playfield.


Scott
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: stangx on June 29, 2019, 10:04:40 am
I can say that once I tell people to not throw your next ball until it hits a hole I have not had any problems with not scoring. It does not take long at all for the ball to get to the ball count (gutter ball sensor). I will try to pull the machine apart and get pics of my full set up using the optical sensors, I-pac, power supply, Arduino for lighting. I am also just using a Zbox mini (40 bucks used) with Windows 10 running the software. I also have everything hooked up to a smart power switch. Computer plugged in to master so when you turn it on it will turn everything else on. Joystick with start and exit button just below where you grab a ball from the return lane.
Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: nipsmg on June 29, 2019, 12:40:56 pm
Iím definitely curious about the lighting.  I was toying with adding LED support for game mechanics/enhancements but am now sure how to programmatically interface with them. 
Title: *Alpha w/ Optical Support* - Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on June 29, 2019, 02:59:19 pm
Public Alpha Release with Optical Support

For whoever wants to test, here's an Alpha release with optical support:
https://www.dropbox.com/s/d4nn0ceotqgchye/MLS-OpticalSupport.zip?dl=0


Want to help out?
.NET Developer?
I'd love help from .NET developers if you want to help improve the software.  PM me

Got game ideas?
Let me know!! I'm looking for ideas for new games to add.  Let me know if you have any ideas!


----------------------------------------

The following are new entries in the config.json you should be aware of.


Game Mode
Configures the software for various physical setups
Supported Values:

Some notes on the game modes.
Physical Switches
Once a ball hits a pocket, no other scores will be recorded until the  ball drain switch (the one in the rail) is hit.


OpticalWithBallDrain
Each time a scoring pocket is hit, a counter in incremented.  Once a ball goes through the ball drain, that counter is decremented.  A "gutterball" will be recorded when a ball goes through the ball drain and the counter is 0. 

OpticalWithGutterDetect
Pockets and gutters scored instantly.

fullscreen & borderless
For the windows version:

fullscreen=true - This is the true fullscreen mode .  Borderless switch has no effect.
fullscreen=false, borderless=true - This is borderless fullscreen mode.. Use this if you're having issues with sound in fullscreen mode. set resolution to OS resolution.
fullscreen=false, borderless=false - windowed mode.

For the DesktopGL version on *nix, OSX (not yet released)
fullscreen=true, borderless=true, turns off hardware mode, effectively setting up borderless fullscreen.


Other Notes
BY default, they keymap is:
A=10
S=20
D=30
F=40
G=50
H=Left 100
J=Right 100
N=ball drain
up=up
down=down
left=left
right=right
info(blue button)=I
select(green button) = Enter
back (yellow button)=ESC

Debug - set Debug = true in the config.json to see the values of all the game variables.  Set to false to disable variable display.  This will be helpful to see the value of the counter in optical mode. -- you'll be looking at the value of 'OpticalScoreCount'


Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 01, 2019, 11:23:49 pm
Lookin' good!
Using it without changing any configuration settings I noticed the following:

Doesnít open full screen.
Skeeball Bonus, WackaMole and Riskee- close the application while loading
If you donít use ďNĒ consistently, it may take a few times for it to register a gutter-ball

I am going to try to get it to work on a Pi3+ and will report back.  (Windows OS).
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 02, 2019, 07:22:14 am
Gumoyme:

Iíll look at the crashing this morning..

The ĎNí is by design.  The game mode is ĎOpitcalWithBallDrainí by default. Hitting a pocket scores the pocket and increments a counter.  Hitting ĎNí (Ball Drain) acts as the ball rolling down the chute and clearing the drain.  A gutter all can only be scored when that counter is 0.

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 02, 2019, 10:40:38 am
Lookin' good!
Using it without changing any configuration settings I noticed the following:

Doesnít open full screen.
Skeeball Bonus, WackaMole and Riskee- close the application while loading
If you donít use ďNĒ consistently, it may take a few times for it to register a gutter-ball

I am going to try to get it to work on a Pi3+ and will report back.  (Windows OS).


The link has been updated with an updated version that fixes the issues you identified.  Redownload from the link above.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 04, 2019, 07:06:19 pm
Amazing. I just played 10 games of original skeeball throwing the balls as fast as I can and all balls registered without flaw. Had to set debug to false as it showed the config on screen over the game's screens. I have people coming over Saturday so will give it a really good test. Gutter and all holes score as they should. Start holidays next week so will get some pics of inside my machine and links to LEDs and power supply I used off Amazon. Note to anyone transforming skeeball machine that has sensors all ready, they can be used rather than buying the ones from Adifruit. I hooked all mine back up with same power supply I was using for the adifruit ones. Very easy now to transform your skeeball machine using this great software. Thanks again nipsmg :cheers:
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 04, 2019, 10:17:43 pm
Riskee had a couple issues, crashed on last ball trying to hit the 100 after hitting the 40 countdown began to hit 100 then explosion sounded twice and the program stopped. (have not been able to duplicate again) Also, you cant hit the 40 too quickly in a row. If you do the 40 will no longer register on any of the remaining balls and game will freeze after your last ball. Have to exit and restart.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 05, 2019, 09:37:27 am
Interesting.  Something is messed up there with game state or something.  Iíll look into it.  Riskee is the most technically complicated game ó. I probably hosed something when converting it for optical sensors. I will look into it this weekend for sure.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 05, 2019, 06:46:12 pm
Also, Skricket is counting score and a drain on the first ball thrown, thereby. scoring only 2 balls. Slowing gameplay down in Riskee solved the issues with the 40 not being registered. But it does crash every time if your last ball hits a 40 countdown begins, throw another ball it will crash. Don't throw another ball and the game will end normally.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 06, 2019, 09:05:10 pm
Which game mode do you have it in? (check your settings.json).
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 07, 2019, 08:54:21 am
Which game mode do you have it in? (check your settings.json).
  OpticalWithBallDrain
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 07, 2019, 09:22:54 am
Ok thanks.  God knows with those two games specifically I was scratching my head a bit. Iíll get it fixed this week.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 08, 2019, 12:05:50 pm
I've fixed skricket but riskee is pretty hosed with the optical changes.  It's been a while since I wrote it, so I'm trying to re-map out how all of the asynchronous stuff runs in what order, and why if I hit 40 when spinner is running it won't spin again and the game will not end.  Very odd.  Will hopefully get it fixed today and back out for testing. Stay tuned...
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 08, 2019, 02:15:08 pm
So I'm interested in feedback.

 WHAT SHOULD HAPPEN if you hit a 40 pocket while the spinner is going?  Should it just score 40 and place a random bomb? That's what i'm thinking here...
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 08, 2019, 02:29:54 pm
Link updated with newest build. 

Should fix the issues posted by stangx. 

In riskee if you throw a ball while the spinner is running, you score the holes value.  That's it.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 08, 2019, 08:31:25 pm
So I'm interested in feedback.

 WHAT SHOULD HAPPEN if you hit a 40 pocket while the spinner is going?  Should it just score 40 and place a random bomb? That's what I'm thinking here...
Yes that is a great idea. kind of a penalty for throwing before it's done picking a box. So I just played skricket and it works as it should. But Riskee will still crash if your last ball hits a 40 and it picks a bomb. If you get extra balls or a score it will reward you with what it landed on. But if you hit a 40 with the last ball and it lands on a bomb the countdown will begin, If you throw anther ball including hitting the 100 the game will crash. Maybe adding 1 ball to the game if you hit the 40 on your last ball and land on a bomb. As it sits now you really don't have another ball to throw during the countdown as it shows 0. So if you don't throw during countdown game ends normally and you can start up next game.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 08, 2019, 09:18:13 pm
Thanks..Needed that scenario.  Will look into it.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 08, 2019, 11:46:12 pm
I set it to open in full screen mode and it opens briefly then minimizes so it's only on the task bar.  When I set fullscreen back to false, it works just fine.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 09, 2019, 12:11:17 am
Bowling, Skeeball, Riskee, Whack-a-mole - info button doesnít cycle the instruction menu off screen.  Goes from Instruction to High Score then back to Instruction, I think the third time should go back to the game play, that would be a similar user experience to the games without a high score.  They go from Instruction pop-up then back to game play.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 09, 2019, 09:56:22 am
I set it to open in full screen mode and it opens briefly then minimizes so it's only on the task bar.  When I set fullscreen back to false, it works just fine.

Is borderless set to true or false?  Try switching that toggle and let me know what happens.  I have not been having issues with fullscreen mode.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 09, 2019, 09:57:03 am
Bowling, Skeeball, Riskee, Whack-a-mole - info button doesnít cycle the instruction menu off screen.  Goes from Instruction to High Score then back to Instruction, I think the third time should go back to the game play, that would be a similar user experience to the games without a high score.  They go from Instruction pop-up then back to game play.

I *think* this is by design, (hit "back/esc" to close the popup), but I will review.  Thanks for the reports!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 09, 2019, 01:02:20 pm
Here are some pics of my setup. You can see the bracket inside the hole that houses the optical sensor. (every hole the same) Close up Sensor bracket pic is pointed down inside ball return lane for the gutter ball count. Arduino for lighting, ( still want to do more with the lighting) Pic of power supply I am using to power optical sensors hooked up to Ipac II. Joystick, Start(enter), exit button on side and volume control Pic. Also LED black light to make the playfield pop. Also gave the balls a coat of fluorescent paint and clear coat to give it a lava effect under black light. Also a pic of a smart controller. Hook computer to master and everything else will power on and off with the computer. I also added skeeball exe to windows startup so it will auto boot into the skeeball games menu when you power it up.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 10, 2019, 08:12:01 pm
I downloaded the most recent version and when I set fullscreen to true, with or without borderless set to true, it minimizes itself.  FullScreen set to false works fine.  I am on Windows 10.

I installed Windows IOT on a Pie B (B+ isn't supported fyi), but it wasn't a simple process to install the app (need visual studio etc).  I gave up and bought a Mini PC stick with Windows pre-installed I am going to try.

Great suggestion for master switch!

If you want to set it to open when the computer is booted:

To add an app to Startup:
1.   With the app file location open, press the Windows logo key  + R, type shell:startup, then select OK. This opens the Startupfolder.
2.   Create a shortcut to the app.  Copy and paste the app shortcut to the Startup folder.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 11, 2019, 09:44:50 am
Grumpyme2:  I have ABSOLUTELY no idea why this would be happening, as I have not seen this behavior on 10-15 machines that I have tested this on.  This may be a driver specific or machine specific thing, unsure.  I can have you try the DesktopGL version and see if that version works for you, but I've had a lot of toruble with that version playing sound while in fullscreen mode.  I'll put a link here sometime today so you can try that version.

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 11, 2019, 12:39:34 pm
Grumpyme:  Below is a link to the DesktopGL build of the optical build of Major League Skeeball.  This is the build that is cross-platform and should run on monogame on linux as compiled.

Note: I generally recommend that people do not run this build on windows-- the Windows build uses DirectX and is generally more compatible.

https://www.dropbox.com/s/ryh8buo4b6t5nkq/MLS-OPTICAL-DesktopGL.zip?dl=0 (https://www.dropbox.com/s/ryh8buo4b6t5nkq/MLS-OPTICAL-DesktopGL.zip?dl=0)

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 12, 2019, 11:23:01 pm
I got it all working on a PC stick running Windows 10.  Didnít have the issue with it minimizing in Full screen mode. Full screen mode didnít have sound so I turned that off and boarders off and adjusted the size and it works great!  Only strange thing is if I have it running and turn off the PC, when it boots back up, no sound!  Also Cliff Hanger doesnít work.  If I exit and launch the app again, it works normally.  Hoping to get all the holes wired up tomorrow.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 13, 2019, 11:50:26 am
Cliffhanger doesnít work... at all?!
Or in some specific circumstance?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 13, 2019, 01:24:51 pm
I Should have been more specific.  After powering off (with app open)and back on, sound and CliffHanger doesnít work.  If I close the app and re-open, it works normally.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: MotoGP on July 13, 2019, 01:43:33 pm
great looking program!

I was starting to write my own program in Python for a RPi3/4 and saw this thread so maybe not...
Do you have to use the skeeball controller with a pc?  or can you use a Raspberry Pi and its GPIO?

Title: Re: *Alpha SDK Ready!* - Major League SkeeBall -- Cross-Platform SkeeBall Controller
Post by: MotoGP on July 14, 2019, 07:56:58 am
Iím definitely curious about the lighting.  I was toying with adding LED support for game mechanics/enhancements but am now sure how to programmatically interface with them.

It would depend if you wanted Dumb RGB or controllable Pixels.
You could interface with an Arduino and use one of Pixel libraries out there like  fastled.io like this tutorial HERE (https://randomnerdtutorials.com/guide-for-ws2812b-addressable-rgb-led-strip-with-arduino/)

or use Adafruit's Neopixel Library Neopixel in git hub (https://github.com/adafruit/Adafruit_NeoPixel)
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 14, 2019, 09:38:16 pm
I want to thank everyone on this thread.  This is awesome!  I still need to wire up my controls and ball drain, but everything is working great, the holes are working (I used Whisker switches).  I am using a PC stick running Windows 10.
1 suggestion is to make Skricket a bit easier to tell whoís turn it is.  Zap is a hoot with 4 players!

Now I need to figure out how to sell my Model S internals.

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 14, 2019, 10:19:43 pm
I see you have this in the .config, what key does it map to?  "Pause: 80", what do you need it for?

Also, I assume these are timeout durations, are they minutes?  If I wanted to not have the application not close for 24 hours, would I set the Menu screen to 1440?  What would be the affect of changing them all to 1440?

 "InactivityTimeouts": {
    "MenuScreen": 60,
    "GameScreen": 1024,
    "AttractModeScreen": 25,
    "TitleScreen": 15,
    "ExitConfirm":  15

Thanks!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 14, 2019, 10:33:40 pm
I noticed in the high score config there is CliffHanger (Stranger in the Alps), Zap and X10.  At the end of these games, there isn't a prompt to enter initials.
Also, when scrolling through the menu, until you scroll through it multiple times, the next icon doesn't match the next game that comes up, and it seems to skip some for a while (X10, whack a mole, for example).
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 14, 2019, 11:18:09 pm
Some ideas:
For Zap, the high score could be a count of wins by 3 letter initial.  If you win, you enter your initials, then that increments a counter for those initials.

For X10, could be least number of throws.

I would like to see the high score list be displayed at the end of every game, even if you didnít make the list.  That way, everyone gets to see #1 score in classic Skeeball of 1000000 by ďDad RulesĒ (typed it into configuration file, lol!)

Since I no longer have or need a ball release, Iíd love to see another button option that plays the classic Skeeball sound then the sound of balls being being released.  I want to wire it up to the quarter button.  (Searched for sound but couldnít find it).

Sorry for string messages, loving this.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 15, 2019, 10:34:39 am
I see you have this in the .config, what key does it map to?  "Pause: 80", what do you need it for?

Also, I assume these are timeout durations, are they minutes?  If I wanted to not have the application not close for 24 hours, would I set the Menu screen to 1440?  What would be the affect of changing them all to 1440?

 "InactivityTimeouts": {
    "MenuScreen": 60,
    "GameScreen": 1024,
    "AttractModeScreen": 25,
    "TitleScreen": 15,
    "ExitConfirm":  15

Thanks!

so.. Pause is intersting.. Apparently I was toying with adding pause functionality..  Hitting Pause will set the backend gamestatus to "Paused", and only one game (Skricket) even knows about it.  I wouldn't wire up a button for that, it cooul have unintended consequences.

The timeouts denote how many seconds each screen will be shown before something happens:
- Menu screen -- it'll wait for 60 seconds of inactivity before dumping to the title screen
- Game Screen -- If you're in a game and haven't started it, it'll stay in that game fore 1024 seconds of inactivity before dumping you back to the menu screen.
- Attract Mode Screen -- The amount of time it'll sit on a single game when in attract mode and cycling through them
- Title screen -- It'll wait 15 seconds at the title screen before kicking into attract mode.
-- ExitConfirm.  When you hit "back" to fully exit the game, it'll give you a confirmation screen where you have to click "select" or "green button" to actually exit.  If you sit there for 15 seconds, it'll dump you back to the title screen.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 15, 2019, 10:42:28 am
Some ideas:
For Zap, the high score could be a count of wins by 3 letter initial.  If you win, you enter your initials, then that increments a counter for those initials.

For X10, could be least number of throws.

I would like to see the high score list be displayed at the end of every game, even if you didnít make the list.  That way, everyone gets to see #1 score in classic Skeeball of 1000000 by ďDad RulesĒ (typed it into configuration file, lol!)

Since I no longer have or need a ball release, Iíd love to see another button option that plays the classic Skeeball sound then the sound of balls being being released.  I want to wire it up to the quarter button.  (Searched for sound but couldnít find it).

Sorry for string messages, loving this.

1 suggestion is to make Skricket a bit easier to tell whoís turn it is. 

When it ocmes to high scores, 310, zap, skricket, and cliffhanger don't have high scores.   The reason?  There's no high score in these games.  They all are played in such a way that you are trying to reach a goal.  I suppose I could record game length, or record time to goal or something, but there's no real good "high score" to record.  It was suggested for Cliffhanger that I record #of balls and time and weight that somehow into a calculated score.  I'll look into that.

For skricket -- yeah I changed the colors of the "throws left" indicator to the color of the player, but I fully agree with this suggestion.  I am FAR FROM a graphic designer and created all of these screens in Photoshop with some minimal skills.  If anyone knows anyone who does UI/Graphic design who wouldn't mind making some suggestions I am totally open to any of them!!

I definitely think showing high scores at the end of each game where there are high scores is an interesting idea.  I will definitely look into it.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on July 17, 2019, 12:25:56 pm
Just throwing it out there..... An optional credit button would be awesome. Giving all game arcade mode or Freeplay choice in the config file. Would love the ability to use my coin slot for credits or just push of a button for those without a coin door.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 22, 2019, 11:20:37 pm
Game Idea

ď$krillaĒ

First to 1,000 points wins
A gutter moves your score to zero.
Points accumulate for your turn until you hit enter, then they are ďbankedĒ and itís the next players turn.  If you score a 10, you get zero points for that round and itís the next players turn.

4 player.

You bet $5 a round.  If you finish at zero points, you pay an additional $5 to the winner.  Maybe keep a running total of how much people owe and have won?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on July 22, 2019, 11:25:37 pm
You can only win after you score over 1000.  Score exactly and you go to zero.  Everyone gets another round to try and equal or better your score.  If they do, then everyone gets a chance to beat them. This can really extend the game play and be fun. (This is a dice game I got the idea from).
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on July 23, 2019, 08:00:03 am
This is kinda like Zap, except you drive yourself to 0 and not your teammate. Interesting.

BTW..  in case you didnít know,both 310 and 320 ZAP can be played as 3XX/5XX/7XX/9XX by hitting left/right after launching the game before starting it. 

920 zap gets really fun when someone has like 750 and you zap their ass to 0 :)
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: djb_rh on September 24, 2019, 04:57:58 pm
I've got Skee Ball Too with a bad display and in my hunt for one of those someone asked if had heard of this project and pointed me here.  I had not, and here I am.

Tbh, I would have been happy to find this even if I had a fully working machine because this looks a LOT better.  Pretty sure I can figure out how to make this happen.  As I get started planning, a question...any reason why an old J-Pac that doesn't have USB built in wouldn't work fine with a USB to PS2 adapter?  I know bothering to make this JAMMA is kind of stupid, but I have J-Pac's sitting around unused along with JAMMA harnesses, so assuming there's no compatibility issues that would be cheaper.  But I'm not above buying an IPac2 if that makes a lot more sense, too.


--Donnie
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on September 26, 2019, 12:16:36 pm
I'd ask Andy from ultimarc-- just email him.. he's pretty responsive.   The old iPac 2's had PS2 connectors but supported USB.  I don't believe those PS/2 -> USB adapters universally worked unless the board/keyboard they were being used on supported them, but I don't have enough knowledge of it.

You are going to need the following inputs:

Pockets

Controls

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: djb_rh on October 01, 2019, 01:41:43 pm
Thanks for the info above.

Turns out I am dumb.  All J-Pacs *have* USB.  I saw two mini-DIN connectors and wrongly just assumed one was keyboard and one was mouse (on the assumption that they'd use "mouse" support for spinners and trackballs).  Turns out one is PS-2 keyboard and the other is....USB.  And they sell a mini-DIN to USB cable separately that I didn't know about because back when I was doing these everything had keyboard ports so you just used a straight mini-DIN cable.

So I've ordered the proper USB cable from Ultimarc for $6.  And you were right, Andy was pretty fast at returning email about my question.  The J-Pac itself is actually labeled, too, that one port is USB and the other PS-2, I just didn't even look that close. I looked for a USB-looking port and seeing none assumed it was pre-USB.


--Donnie
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 02, 2019, 12:13:27 pm
Status and Musings

Since the optical update I've been kind of frozen.  My main focus has been attempting to get this to run on an SBC.  The biggest issue I had with MonoGame is that there is only video support on Windows, so I had to do some crazy crap to get the animations in bowling to work:

See here:

(https://i.imgur.com/KQsbpHBm.png)

Also, monogame does not want to play nice with OpenGLES on the Rpi 3b+.  I've really only been successful with this running on Windows.  I REALLY, REALLY want to get this running on a cheap SBC running on Linux so I can make conversion kits as cheap as possible.

As such, I'm thinking of migrating this code from MonoGame to FNA.  This conversion should be RELATIVELY straight forward, as they are both implementations of XNA, and I'm not doing anything really crazy in MonoGame that wouldn't convert over.  This will likely take me a little time given my current workload.

The nice things about this is that if I can convert to FNA, I should get the following:


Once I get this done, I'll need some more help testing.  If it looks good, my next step will be LED controller support.


Stay tuned!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 02, 2019, 12:53:17 pm
HUGE Idea.

Another quick "revelation" today around controls.

I've been obsessing for so long over the best way to create a control panel with pushbuttons and LEDs and stuff that I overlooked a really, really easy way to add controls to this:

An iPad mini or a cheap Android tablet on a mount.  It would be pretty easy to create a really nice, interactive interface in app form that could be used to wirelessly control the interface of the game and provide feedback, etc.

Instead of attempting to jam buttons into the rail, or come up with some crude control scheme, you get something like this:

(https://i.imgur.com/6d3tjTA.png)

I hvae no idea why I didnt' think of this earlier, but it makes it WAY, WAY, WAY easier to implement and to swap out on a machine.

You can get some CRAZY cheap android tablets that don't do too much.. BUT THAT'S THE POINT:
https://www.neweggbusiness.com/product/product.aspx?item=9siv07r2mt8398 (https://www.neweggbusiness.com/product/product.aspx?item=9siv07r2mt8398)
https://www.amazon.com/RCA-RCT6873W42-Resolution-Quad-Core-Marshmallow/dp/B01MRST6L4/ref=sr_1_4?keywords=android+tablet&qid=1570035084&s=gateway&sr=8-4 (https://www.amazon.com/RCA-RCT6873W42-Resolution-Quad-Core-Marshmallow/dp/B01MRST6L4/ref=sr_1_4?keywords=android+tablet&qid=1570035084&s=gateway&sr=8-4)

Thoughts?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: djb_rh on October 02, 2019, 04:10:46 pm
I like it, but if you do that then you restrict your device to home use only.  Which may be fine, but if you don't HAVE to, then why?  But then again, maybe the likelihood of anyone wanting to operate a converted one is so low as to be a non-issue.  Just a thought.

I also don't *love* the idea of a mount like that since it creates a pretty large amount of required extra space beside the entire machine (ie. you can't put it up against a wall).  But I can't think of a better way, either.  Hmm.


--Donnie
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 02, 2019, 04:29:26 pm
there is no way to operate this in any way other than home use, and I have no plans to support it, unless I got some kind of financial backing to make it worthwhile.  it's meant for home use only.   Also, there's doesn't have to be a pole, I was actually thinking originally of a flat steel bar to use as the riser - not sure yet.

The other option is to make a mount that is a steel U channel that would fit over the rail and/or clamp to it and the pole would rise up from that. 

Just some ideas.

Also, the idea would be for the mount to be able to go on either side, so putting it up against a wall shouldn't be a huge deal, unless you're shoving this machine into a 13x4 cutout made specifically for a skeeball machine.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Howard_Casto on October 02, 2019, 04:34:34 pm
Here's another idea since you are going into the tablet area of things... why not just have it controlled via a voice assistant?  There are skills that let me control my xbox in alexa and google and they both work petty well for basic control.  I haven't looked and their SDKs though so I don't have a clue how difficult that would be. 
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 02, 2019, 04:46:04 pm
I mean I guess you could, but i could see that being pretty unintuitive for anyone other than the owner, unless you knew all of the commands. 

I'm just trying to figure out a good way make a control panel that doesn't look like crap, as my controls are still in the top of an old plastic bucket:

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=368179)

And finding buttons and leds and everything else that will look good and building a control panel you don't have to get back strain using from bending over seems to be an issue, so why not use any widely available touchscreen that runs an intuitive, responsive, beautiful interface that can "light up" and give feedback, without having to make it mechanical?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: djb_rh on October 02, 2019, 07:16:30 pm
Yeah, the "not bending over" part of this seems like a huge win.  I could do a pretty cool control panel with the laser cutter that could integrate into the side rail, but like you said, it would be low enough to be very annoying.

I always like the *idea* of voice control, but in reality I've never actually liked doing it.

Tablet idea is growing on me. I generally prefer iOS, but I think you want a dedicated tablet for this and the cost of the Android seems to make that a no-brainer. 


--Donnie
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 03, 2019, 09:33:51 am
Yeah, I could write the app in Xamarin so I could use 99% of the same code and release it on Android and iOS at the same time.

I actually think that I'm going to try this BEFORE doing the LED support.  I think I'm set on converting this to FNA -- I want video support, so I think that's my roadmap:

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on October 03, 2019, 01:07:34 pm
I love this idea. I have iPad and android devices I bearly ever use. Joystick gets in the way sometimes. Looking forward to this release. Side note Riskee still has the last ball crash issue when you hit the 40. Will only reward you with extra balls if landed on or a score. If landing on bomb it will crash when you throw the ball including hitting the 100.  Like how this has evolved. Keep up the great work
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 03, 2019, 01:10:31 pm
stangx:

Yeah, I found the issue where this occurs.   I need to whiteboard the game states out so I can fix it.  I think it just begs the question.. what should happen if the LAST ball is a 40.  I need to separate out events in the "countdown" state from events in the rest of the game.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: MotoGP on October 09, 2019, 06:52:00 pm
Yeah, I could write the app in Xamarin so I could use 99% of the same code and release it on Android and iOS at the same time.

I actually think that I'm going to try this BEFORE doing the LED support.  I think I'm set on converting this to FNA -- I want video support, so I think that's my roadmap:

  • Convert from MonoGame to FNA
  • Test and validate on various cheap single board computers
  • Write tablet/phone app and write support for network control of Skeeball app
  • LED Controller Support

Why not write in Python.  Run on a RPi 3 or 4.  In Raspbian you could use the web server to host pages powered by the Python.  This way you just need some simple python files to create the displayed pages to control the games.  Store the settings, high scores etc in xml files?  The Rpi should have enough I/O for all of the switches.  This is the approach I was looking taking with my own similar project.  The Rpi is cheap enough, it can control relays easily for lights, solenoid etc.

What are you creating your graphics in?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 10, 2019, 09:59:11 am
Mostly because my background is in .NET, and I already knew the Microsoft.XNA framework from other projects I've done.  Given my limited free time, it made the most sense to write in something I knew and was familiar with so I could actually get something working in a reasonable amount of time.

It appears that the FNA framework more easily works on a rPI 3b+ than MonoGame for some reason, so I'm going to try that out. (they are re-implementations of Microsoft.Xna).


Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nickels on October 12, 2019, 10:00:05 am
This is great, Iíve been away from this forum for a bit. I have created a bunch of skeeball games in Flash for mine. The software is public, feel free to borrow ideas from it. Mine also integrates custom lighting as well for all the holes.

https://1drv.ms/u/s!AnDLo-WVE7jAjlm89vejhHSJFDNn?e=mhv9lm

I have games such as:
Skee Wars - higher scoring skeeball Star Wars themed with a special ball at the end worth more. Supports up 4 players.
Time Bomb - beta where you have to hit holes in specific combinations to defuse a bomb
The Chase - Simpsonís themed endless runner. Score points at a fast pace to run. Stay ahead of Homer!
And more

Enjoy! Good luck on your project :)
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on October 19, 2019, 01:49:25 pm
there is no way to operate this in any way other than home use, and I have no plans to support it, unless I got some kind of financial backing to make it worthwhile.  it's meant for home use only.   Also, there's doesn't have to be a pole, I was actually thinking originally of a flat steel bar to use as the riser - not sure yet.

The other option is to make a mount that is a steel U channel that would fit over the rail and/or clamp to it and the pole would rise up from that. 

Just some ideas.

Also, the idea would be for the mount to be able to go on either side, so putting it up against a wall shouldn't be a huge deal, unless you're shoving this machine into a 13x4 cutout made specifically for a skeeball machine.
I picked up a mount on amazon for cheap. It swivels and moves to whatever position you choose or side of lane you like best. I will test it all out when you get time to put the software together. The kids and their friends love to play skeeball and I believe the implementation of a tablet will make it more user-friendly. Everyone has used a tablet and it's out of the way of throwing or grabbing a ball. Not to mention an updated look to an old machine. Heres a pic. Not mounted yet, as I am still looking for the best place to mount permanently. :cheers:
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on October 21, 2019, 04:07:28 pm
Stangx:
Do you have a URL for that mount?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on October 22, 2019, 09:30:41 am
search Pyle-Home PSPAD05  on Amazon. I got mine as an amazon warehouse deal for 8 dollars. Also, were you just thinking about using an app like joytokey for controls or another similar program? Or are you going to try and create your own for the game?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on October 22, 2019, 09:18:12 pm
I just did this for my controls.  The buttons light up when the power is on.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: PL1 on October 22, 2019, 09:56:48 pm
I just did this for my controls.
Are you planning on covering that mounting plate?

If you like, there's parametric OpenSCAD code here (http://forum.arcadecontrols.com/index.php/topic,160595.msg1691564.html#msg1691564) for a 3d-printable mounting plate cover.

The default values should work for that joystick plate. (40x84mm mount pattern)


Scott
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on October 22, 2019, 10:38:30 pm
Cool thanks.  I donít have plans cover it now, kids like looking down in there for some reason.  : )

Here is the parts list I used thanks to this thread.  We love playing it!


https://www.amazon.com/hz/wishlist/ls/1AVGSWTSIEGBQ?ref_=wl_share


(Always happy to help test too)
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: funbobby on October 31, 2019, 01:09:33 pm

Here is the parts list I used thanks to this thread.  We love playing it!


Hey Gumpyme2!  Just curious what your opinions are on that PC Stick now that you've had a little time with it.  You still think its a good way to go?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Gumpyme2 on November 07, 2019, 10:50:06 pm
Yes the arcade stick works great.  Sometimes you hit it when playing, but it doesnít interrupt game play.  Used JoyToKey to code the inputs (very easy).  I had it and the buttons left over from a 1Up build.
My only struggle was having JoyToKey come up when the CPU comes on.

Fixed that with this tip:
https://joytokey.net/en/posts/how-to-auto-startup/

I know how I want to do my gutter ball (physical switch), thatís all I have left!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Jherre6 on November 12, 2019, 09:02:48 pm
 :afro:

Man this is one of the neatest things I saw.

Sorry if I missed it, but are people with classic Model H carnival models (no 100s) out of luck? It would be amazing to have a setup for different models.

Thanks for all the work on this!!!

Jherre6
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: OmahaPaul on November 13, 2019, 06:05:53 am
I just found your software and post Monday and i have already ordered everything to build one.  I have 3 skeeballs in the basement now and it is the most played game we have.  I am curious if you have seen the software in a beerball.  It has a 3 ball rotation that allows each person to throw three balls and then it is the next players turn.  It scores just like traditional skee ball but makes it a lot of fun because you can catch up on the other people if you had a bad round.  Also this is a 4 player game on beerball but quite often we have more that 4 that want to play.  If you could make it an 8 player game that would be awesome.  I would even be willing to donate some money toward the programming time.  I am going to build your software into a 13 foot lane from the 90's.  i will post some pictures as i make progress.  One of my current machines is the guts from a beerball that i put into a 13 foot lane.  came out awesome.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: OmahaPaul on November 13, 2019, 06:13:51 am
where do i find the link to download the most current version of the software.  i am new to the arcade forum and don't know where to look.

thanks
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: OmahaPaul on November 13, 2019, 02:37:15 pm
to post 187.  If you don't have 100 holes you could easily cut them in and order 100 circles.  Baytek has new ones in black for beerball at 60.00 each.  You are putting in new switches and software so easily could add two more to your board.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Jherre6 on November 15, 2019, 09:03:23 am
But the problem is the ball ramps. The non 100s do not have side ramps for the balls.

Thanks for the reply!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 15, 2019, 04:36:51 pm
I just found your software and post Monday and i have already ordered everything to build one.  I have 3 skeeballs in the basement now and it is the most played game we have.  I am curious if you have seen the software in a beerball.  It has a 3 ball rotation that allows each person to throw three balls and then it is the next players turn.  It scores just like traditional skee ball but makes it a lot of fun because you can catch up on the other people if you had a bad round.  Also this is a 4 player game on beerball but quite often we have more that 4 that want to play.  If you could make it an 8 player game that would be awesome.  I would even be willing to donate some money toward the programming time.  I am going to build your software into a 13 foot lane from the 90's.  i will post some pictures as i make progress.  One of my current machines is the guts from a beerball that i put into a 13 foot lane.  came out awesome.

I can probably implement that.  There are some 4 player versions of standard skeeball that work in this way, I believe there's a video on this thread someone posted about it.  Send me a private message and lets talk about the gameplay -   Also, donations are ALWAYS appreciated :)

----------------------

Let me know if I can help with your build or configuration.




Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: funbobby on November 17, 2019, 09:41:52 am
Also, donations are ALWAYS appreciated :)


Sorry if I missed it, but have you posted a PayPal address?  I will absolutely contribute.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Dakotajp on November 17, 2019, 01:25:40 pm
I just purchased a project from OmahaPaul. Good dude!! Iím tearing down a 13 ft skeeball to redo and add this software to it. Nipsmg, if you have a PayPal or other type of account I will surely contribute. Would be interested in a 8 player feature if possible.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 18, 2019, 08:06:41 am
For Donations:

https://paypal.me/mgerety

Every little bit is appreciated.  Thanks guys!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 21, 2019, 03:33:15 pm
Hey Guys,

So, I've gotten some very generous donations from two members here that wanted an (up to) 8 player variant.  Their interface example was BeerBall.  I would like to eventually update the interface to be able to score in that way (and I have some ideas of how to do this).  However, for the time being, I implemented an (up to 8 player) classic skeeball variant where each player alternates every 3 balls.

For now, it's tentatively called Skee8.

Menu
(https://i.imgur.com/iNyMJdt.png)
Ingame
(https://i.imgur.com/sDWZ8cM.png)

Gameplay Video
https://youtu.be/N4gzh_9tJm4 (https://youtu.be/N4gzh_9tJm4)

This is a functional game using the "DART GAME* sound effects, for now.

What I'd like to add:

However, this is usable for now.  I'll package it up sometime today or tomorrow.

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 21, 2019, 06:07:18 pm
Potential future design for Skee8 --  which is now 8-shot, and I'm sure the name will change another few times as well.

(https://i.imgur.com/UqX0sQM.png)
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Dakotajp on November 21, 2019, 09:30:29 pm
Nipsmg, You Da Man!! Thanks and canít wait for different graphics.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 22, 2019, 07:49:55 am
I did some rearranging.  I think I like this layout better.

Player 1-4 active:
(https://i.imgur.com/DwPcbO8.png)

Player 5-8 active:
(https://i.imgur.com/aBB2uRJ.png)

Thoughts?
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 22, 2019, 12:22:27 pm
Spent some more time this morning before work and on lunch break to implement a working version of this.

InGame Screenshot:
(https://i.imgur.com/MCRuFLN.png)

Video:
https://youtu.be/YdZEQihUUmg (https://youtu.be/YdZEQihUUmg)

Currently missing:
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Dakotajp on November 22, 2019, 12:40:15 pm
This looks Awesome!!
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: funbobby on November 22, 2019, 01:46:59 pm
Looks Great! 

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 22, 2019, 05:37:14 pm
EightShot Changes:

Missing:


Video:
https://youtu.be/EtQugCF3Fng (https://youtu.be/EtQugCF3Fng)
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: OmahaPaul on November 25, 2019, 10:55:29 am
Looks Great.  The look is very similar to my beerball.  The name is clever too.  I like it.  I can't wait to try it out .  Keep us posted on finished product.  I have another donation coming for you as well.  If you wanted another game to implement i have an antique one that is a 6 player and scores kind of like bowling but with some bonus mulitplyier scoring.  It is also a 3 ball rotation per round.  I have another friend that really likes it and would be wiling to donate toward the creation of it.  It sounds like you are pretty busy so maybe after the first of the year or whenever it slows down for you we could touch base if you wanted to do it.  If not the 8 shot fills my need and is much appreciated.

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on November 26, 2019, 12:57:40 pm
OmahaPaul - Dump any specifics you can about how that game works and I'm sure i can get something implemented for you guys.

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on December 10, 2019, 09:08:29 am
So, I could really use a graphic designer because my score graphics SUCK... but here's EightShot with sound and some pop-up score indicators.

https://www.youtube.com/watch?v=-y4_i__H9qg

EDIT:

There are still some bugs.  timing is off too--.  I don't love the player change "banners" that much anymore.. I'm thinking I should have pop-up notifications for player change.. And the Scoring should't pop up and overlay -- I'm almost thinking I should wait until the score indicator disappears before showing the player change banner.

I'm open to suggsestions/thoughts.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: Dakotajp on December 14, 2019, 11:48:33 pm
Completely agree with you on the Popup and overlay.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: MotoGP on December 27, 2019, 12:42:21 pm
I've got Skee Ball Too with a bad display and in my hunt for one of those


If you still want a replacement display check out http://www.kahr.us/  Rob made a very nice direct replacement with LEDs.  I have it on my Model S and it is awesome, very very simple to install.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: djb_rh on January 05, 2020, 09:28:37 pm
I've got Skee Ball Too with a bad display and in my hunt for one of those


If you still want a replacement display check out http://www.kahr.us/  Rob made a very nice direct replacement with LEDs.  I have it on my Model S and it is awesome, very very simple to install.

Thanks, but Skee Ball Too uses a DMD of sorts, not the same display as the S. But I seriously don't even care now...just need to find the time to do this upgrade instead.  I'm sorta waiting until it runs on an rPi easily, though.


--Donnie
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on January 07, 2020, 08:34:14 pm
I've got Skee Ball Too with a bad display and in my hunt for one of those


If you still want a replacement display check out http://www.kahr.us/  Rob made a very nice direct replacement with LEDs.  I have it on my Model S and it is awesome, very very simple to install.

Thanks, but Skee Ball Too uses a DMD of sorts, not the same display as the S. But I seriously don't even care now...just need to find the time to do this upgrade instead.  I'm sorta waiting until it runs on an rPi easily, though.


--Donnie
     

I would just keep your eyes open for a laptop with a busted screen. You're using a monitor or tv as the screen for this project anyways, and can be had for super cheap. That is what I am using now. Picked up for 20 dollars. Install windows and you're off to the races. I mounted mine on the side and have mouse and keyboard controls if needed. I was using a Zbox but that is in another project now. Any questions on setup, optical sensors power supply, or anything to get you up and going, just ask. This software is amazing and windows make it a snap. You will be up and playing in no time
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: djb_rh on January 07, 2020, 08:39:39 pm
I hear you, and while Iím sure I could get it to work under Windows, the fact is I hate Windows and Iím much better on pretty much any other OS than I am Windows. And Iím just not in a hurry to get to this project right now as I have a few other more pressing projects to get through first.

Believe me, I *can* do it that way.  If I wanted the machine now, I would do it that way.  But ultimately, once someone gets it working on an rPi, that will be an even more simple way to do it.


óDonnie
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on January 08, 2020, 10:30:27 am
Well, until I get it on another OS (which is #6 on my priority list at the moment), grab an Atomic Pi if you want a cheap solution.  My machine is running on a $35 Atomic Pi.

It will likely be running on an rPi4 if at all.  There are too many hoops to get MonoGame working properly on an rPI3, especially with the audio and OpenGL ES drviers.  And MonoGame runs dog slow in non-accelerated mode, even for a completely 2D experience like I have.   I've toyed with moving it to FNA, which would require very little code rework, but there are some thing I need to understand about it, and for that I need time, and time is the one commodity I'm very short on these days.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: NadasRevenge on February 06, 2020, 11:42:26 am
Hi Nipsmg
I can't PM you for somw reason.   Could you PM me, I have some questions, and would like to share
What you've inspired me to build, I'm pretty proud. 😁
Nada

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364791)
After purchasing a SkeeBall Model H and following the Skee-Ball threads on BYOAC, I've started creating a suite of SkeeBall games to run in my cabinet.  This thread will chronicle progress on the software.  I plan on eventually releasing it publicly.

Most of the games ideas were taken from other software that's been developed by other members including ThatPurpleStuff and a posting by SJAAK.  Others come from dart games.
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364789)

Want to be a tester??
Info here : http://forum.arcadecontrols.com/index.php/topic,156300.msg1646011.html#msg1646011 (http://forum.arcadecontrols.com/index.php/topic,156300.msg1646011.html#msg1646011)

Want to try out the Alpha SDK and E-Book for Creating Add-On Games?
Info here :
http://forum.arcadecontrols.com/index.php/topic,156300.msg1655066.html#msg1655066 (http://forum.arcadecontrols.com/index.php/topic,156300.msg1655066.html#msg1655066)

Download the software with optical support -- alpha release
http://forum.arcadecontrols.com/index.php/topic,156300.msg1690637.html#msg1690637 (http://forum.arcadecontrols.com/index.php/topic,156300.msg1690637.html#msg1690637)

Features:
  • Resolution Independence - Defaults to 720p but will letterbox for any 4:3 resolutions
  • Cross Platform - Made as a DesktopGL MonoGame project, it can be complied to run on Linux, Windows, Mac, etc.
  • High-Score Keeping
  • In-game instructions and game information
  • Attract Mode
  • Developer SDK (Developers can create new games and extend the platform via an SDK to be provided at release)

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364768)

Video

Is youtube embedding broken?!

Alpha Gameplay Demo (https://www.youtube.com/watch?v=97h6z8fQizI&feature=youtu.be)
Graphical Menu Implementation (https://www.youtube.com/watch?v=ZJaGjzYSnkk&feature=youtu.be)
Attract Mode Demo (https://www.youtube.com/watch?v=dAaO1qqhs9g&feature=youtu.be)
Games:
Bowling
Number of Players
1-4 players (selectable)
Game Description:
Bowling plays and scores just like normal bowling.  The 10 - 50 hole award 1-5 pins respectively with the 100 pockets being an automatic strike or spare.  There is a constantly rotating number of extra pins that can be added to a throw, indicated by a Extra Pins indicator on the game screen (idea taken from ThatPurpleStuff's bowling implementation)
Game Features:
  • 1-4 players selectable at round start.
  • Exciter Animations (With sound) for Strikes, Spares, Turkey, and Gutter balls
  • Ambient bowling alley background sound

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364762)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364764)

Classic
Number of Players
1
Game Description:
Classic SkeeBall.
Get the highest possible score in 9 balls
Game Features:
  • Authentic SkeeBall Sound Effects

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365009)

Skeeball Bonus
Number of Players
1
Game Description:
A riff off of FreeSkee by ThatPurpleStuff.
Classic Skeeball Gameplay with a bonus multiplier! Hit the same pocket repeatedly for up to 5x bonus!

Game Features:
  • Classic Gameplay
  • Bonus Multipliers by hitting same pocket multiple times.

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365782)

Skeemax
Number of Players
1
Game Description:
A riff off of FlashPoint by ThatPurpleStuff.
Classic Skeeball Gameplay with a bonus multiplier! Time your shots for maximum bonus!

Game Features:
  • Classic Gameplay
  • Constantly rotating bonus multiplier

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365802)

Stanger in the Alps
Number of Players
1
Game Description:
This is essentially the Cliffhanger game from ThatPurpleStuff's skeeball software with a name change (an ode to Lebowski fans).
Progress from 10 through 100 in a few balls as possible before time runs out.

Game Features:
  • background music
  • Sound Effects

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364772)

Whack-A-Hole
Number of Players
1
Game Description:
Whack-A-Mole. 
Score the most points in 9 balls by trying to hit the mole.  Only balls that hit the mole score.
Game Features:
  • Background music
  • Mole Sound Effects

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364774)



Skricket
Number of Players
2 (not selectable)
Game Description:
A riff on the classic dart game, cricket.
Each players gets 3 tries to attempt to hit the numbers listed on the left.  After hitting a number 3 times, the player "closes" that number.  If other players have not yet closed that number, the player can hit it again and gets the value of the hole added to their score.  The object of the game is to close all numbers first with the highest score.
Game Features:
  • Sound Effects from Scorpion 9000 Cricket

Screenshot:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364770)



X10
Number of Players
1-4 (selectable)
Game Description:
A riff on the classic dart game (3/5/7/901).

All players start with 310 (or 510,710,910 depending on the game variant).  The goal is to get to 0 first, hitting zero exactly.  Each player takes turns throwing 3 balls each round.  If a player goes under zero, their score gets reset to the score they had at the beginning of the round.  The winner gets to 0 (exactly) first.

Game Features:
  • Sound Effects from Scorpion 9000
  • Number of players selectable at round start
  • Game Variant (310/510/710/910) selectable at game start.

Screenshots:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364756)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364758)

X20 ZAP
Number of Players
1-4 (selectable)
Game Description:
A riff on 321 ZAP from Merit Games (a popular game on the Scorpion 9000 Arcade Dart Board).

All players start with zero, and the goal is to get to the game score (320/520/720/920 depending on the variant) by hitting holes and adding the value of the hole to your score.  Each player throws 3 balls each round.  If the player goes over the game score, the overage gets subtracted from their round starting score, and they lose their turn.  The winner gets to the game score first.

The Twist:  If at any time while playing your score exactly matches another player's score, that player is "zapped" back down to zero and has to start from zero.
Game Features:
  • Sound Effects from Scorpion 9000
  • Number of players selectable at round start
  • Game Variant (320/520/720/920) selectable at game start.

Screenshots:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=364760)

Riskee
Number of Players
1
Game Description:
This is a riff off "Skeel of 40s" from FreeSkee.

There is a "Bonus Chooser" to the right of the scoring area that starts off with the following bonuses:
  • 2 Balls
  • 4 Balls
  • 6 Balls
  • 8 Balls
  • Clear Bombs
  • 250 Points
  • 500 Points
  • 750 Points
  • 1k Points

Scoring works as standard scoring with the following additions:

If you hit any hole other than 40, your score increases by that amount, and one of the open bonuses is replaced with a bomb.
If you hit 40, the bonus chooser spins.  You are either awarded a bonus, or hit "Clear Bombs" or hit a bomb.

Clear Bombs will remove any of the bombs in the bonus chooser.
A bomb will force the bomb defuser to pop up.  It will count down from 5. 
If you hit a 100 pocket before time is up, the bomb will defuse.  If you hit any other pocket or time runs out, the bomb goes off and you lose all your points.

Game Features:
  • Animated graphics and sound effects.
  • Bonuses (extra balls AND/OR points)
  • High Scoring Ability

Gameplay Video:
https://www.youtube.com/watch?v=ssnRh9_296I&feature=youtu.be (https://www.youtube.com/watch?v=ssnRh9_296I&feature=youtu.be)

Screenshots:
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365359)
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=149895.0;attach=365361)



ToDo
  • Add in high-score system
  • Add final sound effects for classic
  • Sound Effects for 310/320ZAP
  • Game Over graphics for classic
  • Add a sound effect for going over the game score in zap/x10
  • Convert bowling scoring grid into drawable components (fixes text overlay on top of bowling exciter animations)
  • Implement FreeSkee variant
  • Implement FlashPoint variant
  • Remove text-based menu and implement graphical menu
  • Finish attract mode implementation
  • Implement system-wide game instructions functionality
  • Add system-wide game-over drawablegamecomponent
  • Add system-wide "You're up player X" component.
  • Code clean-up and refactoring
  • Create sample game project for SDK
  • Blog post for Game Creation
  • Add round displays for x10 and zap
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: PL1 on February 06, 2020, 01:40:29 pm
I can't PM you for somw reason.
Now that you're a Jr. Member, your PM system is enabled.   :cheers:


Scott
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on February 07, 2020, 02:07:19 pm
Hey guys, Iíve stalled out a bit on this as Iím just finishing up the new community server to enable tournaments for  PGA Tour Team Challenge edition.  Should be launching that this month, then I will circle back to this.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: NadasRevenge on February 07, 2020, 05:51:57 pm
Thank you Scott, much appreciated.  Bare with me as I try and learn how this forum works.  I've got a model H that I've been working on and would love to share with you guys.  Everyone here has been inspirational on my journey into the world of Skee-Ball
Nada

I can't PM you for somw reason.
Now that you're a Jr. Member, your PM system is enabled.   :cheers:


Scott
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: orizzle on February 11, 2020, 09:03:21 am
This would be sweet on a Golden Tee cab. I've written a rudimentary bash script that interfaces with the I/O board to read trackball, buttons, etc. Interested in getting this to run

Sent from my Pixel XL using Tapatalk

Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on February 12, 2020, 04:18:09 pm
This would be sweet on a Golden Tee cab. I've written a rudimentary bash script that interfaces with the I/O board to read trackball, buttons, etc. Interested in getting this to run

Sent from my Pixel XL using Tapatalk



how would you intend for that to work?  This doesn't allow for a virtual ball to be rolled.    You need a real physical skeeball machine for this, scoring is measured by the ball activating the hole switches.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: drwatsonii on June 01, 2020, 10:04:45 pm
Here are some pics of my setup. You can see the bracket inside the hole that houses the optical sensor. (every hole the same) Close up Sensor bracket pic is pointed down inside ball return lane for the gutter ball count. Arduino for lighting, ( still want to do more with the lighting) Pic of power supply I am using to power optical sensors hooked up to Ipac II. Joystick, Start(enter), exit button on side and volume control Pic. Also LED black light to make the playfield pop. Also gave the balls a coat of fluorescent paint and clear coat to give it a lava effect under black light. Also a pic of a smart controller. Hook computer to master and everything else will power on and off with the computer. I also added skeeball exe to windows startup so it will auto boot into the skeeball games menu when you power it up.

I just picked up a Skee Ball Lightning and I was wondering if you used the stock optics that came with the machine?  I am sure i will have more questions later on.

Thanks
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: stangx on June 02, 2020, 09:46:17 am
Yes, I used the stock optics. A new power supply and Ipac II connected to the computer.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on June 03, 2020, 08:43:11 am
Anyone who's actually using this have any suggestions for new games, features, etc?
I'd like to pick this back up at some point this summer -- I'd love some input.
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: jimdeprado on June 03, 2020, 10:25:33 am
Anyone who's actually using this have any suggestions for new games, features, etc?
I'd like to pick this back up at some point this summer -- I'd love some input.

What about some sort of tug-of-war game.  You could have each person throw 1 to 3 balls each and the score would move the other team closer to the pit in the middle. 

I am not a programmer, but I am more than willing to help in any way that I can.

Jim
Title: Re: [6/29/19]*Alpha w/ Optical Support*-Major League SkeeBall -- SkeeBall Controller
Post by: nipsmg on June 03, 2020, 09:58:59 pm
Thatís actually the sample game in the SDK.  I never released it but people can build it from scratch following the guide.  I can always add that in...

(https://i.imgur.com/RdqbTTr.png)