Quoted from KevInBuffalo:The modes are all themed after the songs that are in the game right now, this isn’t a jukebox style game (ala Metallica, Zep, etc) where it would work to just swap songs IMO
I'm deliberately not learning too much about gameplay. I'd rather be surprised when receive mine.
That said: I'm sure there is a mode for the food court: How many food related songs has Weird Al released?
Again with my disclaimer above...
I'm only looking for simple playback, and accept any downsides of substituting a song as my responsibility.
Something along the lines of:
At game start:
Search USB drives for a root folder named "Weird Al Music".
(If the folder is found: save the drive reference, stop the search.)
At song start (or if the mode is still playing when the song ends successfully):
Check the "Weird Al Music" folder for a sub-folder named for the song title.
If the sub-folder is found:
Count the number of mp3 files it contains.
Case "Weird Al Music" folder does not exist:
Case the sub-folder does not exist:
Case the sub-folder contains 0 mp3 files:
Play the built-in song.
End
Case the sub-folder contains 1 mp3 files:
Play the mp3 file in the sub-folder.
End
Case the sub-folder does contains > 1 mp3 files:
Pick a mp3 file at random from the sub-folder to play.
End
At mode is still playing and mp3 playback fails:
Play the built-in song.
I didn't expect this to go anywhere: It was just the easiest way I could think of to get different songs into the game without having to develop a bunch of new modes along with all the accompanying rules, artwork and sound effects.
Small bonus: It would also keep score comparisons as equal as they can be in pinball, as all the machines would still have the same rules and scoring.
BTW: Feel free to ridicule my pseudo-code. It's been a while...