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 Default Startup Game?  (Read 2089 times)

0 Members and 1 Guest are viewing this topic.

wipeout667

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:November 21, 2003, 07:38:44 pm
  • I'm a llama!
MAMEWAH Default Startup Game?
« on: November 22, 2003, 01:44:14 am »
Is there any way to get MAMEWAH to load up a default game (i.e. PacMan) on startup?  If the user chooses to exit then it'll go to the standard MAMEWAH menu.  Possible or no?

« Last Edit: November 22, 2003, 01:44:40 am by wipeout667 »

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:MAMEWAH Default Startup Game?
« Reply #1 on: November 22, 2003, 04:25:17 am »
Not natively, at least that I know of.
Here's a way, but it's not pretty:

MameWah remembers the last list and game selected in its mamewah.cfg file, so you could come up with a way to for the entries in the fiole to be the file you want. If you have any programming experience you can write a script/program that does that for you, otherwise just edit the file by hand, save it under a different name, and launch mamewah from a batch file that replaces the current mamewah.cfg with your file (somewhat dangerous since you loose any other changes that mamewah has made to the cfg file).

that takes care of selecting the same game every time you start mamewh but still doesn't start the game. To do this type of things I use a program called AutoIt (freeware, just google for it) that can send keys to any windows program: all you have to do is set it up to send the "1" key to mamewah after it starts up. There may be other ways or wrappers to do this too.

Not pretty but if it's really important to you it can be done.
« Last Edit: November 22, 2003, 04:51:53 am by papaschtroumpf »

eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re:MAMEWAH Default Startup Game?
« Reply #2 on: November 22, 2003, 11:37:29 am »
Is there any way to get MAMEWAH to load up a default game (i.e. PacMan) on startup?  If the user chooses to exit then it'll go to the standard MAMEWAH menu.  Possible or no?


Launch command line mame with the game that you want from a batch file. Their is a command to tell it to wait untill that program finishes, I don't remember it off hand then launch mamewah from the batch file.

I hate batch files....
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.

Rocky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:December 30, 2009, 12:38:41 pm
  • I want to finish my cab before I retire!!
Re:MAMEWAH Default Startup Game?
« Reply #3 on: November 23, 2003, 12:41:45 pm »
wipeout,

create a batch file to run on start up.

c:
cd\mame
start /wait c:\mame\mame.exe -pacman
cd\mamewah
mamewah.exe


Change any necessary drive / directory commands.

Good luck,

Rocky

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:MAMEWAH Default Startup Game?
« Reply #4 on: November 23, 2003, 03:14:45 pm »
i.e. run your game first, then launch mamewah!

chris_lemasters

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:May 06, 2023, 03:46:18 pm
  • Hot solder, coming through!
Re:MAMEWAH Default Startup Game?
« Reply #5 on: November 25, 2003, 10:36:24 pm »
Very Creative Solution!!!
Somebody stole my Rocket Sauce...
You saw my Rocket Sauce and took it all!

 - Tenacious D