Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mamewah Random Browse music  (Read 1244 times)

0 Members and 1 Guest are viewing this topic.

nussmier

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:November 06, 2018, 08:03:23 pm
  • I want to build my own arcade controls!
Mamewah Random Browse music
« on: January 09, 2005, 11:56:12 am »
I set up Mamewah with browse music while selecting a game with no problem.  I was wondering if there is a way to have it play a random song when browsing the game list.

Oh also while I am thinking about it.  I have a clean install of windows xp that I put mame and mamewah on.  I also changed the theme so there is no windows xp or windows welcome screens.  At the same time I set mamewah in the startup folder so it starts on startup of windows.   When Mamewah and the music begins to play I get this windows screen that pops up for a second and says please wait.  Everything still works fine but I just dislike having the windows screen pop up.  I dont have anything else on the machine but windows xp, mame, and mamewah.  I was wondering if anyone had any ideas what might be causing this screen.   Thanks.

BuZz880

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:November 16, 2023, 02:16:43 pm
  • I'm a llama!
Re: Mamewah Random Browse music
« Reply #1 on: January 09, 2005, 03:02:36 pm »
I assume the music must be playing in Alphabetical order?  I haven't tried playing songs in Mamewah and though this is not the slick solution you are looking for if it is an aplphabetical thing this will work:

you can make minor modifications to this bat file here:
http://kb.mozillazine.org/index.phtml?title=Random_Splashscreen

Basically you would replace "Pic" with "song" and "bmp" with "mp3" in every case and replace "SplashScr" with the name of the directory in which you keep your music.

All your songs in your music directory need to be named 1.mp3 - n.mp3 and what this bat file will do is rename a random mp3 to whatever you want I suggest a,b or c.mp3 and have the bat file put them in whatever directory Mamewah looks for when searching for music.

The same script can be repeated as many times as you want in the same bat file.  I use a similar approach to randomly grab one of 4 mpgs and rename them to mameintro.mpg on startup.

Of course all of this assumes you will be using a Mamewah.bat file which will run this script then launch Mamewah so the only time you get a new music sort is when you actually launmch Mamewah.  An alternative might be to use a Mame.bat file to launch mame but have it re-sort your music prior to launching Mame so when you exit and return to Mamewah theoretically you will have different songs playing.

So unless someone has a simpler solution this should work for you.


Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mamewah Random Browse music
« Reply #2 on: January 09, 2005, 07:55:30 pm »
The music should play in random order by default - there is no way to pick a specific order atm.

BuZz880

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:November 16, 2023, 02:16:43 pm
  • I'm a llama!
Re: Mamewah Random Browse music
« Reply #3 on: January 09, 2005, 09:02:39 pm »
I'd say that sounds mighty simple ;)

nussmier

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:November 06, 2018, 08:03:23 pm
  • I want to build my own arcade controls!
Re: Mamewah Random Browse music
« Reply #4 on: January 10, 2005, 11:13:18 am »
So if I put multiple mp3's in the music folder it will just randomly pick one to play?  Id say that is easy if that is the case =)

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Mamewah Random Browse music
« Reply #5 on: January 10, 2005, 11:47:19 am »
So if I put multiple mp3's in the music folder it will just randomly pick one to play?  Id say that is easy if that is the case =)

Yep :)

nussmier

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:November 06, 2018, 08:03:23 pm
  • I want to build my own arcade controls!
Re: Mamewah Random Browse music
« Reply #6 on: January 10, 2005, 11:55:23 am »
Thanks!